yangchenggong1_wd

fix:bug[16827] 文案显示样式和android 不一致,文案比android颜色深

... ... @@ -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)
... ...
... ... @@ -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)
... ...
... ... @@ -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) => {
... ...