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
liyubing
2024-06-20 17:40:14 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
120bc2efafdff5926a21b51ae744206791d1f674
120bc2ef
2 parents
b37b30bc
706cc18a
Merge remote-tracking branch 'origin/main'
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerVideoControlComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
View file @
120bc2e
...
...
@@ -296,13 +296,13 @@ export struct ENewspaperPageComponent {
Row() {
Image($r('app.media.newspaper_shadow'))
.height($r('app.float.vp_12'))
.width(
'100%'
)
.width(
px2vp(this.picWidth)
)
.objectFit(ImageFit.Contain)
}.margin({ top: -1
,left: 10, right: 10
}).alignRules({
}.margin({ top: -1 }).alignRules({
top: { anchor: "e_newspaper_content", align: VerticalAlign.Bottom },
// left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start },
// right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End }
left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start },
right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End }
})
.id('e_newspaper_shadow')
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
View file @
120bc2e
...
...
@@ -383,10 +383,11 @@ export struct PlayUIComponent {
step: 1,
style: SliderStyle.OutSet
})
.blockSize({
width: 18,
height: 12
})// .blockStyle({
// .blockSize({
// width: 18,
// height: 12
// })
// .blockStyle({
// type: SliderBlockType.IMAGE,
// image: $r('app.media.ic_player_block')
// })
...
...
@@ -394,8 +395,14 @@ export struct PlayUIComponent {
.trackColor('#4DFFFFFF')
.selectedColor('#FFED2800')
.height(14)
.trackThickness(1)
.trackThickness(2)
.blockStyle({
type: SliderBlockType.IMAGE,
image: $r('app.media.ic_player_block')
})
.blockSize({ width: 18, height: 12 })
.layoutWeight(1)
.height(14)
.margin({
left: 8,
right: 8
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerVideoControlComponent.ets
View file @
120bc2e
...
...
@@ -123,10 +123,10 @@ export struct PlayerVideoControlComponent {
step: 1,
style: SliderStyle.OutSet
})
.blockSize({
width: 18,
height: 12
})
// .blockSize({
// width: 18,
// height: 12
// })
.trackColor('#4DFFFFFF')
.selectedColor('#FFED2800')
.trackThickness(2)
...
...
Please
register
or
login
to post a comment