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
wangyujian_wd
2024-04-25 10:29:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a94d8c67a6d21ffc4eb797b70daaefbd2177504a
a94d8c67
1 parent
be81fb38
fix:1)直播详情页面修改优化
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabChatComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabLiveItemComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabChatComponent.ets
View file @
a94d8c6
...
...
@@ -26,7 +26,7 @@ export struct TabChatComponent {
} else if (this.pageModel.viewType == ViewType.ERROR) {
ErrorComponent()
} else if (this.pageModel.viewType == ViewType.EMPTY) {
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoCo
nt
ent1 })
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoCo
mm
ent1 })
} else {
this.ListLayout()
}
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabLiveItemComponent.ets
View file @
a94d8c6
...
...
@@ -107,7 +107,6 @@ export struct TabLiveItemComponent {
.listDirection(Axis.Horizontal)
.margin({
top: 8,
right: 16
})
}
//音频
...
...
@@ -147,14 +146,12 @@ export struct TabLiveItemComponent {
}
.margin({
top: 8,
right: 16
})
.aspectRatio(Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[0]) / Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[1]))
.onClick(() => {
this.gotoVideoPlayPage()
})
}
}
.margin({
left: 8,
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/PlayUIComponent.ets
View file @
a94d8c6
...
...
@@ -75,7 +75,7 @@ export struct PlayUIComponent {
if (this.liveDetailsBean.liveInfo?.liveState != 'wait') {
Text(this.liveDetailsBean.newsTitle)
.maxLines(1)
.textOverflow({ overflow: TextOverflow.
Ellipsis
})
.textOverflow({ overflow: TextOverflow.
MARQUEE
})
.fontSize('16fp')
.fontWeight(500)
.fontColor(Color.White)
...
...
@@ -269,8 +269,7 @@ export struct PlayUIComponent {
.blockSize({
width: 18,
height: 12
})
// .blockStyle({
})// .blockStyle({
// type: SliderBlockType.IMAGE,
// image: $r('app.media.ic_player_block')
// })
...
...
Please
register
or
login
to post a comment