diff --git a/layouts/default.vue b/layouts/default.vue index 26e8b66..a050cd4 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -10,7 +10,8 @@
@@ -45,6 +46,12 @@ export default { isHomePage() { return this.$route.path === "/"; }, + isHideBarLinePage() { + return ["/", "/seckill"].includes(this.$route.path); + }, + isHideSeckillPage() { + return this.$route.path === "/seckill"; + }, showCategroyTab() { return !CATEGROY_HIDE_PAGES.some((reg) => { return reg.test(this.$route.path); diff --git a/layouts/module/header/index.vue b/layouts/module/header/index.vue index 525cd51..e81305e 100644 --- a/layouts/module/header/index.vue +++ b/layouts/module/header/index.vue @@ -2,7 +2,10 @@
-