Merge branch 'master' of http://git.kingsome.cn/crypto/cebg-activities
This commit is contained in:
commit
64f0e025d4
@ -1 +1 @@
|
||||
VUE_APP_API_HOST='http://192.168.100.83:3000'
|
||||
VUE_APP_API_HOST='https://invitation.cebggame.com'
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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) {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user