补充了注册页面的小程序用户协议和隐私政策
This commit is contained in:
@ -155,52 +155,15 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
gotoAgreement() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/loginModule/agreement/agreement',
|
||||
})
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
gotoPolicy() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/loginModule/privacyPolicy/privacyPolicy',
|
||||
})
|
||||
},
|
||||
})
|
@ -63,9 +63,9 @@
|
||||
</checkbox-group>
|
||||
<view class="group_2 ml-13">
|
||||
<text class="font_2 text_10">我已阅读并同意</text>
|
||||
<text class="font_2">《用户协议》</text>
|
||||
<text class="font_2" bind:tap="gotoAgreement">《用户协议》</text>
|
||||
<text class="text_11">&</text>
|
||||
<text class="font_2">《隐私协议》</text>
|
||||
<text class="font_2" bind:tap="gotoPolicy">《隐私协议》</text>
|
||||
</view>
|
||||
</view>
|
||||
<view bindtap="onRegister" class="flex-col justify-start items-center text-wrapper_6 mt-26"><text class="font text_12">注册</text></view>
|
||||
|
@ -34,7 +34,7 @@ import { baseUrl } from "../../../../request";Component({
|
||||
const rate = parseFloat(this.data.commissionRate);
|
||||
if (isNaN(rate) || rate < 0 || rate > 10) {
|
||||
wx.showToast({
|
||||
title: `请输入有效的比例,最大为 5%`,
|
||||
title: `请输入有效的比例,最大为 10%`,
|
||||
icon: 'none',
|
||||
});
|
||||
return;
|
||||
|
Reference in New Issue
Block a user