王士厅

fix: 轮播卡修复点右边的稿件,跳到左边稿件的详情了

... ... @@ -93,6 +93,11 @@ export struct ZhCarouselLayout01 {
item: item,
length: this.compDTO.operDataList.length
})
.onClick((event: ClickEvent) => {
InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName)
Logger.info(TAG, `ZhCarouselLayout01 onClick event index: ${index}`)
ProcessUtils.processPage(item)
})
})
}
.borderRadius($r('app.float.image_border_radius'))
... ... @@ -162,11 +167,6 @@ export struct ZhCarouselLayout01 {
})
.backgroundColor(0xffffff)
.width(CommonConstants.FULL_WIDTH)
.onClick((event: ClickEvent) => {
InfomationCardClick.track(this.compDTO, this.compDTO.operDataList[this.swiperIndex], this.pageId, this.pageName)
Logger.info(TAG, `ZhCarouselLayout01 onClick event index: ${this.swiperIndex}`);
ProcessUtils.processPage(this.compDTO.operDataList[this.swiperIndex])
})
} else {
EmptyComponent({ emptyHeight: 200 })
}
... ...