staking
This commit is contained in:
parent
d9c4d4fd43
commit
05c94a914d
@ -213,6 +213,11 @@ const navList = reactive([
|
|||||||
name: "CLAIM",
|
name: "CLAIM",
|
||||||
path: "/claim",
|
path: "/claim",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 8,
|
||||||
|
name: "STAKING",
|
||||||
|
path: "/staking",
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
function click(event) {
|
function click(event) {
|
||||||
router.push(event.key);
|
router.push(event.key);
|
||||||
@ -257,6 +262,9 @@ function handNavCurent(nav) {
|
|||||||
} else if(nav.id == 7) {
|
} else if(nav.id == 7) {
|
||||||
// window.open(`${location.origin}${nav.path}`, "_blank")
|
// window.open(`${location.origin}${nav.path}`, "_blank")
|
||||||
router.push(nav.path);
|
router.push(nav.path);
|
||||||
|
} else if(nav.id == 8) {
|
||||||
|
// window.open(`${location.origin}${nav.path}`, "_blank")
|
||||||
|
router.push(nav.path);
|
||||||
}
|
}
|
||||||
// if (nav.id == 1 || nav.id == 2 || nav.id == 3) {
|
// if (nav.id == 1 || nav.id == 2 || nav.id == 3) {
|
||||||
// window.open(nav.path, "_blank");
|
// window.open(nav.path, "_blank");
|
||||||
|
@ -9,6 +9,7 @@ import PrivacyView from '../views/PrivacyView.vue';
|
|||||||
import TermsView from '../views/TermsView.vue';
|
import TermsView from '../views/TermsView.vue';
|
||||||
import CecActivityView from '../views/CecActivityView.vue';
|
import CecActivityView from '../views/CecActivityView.vue';
|
||||||
import ClaimView from '../views/ClaimView.vue';
|
import ClaimView from '../views/ClaimView.vue';
|
||||||
|
import StakingView from "../views/StakingView.vue";
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
@ -101,6 +102,15 @@ const routes = [
|
|||||||
canonical: "https://.counterfire.games",
|
canonical: "https://.counterfire.games",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/staking",
|
||||||
|
name: "staking",
|
||||||
|
component: StakingView,
|
||||||
|
meta: {
|
||||||
|
title: "staking",
|
||||||
|
canonical: "https://.counterfire.games",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/privacy",
|
path: "/privacy",
|
||||||
name: "Privacy",
|
name: "Privacy",
|
||||||
|
18
src/views/StakingView.vue
Normal file
18
src/views/StakingView.vue
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div class="staking">
|
||||||
|
staking
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { ref } from "vue"
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.staking {
|
||||||
|
padding-top: 84px;
|
||||||
|
background: #16141b;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
x
Reference in New Issue
Block a user