Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-05-14 20:36:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
435ad924c03d319c59da270c4ea3a8c1b2ff57c9
435ad924
1 parent
79120817
人民号号主主页中的图集详情页下的评论区域背景颜色鸿蒙与安卓不一致
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MultiPictureDetailPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentTabComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
sight_harmony/features/wdComponent/src/main/ets/components/MultiPictureDetailPageComponent.ets
View file @
435ad92
...
...
@@ -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(
...
...
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentTabComponent.ets
View file @
435ad92
...
...
@@ -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({
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
View file @
435ad92
...
...
@@ -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
})
}
}
...
...
Please
register
or
login
to post a comment