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-07-22 14:40:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
61af0bd18c8cb73a1b9c8e5e2a0e6f663a9e1cee
61af0bd1
1 parent
2879e767
fix: 横版视频详情页,全屏按钮位置和样式与安卓不一致
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
61af0bd
...
...
@@ -452,24 +452,27 @@ export struct DetailPlayShortVideoPage {
playerFullscreenBuilder() {
Row() {
Image($r('app.media.ic_switch_orientation'))
.width(
16
)
.width(
24
)
.aspectRatio(1)
.objectFit(ImageFit.Contain)
.margin({ left: 8, right: 4 })
Text("全屏观看")
.fontColor(Color.White)
.fontWeight(400)
.fontSize(12)
.layoutWeight(1)
}
.width(84)
.height(28)
.backgroundColor('#0DFFFFFF')
.border({ width: 1, color: '#4DFFFFFF', radius: 4 })
// Text("全屏观看")
// .fontColor(Color.White)
// .fontWeight(400)
// .fontSize(12)
// .layoutWeight(1)
}
// .width(84)
// .height(28)
// .backgroundColor('#0DFFFFFF')
// .border({ width: 1, color: '#4DFFFFFF', radius: 4 })
.alignItems(VerticalAlign.Center)
.justifyContent(FlexAlign.Center)
.align(Alignment.Bottom)
.margin({ top: 280 })
// .margin({ top: 280 })
.position({
y: '66.5%'
})
.onClick(() => {
// 全屏方案待定
// this.displayDirection = DisplayDirection.VERTICAL
...
...
Please
register
or
login
to post a comment