From fc957770ce721287f86e5ad06b2c43176dc71cb5 Mon Sep 17 00:00:00 2001
From: chen-xin-zhi <3588068430@qq.com>
Date: Mon, 16 Jun 2025 10:59:20 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BA=86=E6=B3=A8=E5=86=8C?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=94=A8?=
=?UTF-8?q?=E6=88=B7=E5=8D=8F=E8=AE=AE=E5=92=8C=E9=9A=90=E7=A7=81=E6=94=BF?=
=?UTF-8?q?=E7=AD=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/loginModule/register/register.js | 57 ++++---------------
pages/loginModule/register/register.wxml | 4 +-
.../component/commissionPop/commissionPop.js | 2 +-
request.js | 2 +-
4 files changed, 14 insertions(+), 51 deletions(-)
diff --git a/pages/loginModule/register/register.js b/pages/loginModule/register/register.js
index ab51ac4..2aa6998 100644
--- a/pages/loginModule/register/register.js
+++ b/pages/loginModule/register/register.js
@@ -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',
+ })
+},
})
\ No newline at end of file
diff --git a/pages/loginModule/register/register.wxml b/pages/loginModule/register/register.wxml
index dfcd2f1..405f13d 100644
--- a/pages/loginModule/register/register.wxml
+++ b/pages/loginModule/register/register.wxml
@@ -63,9 +63,9 @@
我已阅读并同意
- 《用户协议》
+ 《用户协议》
&
- 《隐私协议》
+ 《隐私协议》
注册
diff --git a/pages/personCenter/component/commissionPop/commissionPop.js b/pages/personCenter/component/commissionPop/commissionPop.js
index 4b0ec66..460fe81 100644
--- a/pages/personCenter/component/commissionPop/commissionPop.js
+++ b/pages/personCenter/component/commissionPop/commissionPop.js
@@ -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;
diff --git a/request.js b/request.js
index e667b0d..e117e91 100644
--- a/request.js
+++ b/request.js
@@ -2,6 +2,6 @@ export const local='http://localhost:9091';
export const ip = 'http://27.30.77.229:9091';
export const test = 'http://27.30.77.229:9092';
export const localTest = 'http://localhost:9092';
-export const baseUrl = localTest;
+export const baseUrl = test;
export const globalImgUrl = baseUrl + '/file/download/'
\ No newline at end of file