yangchenggong1_wd

fix |> 20762 一键登录,切换登录方式文案应调整为-“其它手机号登录”

... ... @@ -114,10 +114,9 @@ struct OneKeyLoginPage {
this.loginButton()
Text("账号密码登录")
Text("其它手机号登录")
.fontColor("#666666")
.height(26)
.width(100)
.margin({top: 20})
.onClick(() => {
router.replaceUrl({url: WDRouterPage.loginPage.url()})
... ... @@ -128,31 +127,6 @@ struct OneKeyLoginPage {
.padding({top: `${this.topSafeHeight}px`})
}
// @Builder loginButton() {
// Column() {
// LoginWithHuaweiIDButton({
// params: {
// // LoginWithHuaweiIDButton支持的样式。
// style: loginComponentManager.Style.BUTTON_CUSTOM,
// // LoginWithHuaweiIDButton的边框圆角半径。
// borderRadius: 4,
// // LoginWithHuaweiIDButton支持的登录类型。
// loginType: loginComponentManager.LoginType.QUICK_LOGIN,
// // LoginWithHuaweiIDButton支持按钮的样式跟随系统深浅色模式切换。
// supportDarkMode: true,
// customButtonParams: {
// fontColor: loginComponentManager.FontColor.WHITE,
// // backgroundColor:!this.agreeProtocol ? "#60ED2800" : "#ED2800"
// backgroundColor:"#ED2800"
// }
// },
// controller: this.controller
// })
// }
// .backgroundColor("#ED2800")
// .height(48)
// .margin({ top: 20 ,left: 25, right: 25 })
// }
@Builder loginButton() {
Row() {
... ...