mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-09 17:27:54 +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";
|
import { studyTimeFormat } from "../../utils/index";
|
||||||
|
|
||||||
const IndexPage = () => {
|
const IndexPage = () => {
|
||||||
|
const systemConfig = useSelector((state: any) => state.systemConfig.value);
|
||||||
const [loading, setLoading] = useState<boolean>(false);
|
const [loading, setLoading] = useState<boolean>(false);
|
||||||
const [tabKey, setTabKey] = useState(0);
|
const [tabKey, setTabKey] = useState(0);
|
||||||
const [coursesList, setCoursesList] = useState<any>([]);
|
const [coursesList, setCoursesList] = useState<any>([]);
|
||||||
@ -280,7 +281,7 @@ const IndexPage = () => {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</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.systemLogo = res.data["system-logo"];
|
||||||
config.systemName = res.data["system-name"];
|
config.systemName = res.data["system-name"];
|
||||||
config.systemPcUrl = res.data["system-pc-url"];
|
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"];
|
config.playerPoster = res.data["player-poster"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user