This commit is contained in:
huangjinming 2022-11-17 15:15:11 +08:00
commit 64f0e025d4
7 changed files with 18 additions and 16 deletions

View File

@ -1 +1 @@
VUE_APP_API_HOST='http://192.168.100.83:3000'
VUE_APP_API_HOST='https://invitation.cebggame.com'

View File

@ -5,7 +5,9 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://activity.cebg.games --acl public-read",
"refresh:prod": "aws cloudfront create-invalidation --distribution-id E3DQJTHKOKHHZ7 --paths \"/*\""
},
"dependencies": {
"axios": "^1.1.3",

View File

@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CEBG</title>
<title>CEBG 1,000 Commander Rally</title>
<link rel="stylesheet" href="css/normalize.css" type="text/css">
<link rel="stylesheet" href="css/main.css" type="text/css">
<script src="js/jquery-1.12.4.js"></script>
@ -68,7 +68,7 @@
<a href="/login" id="page_login_btn" >
<img class="preload" data-src="images/signup_btn.png">
</a>
<a href="/rankinglist" class="quest_btn" id="page_quest_btn"
<a href="/rankinglist" class="quest_btn" id="page_quest_btn" style="display: none;"
><img class="preload" data-src="images/quest_btn.png"
/></a>
</div>
@ -308,7 +308,7 @@
var checkActivity = function (address, cb) {
var settings = {
url: "http://192.168.100.83:3000/aa1/user_status",
url: "https://invitation.cebggame.com/aa1/user_status",
method: "POST",
headers: {
"Content-Type": "application/json",

View File

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<title>CEBG</title>
<title>CEBG 1,000 Commander Rally</title>
<link rel="stylesheet" href="css/normalize.css" type="text/css" />
<link rel="stylesheet" href="css/mobile.css" type="text/css" />
<script src="js/jquery-1.12.4.js"></script>
@ -420,7 +420,7 @@
var checkActivity = function (address, cb) {
var settings = {
url: "http://192.168.100.83:3000/aa1/user_status",
url: "https://invitation.cebggame.com/aa1/user_status",
method: "POST",
headers: {
"Content-Type": "application/json",

View File

@ -18,21 +18,21 @@ const routes = [
{
path: "/login",
name: "login",
meta: { title: "login" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(/* webpackChunkName: "login" */ "../views/mobile/Login.vue"),
},
{
path: "/signup",
name: "Signup",
meta: { title: "Signup" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(/* webpackChunkName: "singup" */ "../views/mobile/Signup.vue"),
},
{
path: "/recommend",
name: "Recommend",
meta: { title: "Recommend" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(
/* webpackChunkName: "recommend" */ "../views/mobile/Recommend.vue"
@ -41,7 +41,7 @@ const routes = [
{
path: "/success",
name: "Success",
meta: { title: "Success" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(
/* webpackChunkName: "success" */ "../views/mobile/Success.vue"
@ -50,7 +50,7 @@ const routes = [
{
path: "/rankinglist",
name: "RankingList",
meta: { title: "Quest Info" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(
/* webpackChunkName: "rankinglist" */ "../views/mobile/RankingList.vue"
@ -59,7 +59,7 @@ const routes = [
{
path: "/listdetails",
name: "ListDetails",
meta: { title: "Leader board" },
meta: { title: "CEBG 1,000 Commander Rally" },
component: () =>
import(
/* webpackChunkName: "listdetails" */ "../views/mobile/ListDetails.vue"

View File

@ -38,13 +38,13 @@ export default {
this.hide = true
},
toHome() {
location.href = '/mobile.html'
location.href = isMobile()? '/mobile.html' : '/desktop.html'
},
logout() {
chain.logout();
localStorage.removeItem('userinfo');
localStorage.removeItem('invite_code');
location.href = '/desktop.html'
location.href = isMobile()? '/mobile.html' : '/desktop.html'
this.hide = false
},
toQuest(e) {

View File

@ -7,7 +7,7 @@
</div>
<iframe
id="iframe"
src="https://nft-mpc-test.lifo.ai/public/campaign-challenge/358"
src="https://w3w.ai/public/campaign-challenge/1222"
frameborder="0"
></iframe>
</div>