diff --git a/src/components/assets/assetsHeader.vue b/src/components/assets/assetsHeader.vue index f308876..31e2075 100644 --- a/src/components/assets/assetsHeader.vue +++ b/src/components/assets/assetsHeader.vue @@ -340,6 +340,21 @@
Top-Up
+
+
+

rechargeListModal

+
+ +
+ 121231231321231 +
+
+
+
+ + 9000 +
+
@@ -1897,6 +1912,63 @@ onMounted(() => { font-size: 48px; margin-top: 25px; } + .credits { + position: absolute; + top: 0; + left: 40px; + width: 200px; + height: 80px; + // background: #2d2738; + background: rgba(0,0,0,.5); + border-radius: 20px; + .credits-top { + display: flex; + align-items: center; + justify-content: center; + padding-top: 10px; + position: relative; + p { + color: #fff; + font-size: 14px; + } + img { + width: 30px; + height: 30px; + margin-left: 10px; + cursor: pointer; + } + .tips-hover { + .credits-tips { + display: none; + position: absolute; + top: -35px; + right: -100px; + padding: 10px; + background: #2d2738; + border-radius: 10px; + } + &:hover { + .credits-tips { + display: block; + } + } + } + } + .credits-btm { + display: flex; + align-items: center; + justify-content: center; + img { + width: 30px; + height: 30px; + margin-right: 10px; + } + span { + font-family: 'Poppins'; + font-size: 18px; + } + } + } .closable { position: absolute; top: -50px; diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index 0d10208..e266449 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -174,11 +174,11 @@ const navList = reactive([ // }, // ], // }, - // { - // id: 6, - // name: "STAKE", - // path: "https://pledge.kingsome.cn", - // }, + { + id: 6, + name: "STAKE", + path: "/cecActivity", + }, ]); function click(event) { router.push(event.key); @@ -218,6 +218,8 @@ function handNavCurent(nav) { // window.open(nav.path, "_blank"); } else if(nav.id == 5) { window.open(nav.path, "_blank") + } else if(nav.id == 6) { + router.push(nav.path); } // if (nav.id == 1 || nav.id == 2 || nav.id == 3) { // window.open(nav.path, "_blank"); diff --git a/src/router/index.js b/src/router/index.js index 04d6ed4..6149efa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,6 +7,7 @@ import Notice from "../views/NoticeView.vue" import Detail from "../views/DetailView.vue"; import PrivacyView from '../views/PrivacyView.vue'; import TermsView from '../views/TermsView.vue'; +import CecActivityView from '../views/CecActivityView.vue'; const routes = [ { path: "/", @@ -72,6 +73,15 @@ const routes = [ canonical: "https://.counterfire.games", }, }, + { + path: "/cecActivity", + name: "CecActivityView", + component: CecActivityView, + meta: { + title: "CecActivityView", + canonical: "https://.counterfire.games", + }, + }, { path: "/privacy", name: "Privacy", diff --git a/src/views/CecActivityView.vue b/src/views/CecActivityView.vue new file mode 100644 index 0000000..02d6d7b --- /dev/null +++ b/src/views/CecActivityView.vue @@ -0,0 +1,152 @@ + + + + + \ No newline at end of file