Showing
1 changed file
with
4 additions
and
0 deletions
| 1 | import { CompDTO, ContentDTO } from 'wdBean'; | 1 | import { CompDTO, ContentDTO } from 'wdBean'; |
| 2 | import { CommonConstants } from 'wdConstant/Index'; | 2 | import { CommonConstants } from 'wdConstant/Index'; |
| 3 | import { Logger } from 'wdKit/Index'; | 3 | import { Logger } from 'wdKit/Index'; |
| 4 | +import { ProcessUtils } from '../../utils/ProcessUtils'; | ||
| 4 | import PageViewModel from '../../viewmodel/PageViewModel'; | 5 | import PageViewModel from '../../viewmodel/PageViewModel'; |
| 5 | 6 | ||
| 6 | const TAG = 'Zh_Grid_Layout-02'; | 7 | const TAG = 'Zh_Grid_Layout-02'; |
| @@ -105,6 +106,9 @@ export struct ZhGridLayout02 { | @@ -105,6 +106,9 @@ export struct ZhGridLayout02 { | ||
| 105 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 106 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 106 | } | 107 | } |
| 107 | .width('100%') | 108 | .width('100%') |
| 109 | + .onClick(() => { | ||
| 110 | + ProcessUtils.processPage(item) | ||
| 111 | + }) | ||
| 108 | } | 112 | } |
| 109 | 113 | ||
| 110 | addItems() { | 114 | addItems() { |
-
Please register or login to post a comment