王士厅

人民号号主主页中的图集详情页下的评论区域背景颜色鸿蒙与安卓不一致

... ... @@ -367,6 +367,7 @@ export struct MultiPictureDetailPageComponent {
operationButtonList: this.operationButtonList,
styleType: 2,
componentType:5,
MultiPictureComponentType:1
})
}
.transition(TransitionEffect.OPACITY.animation({ duration: this.duration, curve: Curve.Ease }).combine(
... ...
... ... @@ -12,6 +12,7 @@ export struct CommentTabComponent {
@ObjectLink publishCommentModel: publishCommentModel
@Prop contentDetail: ContentDetailDTO
@Prop pageComponentType: number = -1 //1:视频详情页 2:竖屏直播页
@Prop MultiPictureComponentType?: number = -1 // 1:图集详情页
/*展示类型*/
@State type: number = 1
@State placeHolder: string = '说两句...'
... ... @@ -67,7 +68,7 @@ export struct CommentTabComponent {
})
.id("RowBg")
} else {
Image(this.pageComponentType === 2 ? $r('app.media.comment_img_input_black') :
Image(this.pageComponentType === 2 || this.MultiPictureComponentType === 1 ? $r('app.media.comment_img_input_black') :
$r('app.media.comment_img_input_hui'))
.objectFit(ImageFit.Fill)
.resizable({
... ...
... ... @@ -63,6 +63,7 @@ export struct OperRowListView {
*/
@Prop componentType: number = 1 //1: 底部栏目样式 2: 新闻页中间位置样式 3:动态Tab内容下的互动入口
@Prop pageComponentType?: number = -1 //1:视频详情页 2竖屏直播页
@Prop MultiPictureComponentType?: number = -1 // 1:图集详情页
@State likesStyle: number = this.contentDetailData.likesStyle // 赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
@Prop operationButtonList?: string[] = ['comment', 'collect', 'share'] // 组件展示条件
@State needLike: boolean = true
... ... @@ -192,7 +193,8 @@ export struct OperRowListView {
publishCommentModel: this.publishCommentModel,
contentDetail: this.contentDetailData,
onCommentFocus: this.onCommentFocus,
pageComponentType: this.pageComponentType
pageComponentType: this.pageComponentType,
MultiPictureComponentType: this.MultiPictureComponentType
})
}
}
... ...