zhenghy

fix: 视频右侧操作栏据底侧距离

@@ -31,6 +31,7 @@ export struct PlayerRightView { @@ -31,6 +31,7 @@ export struct PlayerRightView {
31 @Consume followStatus: string 31 @Consume followStatus: string
32 @Consume isOpenDetail: boolean 32 @Consume isOpenDetail: boolean
33 @Consume isDragging: boolean 33 @Consume isDragging: boolean
  34 + @Consume showComment?: boolean
34 @State likesStyle: number = this.contentDetailData.likesStyle // 赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空 35 @State likesStyle: number = this.contentDetailData.likesStyle // 赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
35 36
36 aboutToAppear() { 37 aboutToAppear() {
@@ -170,7 +171,7 @@ export struct PlayerRightView { @@ -170,7 +171,7 @@ export struct PlayerRightView {
170 .width(58) 171 .width(58)
171 .position({ x: '100%', y: '100%' }) 172 .position({ x: '100%', y: '100%' })
172 .markAnchor({ x: '100%', y: '100%' }) 173 .markAnchor({ x: '100%', y: '100%' })
173 - .padding({ bottom: 60, right: 10 }) 174 + .padding({ bottom: this.showComment ? 60 : 10, right: 10 })
174 .visibility(this.isOpenDetail || this.isDragging ? Visibility.None : Visibility.Visible) 175 .visibility(this.isOpenDetail || this.isDragging ? Visibility.None : Visibility.Visible)
175 176
176 } 177 }