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-05-07 21:08:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
96d05dd35bc41c01389014f6863facbd499141e2
96d05dd3
1 parent
53749bd5
fix:16743
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/VideoChannelDetail.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
96d05dd
...
...
@@ -34,6 +34,7 @@ export struct DetailPlayShortVideoPage {
@Provide isDragging: boolean = false // 拖动时间进度条
@Consume @Watch('videoStatusChange') switchVideoStatus: boolean
@Consume @Watch('pageShowChange') pageShow: number
@Consume topSafeHeight: number
/**
* 页面显示重查用户关注、点赞等信息
...
...
@@ -175,9 +176,12 @@ export struct DetailPlayShortVideoPage {
}
}
})
.height(
'100%
')
.height(
this.videoLandScape === 1 ? '100%' : 'auto
')
.width('100%')
.margin({ bottom: this.videoLandScape === 1 ? 130 : 0 })
.margin({
bottom: this.videoLandScape === 1 ? 130 : 0,
top: this.topSafeHeight + 'px'
})
.align(this.videoLandScape === 0 ? Alignment.Top : Alignment.Center)
.onClick(() => {
console.error('WDPlayerRenderView=== onClick')
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/VideoChannelDetail.ets
View file @
96d05dd
...
...
@@ -42,6 +42,7 @@ export struct VideoChannelDetail {
private swiperController: SwiperController = new SwiperController()
@Provide showComment: boolean = false
@Provide windowWidth: number = AppStorage.get<number>('windowWidth') || 0
@Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
@Consume @Watch('pageShowChange') pageShow: number
@Consume @Watch('pageHideChange') pageHide: number
@Provide switchVideoStatus: boolean = true
...
...
Please
register
or
login
to post a comment