去除header跳转,首页二期mint跳转

This commit is contained in:
yuyongdong 2024-07-04 15:37:37 +08:00
parent cb89444c2a
commit eaa99ff0f8
2 changed files with 19 additions and 18 deletions

View File

@ -16,12 +16,12 @@
src="../../assets/img/home/gameWeb_p1_slogan.png" src="../../assets/img/home/gameWeb_p1_slogan.png"
alt="Game Background" alt="Game Background"
/> --> /> -->
<a href="https://mint.counterfire.games/" target="_blank" rel="noopener noreferrer"> <!-- <a href="https://mint.counterfire.games/" target="_blank" rel="noopener noreferrer"> -->
<img <img
src="../../assets/img/home/new-img/gameWeb_p1_slogan.png" src="../../assets/img/home/new-img/gameWeb_p1_slogan.png"
alt="Game Background" alt="Game Background"
/> />
</a> <!-- </a> -->
</div> </div>
<div class="download-buttons"> <div class="download-buttons">

View File

@ -88,7 +88,7 @@ const cartShow = ref(false)
const activeIndex = ref(0); const activeIndex = ref(0);
const navList = reactive([ const navList = reactive([
{ id: 0, name: "ABOUT", path: "/about" }, { 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: 1, name: "planet", path: "https://planet.kingsome.cn/" },
// { // {
// id: 2, // id: 2,
@ -120,18 +120,18 @@ const navList = reactive([
{ label: "Discord", link: "https://discord.com/invite/fNSn2NHUvf" }, { label: "Discord", link: "https://discord.com/invite/fNSn2NHUvf" },
], ],
}, },
{ // {
id: 5, // id: 5,
name: "EVENT", // name: "EVENT",
path: "/contact", // path: "/contact",
submenu: [ // submenu: [
{ label: "Badge", link: "https://badge.counterfire.games/" }, // { label: "Badge", link: "https://badge.counterfire.games/" },
{ // {
label: "Gacha", // label: "Gacha",
link: "https://gacha.counterfire.games/", // link: "https://gacha.counterfire.games/",
}, // },
], // ],
}, // },
{ {
id: 6, id: 6,
name: "MARKETPLACE", name: "MARKETPLACE",
@ -162,9 +162,10 @@ const handlHome = () => {
function handNavCurent(nav) { function handNavCurent(nav) {
activeIndex.value = nav.id; activeIndex.value = nav.id;
if (nav.id == 1) { // if (nav.id == 1) {
window.open(nav.path, "_blank"); // window.open(nav.path, "_blank");
} else if(nav.id == 0) { // } else
if(nav.id == 0) {
router.push(nav.path); router.push(nav.path);
} else if(nav.id == 6) { } else if(nav.id == 6) {
router.push(nav.path); router.push(nav.path);