Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chenjun1_wd
2024-08-20 01:47:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5cfca3705ef50119501d35f853ba9fe9961683d7
5cfca370
1 parent
c2c59f4d
金刚位卡
1、2 间距偏大 3、缺少分割线
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhGridLayout03.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhGridLayout03.ets
View file @
5cfca37
import { Action, CompDTO, ContentDTO, Params } from 'wdBean';
import { CompStyle } from 'wdConstant';
import { Logger } from 'wdKit';
import { WDRouterRule } from 'wdRouter';
import { CompDTO, ContentDTO } from 'wdBean';
import { ProcessUtils } from 'wdRouter';
import { onlyWifiLoadImg } from '../../utils/lazyloadImg';
import { InfomationCardClick } from '../../utils/infomationCardClick'
import { InfomationCardClick } from '../../utils/infomationCardClick'
;
const TAG = 'Zh_Grid_Layout-03';
const FULL_PARENT: string = '100%';
...
...
@@ -43,8 +40,8 @@ export struct ZhGridLayout03 {
})
}
.padding({
left: 10,
right: 10,
left: 16,
right: 16,
top: $r('app.float.card_comp_pagePadding_tb'),
bottom: $r('app.float.card_comp_pagePadding_tb')
})
...
...
@@ -72,14 +69,14 @@ export struct ZhGridLayout03 {
.maxLines(1)
.margin({
top: 8,
bottom:11
bottom:
11
})
.textOverflow({ overflow: TextOverflow.Ellipsis })
}
.width('100%')
.onClick((event: ClickEvent) => {
console.log('333rt',JSON.stringify(item))
console.log('333rt',
JSON.stringify(item))
InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName)
ProcessUtils.processPage(item)
...
...
Please
register
or
login
to post a comment