美化了样式

This commit is contained in:
2025-08-15 00:36:04 +08:00
parent 5fc1378051
commit 1b4d3e310b
63 changed files with 2735 additions and 2411 deletions

View File

@ -40,7 +40,7 @@ Page({
// 发送验证码
getSmsCode() {
const { phone } = this.data;
const { phone, role } = this.data;
// 1. 非空
if (!validate(this.data, { phone: '请输入手机号' })) return;
// 2. 格式
@ -51,7 +51,7 @@ Page({
wx.request({
url: baseUrl + '/userInfo/code/pwd',
method: 'POST',
data: { templateString: phone },
data: { phoneNumber: phone, userRole: role },
success: (res) => {
if (res.data.code === 1) {
wx.showToast({ title: '验证码已发送', icon: 'none' });