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-05 18:30:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ad2b6ac5ae327236bc807b0ddff969fe949c9579
ad2b6ac5
1 parent
4bd4e83b
fix |> 修复横屏直播直播间多图消息展示样式与安卓不一致问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabLiveItemComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/TabLiveItemComponent.ets
View file @
ad2b6ac
...
...
@@ -11,7 +11,6 @@ export struct TabLiveItemComponent {
photoList: PhotoListBean[] = []
aboutToAppear(): void {
}
build() {
...
...
@@ -93,8 +92,9 @@ export struct TabLiveItemComponent {
if (this.item.pictureUrls.length > 1) {
Image(itemSub)
.width(`${100 / this.item.pictureUrls.length}%`)
// .height(70)
.objectFit(ImageFit.Contain)
.height(this.item.pictureUrls.length == 3 ? 57 : 87)
.objectFit(ImageFit.Cover)
.alt($r('app.media.cover_place_holder'))
.borderRadius(4)
} else {
Image(itemSub)
...
...
@@ -102,6 +102,7 @@ export struct TabLiveItemComponent {
// .aspectRatio(this.getAspectRation())
// .height(177)
.objectFit(ImageFit.Contain)
.alt($r('app.media.cover_place_holder'))
.borderRadius(4)
}
}.onClick(() => {
...
...
@@ -109,10 +110,13 @@ export struct TabLiveItemComponent {
})
})
}
.enableScrollInteraction(false)
.listDirection(Axis.Horizontal)
.scrollBar(BarState.Off)
.margin({
top: 8,
})
.borderRadius(4)
}
//音频
else if (this.item.dataType === LiveMessageOptType.ZH_AUDIO_MSG) {
...
...
Please
register
or
login
to post a comment