wangliang_wd

feat:增加早晚报直播动效角标

@@ -480,18 +480,14 @@ export struct PaperSingleColumn999CardView { @@ -480,18 +480,14 @@ export struct PaperSingleColumn999CardView {
480 //直播 480 //直播
481 if (this.item?.objectType === '2') { 481 if (this.item?.objectType === '2') {
482 Row() { 482 Row() {
483 - Image(this.buildLiveStateImage())  
484 - .width(14)  
485 - .height(14)  
486 - .objectFit(ImageFit.Contain)  
487 - // LottieView({  
488 - // name: 'MorningPaper_live_status',  
489 - // path: "lottie/live_detail_living.json",  
490 - // lottieWidth: 14,  
491 - // lottieHeight: 14,  
492 - // autoplay: true,  
493 - // loop: true,  
494 - // }) 483 + LottieView({
  484 + name: 'MorningPaper_live_status+'+this.item.objectId,
  485 + path: "lottie/live_detail_living.json",
  486 + lottieWidth: 14,
  487 + lottieHeight: 14,
  488 + autoplay: true,
  489 + loop: true,
  490 + })
495 491
496 Text(this.buildLiveStateString()) 492 Text(this.buildLiveStateString())
497 .fontColor(Color.White) 493 .fontColor(Color.White)