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
wangyong_wd
2024-04-22 21:35:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0d22cc277de3d89595b231ad9d8750192a72f384
0d22cc27
1 parent
8a63e9cc
fix:bug_146 desc:本地精选卡样式修复
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
View file @
0d22cc2
...
...
@@ -40,6 +40,10 @@ export struct ZhSingleRow04 {
.justifyContent(FlexAlign.SpaceBetween)
.margin({ top: 8, bottom: 8 })
.width('100%')
.padding({
left: $r('app.float.card_comp_pagePadding_lf'),
right: $r('app.float.card_comp_pagePadding_lf')
})
// 列表内容
List({ space: 12 }) {
...
...
@@ -50,7 +54,9 @@ export struct ZhSingleRow04 {
operDataListItem: item
}
)
.margin({right: index === this.compDTO.operDataList.length - 1 ? $r('app.float.card_comp_pagePadding_lf') : 0})
.margin({right: index === this.compDTO.operDataList.length - 1 ? $r('app.float.card_comp_pagePadding_lf') : 0, left:
index === 0 ? $r('app.float.card_comp_pagePadding_lf') : 0,
top: 6})
.onClick(() => {
ProcessUtils.processPage(item)
})
...
...
@@ -60,13 +66,9 @@ export struct ZhSingleRow04 {
.listDirection(Axis.Horizontal)
.scrollBar(BarState.Off)
.width(CommonConstants.FULL_PARENT)
.height(166)
}
.width(CommonConstants.FULL_WIDTH)
.padding({
left: $r('app.float.card_comp_pagePadding_lf'),
top: $r('app.float.card_comp_pagePadding_tb'),
bottom: $r('app.float.card_comp_pagePadding_tb')
})
.backgroundColor($r("app.color.white"))
.margin({ bottom: 8 })
}
...
...
@@ -124,7 +126,7 @@ struct localCard {
.border({
radius: 2,
})
.shadow({ radius:
5, color: '#1A000000', offsetX: 0
, offsetY: 2 })
.shadow({ radius:
15, color: '#1A000000', offsetX: 2
, offsetY: 2 })
.margin({
right: 10
})
...
...
Please
register
or
login
to post a comment