yumaochao

更改

@@ -36,7 +36,9 @@ export const enum WDViewDefaultType { @@ -36,7 +36,9 @@ export const enum WDViewDefaultType {
36 ///该号主无法访问 36 ///该号主无法访问
37 WDViewDefaultType_NoVisitAccount, 37 WDViewDefaultType_NoVisitAccount,
38 ///暂无关注 38 ///暂无关注
39 - WDViewDefaultType_NoFollow 39 + WDViewDefaultType_NoFollow,
  40 + ///搜索为空
  41 + WDViewDefaultType_NoSearch,
40 } 42 }
41 43
42 /** 44 /**
@@ -120,6 +122,8 @@ export struct EmptyComponent { @@ -120,6 +122,8 @@ export struct EmptyComponent {
120 contentString = '' // 前方拥堵,请耐心等待 122 contentString = '' // 前方拥堵,请耐心等待
121 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) { 123 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) {
122 contentString = '该号主暂时无法访问' // 前方拥堵,请耐心等待 124 contentString = '该号主暂时无法访问' // 前方拥堵,请耐心等待
  125 + }else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearch) {
  126 + contentString = '没有找到相关内容' // 前方拥堵,请耐心等待
123 } 127 }
124 128
125 return contentString 129 return contentString
@@ -148,6 +152,8 @@ export struct EmptyComponent { @@ -148,6 +152,8 @@ export struct EmptyComponent {
148 imageString = $r('app.media.icon_no_net') 152 imageString = $r('app.media.icon_no_net')
149 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) { 153 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVisitAccount) {
150 imageString = $r('app.media.icon_no_master1') 154 imageString = $r('app.media.icon_no_master1')
  155 + }else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearch) {
  156 + imageString = $r('app.media.icon_no_result1')
151 } 157 }
152 return imageString 158 return imageString
153 } 159 }