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
wuyanan
2024-09-02 17:53:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
afda8ca0380c0990b15d48ad34b7ad27ed83496f
afda8ca0
1 parent
b3e46269
ref |> 调整直播详情直播状态标签UI走查问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 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 @
afda8ca
...
...
@@ -189,21 +189,19 @@ export struct PlayUIComponent {
// 预约
if (this.contentDetailData.liveInfo?.liveState == 'wait') {
Row() {
Image($r('app.media.icon_live_status_wait'))
.width(22)
.height(18)
Text('预约')
.fontSize('11
f
p')
.fontSize('11
v
p')
.fontWeight(400)
.fontColor(Color.White)
}
.backgroundColor('#4D000000')
.padding({
top: 1,
right: 4,
bottom: 1
right: 4
})
.borderRadius(2)
}
// 直播中
else if (this.contentDetailData.liveInfo?.liveState == 'running') {
...
...
@@ -224,7 +222,7 @@ export struct PlayUIComponent {
}
Text('直播中')
.fontSize('11
f
p')
.fontSize('11
v
p')
.fontWeight(400)
.fontColor(Color.White)
...
...
@@ -233,7 +231,7 @@ export struct PlayUIComponent {
.width(12)
.height(12)
Text(`${NumberFormatterUtils.formatNumberWithWan(this.liveRoomDataBean.pv)}人参与`)
.fontSize('11
f
p')
.fontSize('11
v
p')
.fontWeight(400)
.fontColor(Color.White)
}
...
...
@@ -241,9 +239,7 @@ export struct PlayUIComponent {
}
.backgroundColor('#4D000000')
.padding({
top: 1,
right: 4,
bottom: 1,
})
.margin(
{
...
...
@@ -252,6 +248,7 @@ export struct PlayUIComponent {
: this.displayDirection === DisplayDirection.VIDEO_HORIZONTAL ? 34 : 0
}
)
.borderRadius(2)
}
//回看
else if (this.contentDetailData.liveInfo?.liveState == 'end') {
...
...
@@ -272,15 +269,15 @@ export struct PlayUIComponent {
}
}
.height(18)
.backgroundColor('#4D000000')
.padding({
left: 4,
top: 1,
right: 4,
bottom: 1
}).margin({
left: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '34vp' : 0
})
.borderRadius(2)
}
}
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerTitleComponent.ets
View file @
afda8ca
...
...
@@ -144,7 +144,7 @@ export struct PlayerTitleComponent {
.width(12)
.height(12)
Text(`${NumberFormatterUtils.formatNumberWithWan(this.liveRoomDataBean.pv)}人参与`)
.fontSize('11
f
p')
.fontSize('11
v
p')
.fontWeight(400)
.fontColor(Color.White)
}
...
...
Please
register
or
login
to post a comment