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
zhenghy
2024-04-24 20:31:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4cb803e866699f385453665aa15e2d57fc5e65ae
4cb803e8
1 parent
95749b58
竖屏直播暂停与播放
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLiveCommon.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/resources/base/profile/main_pages.json
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayLiveCommon.ets
View file @
4cb803e
...
...
@@ -62,17 +62,17 @@ export struct DetailPlayLiveCommon {
}
onPageShow() {
this.pageShow =
0
this.pageShow =
Math.random()
Logger.debug(TAG, 'onPageShow')
}
onPageHide() {
this.pageHide =
0
this.pageHide =
Math.random()
Logger.debug(TAG, 'onPageHide')
}
onBackPress(): boolean | void {
this.pageBackPress =
0
this.pageBackPress =
Math.random()
Logger.debug(TAG, 'onBackPress')
return true
}
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
View file @
4cb803e
...
...
@@ -53,7 +53,7 @@ export struct DetailPlayVLivePage {
build() {
Column() {
// 直播结束且无回看
if (this.liveState === 'end'
||
!this.playUrl) {
if (this.liveState === 'end'
&&
!this.playUrl) {
LiveEmptyComponent({
emptyType: WDLiveViewDefaultType.WDViewDefaultType_NoLiveEnd
})
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/resources/base/profile/main_pages.json
View file @
4cb803e
{
"src"
:
[
"pages/DetailVideoListPage"
,
"pages/VideoChannelDetail"
"pages/DetailVideoListPage"
]
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment