From c3129c7cee01c2998c909b2768546892a356f04a Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Mon, 14 Dec 2020 17:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4Play=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=9F=90=E4=BA=9B=E5=8F=98=E9=87=8F=E7=9A=84=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 4ffb766..12ecf27 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -99,9 +99,9 @@ - + - + 片头: : @@ -120,7 +120,7 @@ 上次播放到:【{{right.history[0].site}}】{{right.history[0].name}} 第{{right.history[0].index+1}}集 {{fmtMSS(right.history[0].time.toFixed(0))}}/{{fmtMSS(right.history[0].duration.toFixed(0))}} - + 频道列表 @@ -203,10 +203,10 @@ - + 频道列表 - + 关闭 @@ -222,7 +222,7 @@ { this.channelList = res.filter(e => e.isActive) - this.channelListForShow = [] + this.channelTree = [] const groups = [...new Set(this.channelList.map(iptv => iptv.group))] groups.forEach(g => { var doc = { label: g, children: this.channelList.filter(x => x.group === g).map(i => { return { label: i.name, channel: i } }) } - this.channelListForShow.push(doc) + this.channelTree.push(doc) }) }) }, @@ -1433,8 +1433,8 @@ export default { this.xg = null this.name = '' this.isLive = false - this.channelListShow = true - this.showTimeSpanSetting = false + this.state.showChannelList = true + this.state.showTimespanSetting = false this.right.list = [] this.getAllhistory() setTimeout(() => {