liyubing

Merge remote-tracking branch 'origin/main'

@@ -296,13 +296,13 @@ export struct ENewspaperPageComponent { @@ -296,13 +296,13 @@ export struct ENewspaperPageComponent {
296 Row() { 296 Row() {
297 Image($r('app.media.newspaper_shadow')) 297 Image($r('app.media.newspaper_shadow'))
298 .height($r('app.float.vp_12')) 298 .height($r('app.float.vp_12'))
299 - .width('100%') 299 + .width(px2vp(this.picWidth))
300 .objectFit(ImageFit.Contain) 300 .objectFit(ImageFit.Contain)
301 301
302 - }.margin({ top: -1,left: 10, right: 10 }).alignRules({ 302 + }.margin({ top: -1 }).alignRules({
303 top: { anchor: "e_newspaper_content", align: VerticalAlign.Bottom }, 303 top: { anchor: "e_newspaper_content", align: VerticalAlign.Bottom },
304 - // left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start },  
305 - // right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End } 304 + left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start },
  305 + right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End }
306 }) 306 })
307 .id('e_newspaper_shadow') 307 .id('e_newspaper_shadow')
308 308
@@ -383,10 +383,11 @@ export struct PlayUIComponent { @@ -383,10 +383,11 @@ export struct PlayUIComponent {
383 step: 1, 383 step: 1,
384 style: SliderStyle.OutSet 384 style: SliderStyle.OutSet
385 }) 385 })
386 - .blockSize({  
387 - width: 18,  
388 - height: 12  
389 - })// .blockStyle({ 386 + // .blockSize({
  387 + // width: 18,
  388 + // height: 12
  389 + // })
  390 + // .blockStyle({
390 // type: SliderBlockType.IMAGE, 391 // type: SliderBlockType.IMAGE,
391 // image: $r('app.media.ic_player_block') 392 // image: $r('app.media.ic_player_block')
392 // }) 393 // })
@@ -394,8 +395,14 @@ export struct PlayUIComponent { @@ -394,8 +395,14 @@ export struct PlayUIComponent {
394 .trackColor('#4DFFFFFF') 395 .trackColor('#4DFFFFFF')
395 .selectedColor('#FFED2800') 396 .selectedColor('#FFED2800')
396 .height(14) 397 .height(14)
397 - .trackThickness(1) 398 + .trackThickness(2)
  399 + .blockStyle({
  400 + type: SliderBlockType.IMAGE,
  401 + image: $r('app.media.ic_player_block')
  402 + })
  403 + .blockSize({ width: 18, height: 12 })
398 .layoutWeight(1) 404 .layoutWeight(1)
  405 + .height(14)
399 .margin({ 406 .margin({
400 left: 8, 407 left: 8,
401 right: 8 408 right: 8
@@ -123,10 +123,10 @@ export struct PlayerVideoControlComponent { @@ -123,10 +123,10 @@ export struct PlayerVideoControlComponent {
123 step: 1, 123 step: 1,
124 style: SliderStyle.OutSet 124 style: SliderStyle.OutSet
125 }) 125 })
126 - .blockSize({  
127 - width: 18,  
128 - height: 12  
129 - }) 126 + // .blockSize({
  127 + // width: 18,
  128 + // height: 12
  129 + // })
130 .trackColor('#4DFFFFFF') 130 .trackColor('#4DFFFFFF')
131 .selectedColor('#FFED2800') 131 .selectedColor('#FFED2800')
132 .trackThickness(2) 132 .trackThickness(2)