王士厅

【穿越测试】后台未设置支持语音播报,客户端展示语音播报按钮

@@ -80,7 +80,7 @@ export struct OperRowListView { @@ -80,7 +80,7 @@ export struct OperRowListView {
80 @State needLike: boolean = true 80 @State needLike: boolean = true
81 @ObjectLink publishCommentModel: publishCommentModel 81 @ObjectLink publishCommentModel: publishCommentModel
82 @State styleType: number = -1 82 @State styleType: number = -1
83 - @State showCommentIcon: boolean = true 83 + @State showCommentIcon: boolean = true // 评论图标
84 @State bgColor: ResourceColor = Color.White 84 @State bgColor: ResourceColor = Color.White
85 @State interactData: InteractDataDTO = {} as InteractDataDTO 85 @State interactData: InteractDataDTO = {} as InteractDataDTO
86 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态 86 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态
@@ -375,6 +375,7 @@ export struct OperRowListView { @@ -375,6 +375,7 @@ export struct OperRowListView {
375 .height(36) 375 .height(36)
376 .width(48) 376 .width(48)
377 .justifyContent(FlexAlign.Center) 377 .justifyContent(FlexAlign.Center)
  378 + .visibility(this.contentDetailData.openAudio == 1 ? Visibility.Visible : Visibility.None) // 【图文稿件】语音播报开关 0不播报 1播报
378 } 379 }
379 380
380 /** 381 /**