更新页面header
This commit is contained in:
parent
01f4e47d41
commit
0453651e4e
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user