wuyanan

ref |> 修复直播详情页(待开播),预告没有加载出来前,显示的图片不对

... ... @@ -141,9 +141,9 @@ export struct TopPlayComponent {
this.isHideLoading = false
} else {
this.isWait = this.contentDetailData?.liveInfo?.liveState == 'wait'
if (this.isWait) {
this.isHideLoading = true
}
// if (this.isWait) {
// this.isHideLoading = true
// }
}
this.isEnd = this.contentDetailData?.liveInfo?.liveState === 'end' &&
... ... @@ -269,6 +269,14 @@ export struct TopPlayComponent {
Visibility.None)// .contrast(this.isEnd ? 0.4 : 1)
.blur(this.isEnd ? 20 : 0)
.width('100%')
.onComplete(event=>{
if (event?.loadingStatus == 1) {
this.isHideLoading = true
}
})
.onError(()=>{
this.isHideLoading = true
})
if (this.liveDetailPageLogic.showPad) {
... ...