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
王士厅
2024-08-07 13:44:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f11980c72ae9ee3c0a19fcb3ecb7db3138d2d1b3
f11980c7
1 parent
934fdcb6
fix: 沉浸式视频网络差提示toast逻辑优化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerProgressView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
f11980c
...
...
@@ -304,10 +304,11 @@ export struct DetailPlayShortVideoPage {
}
})
this.playerViewBuilder()
PlayerBottomView({
playerController: this.playerController
})
if(this.index === this.currentIndex) {
PlayerBottomView({
playerController: this.playerController
})
}
PlayerRightView({
playerController: this.playerController
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerProgressView.ets
View file @
f11980c
...
...
@@ -30,13 +30,10 @@ export struct PlayerProgressView {
if (this.onlyWifiLoadVideo) {
this.showLoading = true
}
// console.log("PlayerProgressView11", this.timer)
if(this.timer) {
clearTimeout(this.timer)
}
this.timer = setTimeout(() => {
ToastUtils.shortToast('网络出小差了,请检查下网络')
}, 10000)
// console.log("PlayerProgressView11", this.timer)
} else {
// console.log("PlayerProgressView22", this.timer)
clearTimeout(this.timer)
...
...
Please
register
or
login
to post a comment