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
douaojie
2024-04-24 18:28:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de962f67499e0fb4198c7d39c250d7350f287859
de962f67
1 parent
c717d726
fix: 暂无评论。快来抢沙发
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/EmptyComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/EmptyComponent.ets
View file @
de962f6
...
...
@@ -41,6 +41,8 @@ export const enum WDViewDefaultType {
WDViewDefaultType_NoVideo,
/// 16.暂无内容1
WDViewDefaultType_NoContent1,
// 17. 暂无评论快来抢沙发
WDViewDefaultType_NoComment1
}
/**
...
...
@@ -210,6 +212,8 @@ export struct EmptyComponent {
contentString = '暂无内容'
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoFollow) {
contentString = '暂无关注'
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) {
contentString = '暂无评论,快来抢沙发'
}
return contentString
...
...
@@ -222,7 +226,7 @@ export struct EmptyComponent {
imageString = $r('app.media.icon_no_collection')
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoMessage) {
imageString = $r('app.media.icon_no_message')
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment) {
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment
|| this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1
) {
imageString = $r('app.media.icon_no_comment')
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearchResult) {
imageString = $r('app.media.icon_no_result')
...
...
@@ -254,3 +258,4 @@ export struct EmptyComponent {
}
}
}
...
...
Please
register
or
login
to post a comment