Showing
2 changed files
with
8 additions
and
8 deletions
| @@ -8,8 +8,8 @@ export struct CustomToast { | @@ -8,8 +8,8 @@ export struct CustomToast { | ||
| 8 | @State bgBorderRadius: number = 10 | 8 | @State bgBorderRadius: number = 10 |
| 9 | opacityValue: number = 0.7 | 9 | opacityValue: number = 0.7 |
| 10 | bgColor: ResourceColor = $r("app.color.black") | 10 | bgColor: ResourceColor = $r("app.color.black") |
| 11 | - fontSizeValue :number | string | Resource = 27 | ||
| 12 | - lineHeightValue :number | string | Resource = 38 | 11 | + fontSizeValue :number | string | Resource = 16 |
| 12 | + lineHeightValue :number | string | Resource = 20 | ||
| 13 | controller: CustomDialogController | 13 | controller: CustomDialogController |
| 14 | marginTop :number | string | Resource = 0 | 14 | marginTop :number | string | Resource = 0 |
| 15 | 15 | ||
| @@ -36,7 +36,7 @@ export struct CustomToast { | @@ -36,7 +36,7 @@ export struct CustomToast { | ||
| 36 | .textAlign(TextAlign.Center) | 36 | .textAlign(TextAlign.Center) |
| 37 | }.borderRadius(`${this.bgBorderRadius}`) | 37 | }.borderRadius(`${this.bgBorderRadius}`) |
| 38 | .constraintSize({maxWidth:"86%"}) | 38 | .constraintSize({maxWidth:"86%"}) |
| 39 | - .padding({top:23,bottom:23,left:35,right:35}) | 39 | + .padding({top:12,bottom:12,left:16,right:16}) |
| 40 | .backgroundColor(this.bgColor) | 40 | .backgroundColor(this.bgColor) |
| 41 | .opacity(this.opacityValue) | 41 | .opacity(this.opacityValue) |
| 42 | .margin({top:this.marginTop}) | 42 | .margin({top:this.marginTop}) |
| @@ -211,11 +211,11 @@ export struct VideoChannelPage { | @@ -211,11 +211,11 @@ export struct VideoChannelPage { | ||
| 211 | }) | 211 | }) |
| 212 | .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) | 212 | .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) |
| 213 | // .backgroundColor(Color.Blue) | 213 | // .backgroundColor(Color.Blue) |
| 214 | - .linearGradient(this.isImmerseChannel() ? { | ||
| 215 | - colors: [ | ||
| 216 | - ['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0] | ||
| 217 | - ] | ||
| 218 | - } : undefined) | 214 | + // .linearGradient(this.isImmerseChannel() ? { |
| 215 | + // colors: [ | ||
| 216 | + // ['rgba(18, 18, 18, 0.5)', 0.0], ['rgba(18, 18, 18, 0.0)', 1.0] | ||
| 217 | + // ] | ||
| 218 | + // } : undefined) | ||
| 219 | } | 219 | } |
| 220 | 220 | ||
| 221 | /** | 221 | /** |
-
Please register or login to post a comment