douaojie

fix: 缺省图

@@ -42,7 +42,9 @@ export const enum WDViewDefaultType { @@ -42,7 +42,9 @@ export const enum WDViewDefaultType {
42 /// 16.暂无内容1 42 /// 16.暂无内容1
43 WDViewDefaultType_NoContent1, 43 WDViewDefaultType_NoContent1,
44 // 17. 暂无评论快来抢沙发 44 // 17. 暂无评论快来抢沙发
45 - WDViewDefaultType_NoComment1 45 + WDViewDefaultType_NoComment1,
  46 + // 18. 暂无评论快来抢沙发
  47 + WDViewDefaultType_NoContent2
46 } 48 }
47 49
48 /** 50 /**
@@ -214,6 +216,8 @@ export struct EmptyComponent { @@ -214,6 +216,8 @@ export struct EmptyComponent {
214 contentString = '暂无关注' 216 contentString = '暂无关注'
215 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) { 217 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) {
216 contentString = '暂无评论,快来抢沙发' 218 contentString = '暂无评论,快来抢沙发'
  219 + } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoComment1) {
  220 + contentString = '内容找不到了'
217 } 221 }
218 222
219 return contentString 223 return contentString
@@ -247,7 +251,7 @@ export struct EmptyComponent { @@ -247,7 +251,7 @@ export struct EmptyComponent {
247 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVideo) { 251 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoVideo) {
248 imageString = $r('app.media.icon_no_content') 252 imageString = $r('app.media.icon_no_content')
249 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoContent1 || 253 } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoContent1 ||
250 - this.emptyType === WDViewDefaultType.WDViewDefaultType_NoFollow) { 254 + this.emptyType === WDViewDefaultType.WDViewDefaultType_NoFollow || this.emptyType === WDViewDefaultType.WDViewDefaultType_NoContent2) {
251 imageString = $r('app.media.icon_no_appointmentMade1') 255 imageString = $r('app.media.icon_no_appointmentMade1')
252 } 256 }
253 return imageString 257 return imageString