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
yangchenggong1_wd
2024-09-24 11:00:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0e700814a2adaf1ee15848f9b9b60e3b217f07c
a0e70081
1 parent
4d78f902
fix |> 20479 图文稿件详情页中视频播放器控件,播放按钮与右侧进度条要居中对齐,播放按钮与视频时长间距过大
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
sight_harmony/commons/wdWebComponent/src/main/ets/pages/WdWebLocalComponent.ets
sight_harmony/commons/wdWebComponent/src/main/ets/pages/WdWebLocalComponent.ets
View file @
a0e7008
...
...
@@ -350,12 +350,14 @@ export struct WdWebLocalComponent {
this.controller.pause()
this.cancelProgressTimer()
}
})
}).margin({right:16})
Row() {
Text(DateTimeUtils.getFormattedDuration(this.currentTime * 1000))
.fontSize(12)
.fontColor(Color.White)
.fontWeight(600)
Slider({
value: this.currentTime,
min: 0,
...
...
@@ -385,8 +387,8 @@ export struct WdWebLocalComponent {
.fontSize(12)
.fontColor(Color.White)
.fontWeight(600)
}
.justifyContent(FlexAlign.Center)
}.alignItems(VerticalAlign.Center)
.height(48)
// Image($r('app.media.icon_full_screen'))
// .width(24)
...
...
@@ -401,7 +403,9 @@ export struct WdWebLocalComponent {
colors: [[0x20000000, 0.0], [Color.Transparent, 1.0]] // [0x80000000, 0.5],
})
.width("100%")
.justifyContent(FlexAlign.SpaceAround)
.height(48)
.padding({left:16})
.alignItems(VerticalAlign.Center)
}
}
...
...
Please
register
or
login
to post a comment