From a949fe408de49e5919eb6cbae37e58cdde7296b6 Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Wed, 1 Mar 2023 12:49:46 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20feat(custom):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=87=8D=E5=A4=A7=E4=BA=8B=E9=A1=B9=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/layout/header.tsx | 4 ++-- src/routers/layout/index.tsx | 18 ++++++++++++++++++ src/routers/layout/logo/index.tsx | 2 +- src/routers/layout/routernav/index.tsx | 6 ++++++ 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/routers/layout/header.tsx b/src/routers/layout/header.tsx index 1556dd7..44ffed6 100644 --- a/src/routers/layout/header.tsx +++ b/src/routers/layout/header.tsx @@ -22,13 +22,13 @@ export default function Header() { const ReactiveHeader = memo(() => { return ( -
+
{/* 手机端 */}
{/* pc端和平板端header部 */} - +
diff --git a/src/routers/layout/index.tsx b/src/routers/layout/index.tsx index 6d07e42..36a53d3 100644 --- a/src/routers/layout/index.tsx +++ b/src/routers/layout/index.tsx @@ -3,6 +3,8 @@ import { Outlet, useMatch } from "react-router-dom"; import Header from "./header"; import { useAppSelector } from "@store/hooks"; import { selectNavMoreShowed } from "@store/device/index"; +import ArrowOutwardIcon from "@mui/icons-material/ArrowOutward"; +import { Link } from "@mui/material"; import styles from "./layout.module.less"; import MidContent from "./midcontent"; export default function Layout() { @@ -21,6 +23,9 @@ export default function Layout() { }, }} > +
+ +
@@ -32,6 +37,19 @@ export default function Layout() { ); } +export const ImportTantInfo = () => ( + <> + + 征集小队长生贺视频 + + + +); const NavContent = () => { const isSearchPage = useMatch(`/search`) !== null; diff --git a/src/routers/layout/logo/index.tsx b/src/routers/layout/logo/index.tsx index d2baea2..b14f185 100644 --- a/src/routers/layout/logo/index.tsx +++ b/src/routers/layout/logo/index.tsx @@ -32,7 +32,7 @@ export default function LOGO() {

- {!md ? `EOEfans-web端` : `EOEfans`} + {!md ? `eoefans-web端` : `eoefans`}

+ +
+ +
+