Showing
3 changed files
with
6 additions
and
2 deletions
| @@ -367,6 +367,7 @@ export struct MultiPictureDetailPageComponent { | @@ -367,6 +367,7 @@ export struct MultiPictureDetailPageComponent { | ||
| 367 | operationButtonList: this.operationButtonList, | 367 | operationButtonList: this.operationButtonList, |
| 368 | styleType: 2, | 368 | styleType: 2, |
| 369 | componentType:5, | 369 | componentType:5, |
| 370 | + MultiPictureComponentType:1 | ||
| 370 | }) | 371 | }) |
| 371 | } | 372 | } |
| 372 | .transition(TransitionEffect.OPACITY.animation({ duration: this.duration, curve: Curve.Ease }).combine( | 373 | .transition(TransitionEffect.OPACITY.animation({ duration: this.duration, curve: Curve.Ease }).combine( |
| @@ -12,6 +12,7 @@ export struct CommentTabComponent { | @@ -12,6 +12,7 @@ export struct CommentTabComponent { | ||
| 12 | @ObjectLink publishCommentModel: publishCommentModel | 12 | @ObjectLink publishCommentModel: publishCommentModel |
| 13 | @Prop contentDetail: ContentDetailDTO | 13 | @Prop contentDetail: ContentDetailDTO |
| 14 | @Prop pageComponentType: number = -1 //1:视频详情页 2:竖屏直播页 | 14 | @Prop pageComponentType: number = -1 //1:视频详情页 2:竖屏直播页 |
| 15 | + @Prop MultiPictureComponentType?: number = -1 // 1:图集详情页 | ||
| 15 | /*展示类型*/ | 16 | /*展示类型*/ |
| 16 | @State type: number = 1 | 17 | @State type: number = 1 |
| 17 | @State placeHolder: string = '说两句...' | 18 | @State placeHolder: string = '说两句...' |
| @@ -67,7 +68,7 @@ export struct CommentTabComponent { | @@ -67,7 +68,7 @@ export struct CommentTabComponent { | ||
| 67 | }) | 68 | }) |
| 68 | .id("RowBg") | 69 | .id("RowBg") |
| 69 | } else { | 70 | } else { |
| 70 | - Image(this.pageComponentType === 2 ? $r('app.media.comment_img_input_black') : | 71 | + Image(this.pageComponentType === 2 || this.MultiPictureComponentType === 1 ? $r('app.media.comment_img_input_black') : |
| 71 | $r('app.media.comment_img_input_hui')) | 72 | $r('app.media.comment_img_input_hui')) |
| 72 | .objectFit(ImageFit.Fill) | 73 | .objectFit(ImageFit.Fill) |
| 73 | .resizable({ | 74 | .resizable({ |
| @@ -63,6 +63,7 @@ export struct OperRowListView { | @@ -63,6 +63,7 @@ export struct OperRowListView { | ||
| 63 | */ | 63 | */ |
| 64 | @Prop componentType: number = 1 //1: 底部栏目样式 2: 新闻页中间位置样式 3:动态Tab内容下的互动入口 | 64 | @Prop componentType: number = 1 //1: 底部栏目样式 2: 新闻页中间位置样式 3:动态Tab内容下的互动入口 |
| 65 | @Prop pageComponentType?: number = -1 //1:视频详情页 2竖屏直播页 | 65 | @Prop pageComponentType?: number = -1 //1:视频详情页 2竖屏直播页 |
| 66 | + @Prop MultiPictureComponentType?: number = -1 // 1:图集详情页 | ||
| 66 | @State likesStyle: number = this.contentDetailData.likesStyle // 赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空 | 67 | @State likesStyle: number = this.contentDetailData.likesStyle // 赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空 |
| 67 | @Prop operationButtonList?: string[] = ['comment', 'collect', 'share'] // 组件展示条件 | 68 | @Prop operationButtonList?: string[] = ['comment', 'collect', 'share'] // 组件展示条件 |
| 68 | @State needLike: boolean = true | 69 | @State needLike: boolean = true |
| @@ -192,7 +193,8 @@ export struct OperRowListView { | @@ -192,7 +193,8 @@ export struct OperRowListView { | ||
| 192 | publishCommentModel: this.publishCommentModel, | 193 | publishCommentModel: this.publishCommentModel, |
| 193 | contentDetail: this.contentDetailData, | 194 | contentDetail: this.contentDetailData, |
| 194 | onCommentFocus: this.onCommentFocus, | 195 | onCommentFocus: this.onCommentFocus, |
| 195 | - pageComponentType: this.pageComponentType | 196 | + pageComponentType: this.pageComponentType, |
| 197 | + MultiPictureComponentType: this.MultiPictureComponentType | ||
| 196 | }) | 198 | }) |
| 197 | } | 199 | } |
| 198 | } | 200 | } |
-
Please register or login to post a comment