|
|
@ -8,7 +8,7 @@ import MiniFooter from './MiniFooter';
|
|
|
|
export default function Footer() {
|
|
|
|
export default function Footer() {
|
|
|
|
const pathName = usePathname();
|
|
|
|
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
|
|
|
|
const showNoFooter = /^\/my\//.test(pathName); // 不展示 footer
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|