Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-05-07 17:18:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d52efc836bdf36158135ae702e981fa8ea426990
d52efc83
1 parent
9a511adc
fix:bug[16827] 文案显示样式和android 不一致,文案比android颜色深
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginInputComponent.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginPage.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/SettingPasswordLayout.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginInputComponent.ets
View file @
d52efc8
...
...
@@ -29,6 +29,7 @@ export struct LoginInputComponent {
addCodeLayout() {
if (this.pageType == 1){
TextInput({ placeholder: this.securityPhone(this.phoneContent) })
.placeholderColor("#CCCCCC")
.fontSize(16)
.height(48)
.maxLength(11)
...
...
@@ -50,6 +51,7 @@ export struct LoginInputComponent {
TextInput({ placeholder: "请输入手机号" })
.fontSize(16)
.height(48)
.placeholderColor("#CCCCCC")
.maxLength(11)
.margin({ top: 36 })
.backgroundColor("#F5F5F5")
...
...
@@ -69,6 +71,7 @@ export struct LoginInputComponent {
Row() {
TextInput({ placeholder: "验证码" })
.placeholderColor("#CCCCCC")
.layoutWeight(1)
.fontSize(16)
.height(48)
...
...
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginPage.ets
View file @
d52efc8
...
...
@@ -215,6 +215,7 @@ struct LoginPage {
Column() {
TextInput({ placeholder: "请输入账号", controller: this.phoneController })
.fontSize(16)
.placeholderColor("#CCCCCC")
.height(48)
.backgroundColor("#F5F5F5")
.borderRadius(4)
...
...
@@ -254,6 +255,7 @@ struct LoginPage {
@Builder
addPasswordInputLayout() {
TextInput({ placeholder: "请输入密码", text: this.passwordContent })
.placeholderColor("#CCCCCC")
.layoutWeight(1)
.fontSize(16)
.height(48)
...
...
sight_harmony/features/wdLogin/src/main/ets/pages/login/SettingPasswordLayout.ets
View file @
d52efc8
...
...
@@ -199,6 +199,7 @@ export struct SettingPasswordLayout {
Row() {
Row() {
TextInput({ placeholder: item.inputPlacholder })
.placeholderColor("#CCCCCC")
.type(InputType.Password)
.showPasswordIcon(true)
.backgroundColor('#00000000')
...
...
@@ -225,6 +226,7 @@ export struct SettingPasswordLayout {
Row() {
Row() {
TextInput({ placeholder: item.inputPlacholder })
.placeholderColor("#CCCCCC")
.backgroundColor('#00000000')
.onChange((value: string) => {
this.inputTextChange(value, item.inputTag)
...
...
@@ -251,6 +253,7 @@ export struct SettingPasswordLayout {
Image($r('app.media.get_code_bg')).width('100%').borderRadius('4vp')
Row() {
TextInput({ placeholder: item.inputPlacholder })
.placeholderColor("#CCCCCC")
.backgroundColor('#00000000')
.width('67.28%')
.onChange((value: string) => {
...
...
Please
register
or
login
to post a comment