wuyanan

fix |> 修复竖屏直播直播流加载失败背景色不正确问题

@@ -148,6 +148,11 @@ export struct DetailPlayVLivePage { @@ -148,6 +148,11 @@ export struct DetailPlayVLivePage {
148 .width('100%') 148 .width('100%')
149 .blur(100) 149 .blur(100)
150 .renderFit(RenderFit.RESIZE_COVER) 150 .renderFit(RenderFit.RESIZE_COVER)
  151 + RelativeContainer()
  152 + .backgroundColor(Color.Black)
  153 + .visibility(this.isPlayerError ? Visibility.Visible :
  154 + Visibility.None)
  155 +
151 // 直播结束且无回看 156 // 直播结束且无回看
152 if (this.liveState === 'end' && StringUtils.isEmpty(this.playUrl)) { 157 if (this.liveState === 'end' && StringUtils.isEmpty(this.playUrl)) {
153 PlayerEndView() 158 PlayerEndView()