Showing
1 changed file
with
1 additions
and
27 deletions
| @@ -114,10 +114,9 @@ struct OneKeyLoginPage { | @@ -114,10 +114,9 @@ struct OneKeyLoginPage { | ||
| 114 | 114 | ||
| 115 | this.loginButton() | 115 | this.loginButton() |
| 116 | 116 | ||
| 117 | - Text("账号密码登录") | 117 | + Text("其它手机号登录") |
| 118 | .fontColor("#666666") | 118 | .fontColor("#666666") |
| 119 | .height(26) | 119 | .height(26) |
| 120 | - .width(100) | ||
| 121 | .margin({top: 20}) | 120 | .margin({top: 20}) |
| 122 | .onClick(() => { | 121 | .onClick(() => { |
| 123 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) | 122 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) |
| @@ -128,31 +127,6 @@ struct OneKeyLoginPage { | @@ -128,31 +127,6 @@ struct OneKeyLoginPage { | ||
| 128 | .padding({top: `${this.topSafeHeight}px`}) | 127 | .padding({top: `${this.topSafeHeight}px`}) |
| 129 | } | 128 | } |
| 130 | 129 | ||
| 131 | - // @Builder loginButton() { | ||
| 132 | - // Column() { | ||
| 133 | - // LoginWithHuaweiIDButton({ | ||
| 134 | - // params: { | ||
| 135 | - // // LoginWithHuaweiIDButton支持的样式。 | ||
| 136 | - // style: loginComponentManager.Style.BUTTON_CUSTOM, | ||
| 137 | - // // LoginWithHuaweiIDButton的边框圆角半径。 | ||
| 138 | - // borderRadius: 4, | ||
| 139 | - // // LoginWithHuaweiIDButton支持的登录类型。 | ||
| 140 | - // loginType: loginComponentManager.LoginType.QUICK_LOGIN, | ||
| 141 | - // // LoginWithHuaweiIDButton支持按钮的样式跟随系统深浅色模式切换。 | ||
| 142 | - // supportDarkMode: true, | ||
| 143 | - // customButtonParams: { | ||
| 144 | - // fontColor: loginComponentManager.FontColor.WHITE, | ||
| 145 | - // // backgroundColor:!this.agreeProtocol ? "#60ED2800" : "#ED2800" | ||
| 146 | - // backgroundColor:"#ED2800" | ||
| 147 | - // } | ||
| 148 | - // }, | ||
| 149 | - // controller: this.controller | ||
| 150 | - // }) | ||
| 151 | - // } | ||
| 152 | - // .backgroundColor("#ED2800") | ||
| 153 | - // .height(48) | ||
| 154 | - // .margin({ top: 20 ,left: 25, right: 25 }) | ||
| 155 | - // } | ||
| 156 | 130 | ||
| 157 | @Builder loginButton() { | 131 | @Builder loginButton() { |
| 158 | Row() { | 132 | Row() { |
-
Please register or login to post a comment