mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-26 01:49:46 +08:00
底部tabBar组件
This commit is contained in:
@@ -2,6 +2,7 @@ import { useEffect, useState } from "react";
|
||||
import { user } from "../../api/index";
|
||||
import styles from "./index.module.scss";
|
||||
import { useSelector } from "react-redux";
|
||||
import { Footer, TabBarFooter } from "../../components";
|
||||
|
||||
const IndexPage = () => {
|
||||
const systemConfig = useSelector((state: any) => state.systemConfig.value);
|
||||
@@ -20,7 +21,11 @@ const IndexPage = () => {
|
||||
|
||||
return (
|
||||
<div className="main-body">
|
||||
<div className="content">我是首页</div>
|
||||
<div className="content">
|
||||
我是首页
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
<TabBarFooter></TabBarFooter>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user