yanlu

fix:17107 UI还原问题-进入视频全屏,回看间距和字体问题,看图

@@ -200,7 +200,7 @@ export struct PlayUIComponent { @@ -200,7 +200,7 @@ export struct PlayUIComponent {
200 else if (this.liveDetailsBean.liveInfo?.liveState == 'end') { 200 else if (this.liveDetailsBean.liveInfo?.liveState == 'end') {
201 Row() { 201 Row() {
202 Text('回看') 202 Text('回看')
203 - .fontSize('11fp') 203 + .fontSize('11vp')
204 .fontWeight(400) 204 .fontWeight(400)
205 .fontColor(Color.White) 205 .fontColor(Color.White)
206 206
@@ -209,7 +209,7 @@ export struct PlayUIComponent { @@ -209,7 +209,7 @@ export struct PlayUIComponent {
209 .width(12) 209 .width(12)
210 .height(12) 210 .height(12)
211 Text(`${NumberFormatterUtils.formatNumberWithWan(this.liveRoomDataBean.pv)}人参与`) 211 Text(`${NumberFormatterUtils.formatNumberWithWan(this.liveRoomDataBean.pv)}人参与`)
212 - .fontSize('11fp') 212 + .fontSize('11vp')
213 .fontWeight(400) 213 .fontWeight(400)
214 .fontColor(Color.White) 214 .fontColor(Color.White)
215 } 215 }
@@ -221,6 +221,8 @@ export struct PlayUIComponent { @@ -221,6 +221,8 @@ export struct PlayUIComponent {
221 top: 1, 221 top: 1,
222 right: 4, 222 right: 4,
223 bottom: 1 223 bottom: 1
  224 + }).margin({
  225 + left: this.displayDirection == DisplayDirection.VIDEO_HORIZONTAL ? '34vp' : 0
224 }) 226 })
225 } 227 }
226 } 228 }