wangyujian_wd

fix:1)直播详情页面修改优化

... ... @@ -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_NoContent1 })
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoComment1 })
} else {
this.ListLayout()
}
... ...
... ... @@ -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,
... ...
... ... @@ -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')
// })
... ...