douaojie

fix: 暂无评论。快来抢沙发

... ... @@ -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 {
}
}
}
... ...