From bcf09879fb046e3d2c7d339d639d2a2d76cd1fcc Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Mon, 27 Feb 2023 19:56:54 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20style(custom):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=89=8B=E6=9C=BA=E7=AB=AF=E6=8B=89=E5=8F=96=E6=A0=8F?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/layout/header.tsx | 11 ++++---- src/routers/layout/index.tsx | 4 +-- src/routers/layout/routernav/index.tsx | 36 +++++++++++++++++++++----- src/routers/layout/search/index.tsx | 1 - 4 files changed, 37 insertions(+), 15 deletions(-) diff --git a/src/routers/layout/header.tsx b/src/routers/layout/header.tsx index d9dc4da..0ad724c 100644 --- a/src/routers/layout/header.tsx +++ b/src/routers/layout/header.tsx @@ -7,7 +7,6 @@ import { changeLoadingCauseByUrl } from "@store/loading"; import { routerNameToLoading } from "@utils/router"; import { styled } from "@mui/material"; import Search from "./search"; -import { Yituo } from "./logo/modal"; import RouterNav from "./routernav/index"; export default function Header() { const dispatch = useAppDispatch(), @@ -26,19 +25,19 @@ const ReactiveHeader = memo(() => { return (
{/* 手机端 */} -
- +
+
{/* pc端和平板端header部 */} - -
+ +
-
+
敬请期待
diff --git a/src/routers/layout/index.tsx b/src/routers/layout/index.tsx index 6d07e42..232dcb5 100644 --- a/src/routers/layout/index.tsx +++ b/src/routers/layout/index.tsx @@ -24,9 +24,9 @@ export default function Layout() {
-
+ {/*
-
+
*/}
diff --git a/src/routers/layout/routernav/index.tsx b/src/routers/layout/routernav/index.tsx index c05cd37..ae2dbd6 100644 --- a/src/routers/layout/routernav/index.tsx +++ b/src/routers/layout/routernav/index.tsx @@ -1,8 +1,7 @@ import { Drawer } from "@mui/material"; import { useState, FC } from "react"; import { Link, useMatch } from "react-router-dom"; -import FormatListBulletedIcon from "@mui/icons-material/FormatListBulleted"; -import HighlightOffIcon from "@mui/icons-material/HighlightOff"; +import CloseIcon from "@mui/icons-material/Close"; import Header_Nav from "../nav"; export const RouterList: TabProps[] = [ { @@ -20,11 +19,23 @@ export default function RouterNav() { handlerChangeShow = () => set((item) => !item); return ( <> - - -
+
+ +
+ +
- + +
敬请期待
+
@@ -110,3 +124,13 @@ export type TabProps = { label: string; to: string; }; + +const ConfigSVG = () => ( + + + +); diff --git a/src/routers/layout/search/index.tsx b/src/routers/layout/search/index.tsx index 485a620..4834466 100644 --- a/src/routers/layout/search/index.tsx +++ b/src/routers/layout/search/index.tsx @@ -9,7 +9,6 @@ export default function Search() { }; return ( <> - {/* pc and pad */}