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-09-12 15:04:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a664eec8eae35ea7f32c840beb58b9b5281082f7
a664eec8
1 parent
f58c756f
fix: 修改小视频横划卡、轮播图单独卡、人民号主题卡下划线为细线不通两边
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/behindDivider.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/behindDivider.ets
View file @
a664eec
...
...
@@ -20,11 +20,12 @@ export struct behindDivider {
Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6})
}
} else if (this.compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) {
if (this.compIndex === 0) {
Divider().strokeWidth(1).color('#f5f5f5').width('120%').margin({left: -6})
} else {
Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6})
}
// if (this.compIndex === 0) {
// Divider().strokeWidth(1).color('#f5f5f5').width('120%').margin({left: -6})
// } else {
// Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6})
// }
Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 })
} else if (this.compDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) {
// 大专题
if (this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10) {
...
...
@@ -32,7 +33,14 @@ export struct behindDivider {
} else {
Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6})
}
} else if (this.compDTO.compType === 'appStyle' || this.compDTO.compStyle === CompStyle.Zh_Single_Row_01 || this.compDTO.compStyle === CompStyle.Zh_Single_Row_03 || this.compDTO.compStyle === CompStyle.Card_Comp_Adv || this.compDTO.compStyle === CompStyle.Zh_Single_Column_02) {
} else if (this.compDTO.compType === 'appStyle'
|| this.compDTO.compStyle === CompStyle.Zh_Single_Row_01
|| this.compDTO.compStyle === CompStyle.Zh_Single_Row_02
|| this.compDTO.compStyle === CompStyle.Zh_Single_Row_03
|| this.compDTO.compStyle === CompStyle.Card_Comp_Adv
|| this.compDTO.compStyle === CompStyle.Zh_Single_Column_02
|| this.compDTO.compStyle === CompStyle.Zh_Single_Column_04
) {
if (
this.nextCompDTO.compStyle === CompStyle.Card_09 ||
this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10 ||
...
...
Please
register
or
login
to post a comment