陈剑华

fix: 20482 号主页>全部tab,直播中缺少lottie动画

@@ -26,6 +26,10 @@ export struct LiveBigImage02Component { @@ -26,6 +26,10 @@ export struct LiveBigImage02Component {
26 this.loadImg = await onlyWifiLoadImg(); 26 this.loadImg = await onlyWifiLoadImg();
27 } 27 }
28 28
  29 + async aboutToReuse() {
  30 + this.loadImg = await onlyWifiLoadImg();
  31 + }
  32 +
29 33
30 build() { 34 build() {
31 Column() { 35 Column() {
@@ -97,7 +101,7 @@ export struct LiveBigImage02Component { @@ -97,7 +101,7 @@ export struct LiveBigImage02Component {
97 LiveImage(item: ContentDTO) { 101 LiveImage(item: ContentDTO) {
98 Row() { 102 Row() {
99 LottieView({ 103 LottieView({
100 - name: 'live_status_wait', 104 + name: 'live_status_wait-' + Math.random().toString().slice(2, 12),
101 path: "lottie/live_detail_living.json", 105 path: "lottie/live_detail_living.json",
102 lottieWidth: 14, 106 lottieWidth: 14,
103 lottieHeight: 14, 107 lottieHeight: 14,