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-06-20 10:32:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
da2cf7e1389e1ffc98d397a27fe6916e29229798
da2cf7e1
1 parent
17c4a7c5
fix: 19041 单图卡-标签和标题间距过大、标题和封面图间距过大,见对比截图
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
View file @
da2cf7e
...
...
@@ -94,7 +94,7 @@ export struct Card6Component {
.alignSelf(ItemAlign.Start)
.textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。
.textIndent((this.contentDTO.newTags?.length || this.contentDTO.seoTags?.length) > 2 &&
(this.contentDTO.newTags?.length || this.contentDTO.seoTags?.length) < 5 ?
58
:
(this.contentDTO.newTags?.length || this.contentDTO.seoTags?.length) < 5 ?
(12 + (this.contentDTO.newTags?.length || this.contentDTO.seoTags?.length) * 11)
:
((this.contentDTO.newTags?.length > 0 || this.contentDTO.seoTags?.length > 0) || this.contentDTO.objectType == '5' || this.contentDTO.top === 1) ? 35 :
0 )
}.alignContent(Alignment.TopStart)
...
...
Please
register
or
login
to post a comment