liyubing

Merge remote-tracking branch 'origin/main'

@@ -66,10 +66,10 @@ export struct LiveHorizontalCardComponent { @@ -66,10 +66,10 @@ export struct LiveHorizontalCardComponent {
66 66
67 liveToMore() { 67 liveToMore() {
68 if (!!this.compDTO.dataSourceType) { 68 if (!!this.compDTO.dataSourceType) {
69 - if (this.compDTO.dataSourceType === 'OBJECT_POS') {  
70 - ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string, this.compDTO.objectTitle)  
71 - return;  
72 - } 69 + // if (this.compDTO.dataSourceType === 'OBJECT_POS') {
  70 + // ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string, this.compDTO.objectTitle)
  71 + // return;
  72 + // }
73 if (this.compDTO.linkUrl) { 73 if (this.compDTO.linkUrl) {
74 let taskAction: Action = { 74 let taskAction: Action = {
75 type: 'JUMP_H5_BY_WEB_VIEW', 75 type: 'JUMP_H5_BY_WEB_VIEW',
@@ -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)