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
wangliang_wd
2024-10-10 10:38:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f2e84b2844ad57b0371dd424caee3e1f095031ce
f2e84b28
1 parent
b522538a
feat:优化早晚报展示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
f2e84b2
...
...
@@ -560,7 +560,7 @@ export struct PaperSingleColumn999CardView {
Row() {
Row() {
if (this.item
.corner
.length > 0){
if (this.item
?.corner?
.length > 0){
Text(this.item.corner)
.fontSize(12)
.fontColor('#ED2800')
...
...
@@ -571,7 +571,7 @@ export struct PaperSingleColumn999CardView {
Text(this.buildSourceString())
.fontSize(12)
.fontColor('#B0B0B0')
.margin({ left: this.item
.corner
.length > 0?10:16 })
.margin({ left: this.item
?.corner?
.length > 0?10:16 })
///不显示时间或者不显示评论
if (this.getPublishTime().length > 0 || this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.commentNum) > 0) {
...
...
Please
register
or
login
to post a comment