mirror of
https://github.com/PlayEdu/h5.git
synced 2025-06-07 05:25:40 +08:00
fixed: 底部导航栏悬浮bug
This commit is contained in:
parent
f71df2a461
commit
8a3bbd565b
7
src/pages/layouts/with-footer/index.module.scss
Normal file
7
src/pages/layouts/with-footer/index.module.scss
Normal file
@ -0,0 +1,7 @@
|
||||
.playedu-app {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
}
|
@ -2,15 +2,16 @@ import { Suspense } from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import LoadingPage from "../../loading";
|
||||
import { TabBarFooter } from "../../../components";
|
||||
import styles from "./index.module.scss";
|
||||
|
||||
const WithoutHeaderWithoutFooter = () => {
|
||||
return (
|
||||
<>
|
||||
<div className={styles["playedu-app"]}>
|
||||
<Suspense fallback={<LoadingPage />}>
|
||||
<Outlet />
|
||||
</Suspense>
|
||||
<TabBarFooter></TabBarFooter>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user