添加用户协议

This commit is contained in:
zhangmanman
2021-09-28 11:30:55 +08:00
parent 386453cd14
commit b04e881294
3 changed files with 9 additions and 28 deletions

View File

@@ -158,22 +158,16 @@
var type = open.openType;
switch(type){
case 'switchTab':
uni.switchTab({
url: open.path
})
this.$Router.pushTab({name: open.path})
break;
case 'web':
uni.navigateTo({
url: open.url
})
window.location.href = open.path
break;
case 'navigateTo':
uni.navigateTo({
url: open.path
})
this.$Router.push({name: open.path})
break;
}
},
}
}
}
</script>

View File

@@ -280,24 +280,18 @@
})
},
// 能量任务跳转
// 能量跳转
JumpUrl(open, title) {
var type = open.openType;
switch(type){
case 'switchTab':
uni.switchTab({
url: open.path
})
this.$Router.pushTab({name: open.path})
break;
case 'web':
uni.navigateTo({
url: open.url
})
window.location.href = open.path
break;
case 'navigateTo':
uni.navigateTo({
url: open.path
})
this.$Router.push({name: open.path})
break;
}
}

View File

@@ -26,14 +26,7 @@
</view>
</view>
<!-- 用户登录注册协议 -->
<<<<<<< HEAD
<view class="agreement">未注册的手机号验证后将自动创建账号登录即表示同意接收<view @click="$Router.push({name: 'vipAgree', params: {type : 'loginPrivacy'}})">用户隐私协议</view><view @click="$Router.push({name: 'vipAgree', params: {type : 'loginService'}})">用户服务协议
</view>
=======
<view class="agreement">未注册的手机号验证后将自动创建账号登录即表示同意接收<navigator url="/pages/login/agreement?name=secret">用户隐私协议</navigator><navigator url="/pages/login/agreement?name=service">用户服务协议
</navigator>
>>>>>>> 1e1409f14e485939bb0a6d80e65119d65d4e6a1c
</view>
<view class="agreement">未注册的手机号验证后将自动创建账号登录即表示同意接收<view @click="$Router.push({name: 'vipAgree', params: {type : 'loginPrivacy'}})">用户隐私协议</view><view @click="$Router.push({name: 'vipAgree', params: {type : 'loginService'}})">用户服务协议</view></view>
</view>
</template>