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": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"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": {
|
"dependencies": {
|
||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<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/normalize.css" type="text/css">
|
||||||
<link rel="stylesheet" href="css/main.css" type="text/css">
|
<link rel="stylesheet" href="css/main.css" type="text/css">
|
||||||
<script src="js/jquery-1.12.4.js"></script>
|
<script src="js/jquery-1.12.4.js"></script>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
<a href="/login" id="page_login_btn" >
|
<a href="/login" id="page_login_btn" >
|
||||||
<img class="preload" data-src="images/signup_btn.png">
|
<img class="preload" data-src="images/signup_btn.png">
|
||||||
</a>
|
</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"
|
><img class="preload" data-src="images/quest_btn.png"
|
||||||
/></a>
|
/></a>
|
||||||
</div>
|
</div>
|
||||||
@ -308,7 +308,7 @@
|
|||||||
|
|
||||||
var checkActivity = function (address, cb) {
|
var checkActivity = function (address, cb) {
|
||||||
var settings = {
|
var settings = {
|
||||||
url: "http://192.168.100.83:3000/aa1/user_status",
|
url: "https://invitation.cebggame.com/aa1/user_status",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="format-detection" content="telephone=no" />
|
<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/normalize.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="css/mobile.css" type="text/css" />
|
<link rel="stylesheet" href="css/mobile.css" type="text/css" />
|
||||||
<script src="js/jquery-1.12.4.js"></script>
|
<script src="js/jquery-1.12.4.js"></script>
|
||||||
@ -420,7 +420,7 @@
|
|||||||
|
|
||||||
var checkActivity = function (address, cb) {
|
var checkActivity = function (address, cb) {
|
||||||
var settings = {
|
var settings = {
|
||||||
url: "http://192.168.100.83:3000/aa1/user_status",
|
url: "https://invitation.cebggame.com/aa1/user_status",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
@ -18,21 +18,21 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: "/login",
|
path: "/login",
|
||||||
name: "login",
|
name: "login",
|
||||||
meta: { title: "login" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "login" */ "../views/mobile/Login.vue"),
|
import(/* webpackChunkName: "login" */ "../views/mobile/Login.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/signup",
|
path: "/signup",
|
||||||
name: "Signup",
|
name: "Signup",
|
||||||
meta: { title: "Signup" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "singup" */ "../views/mobile/Signup.vue"),
|
import(/* webpackChunkName: "singup" */ "../views/mobile/Signup.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/recommend",
|
path: "/recommend",
|
||||||
name: "Recommend",
|
name: "Recommend",
|
||||||
meta: { title: "Recommend" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(
|
import(
|
||||||
/* webpackChunkName: "recommend" */ "../views/mobile/Recommend.vue"
|
/* webpackChunkName: "recommend" */ "../views/mobile/Recommend.vue"
|
||||||
@ -41,7 +41,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: "/success",
|
path: "/success",
|
||||||
name: "Success",
|
name: "Success",
|
||||||
meta: { title: "Success" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(
|
import(
|
||||||
/* webpackChunkName: "success" */ "../views/mobile/Success.vue"
|
/* webpackChunkName: "success" */ "../views/mobile/Success.vue"
|
||||||
@ -50,7 +50,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: "/rankinglist",
|
path: "/rankinglist",
|
||||||
name: "RankingList",
|
name: "RankingList",
|
||||||
meta: { title: "Quest Info" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(
|
import(
|
||||||
/* webpackChunkName: "rankinglist" */ "../views/mobile/RankingList.vue"
|
/* webpackChunkName: "rankinglist" */ "../views/mobile/RankingList.vue"
|
||||||
@ -59,7 +59,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: "/listdetails",
|
path: "/listdetails",
|
||||||
name: "ListDetails",
|
name: "ListDetails",
|
||||||
meta: { title: "Leader board" },
|
meta: { title: "CEBG 1,000 Commander Rally" },
|
||||||
component: () =>
|
component: () =>
|
||||||
import(
|
import(
|
||||||
/* webpackChunkName: "listdetails" */ "../views/mobile/ListDetails.vue"
|
/* webpackChunkName: "listdetails" */ "../views/mobile/ListDetails.vue"
|
||||||
|
@ -38,13 +38,13 @@ export default {
|
|||||||
this.hide = true
|
this.hide = true
|
||||||
},
|
},
|
||||||
toHome() {
|
toHome() {
|
||||||
location.href = '/mobile.html'
|
location.href = isMobile()? '/mobile.html' : '/desktop.html'
|
||||||
},
|
},
|
||||||
logout() {
|
logout() {
|
||||||
chain.logout();
|
chain.logout();
|
||||||
localStorage.removeItem('userinfo');
|
localStorage.removeItem('userinfo');
|
||||||
localStorage.removeItem('invite_code');
|
localStorage.removeItem('invite_code');
|
||||||
location.href = '/desktop.html'
|
location.href = isMobile()? '/mobile.html' : '/desktop.html'
|
||||||
this.hide = false
|
this.hide = false
|
||||||
},
|
},
|
||||||
toQuest(e) {
|
toQuest(e) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
src="https://nft-mpc-test.lifo.ai/public/campaign-challenge/358"
|
src="https://w3w.ai/public/campaign-challenge/1222"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user