【修改】 用户授权
This commit is contained in:
@@ -72,7 +72,15 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
// 同意授权
|
||||
if (!formData.agree) {
|
||||
wx.showToast({
|
||||
title: '请先同意授权',
|
||||
icon: 'none',
|
||||
duration: 800
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
// if(this.data.flag){
|
||||
// wx.showToast({
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user