Showing
1 changed file
with
6 additions
and
9 deletions
| 1 | -import { Action, CompDTO, ContentDTO, Params } from 'wdBean'; | ||
| 2 | -import { CompStyle } from 'wdConstant'; | ||
| 3 | -import { Logger } from 'wdKit'; | ||
| 4 | -import { WDRouterRule } from 'wdRouter'; | 1 | +import { CompDTO, ContentDTO } from 'wdBean'; |
| 5 | import { ProcessUtils } from 'wdRouter'; | 2 | import { ProcessUtils } from 'wdRouter'; |
| 6 | import { onlyWifiLoadImg } from '../../utils/lazyloadImg'; | 3 | import { onlyWifiLoadImg } from '../../utils/lazyloadImg'; |
| 7 | -import { InfomationCardClick } from '../../utils/infomationCardClick' | 4 | +import { InfomationCardClick } from '../../utils/infomationCardClick'; |
| 8 | 5 | ||
| 9 | const TAG = 'Zh_Grid_Layout-03'; | 6 | const TAG = 'Zh_Grid_Layout-03'; |
| 10 | const FULL_PARENT: string = '100%'; | 7 | const FULL_PARENT: string = '100%'; |
| @@ -43,8 +40,8 @@ export struct ZhGridLayout03 { | @@ -43,8 +40,8 @@ export struct ZhGridLayout03 { | ||
| 43 | }) | 40 | }) |
| 44 | } | 41 | } |
| 45 | .padding({ | 42 | .padding({ |
| 46 | - left: 10, | ||
| 47 | - right: 10, | 43 | + left: 16, |
| 44 | + right: 16, | ||
| 48 | top: $r('app.float.card_comp_pagePadding_tb'), | 45 | top: $r('app.float.card_comp_pagePadding_tb'), |
| 49 | bottom: $r('app.float.card_comp_pagePadding_tb') | 46 | bottom: $r('app.float.card_comp_pagePadding_tb') |
| 50 | }) | 47 | }) |
| @@ -72,14 +69,14 @@ export struct ZhGridLayout03 { | @@ -72,14 +69,14 @@ export struct ZhGridLayout03 { | ||
| 72 | .maxLines(1) | 69 | .maxLines(1) |
| 73 | .margin({ | 70 | .margin({ |
| 74 | top: 8, | 71 | top: 8, |
| 75 | - bottom:11 | 72 | + bottom: 11 |
| 76 | }) | 73 | }) |
| 77 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 74 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 78 | 75 | ||
| 79 | } | 76 | } |
| 80 | .width('100%') | 77 | .width('100%') |
| 81 | .onClick((event: ClickEvent) => { | 78 | .onClick((event: ClickEvent) => { |
| 82 | - console.log('333rt',JSON.stringify(item)) | 79 | + console.log('333rt', JSON.stringify(item)) |
| 83 | InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName) | 80 | InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName) |
| 84 | 81 | ||
| 85 | ProcessUtils.processPage(item) | 82 | ProcessUtils.processPage(item) |
-
Please register or login to post a comment