添加用户协议
This commit is contained in:
@@ -15,7 +15,11 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
userAgree().then(res => {
|
||||
let newUrl = ''
|
||||
if(this.$Route.query.type == 'vipAgree') newUrl = 'articles/agreement/openvip'
|
||||
if(this.$Route.query.type == 'loginPrivacy') newUrl = 'articles/agreement/secret'
|
||||
if(this.$Route.query.type == 'loginService') newUrl = 'articles/agreement/service'
|
||||
userAgree(newUrl).then(res => {
|
||||
this.content = res.content
|
||||
}).catch(err =>{
|
||||
uni.showToast({
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 用户协议 -->
|
||||
<view class="agree">
|
||||
<view class="agree">
|
||||
<view class="agree-tips" @click="$Router.push({name: 'vipAgree', params: {type : 'vipAgree'}})">
|
||||
请仔细阅读并确认服务协议
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user