256a8622 by lttnew

须知

1 parent d9f71c2d
......@@ -80,7 +80,7 @@
</view>
<view class="fixed-agreeline">
<view class="agreeline">
<checkbox-group @change="onAgreeChange">
<checkbox-group @change="changeAgree">
<label class="agree-label">
<checkbox :checked="agree" color="#C40F18" value="1" />
<text class="agree-text">我已阅读并同意</text>
......@@ -274,8 +274,8 @@ function onClickItem(e) {
}
function changeAgree(item) {
agree.value = !item
function changeAgree(e) {
agree.value = e.detail.value.length > 0
}
//身份证识别
......@@ -502,7 +502,7 @@ function goSubmit() {
if (!agree.value) {
uni.showToast({
icon: 'none',
title: '请阅入会须知',
title: '请阅入会须知',
duration: 2000
});
return
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!