From eaa99ff0f84d36983ffccff322315d258259099c Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Thu, 4 Jul 2024 15:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4header=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=EF=BC=8C=E9=A6=96=E9=A1=B5=E4=BA=8C=E6=9C=9Fmint=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/banner.vue | 4 ++-- src/components/layout/NavBar.vue | 33 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/src/components/home/banner.vue b/src/components/home/banner.vue index 8161af6..1750a6f 100644 --- a/src/components/home/banner.vue +++ b/src/components/home/banner.vue @@ -16,12 +16,12 @@ src="../../assets/img/home/gameWeb_p1_slogan.png" alt="Game Background" /> --> - + Game Background - +
diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index 9acaf36..b215fd8 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -88,7 +88,7 @@ const cartShow = ref(false) const activeIndex = ref(0); const navList = reactive([ { id: 0, name: "ABOUT", path: "/about" }, - { id: 1, name: "ASSETS", path: "https://pledge.kingsome.cn/" }, + // { id: 1, name: "ASSETS", path: "https://pledge.kingsome.cn/" }, // { id: 1, name: "planet", path: "https://planet.kingsome.cn/" }, // { // id: 2, @@ -120,18 +120,18 @@ const navList = reactive([ { label: "Discord", link: "https://discord.com/invite/fNSn2NHUvf" }, ], }, - { - id: 5, - name: "EVENT", - path: "/contact", - submenu: [ - { label: "Badge", link: "https://badge.counterfire.games/" }, - { - label: "Gacha", - link: "https://gacha.counterfire.games/", - }, - ], - }, + // { + // id: 5, + // name: "EVENT", + // path: "/contact", + // submenu: [ + // { label: "Badge", link: "https://badge.counterfire.games/" }, + // { + // label: "Gacha", + // link: "https://gacha.counterfire.games/", + // }, + // ], + // }, { id: 6, name: "MARKETPLACE", @@ -162,9 +162,10 @@ const handlHome = () => { function handNavCurent(nav) { activeIndex.value = nav.id; - if (nav.id == 1) { - window.open(nav.path, "_blank"); - } else if(nav.id == 0) { + // if (nav.id == 1) { + // window.open(nav.path, "_blank"); + // } else + if(nav.id == 0) { router.push(nav.path); } else if(nav.id == 6) { router.push(nav.path);