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-08 19:32:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a92d46acba610d3036702dc5d873594798a1af44
a92d46ac
1 parent
f16af82e
0人参数不展示
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerTitleComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
View file @
a92d46a
...
...
@@ -155,6 +155,8 @@ export struct PlayUIComponent {
.fontSize('11fp')
.fontWeight(400)
.fontColor(Color.White)
if (this.liveRoomDataBean.pv > 0) {
Image($r('app.media.icon_live_player_status_end'))
.width(12)
.height(12)
...
...
@@ -163,6 +165,8 @@ export struct PlayUIComponent {
.fontWeight(400)
.fontColor(Color.White)
}
}
.backgroundColor('#4D000000')
.padding({
top: 1,
...
...
@@ -177,6 +181,8 @@ export struct PlayUIComponent {
.fontSize('11fp')
.fontWeight(400)
.fontColor(Color.White)
if (this.liveRoomDataBean.pv > 0) {
Image($r('app.media.icon_live_player_status_end'))
.width(12)
.height(12)
...
...
@@ -185,6 +191,8 @@ export struct PlayUIComponent {
.fontWeight(400)
.fontColor(Color.White)
}
}
.backgroundColor('#4D000000')
.padding({
left: 4,
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerTitleComponent.ets
View file @
a92d46a
...
...
@@ -57,6 +57,7 @@ export struct PlayerTitleComponent {
.fontSize(11)
.fontWeight(400)
.fontColor(Color.White)
if (this.liveRoomDataBean.pv > 0) {
Image($r('app.media.icon_live_player_status_end'))
.width(12)
.height(12)
...
...
@@ -65,9 +66,16 @@ export struct PlayerTitleComponent {
.fontWeight(400)
.fontColor(Color.White)
}
}
.backgroundColor('#4D000000')
.borderRadius(2)
.padding(this.liveState == 'running' ? { left: 0, right: 4, top: 0, bottom: 0 } : 4)
.padding(this.liveState == 'running' ? {
left: 0,
right: 4,
top: 0,
bottom: 0
} : 4)
}
}
}
...
...
Please
register
or
login
to post a comment