Description:在成功页面和更改加密页面,当输入的人数超过两行,会出现展开和收起效果-ux检视修改

Match-id-64bdccb62c262185261fff3adf8340a329c197f9
This commit is contained in:
li-li-wang 2023-07-03 18:47:33 +08:00 committed by baoyang
parent e49f9c6b7f
commit 46f7df0988
2 changed files with 24 additions and 0 deletions

View File

@ -540,7 +540,13 @@ struct changeEncryption {
Row() {
if (this.showNamesArrReadOnly.length !== this.staffDataArrayReadOnly['length']) {
Text('+')
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
Text(this.hideNamesNumReadOnly)
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
}
Image($r("app.media.icon_change"))
.width(Constants.PP_IMAGE_HEIGHT)
@ -673,7 +679,13 @@ struct changeEncryption {
Row() {
if (this.showNamesArrEdit.length !== this.staffDataArrayEdit['length']) {
Text('+')
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
Text(this.hideNamesNumEdit)
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
}
Image($r("app.media.icon_change"))
.width(Constants.PP_IMAGE_HEIGHT)

View File

@ -298,7 +298,13 @@ struct encryptionSuccess {
Row() {
if (this.showNamesArrReadOnly.length !== this.routerParams['staffDataArrayReadOnly'].length) {
Text('+')
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
Text(this.hideNamesNumReadOnly)
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
}
Image($r("app.media.icon_change"))
.width(Constants.PP_IMAGE_HEIGHT)
@ -432,7 +438,13 @@ struct encryptionSuccess {
Row() {
if (this.showNamesArrEdit.length !== this.routerParams['staffDataArrayEdit'].length) {
Text('+')
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
Text(this.hideNamesNumEdit)
.fontColor($r('sys.color.ohos_id_color_text_primary_activated'))
.fontSize($r('sys.float.ohos_id_text_size_button2'))
.fontWeight(FontWeight.Medium)
}
Image($r("app.media.icon_change"))
.width(Constants.PP_IMAGE_HEIGHT)