Showing
2 changed files
with
2 additions
and
3 deletions
| @@ -66,7 +66,7 @@ export struct TopPlayComponent { | @@ -66,7 +66,7 @@ export struct TopPlayComponent { | ||
| 66 | * 更新直播播放数据 | 66 | * 更新直播播放数据 |
| 67 | */ | 67 | */ |
| 68 | updateData() { | 68 | updateData() { |
| 69 | - // 检测等待中的直播预告是否视频资源 | 69 | + // 检测直播等待状态的直播预告是否视频资源 |
| 70 | if (this.contentDetailData.liveInfo && this.contentDetailData.liveInfo.previewType === 1 | 70 | if (this.contentDetailData.liveInfo && this.contentDetailData.liveInfo.previewType === 1 |
| 71 | && this.contentDetailData?.liveInfo?.liveState == 'wait' | 71 | && this.contentDetailData?.liveInfo?.liveState == 'wait' |
| 72 | && this.contentDetailData.liveInfo.previewUrl && | 72 | && this.contentDetailData.liveInfo.previewUrl && |
| @@ -79,7 +79,6 @@ export struct TopPlayComponent { | @@ -79,7 +79,6 @@ export struct TopPlayComponent { | ||
| 79 | if (this.contentDetailData.liveInfo && this.contentDetailData.liveInfo.previewUrl && | 79 | if (this.contentDetailData.liveInfo && this.contentDetailData.liveInfo.previewUrl && |
| 80 | this.contentDetailData.liveInfo.previewUrl.length > 0) { | 80 | this.contentDetailData.liveInfo.previewUrl.length > 0) { |
| 81 | this.previewUrl = this.contentDetailData.liveInfo.previewUrl | 81 | this.previewUrl = this.contentDetailData.liveInfo.previewUrl |
| 82 | - | ||
| 83 | } else if (this.contentDetailData.fullColumnImgUrls && this.contentDetailData.fullColumnImgUrls.length > 0) { | 82 | } else if (this.contentDetailData.fullColumnImgUrls && this.contentDetailData.fullColumnImgUrls.length > 0) { |
| 84 | this.previewUrl = this.contentDetailData.fullColumnImgUrls[0].url | 83 | this.previewUrl = this.contentDetailData.fullColumnImgUrls[0].url |
| 85 | } | 84 | } |
| @@ -179,7 +179,7 @@ export struct VideoChannelPage { | @@ -179,7 +179,7 @@ export struct VideoChannelPage { | ||
| 179 | channelId: item.channelId + '', | 179 | channelId: item.channelId + '', |
| 180 | autoRefresh: this.autoRefresh | 180 | autoRefresh: this.autoRefresh |
| 181 | }) | 181 | }) |
| 182 | - .padding({ top: 40 }) | 182 | + .padding({ top: 55 }) |
| 183 | .backgroundColor(Color.White) | 183 | .backgroundColor(Color.White) |
| 184 | } | 184 | } |
| 185 | }, (item: TopNavDTO) => item.channelId + '') | 185 | }, (item: TopNavDTO) => item.channelId + '') |
-
Please register or login to post a comment