From b4db71543bd8b8fabfeba7be3131520a2041db65 Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Tue, 20 Aug 2024 14:59:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/NavBar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index 545ecf1..09fde6f 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -225,6 +225,8 @@ function handNavCurent(nav) { window.open(nav.path, "_blank") } else if(nav.id == 6) { window.open(`${location.origin}${nav.path}`, "_blank") + } else if(nav.id == 7) { + window.open(`${location.origin}${nav.path}`, "_blank") } // if (nav.id == 1 || nav.id == 2 || nav.id == 3) { // window.open(nav.path, "_blank"); @@ -333,6 +335,8 @@ watch(() => route.path,(newPath, oldPath) => { isCart.value = true }else if(routerPath[1] == 'cecActivity') { isHeaderShow.value = false + }else if(routerPath[1] == 'claim') { + isHeaderShow.value = false } else { isHeaderShow.value = true isCart.value = false