xugenyuan

ref |> 详情页底部评论输入框的开关控制逻辑

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -213,7 +213,9 @@ export struct OperRowListView {
@Builder
builderComment() {
Column() {
if (this.publishCommentModel?.targetId) {
if (this.contentDetailData.openComment == 1
&& this.contentDetailData.commentDisplay == 1
&& this.publishCommentModel?.targetId) {
CommentTabComponent({
publishCommentModel: this.publishCommentModel,
contentDetail: this.contentDetailData,
... ... @@ -223,6 +225,8 @@ export struct OperRowListView {
this.dialogController = dialogController
}
})
} else {
Blank()
}
}
.layoutWeight(1)
... ...