去除header跳转,首页二期mint跳转
This commit is contained in:
parent
cb89444c2a
commit
eaa99ff0f8
@ -16,12 +16,12 @@
|
||||
src="../../assets/img/home/gameWeb_p1_slogan.png"
|
||||
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
|
||||
src="../../assets/img/home/new-img/gameWeb_p1_slogan.png"
|
||||
alt="Game Background"
|
||||
/>
|
||||
</a>
|
||||
<!-- </a> -->
|
||||
</div>
|
||||
|
||||
<div class="download-buttons">
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user