yanlu

fix:17105 UI还原问题-【生产环境】点击全屏按钮,进入视频全屏。两边间距问题。看图

@@ -121,11 +121,12 @@ export struct PlayUIComponent { @@ -121,11 +121,12 @@ export struct PlayUIComponent {
121 } 121 }
122 } 122 }
123 .width('100%') 123 .width('100%')
  124 + // .width(this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? 'calc(100% - 80vp)' : 'calc(100% - 32vp)')
124 .padding({ 125 .padding({
125 top: 15, 126 top: 15,
126 bottom: 6, 127 bottom: 6,
127 - left: 10,  
128 - right: 10 128 + left: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '40vp' : '16vp',
  129 + right: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '40vp' : '16vp'
129 }) 130 })
130 .alignItems(HorizontalAlign.Start) 131 .alignItems(HorizontalAlign.Start)
131 .visibility(this.isMenuVisible ? Visibility.Visible : Visibility.None) 132 .visibility(this.isMenuVisible ? Visibility.Visible : Visibility.None)
@@ -292,8 +293,8 @@ export struct PlayUIComponent { @@ -292,8 +293,8 @@ export struct PlayUIComponent {
292 .linearGradient({ angle: 0, colors: [['#99000000', 0], ['#00000000', 1]] }) 293 .linearGradient({ angle: 0, colors: [['#99000000', 0], ['#00000000', 1]] })
293 .width('100%') 294 .width('100%')
294 .padding({ 295 .padding({
295 - left: 10,  
296 - right: 10, 296 + left: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '40vp' : '16vp',
  297 + right: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '40vp' : '16vp',
297 top: 15, 298 top: 15,
298 bottom: 15 299 bottom: 15
299 }) 300 })