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
yumaochao
2024-05-28 17:04:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
32c66e61aa5985411f7a0c3f820587ea7a0e1281
32c66e61
1 parent
9a81614a
fix:somebug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card3Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
View file @
32c66e6
...
...
@@ -61,13 +61,13 @@ export struct Card2Component {
// }
// }
if(this.contentDTO.objectType == '5'){
Notes({ objectType: this.contentDTO.objectType }).height(2
0
).align(Alignment.Center)
Notes({ objectType: this.contentDTO.objectType }).height(2
9
).align(Alignment.Center)
} else {
if (this.contentDTO.seoTags) {
Notes({ newTags: this.contentDTO.seoTags }).height(2
0
).align(Alignment.Center)
Notes({ newTags: this.contentDTO.seoTags }).height(2
9
).align(Alignment.Center)
}
if (this.contentDTO.newTags) {
Notes({ newTags: this.contentDTO.newTags }).height(2
0
).align(Alignment.Center)
Notes({ newTags: this.contentDTO.newTags }).height(2
9
).align(Alignment.Center)
}
}
//新闻标题
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card3Component.ets
View file @
32c66e6
...
...
@@ -42,13 +42,13 @@ export struct Card3Component {
// Notes({ objectType: this.contentDTO.objectType }).height(27).align(Alignment.Center)
// }
if(this.contentDTO.objectType == '5'){
Notes({ objectType: this.contentDTO.objectType }).height(2
0
).align(Alignment.Center)
Notes({ objectType: this.contentDTO.objectType }).height(2
9
).align(Alignment.Center)
} else {
if (this.contentDTO.seoTags) {
Notes({ newTags: this.contentDTO.seoTags }).height(2
0
).align(Alignment.Center)
Notes({ newTags: this.contentDTO.seoTags }).height(2
9
).align(Alignment.Center)
}
if (this.contentDTO.newTags) {
Notes({ newTags: this.contentDTO.newTags }).height(2
0
).align(Alignment.Center)
Notes({ newTags: this.contentDTO.newTags }).height(2
9
).align(Alignment.Center)
}
}
Text() {
...
...
Please
register
or
login
to post a comment