douaojie

fix: 点击标题跳详情

1 import { ContentDTO, slideShows } from 'wdBean'; 1 import { ContentDTO, slideShows } from 'wdBean';
2 -import { CommonConstants } from 'wdConstant'  
3 -import { DateTimeUtils } from 'wdKit'; 2 +import { CommonConstants } from 'wdConstant';
4 import { ProcessUtils } from 'wdRouter'; 3 import { ProcessUtils } from 'wdRouter';
5 -import { CardSourceInfo } from '../cardCommon/CardSourceInfo'  
6 -import { CardMediaInfo } from '../cardCommon/CardMediaInfo' 4 +import { CardSourceInfo } from '../cardCommon/CardSourceInfo';
7 5
8 /** 6 /**
9 * 大专题卡--CompStyle: 10 7 * 大专题卡--CompStyle: 10
@@ -25,6 +23,9 @@ export struct Card10Component { @@ -25,6 +23,9 @@ export struct Card10Component {
25 .maxLines(2) 23 .maxLines(2)
26 .textOverflow({ overflow: TextOverflow.Ellipsis }) 24 .textOverflow({ overflow: TextOverflow.Ellipsis })
27 .margin({ bottom: 19 }) 25 .margin({ bottom: 19 })
  26 + .onClick((event: ClickEvent) => {
  27 + ProcessUtils.processPage(this.contentDTO)
  28 + })
28 } 29 }
29 // 大图 30 // 大图
30 Stack() { 31 Stack() {