diff --git a/src/assets/img/marketplace/Counterfire_History _icon.png b/src/assets/img/marketplace/Counterfire_History _icon.png new file mode 100644 index 0000000..c5a8a55 Binary files /dev/null and b/src/assets/img/marketplace/Counterfire_History _icon.png differ diff --git a/src/assets/img/marketplace/Counterfire_bg.png b/src/assets/img/marketplace/Counterfire_bg.png new file mode 100644 index 0000000..68bdcd2 Binary files /dev/null and b/src/assets/img/marketplace/Counterfire_bg.png differ diff --git a/src/assets/img/marketplace/History txt.png b/src/assets/img/marketplace/History txt.png new file mode 100644 index 0000000..9358417 Binary files /dev/null and b/src/assets/img/marketplace/History txt.png differ diff --git a/src/components/about/TeamMember.vue b/src/components/about/TeamMember.vue index f1e88d3..39c27eb 100644 --- a/src/components/about/TeamMember.vue +++ b/src/components/about/TeamMember.vue @@ -55,7 +55,7 @@ const teamMembers = [ "4 million-player games in Shanda Group", "Producer in RobTop Games to build", 'Geometry Battle Royale" with 20m gamers', - "Porducer of Counter Fire", + "Producer of Counter Fire", ], }, { diff --git a/src/components/chain/ClaimSelectModel.vue b/src/components/chain/ClaimSelectModel.vue new file mode 100644 index 0000000..1b14007 --- /dev/null +++ b/src/components/chain/ClaimSelectModel.vue @@ -0,0 +1,151 @@ + + + diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index e266449..0d0007b 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -35,7 +35,7 @@ -
+
@@ -100,7 +100,7 @@ const router = useRouter(); const route = useRoute(); const app = useAppStore(); const showMenu = ref(false); -const loginShowMenu = ref(false); +const loginShowMenu = ref(true); const dropdownVisible = ref(false); const isCart = ref(false) const cartShow = ref(false) @@ -179,6 +179,11 @@ const navList = reactive([ name: "STAKE", path: "/cecActivity", }, + { + id: 7, + name: "CLAIM", + path: "/claim", + }, ]); function click(event) { router.push(event.key); @@ -220,6 +225,8 @@ function handNavCurent(nav) { window.open(nav.path, "_blank") } else if(nav.id == 6) { router.push(nav.path); + } else if(nav.id == 7) { + router.push(nav.path); } // if (nav.id == 1 || nav.id == 2 || nav.id == 3) { // window.open(nav.path, "_blank"); @@ -325,9 +332,12 @@ watch(() => route.path,(newPath, oldPath) => { // if(routerPath[1] == 'marketplace' || routerPath[1] == 'detail') { if(routerPath[1] == 'marketplace') { isCart.value = true - } else { - isCart.value = false - } + } else if(routerPath[1] == 'claim'){ + loginShowMenu.value = false + } else { + isCart.value = false + loginShowMenu.value = true + } }) onMounted( async () => { diff --git a/src/router/index.js b/src/router/index.js index 6149efa..da0080f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,7 @@ import Detail from "../views/DetailView.vue"; import PrivacyView from '../views/PrivacyView.vue'; import TermsView from '../views/TermsView.vue'; import CecActivityView from '../views/CecActivityView.vue'; +import ClaimView from '../views/ClaimView.vue'; const routes = [ { path: "/", @@ -82,6 +83,15 @@ const routes = [ canonical: "https://.counterfire.games", }, }, + { + path: "/claim", + name: "claim", + component: ClaimView, + meta: { + title: "claim", + canonical: "https://.counterfire.games", + }, + }, { path: "/privacy", name: "Privacy", diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue new file mode 100644 index 0000000..2aad2bf --- /dev/null +++ b/src/views/ClaimView.vue @@ -0,0 +1,160 @@ + + + + + \ No newline at end of file