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-09-24 16:04:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0bf1c6092d095e762f6ff4424491d1a49806a61b
0bf1c609
1 parent
78933e5a
ref |> 修复竖屏直播后台结束直播,未显示直播结束页面问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerEndView.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
View file @
0bf1c60
...
...
@@ -126,6 +126,7 @@ export struct DetailPlayVLivePage {
} break
case LiveMessageOptType.ZH_STOP_LIVE: {
this.liveState = "end"
this.playUrl = ""
this.contentDetailData.liveInfo.liveState = "end"
} break
case LiveMessageOptType.ZH_CHANGE_PAD: {
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerEndView.ets
View file @
0bf1c60
...
...
@@ -28,7 +28,7 @@ export struct PlayerEndView {
DateTimeUtils.parseDate(this.contentDetailData.liveInfo.startTime, DateTimeUtils.PATTERN_DATE_TIME_HYPHEN)
let en = DateTimeUtils.parseDate(this.contentDetailData.liveInfo.endTime, DateTimeUtils.PATTERN_DATE_TIME_HYPHEN)
if (this.contentDetailData.liveInfo?.endTime == null) {
en = DateTimeUtils.
getTimeStamp(
)
en = DateTimeUtils.
parseDate(DateTimeUtils.getCurTime(DateTimeUtils.PATTERN_DATE_TIME_HYPHEN),DateTimeUtils.PATTERN_DATE_TIME_HYPHEN
)
}
const sd = DateTimeUtils.getDuration(sn, en)
this.duration = DateTimeUtils.liveDurationSecondToTime(sd / 1000)
...
...
Please
register
or
login
to post a comment