commission--yt-commit

This commit is contained in:
2025-06-23 10:03:08 +08:00
parent 2350346d95
commit 0e20be0425
22 changed files with 553 additions and 25 deletions

View File

@ -217,8 +217,11 @@ Page({
icon: 'success',
});
// 这里可以跳转到其他页面
wx.navigateTo({
url: '/pages/personCenter/withdrawal/withdrawal',
let pages = getCurrentPages(); // 获取小程序页面栈
let beforePage = pages[pages.length - 2]; // 获取上个页面的实例对象
beforePage.getAccountInfo();
wx.navigateBack({
delta:1
});
},
fail(err) {
@ -251,7 +254,9 @@ Page({
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
onShow() {
this.getAccountInfo()
},
/**
* 生命周期函数--监听页面隐藏

View File

@ -30,6 +30,7 @@
placeholder="请输入持卡人身份证号"
data-field="idCardNumber"
bindinput="handleInputChange"
type="idcard"
value="{{ idCardNumber }}"
/>
</view>

View File

@ -18,7 +18,9 @@ Page({
resetPwd() {
const { phone, verificationCode, password, currentPwd } = this.data;
formatPassword(password,currentPwd);
if( !formatPassword(password,currentPwd) ) {
return;
}
wx.request({
url: baseUrl + '/userInfo/mini/in/reset/pwd',
method: 'POST',

View File

@ -74,7 +74,6 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getAccountInfo()
},
/**