Commit b1688dfc by 穆启卓

用户协议

parent 68bfe8e7
......@@ -19,7 +19,8 @@ import AmountDetail from './views/AmountDetail.vue'
import PartakeChallenge from './views/PartakeChallenge.vue'
import ChallengeDetail from './views/ChallengeDetail.vue'
import HaveJoinedGame from './views/HaveJoinedGame.vue'
import GoXCX from './views/GoXCX.vue'
import userProtocol from './views/userProtocol.vue'
// import GoXCX from './views/GoXCX.vue'
Vue.use(Router)
......@@ -99,6 +100,11 @@ export default new Router({
name: 'HaveJoinedGame',
component: HaveJoinedGame
},
{
path: '/userProtocol',
name: 'userProtocol',
component: userProtocol
},
// {
// path: '/GoXCX',
// name: 'GoXCX',
......
......@@ -37,8 +37,8 @@
<div class="game-auth-container" @click="bindArgeement()">
<img class="auth-checked" src="../images/PartakeChallenge/ic_choose.png" v-if="argeement">
<div class="auth-uncheck" v-else></div>
<div class="text1">同意</div>
<div class="text2" @click.stop="goOtherPage('Rule')">《步数打卡的挑战规则协议》</div>
<div class="text1">参与即代表你同意</div>
<div class="text2" @click.stop="goOtherPage('userProtocol')">《用户协议》</div>
</div>
</div>
<!-- 3步赚取运动奖励金 -->
......@@ -202,7 +202,7 @@ export default {
return
}
if (!this.argeement) {
return this.showModal("温馨提示", "请先同意协议");
return this.showModal("温馨提示", "勾选同意《用户协议》方可报名~");
}
let nextGame = 0;
if (this.$route.query.nextGame) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment