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-04-18 16:56:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d9b0eb4e31678651b06ac3568215132523cb22fa
d9b0eb4e
1 parent
591602e0
更改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 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 @
d9b0eb4
...
...
@@ -36,7 +36,9 @@ export const enum WDViewDefaultType {
///该号主无法访问
WDViewDefaultType_NoVisitAccount,
///暂无关注
WDViewDefaultType_NoFollow
WDViewDefaultType_NoFollow,
///搜索为空
WDViewDefaultType_NoSearch,
}
/**
...
...
@@ -120,6 +122,8 @@ export struct EmptyComponent {
contentString = '' // 前方拥堵,请耐心等待
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) {
contentString = '该号主暂时无法访问' // 前方拥堵,请耐心等待
}else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearch) {
contentString = '没有找到相关内容' // 前方拥堵,请耐心等待
}
return contentString
...
...
@@ -148,6 +152,8 @@ export struct EmptyComponent {
imageString = $r('app.media.icon_no_net')
} else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) {
imageString = $r('app.media.icon_no_master1')
}else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearch) {
imageString = $r('app.media.icon_no_result1')
}
return imageString
}
...
...
Please
register
or
login
to post a comment