|
@ -34,20 +34,22 @@ |
|
|
icon-size="30rpx" |
|
|
icon-size="30rpx" |
|
|
activeColor="#ecb864" |
|
|
activeColor="#ecb864" |
|
|
:name="1"></uv-checkbox> |
|
|
:name="1"></uv-checkbox> |
|
|
<view>我已仔细阅读并已同意以下条款:</view> |
|
|
|
|
|
<text @click="$refs.popup.open('user_ys_one')">《全球隐私声明1》</text> |
|
|
|
|
|
|
|
|
<view> |
|
|
|
|
|
我已仔细阅读并已同意以下 |
|
|
|
|
|
|
|
|
|
|
|
<text@click="$refs.checkboxPopup.open('bottom')"> |
|
|
|
|
|
{{ privacyPolicyList.length }}项条款 |
|
|
|
|
|
</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <text @click="$refs.popup.open('user_ys_one')">《全球隐私声明1》</text> |
|
|
|
|
|
|
|
|
<text @click="$refs.popup.open('user_ys_two')">《全球隐私声明2》</text> |
|
|
<text @click="$refs.popup.open('user_ys_two')">《全球隐私声明2》</text> |
|
|
|
|
|
|
|
|
<text @click="$refs.popup.open('user_xy_three')">《全球隐私声明3》</text> |
|
|
<text @click="$refs.popup.open('user_xy_three')">《全球隐私声明3》</text> |
|
|
|
|
|
|
|
|
|
|
|
--> |
|
|
<!-- <text @click="$refs.popup.open('user_xy_four')">《全球隐私声明4》</text> --> |
|
|
<!-- <text @click="$refs.popup.open('user_xy_four')">《全球隐私声明4》</text> --> |
|
|
|
|
|
|
|
|
<text |
|
|
|
|
|
@click="$refs.checkboxPopup.open('bottom')" |
|
|
|
|
|
> |
|
|
|
|
|
查看40项协议 |
|
|
|
|
|
</text> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</uv-checkbox-group> |
|
|
</uv-checkbox-group> |
|
@ -70,10 +72,10 @@ |
|
|
<uv-popup ref="checkboxPopup" |
|
|
<uv-popup ref="checkboxPopup" |
|
|
:round="30"> |
|
|
:round="30"> |
|
|
<view class="checkboxPopupContent"> |
|
|
<view class="checkboxPopupContent"> |
|
|
<view @click="$refs.popup.open('user_xy_four')" |
|
|
|
|
|
v-for="item in 40" |
|
|
|
|
|
:key="item" |
|
|
|
|
|
>《全球隐私声明{{item + 1}}》</view> |
|
|
|
|
|
|
|
|
<view @click="$refs.popup.openContent(item.details)" |
|
|
|
|
|
v-for="item in privacyPolicyList" |
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
>《 {{ item.title }} 》</view> |
|
|
</view> |
|
|
</view> |
|
|
</uv-popup> |
|
|
</uv-popup> |
|
|
|
|
|
|
|
@ -91,6 +93,7 @@ |
|
|
checkboxValue : [], |
|
|
checkboxValue : [], |
|
|
configObj : {}, |
|
|
configObj : {}, |
|
|
keys : ['user_ys_one', 'user_ys_two', 'user_xy_three', 'user_xy_four'], |
|
|
keys : ['user_ys_one', 'user_ys_two', 'user_xy_three', 'user_xy_four'], |
|
|
|
|
|
privacyPolicyList : [], |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed : { |
|
|
computed : { |
|
@ -99,6 +102,7 @@ |
|
|
uni.$on('initConfig', data => { |
|
|
uni.$on('initConfig', data => { |
|
|
this.configObj = data |
|
|
this.configObj = data |
|
|
}) |
|
|
}) |
|
|
|
|
|
this.getPrivacyPolicyList() |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
}, |
|
|
}, |
|
@ -106,6 +110,13 @@ |
|
|
setActive(value){ |
|
|
setActive(value){ |
|
|
this.isActive = value |
|
|
this.isActive = value |
|
|
}, |
|
|
}, |
|
|
|
|
|
getPrivacyPolicyList(){ |
|
|
|
|
|
this.$api('privacyPolicyList', res => { |
|
|
|
|
|
if(res.code == 200){ |
|
|
|
|
|
this.privacyPolicyList = res.result |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
next(){ |
|
|
next(){ |
|
|
if(!this.isActive){ |
|
|
if(!this.isActive){ |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|