王士厅

fix: 沉浸式渐变色注掉,登录成功弹框修改

... ... @@ -8,8 +8,8 @@ export struct CustomToast {
@State bgBorderRadius: number = 10
opacityValue: number = 0.7
bgColor: ResourceColor = $r("app.color.black")
fontSizeValue :number | string | Resource = 27
lineHeightValue :number | string | Resource = 38
fontSizeValue :number | string | Resource = 16
lineHeightValue :number | string | Resource = 20
controller: CustomDialogController
marginTop :number | string | Resource = 0
... ... @@ -36,7 +36,7 @@ export struct CustomToast {
.textAlign(TextAlign.Center)
}.borderRadius(`${this.bgBorderRadius}`)
.constraintSize({maxWidth:"86%"})
.padding({top:23,bottom:23,left:35,right:35})
.padding({top:12,bottom:12,left:16,right:16})
.backgroundColor(this.bgColor)
.opacity(this.opacityValue)
.margin({top:this.marginTop})
... ...
... ... @@ -211,11 +211,11 @@ export struct VideoChannelPage {
})
.visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None)
// .backgroundColor(Color.Blue)
.linearGradient(this.isImmerseChannel() ? {
colors: [
['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0]
]
} : undefined)
// .linearGradient(this.isImmerseChannel() ? {
// colors: [
// ['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0]
// ]
// } : undefined)
}
/**
... ...