样式:优先展示微信小程序登录
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user