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
王士厅
2024-08-09 18:48:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3ea43ea6df3cfae1ae4578e34480449293e00f4
a3ea43ea
1 parent
58dc0f0c
fix: 轮播卡修复点右边的稿件,跳到左边稿件的详情了
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhCarouselLayout01.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhCarouselLayout01.ets
View file @
a3ea43e
...
...
@@ -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 })
}
...
...
Please
register
or
login
to post a comment