mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-08 10:24:12 +08:00
首页底部一句话显示
This commit is contained in:
parent
3065d346ea
commit
b0111178f6
@ -12,6 +12,7 @@ import iconRoute from "../../assets/images/commen/icon-route.png";
|
||||
import { studyTimeFormat } from "../../utils/index";
|
||||
|
||||
const IndexPage = () => {
|
||||
const systemConfig = useSelector((state: any) => state.systemConfig.value);
|
||||
const [loading, setLoading] = useState<boolean>(false);
|
||||
const [tabKey, setTabKey] = useState(0);
|
||||
const [coursesList, setCoursesList] = useState<any>([]);
|
||||
@ -280,7 +281,7 @@ const IndexPage = () => {
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<div className={styles["extra"]}>~莫道桑榆晚,为霞尚满天~</div>
|
||||
<div className={styles["extra"]}>{systemConfig.pcIndexFooterMsg}</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
@ -32,7 +32,7 @@ const Init = lazy(async () => {
|
||||
config.systemLogo = res.data["system-logo"];
|
||||
config.systemName = res.data["system-name"];
|
||||
config.systemPcUrl = res.data["system-pc-url"];
|
||||
config.pcIndexFooterMsg = res.data["pc-index-footer-msg"];
|
||||
config.pcIndexFooterMsg = res.data["system-pc-index-footer-msg"];
|
||||
|
||||
//播放器配置
|
||||
config.playerPoster = res.data["player-poster"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user