Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wuyanan
2024-10-08 16:03:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9b479df52dba48a70e55d948f0fcf5a3d991c5ff
9b479df5
1 parent
377a5698
ref |> 修复直播详情页(待开播),预告没有加载出来前,显示的图片不对
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/TopPlayComponet.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/TopPlayComponet.ets
View file @
9b479df
...
...
@@ -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) {
...
...
Please
register
or
login
to post a comment