diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index d8c178b..468ff71 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -8,7 +8,7 @@ import MiniFooter from './MiniFooter'; export default function Footer() { const pathName = usePathname(); - const showFullFooter = pathName === '/' || /^\/vol\//.test(pathName); // 展示大 footer + const showFullFooter = pathName === '/' || /^\/vol\//.test(pathName) || /^\/music\//.test(pathName); // 展示大 footer const showNoFooter = /^\/my\//.test(pathName); // 不展示 footer return ( diff --git a/src/components/Footer/data.ts b/src/components/Footer/data.ts index af89880..58e8df6 100644 --- a/src/components/Footer/data.ts +++ b/src/components/Footer/data.ts @@ -19,11 +19,11 @@ export const agreementList = [ export const platformList = [ { - name: '雀乐音乐人', + name: '音乐人入驻', url: '#', }, { - name: '雀乐商城', + name: '音乐商城', url: '#', }, ]; @@ -56,11 +56,11 @@ export const socialList: IFooterLink[][] = [ // name: '雀乐微信群', // url: '#', // }, - { - name: '关于雀乐', - url: '/about', - target: '_self', - }, + // { + // name: '关于雀乐', + // url: '/about', + // target: '_self', + // }, { name: '抖音', url: 'https://www.douyin.com/user/MS4wLjABAAAAc7W6Pt4PbkLp7IdWD6IHUshkBjGwerHZSHn-U5p6JT8', diff --git a/src/components/Header/Nav.tsx b/src/components/Header/Nav.tsx index 2109b9e..6fb0f55 100644 --- a/src/components/Header/Nav.tsx +++ b/src/components/Header/Nav.tsx @@ -24,7 +24,7 @@ export default function Nav({ type = 'server' }: { type?: NextComponentType }) { const pathMatch = (path: string) => { if (path === '/') { - return pathName === path || /^\/vol\//.test(pathName) || /^\/music\//.test(pathName); + return pathName === '/' || /^\/vol\//.test(pathName) || /^\/music\//.test(pathName); } return pathName === path; };