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-05-16 17:34:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce0acc7e9b13c1012d4e7937fbfa95f0fd7ad98d
ce0acc7e
1 parent
2f1b4cf0
fix: 缺省图
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 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 @
ce0acc7
...
...
@@ -42,7 +42,9 @@ export const enum WDViewDefaultType {
/// 16.暂无内容1
WDViewDefaultType_NoContent1,
// 17. 暂无评论快来抢沙发
WDViewDefaultType_NoComment1
WDViewDefaultType_NoComment1,
// 18. 暂无评论快来抢沙发
WDViewDefaultType_NoContent2
}
/**
...
...
@@ -214,6 +216,8 @@ export struct EmptyComponent {
contentString = '暂无关注'
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) {
contentString = '暂无评论,快来抢沙发'
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) {
contentString = '内容找不到了'
}
return contentString
...
...
@@ -247,7 +251,7 @@ export struct EmptyComponent {
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVideo) {
imageString = $r('app.media.icon_no_content')
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoContent1 ||
this.emptyType === WDViewDefaultType.WDViewDefaultType_NoFollow) {
this.emptyType === WDViewDefaultType.WDViewDefaultType_NoFollow
|| this.emptyType === WDViewDefaultType.WDViewDefaultType_NoContent2
) {
imageString = $r('app.media.icon_no_appointmentMade1')
}
return imageString
...
...
Please
register
or
login
to post a comment