This commit is contained in:
huangjinming 2023-07-15 20:33:31 +08:00
parent e8acc552f0
commit 86c000e292
7 changed files with 27 additions and 24 deletions

View File

@ -1,4 +1,4 @@
VUE_APP_BASE_API='https://market.cebg.games' VUE_APP_BASE_API='https://market.cebg.games'
VUE_APP_BASE_API2='https://invitation.counterfire.games' VUE_APP_BASE_API2='https://invitation.counterfire.games'
//VUE_APP_BASE_API2='http://192.168.100.83:3000/' //VUE_APP_BASE_API2='http://192.168.100.83:3000/'
VUE_APP_GPAL_API='https://m.counterfire.games' VUE_APP_GPAL_API='https://m.gacha.counterfire.games'

View File

@ -1,3 +1,3 @@
VUE_APP_BASE_API='https://market.cebg.games' VUE_APP_BASE_API='https://market.cebg.games'
VUE_APP_BASE_API2='https://invitation.counterfire.games' VUE_APP_BASE_API2='https://invitation.counterfire.games'
VUE_APP_GPAL_API='https://m.counterfire.games' VUE_APP_GPAL_API='https://m.gacha.counterfire.games'

BIN
dist.rar

Binary file not shown.

View File

@ -7,24 +7,24 @@
name="viewport" name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
/> />
<title>Counter Fire</title> <title>Gacha</title>
<meta property="og:title" content="Counter Fire" /> <meta property="og:title" content="Gacha" />
<meta <meta
property="og:description" property="og:description"
content="CounterFire.games | Gacha is blinking! Quest and Rewards.Join Counter Fire and Rise of Gacha. Get your gacha and rewards. A new evolution about Web3Gaming." content="m.gacha.CounterFire.games | Gacha is blinking! Quest and Rewards.Join Counter Fire and Rise of Gacha. Get your gacha and rewards. A new evolution about Web3Gaming."
/> />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="https://m.counterfire.games/" /> <meta property="og:url" content="https://m.gacha.counterfire.games" />
<meta <meta
property="og:image" property="og:image"
content="https://m.counterfire.games/images/counter.png" content="https://m.gacha.counterfire.games/images/counter.png"
/> />
<!-- <meta property="og:site_name" content="CEBG" /> --> <!-- <meta property="og:site_name" content="CEBG" /> -->
<meta property="twitter:card" content="summary_large_image" /> <meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="Counter Fire" /> <meta property="twitter:title" content="Gacha" />
<meta <meta
property="twitter:image" property="twitter:image"
content="https://m.counterfire.games/images/counter.png" content="https://m.gacha.counterfire.games/images/counter.png"
/> />
</head> </head>
<script type="module"> <script type="module">

View File

@ -782,7 +782,7 @@ const handQuote = () => {
"Adorable! join with me in @_CounterFire,Bring Gacha home with you \nShe will unveil even more rewards as she bursts out of her shell.\n#CounterFire Now available on Google Play,A new evolution about #Web3Gaming"; "Adorable! join with me in @_CounterFire,Bring Gacha home with you \nShe will unveil even more rewards as she bursts out of her shell.\n#CounterFire Now available on Google Play,A new evolution about #Web3Gaming";
const url = `https://twitter.com/intent/tweet?text=${encodeURIComponent( const url = `https://twitter.com/intent/tweet?text=${encodeURIComponent(
text text
)}&url=https://m.counterfire.games/?code=${code}`; )}&url=https://m.gacha.counterfire.games/?code=${code}`;
window.open(url, "_blank", "width=500,height=600"); window.open(url, "_blank", "width=500,height=600");
}; };

View File

@ -24,7 +24,7 @@
<div class="link-btn"> <div class="link-btn">
<div> <div>
<div class="link-btn-title">Invite Link</div> <div class="link-btn-title">Invite Link</div>
<div>{{ inviteLink }}</div> <div class="link-url">{{ inviteLink }}</div>
</div> </div>
<div class="copy" @click="handleCopy"> <div class="copy" @click="handleCopy">
<img src="@/assets/img/task/copy-icon.png" alt="" /> <img src="@/assets/img/task/copy-icon.png" alt="" />
@ -529,13 +529,16 @@ onMounted(async () => {
background: rgba(40, 33, 20, 0.6); background: rgba(40, 33, 20, 0.6);
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-left: 31px; padding-left: 20px;
padding-right: 31px; padding-right: 20px;
margin-bottom: 40px; margin-bottom: 40px;
// padding-top: 5px; // padding-top: 5px;
.link-btn-title { .link-btn-title {
color: #a68548; color: #a68548;
} }
.link-url{
white-space: nowrap;
}
} }
.you-input { .you-input {
width: 80%; width: 80%;

View File

@ -7,16 +7,16 @@ const routes = [
component: () => component: () =>
import(/* webpackChunkName "index1" */ "@/views/TaskView.vue"), import(/* webpackChunkName "index1" */ "@/views/TaskView.vue"),
meta: { meta: {
title: "Counter Fire", title: "Gacha",
canonical: "https://m.counterfire.games", canonical: "https://m.gacha.counterfire.games",
}, },
}, },
{ {
path: "/quest", path: "/quest",
name: "QUEST", name: "QUEST",
meta: { meta: {
title: "Counter Fire Quest", title: "Gacha Quest",
canonical: "https://m.counterfire.games/quest", canonical: "https://m.gacha.counterfire.games/quest",
}, },
component: () => component: () =>
@ -28,8 +28,8 @@ const routes = [
component: () => component: () =>
import(/* webpackChunkName "index" */ "@/views/TaskView.vue"), import(/* webpackChunkName "index" */ "@/views/TaskView.vue"),
meta: { meta: {
title: "Counter Fire index", title: "Gacha index",
canonical: "https://m.counterfire.games/index.html", canonical: "https://m.gacha.counterfire.games/index.html",
}, },
}, },
@ -37,8 +37,8 @@ const routes = [
path: "/undertest", path: "/undertest",
name: "TaskOne", name: "TaskOne",
meta: { meta: {
title: "Counter Fire Undertest", title: "Gacha Undertest",
canonical: "https://m.counterfire.games/undertest", canonical: "https://m.gacha.counterfire.games/undertest",
}, },
component: () => component: () =>
@ -48,8 +48,8 @@ const routes = [
path: "/taskTwo", path: "/taskTwo",
name: "TaskTwo", name: "TaskTwo",
meta: { meta: {
title: "Counter Fire TaskTwo", title: "Gacha TaskTwo",
canonical: "https://m.counterfire.games/taskTwo", canonical: "https://m.gacha.counterfire.games/taskTwo",
}, },
component: () => component: () =>
import(/* webpackChunkName "TaskTwo" */ "@/components/task/TaskTwo.vue"), import(/* webpackChunkName "TaskTwo" */ "@/components/task/TaskTwo.vue"),
@ -87,7 +87,7 @@ router.beforeEach((to, from, next) => {
link.href = to.meta.canonical link.href = to.meta.canonical
next(); // 如果是 PC 设备,继续导航 next(); // 如果是 PC 设备,继续导航
} else { } else {
window.location.href = `https://www.counterfire.games${to.query.code? '?code='+ to.query.code:''}`; window.location.href = `https://gacha.counterfire.games${to.query.code? '?code='+ to.query.code:''}`;
} }
}); });