Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool
Showing
1 changed file
with
4 additions
and
6 deletions
| @@ -112,14 +112,12 @@ struct OneKeyLoginPage { | @@ -112,14 +112,12 @@ struct OneKeyLoginPage { | ||
| 112 | 112 | ||
| 113 | this.loginButton() | 113 | this.loginButton() |
| 114 | 114 | ||
| 115 | - Button("账号密码登录") | ||
| 116 | - .type(ButtonType.Normal) | ||
| 117 | - .align(Alignment.Center) | ||
| 118 | - .foregroundColor("#666666") | ||
| 119 | - .backgroundColor(Color.White) | 115 | + Text("账号密码登录") |
| 116 | + .fontColor("#666666") | ||
| 120 | .height(26) | 117 | .height(26) |
| 118 | + .width(100) | ||
| 121 | .margin({top: 20}) | 119 | .margin({top: 20}) |
| 122 | - .onClick((event) => { | 120 | + .onClick(() => { |
| 123 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) | 121 | router.replaceUrl({url: WDRouterPage.loginPage.url()}) |
| 124 | }) | 122 | }) |
| 125 | } | 123 | } |
-
Please register or login to post a comment