样式:优先展示微信小程序登录

This commit is contained in:
xiaowang
2026-04-02 14:22:13 +08:00
parent badf89cce5
commit 54aa47aa7a
4 changed files with 76 additions and 23 deletions
+9
View File
@@ -31,6 +31,7 @@ Page({
countdown: 0,
forgotCountdown: 0,
showResetPanel: false,
traditionalLoginExpanded: false,
wechatMiniSupported: false,
wechatMiniDisabledReason: '',
wechatMiniLoading: false,
@@ -160,6 +161,7 @@ Page({
activeTab: tab,
authHelperText: this.buildAuthHelperText(tab, this.data.loginType),
showResetPanel: false,
traditionalLoginExpanded: false,
loginAccountStatusText: '',
loginAccountStatusType: '',
registerAccountStatusText: '',
@@ -185,6 +187,13 @@ Page({
})
},
handleShowTraditionalLogin() {
this.setData({
traditionalLoginExpanded: true,
showResetPanel: false
})
},
handleToggleResetPanel() {
this.setData({
showResetPanel: !this.data.showResetPanel