Showing
1 changed file
with
7 additions
and
0 deletions
| @@ -236,6 +236,13 @@ export struct LiveHorizontalCardComponent { | @@ -236,6 +236,13 @@ export struct LiveHorizontalCardComponent { | ||
| 236 | } else if (this.compDTO.operDataList.length) { | 236 | } else if (this.compDTO.operDataList.length) { |
| 237 | // 一个 | 237 | // 一个 |
| 238 | LiveHorizontalCardForOneComponent({ contentDTO: this.compDTO.operDataList[0] }) | 238 | LiveHorizontalCardForOneComponent({ contentDTO: this.compDTO.operDataList[0] }) |
| 239 | + .onClick(() => { | ||
| 240 | + InfomationCardClick.track(this.compDTO, this.compDTO.operDataList[0], this.pageId, this.pageName) | ||
| 241 | + if (this.compDTO.operDataList[0].objectType != '0') { | ||
| 242 | + console.log(this.compDTO.operDataList[0].objectId) | ||
| 243 | + this.gotoLive(this.compDTO.operDataList[0]) | ||
| 244 | + } | ||
| 245 | + }) | ||
| 239 | } | 246 | } |
| 240 | } | 247 | } |
| 241 | // .width(CommonConstants.FULL_WIDTH) | 248 | // .width(CommonConstants.FULL_WIDTH) |
-
Please register or login to post a comment