【修改】 用户授权

This commit is contained in:
fengachen
2022-01-07 17:04:32 +08:00
parent 8ffe329ed5
commit 97a8579e4a
2 changed files with 21 additions and 1 deletions
+9 -1
View File
@@ -72,7 +72,15 @@ Page({
})
return
}
// 同意授权
if (!formData.agree) {
wx.showToast({
title: '请先同意授权',
icon: 'none',
duration: 800
})
return
}
// if(this.data.flag){
// wx.showToast({
+12
View File
@@ -68,6 +68,18 @@
</view>
</view>
<view class="wx-form-item">
<view class="wx-form-label validate">同意授权</view>
<view class="wx-form-value">
<radio-group name='agree' >
<label>
<radio class="radio-scale" value="1" color="#069F99"/>
</label>
同意授权注册(将严格保证用户信息的隐私性)
</radio-group>
</view>
</view>
<view class="wx-form-item">
<button class="btn-ok" formType="submit">确定</button>
</view>