xugenyuan

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

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -213,7 +213,9 @@ export struct OperRowListView { @@ -213,7 +213,9 @@ export struct OperRowListView {
213 @Builder 213 @Builder
214 builderComment() { 214 builderComment() {
215 Column() { 215 Column() {
216 - if (this.publishCommentModel?.targetId) { 216 + if (this.contentDetailData.openComment == 1
  217 + && this.contentDetailData.commentDisplay == 1
  218 + && this.publishCommentModel?.targetId) {
217 CommentTabComponent({ 219 CommentTabComponent({
218 publishCommentModel: this.publishCommentModel, 220 publishCommentModel: this.publishCommentModel,
219 contentDetail: this.contentDetailData, 221 contentDetail: this.contentDetailData,
@@ -223,6 +225,8 @@ export struct OperRowListView { @@ -223,6 +225,8 @@ export struct OperRowListView {
223 this.dialogController = dialogController 225 this.dialogController = dialogController
224 } 226 }
225 }) 227 })
  228 + } else {
  229 + Blank()
226 } 230 }
227 } 231 }
228 .layoutWeight(1) 232 .layoutWeight(1)