|
|
@@ -33,17 +33,17 @@
|
|
|
<!-- #endif -->
|
|
|
<!-- #ifdef APP-PLUS -->
|
|
|
<view style="color:#999999;font-size:25upx;margin-top:60upx;">
|
|
|
- <radio-group @change="agreeItem">
|
|
|
+ <checkbox-group @change="agreeItem">
|
|
|
<label>
|
|
|
- <radio value="1" style="width:6upx;transform:scale(0.8)" />
|
|
|
- <text style="margin-left:38upx;">
|
|
|
+ <checkbox value="1" style="transform:scale(0.8)" />
|
|
|
+ <text>
|
|
|
我已阅读并同意
|
|
|
<text style="font-weight:bold;color:#666666;" @click.stop="goToService">《服务协议》</text>
|
|
|
和
|
|
|
<text style="font-weight:bold;color:#666666;" @click.stop="goToPrivacy">《隐私政策》</text>
|
|
|
</text>
|
|
|
</label>
|
|
|
- </radio-group>
|
|
|
+ </checkbox-group>
|
|
|
</view>
|
|
|
<!-- #endif -->
|
|
|
<view style="margin-top:45upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
|
|
|
@@ -126,7 +126,12 @@ export default {
|
|
|
plus.runtime.openURL('http://www.wixhb.com/main/hzg-privacy')
|
|
|
},
|
|
|
agreeItem(e){
|
|
|
- this.agree = e.target.value
|
|
|
+ let arr = e.target.value
|
|
|
+ if (this.$util.isEmpty(arr)) {
|
|
|
+ this.agree = 0
|
|
|
+ }else{
|
|
|
+ this.agree = 1
|
|
|
+ }
|
|
|
},
|
|
|
dealLogin(res){
|
|
|
let that = this
|