王士厅

fix: 早晚报详情中,语音播报动效,背景色看不清楚,特别是在白色图片上

@@ -101,6 +101,7 @@ struct Index { @@ -101,6 +101,7 @@ struct Index {
101 } 101 }
102 102
103 build() { 103 build() {
  104 + Column(){
104 Stack({ alignContent: Alignment.End }) { 105 Stack({ alignContent: Alignment.End }) {
105 Progress( 106 Progress(
106 { 107 {
@@ -115,7 +116,7 @@ struct Index { @@ -115,7 +116,7 @@ struct Index {
115 .backgroundColor($r('app.color.white')) 116 .backgroundColor($r('app.color.white'))
116 .width("100%") 117 .width("100%")
117 .height(3) 118 .height(3)
118 - .margin({ top: 57 }) 119 + .margin({ top: 56 })
119 .visibility(this.isExpand ? Visibility.Visible : Visibility.Hidden) 120 .visibility(this.isExpand ? Visibility.Visible : Visibility.Hidden)
120 Stack({ alignContent: Alignment.End }) { 121 Stack({ alignContent: Alignment.End }) {
121 Column() { //标题 时间 进度条 122 Column() { //标题 时间 进度条
@@ -166,7 +167,7 @@ struct Index { @@ -166,7 +167,7 @@ struct Index {
166 left: 10, 167 left: 10,
167 right: 0 168 right: 0
168 }) 169 })
169 - .width(243) 170 + .width(247)
170 .height(60) 171 .height(60)
171 .justifyContent(FlexAlign.Start) 172 .justifyContent(FlexAlign.Start)
172 // .onClick(() => { 173 // .onClick(() => {
@@ -255,6 +256,15 @@ struct Index { @@ -255,6 +256,15 @@ struct Index {
255 ) 256 )
256 ) 257 )
257 .borderRadius(4) 258 .borderRadius(4)
  259 + .shadow({
  260 + radius: vp2px(5),
  261 + color: 'rgba(0, 0, 0, 0.10)',
  262 + offsetX: 0,
  263 + offsetY: 1
  264 + }) // 设
258 .backgroundColor(Color.White) 265 .backgroundColor(Color.White)
259 } 266 }
  267 + .padding(1)
  268 +
  269 + }
260 } 270 }