mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-10 22:15:12 +08:00
停止时亦隐藏(频道列表为空)
This commit is contained in:
@@ -217,7 +217,7 @@
|
||||
</div>
|
||||
</transition>
|
||||
<transition name="slideX">
|
||||
<div v-if="state.showChannelList" class="list" v-clickoutside="closeListEvent">
|
||||
<div v-if="state.showChannelList && channelList && channelList.length > 0" class="list" v-clickoutside="closeListEvent">
|
||||
<div class="list-top">
|
||||
<span class="list-top-title">频道列表</span>
|
||||
<span class="list-top-close zy-svg" @click="state.showChannelList = false">
|
||||
@@ -453,7 +453,7 @@ export default {
|
||||
this.right.show = false
|
||||
this.right.type = ''
|
||||
this.getChannelList()
|
||||
if (this.video.key === '' && !this.isLive && this.channelList?.length > 0) {
|
||||
if (this.video.key === '' && !this.isLive) {
|
||||
this.state.showChannelList = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user