wangliang_wd

Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main

* 'main' of http://192.168.1.42/developOne/harmonyPool:
  fix: 17931 UI还原问题-【uat】地区精选卡,上下两条线比android细
  fix(默认提示语): 跳转失败默认提示语
  fix(18961): 必修--时间轴专题下含有不支持的音频节目未能给出对应提示信息
  fix: 18073 UI还原问题-【uat】进入直播频道-直播大图卡直播动图没有显示
  fix(18173): 功能缺陷-【uat】进入直播结束视频详情页,android显示已结束,鸿蒙显示回看
  音频悬浮窗关闭图标替换
@@ -222,6 +222,7 @@ export class ProcessUtils { @@ -222,6 +222,7 @@ export class ProcessUtils {
222 ProcessUtils.gotoThemeListPage(content) 222 ProcessUtils.gotoThemeListPage(content)
223 break; 223 break;
224 default: 224 default:
  225 + ToastUtils.shortToast('敬请期待')
225 break; 226 break;
226 } 227 }
227 } 228 }
@@ -423,20 +424,22 @@ export class ProcessUtils { @@ -423,20 +424,22 @@ export class ProcessUtils {
423 Logger.debug(TAG, `gotoLive, ${content.objectId}`); 424 Logger.debug(TAG, `gotoLive, ${content.objectId}`);
424 } 425 }
425 426
  427 + //音频详情页
426 public static gotoAudio(content: ContentDTO) { 428 public static gotoAudio(content: ContentDTO) {
427 - let taskAction: Action = {  
428 - type: 'JUMP_DETAIL_PAGE',  
429 - params: {  
430 - detailPageType: 13,  
431 - contentID: content?.objectId,  
432 - extra: {  
433 - relType: content?.relType,  
434 - relId: content?.relId,  
435 - } as ExtraDTO,  
436 - targetLayout: content.customParamTargetLayout  
437 - } as Params,  
438 - };  
439 - WDRouterRule.jumpWithAction(taskAction) 429 + ToastUtils.shortToast('该音频类型暂不支持')
  430 + // let taskAction: Action = {
  431 + // type: 'JUMP_DETAIL_PAGE',
  432 + // params: {
  433 + // detailPageType: 13,
  434 + // contentID: content?.objectId,
  435 + // extra: {
  436 + // relType: content?.relType,
  437 + // relId: content?.relId,
  438 + // } as ExtraDTO,
  439 + // targetLayout: content.customParamTargetLayout
  440 + // } as Params,
  441 + // };
  442 + // WDRouterRule.jumpWithAction(taskAction)
440 Logger.debug(TAG, `gotoAudio, ${content.objectId}`); 443 Logger.debug(TAG, `gotoAudio, ${content.objectId}`);
441 } 444 }
442 445
@@ -217,7 +217,7 @@ export struct CompParser { @@ -217,7 +217,7 @@ export struct CompParser {
217 } else { 217 } else {
218 Divider().strokeWidth(5).color('#f5f5f5') 218 Divider().strokeWidth(5).color('#f5f5f5')
219 } 219 }
220 - } else if (this.compDTO.compType === 'appStyle') { 220 + } else if (this.compDTO.compType === 'appStyle' || this.compDTO.compStyle === CompStyle.Zh_Single_Row_01) {
221 if ( 221 if (
222 this.nextCompDTO.compStyle === CompStyle.Card_09 || 222 this.nextCompDTO.compStyle === CompStyle.Card_09 ||
223 this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10 || 223 this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10 ||
@@ -71,8 +71,8 @@ export struct LottieView { @@ -71,8 +71,8 @@ export struct LottieView {
71 this.onDestroyAnimation() 71 this.onDestroyAnimation()
72 }) 72 })
73 .onAppear(()=>{ 73 .onAppear(()=>{
74 - this.loadAnimation();  
75 - }) 74 + this.loadAnimation();
  75 + })
76 76
77 } 77 }
78 } 78 }
@@ -130,7 +130,8 @@ export default struct CustomLayout { @@ -130,7 +130,8 @@ export default struct CustomLayout {
130 this.animate2() 130 this.animate2()
131 } else { 131 } else {
132 // 刷新完成 132 // 刷新完成
133 - lottie.destroy() 133 + !!this.animateItem && lottie.destroy(this.animateName)
  134 + !!this.animateItem2 && lottie.destroy(this.animateName2)
134 } 135 }
135 let maxH = CustomLayout.REFRESH_HEIGHT 136 let maxH = CustomLayout.REFRESH_HEIGHT
136 let tmpHeight = this.refreshBean.offset > maxH ? maxH : this.refreshBean.offset 137 let tmpHeight = this.refreshBean.offset > maxH ? maxH : this.refreshBean.offset
@@ -250,7 +250,7 @@ export struct PlayUIComponent { @@ -250,7 +250,7 @@ export struct PlayUIComponent {
250 //回看 250 //回看
251 else if (this.contentDetailData.liveInfo?.liveState == 'end') { 251 else if (this.contentDetailData.liveInfo?.liveState == 'end') {
252 Row() { 252 Row() {
253 - Text('回看') 253 + Text(StringUtils.isEmpty(this.liveUrl)?'已结束':'回看')
254 .fontSize('11vp') 254 .fontSize('11vp')
255 .fontWeight(400) 255 .fontWeight(400)
256 .fontColor(Color.White) 256 .fontColor(Color.White)
@@ -168,8 +168,8 @@ struct Index { @@ -168,8 +168,8 @@ struct Index {
168 })) 168 }))
169 Image($r("app.media.icon_audio_close")) 169 Image($r("app.media.icon_audio_close"))
170 .objectFit(ImageFit.Contain) 170 .objectFit(ImageFit.Contain)
171 - .width(24)  
172 - .height(24) 171 + .width(32)
  172 + .height(32)
173 .gesture( 173 .gesture(
174 TapGesture() 174 TapGesture()
175 .onAction((event: GestureEvent) => { 175 .onAction((event: GestureEvent) => {