陈剑华

fix: 直播预约卡大图border

... ... @@ -23,9 +23,11 @@ export struct LiveBigImage01Component {
@State clicked: boolean = false;
index: number = 0
@State isLoadingAttention: boolean = false
@State curRouter: string = ''
async aboutToAppear() {
const curRouter = router.getState().name;
this.curRouter = curRouter;
this.clicked = hasClicked(this.contentDTO.objectId, curRouter)
this.loadImg = await onlyWifiLoadImg();
}
... ... @@ -38,7 +40,7 @@ export struct LiveBigImage01Component {
.aspectRatio(16 / 9)
.backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : $r('app.color.color_33A3A3A3'))
.objectFit(ImageFit.Contain)
.borderWidth(0.5)
.borderWidth(this.curRouter !== 'ReserveMorePage' ? 0.5 : 0)
.borderColor($r('app.color.color_0D000000'))
.borderRadius({
topLeft: '4vp',
... ...