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
王士厅
2024-08-27 10:17:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8eb9b85b280667d74b0c43a13c71872977d1901f
8eb9b85b
1 parent
93175e52
fix: 地方精选卡左侧边距去除,可滑动到左侧
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/CompParser.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
sight_harmony/features/wdComponent/src/main/ets/components/CompParser.ets
View file @
8eb9b85
...
...
@@ -77,7 +77,7 @@ export struct CompParser {
this.componentBuilder();
}
.margin({
left: 6,
left:
this.compDTO.compStyle === CompStyle.Zh_Single_Row_04 ? 0 :
6,
right: (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05 || this.compDTO.compStyle === CompStyle.Zh_Single_Row_02 ||
this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) ? 0 : 6
})
...
...
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow04.ets
View file @
8eb9b85
...
...
@@ -60,7 +60,8 @@ export struct ZhSingleRow04 {
.margin({ bottom: 8 })
.width('100%')
.padding({
right: 10
left: 16,
right: 16
})
// 列表内容
...
...
@@ -74,7 +75,7 @@ export struct ZhSingleRow04 {
)
.margin({
right: index === this.compDTO.operDataList.length - 1 ? 26 : 0,
left: index === 0 ?
2
: 0,
left: index === 0 ?
16
: 0,
top: 6
})
.onClick(() => {
...
...
@@ -92,7 +93,7 @@ export struct ZhSingleRow04 {
}
.width(CommonConstants.FULL_WIDTH)
.padding({
left:
1
0,
left: 0,
right: 0,
top: $r('app.float.card_comp_pagePadding_tb'),
bottom: $r('app.float.card_comp_pagePadding_tb')
...
...
Please
register
or
login
to post a comment