yangchenggong1_wd

fix:bug[17191] 修改密码页的确认按钮未能置灰

... ... @@ -130,11 +130,16 @@ struct ModifyPasswordPage {
.alignItems(HorizontalAlign.Start)
Row() {
Button("确认", { type: ButtonType.Normal, stateEffect: true })
Button( { type: ButtonType.Normal, stateEffect: true }){
Text("确认")
.fontColor("#fff")
.fontSize("35lpx")
.lineHeight("50lpx")
.opacity(this.btnStatus ?1:0.5)
}
.width('100%')
.height('80lpx')
.backgroundColor(this.btnStatus ? '#da3e22' : '#e5856d')
.fontColor('#fff')
.backgroundColor(this.btnStatus ? '#ED2800' : '#99ED2800')
.borderRadius('4vp')
.onClick(() => {
if(this.btnStatus){
... ...