wuyanan

ref |> 修复竖屏直播背景图不展示问题

... ... @@ -143,7 +143,7 @@ export struct DetailPlayVLivePage {
Stack({ alignContent: Alignment.Top }) {
// 直播背景图,模糊处理
Image(this.liveDetailPageLogic.imgUrl)
Image(this.liveDetailPageLogic.getLiveCoverUrl())
.height('100%')
.width('100%')
.blur(100)
... ...
... ... @@ -84,4 +84,11 @@ export class LiveDetailPageLogic {
}
}
getLiveCoverUrl() {
if (this.contentDetailData.fullColumnImgUrls.length > 0) {
return this.contentDetailData.fullColumnImgUrls[0].url
}
return ''
}
}
\ No newline at end of file
... ...