From ca36841f5ddc701528bd8c60f3491ebd5034122f Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Wed, 4 Nov 2020 12:11:49 +0100 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E6=8D=A2=E6=BA=90=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=97=B6=EF=BC=8C=E8=AE=B0=E5=BD=95=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=97=B6=E9=97=B4=EF=BC=8C=E6=8D=A2=E6=BA=90=E6=97=B6=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AF=A5=E6=97=B6=E9=97=B4=E3=80=82=E5=90=A6=E5=88=99?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=8D=A2=E6=BA=90=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=EF=BC=8Cthis.xg.currentTime=20=E4=BC=9A=E8=A2=AB=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 8425b2e..b8b8888 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -202,7 +202,8 @@ export default { list: [], history: [], shortcut: [], - other: [] + other: [], + currentTime: 0 }, config: { id: 'xgplayer', @@ -781,10 +782,11 @@ export default { this.right.type = 'other' this.getOtherSites() this.right.show = true + this.right.currentTime = this.xg.currentTime }, async otherItemEvent (e) { // 打开当前播放的剧集index, 定位到当前的时间 - this.video = { key: e.key, info: { id: e.id, name: e.name, site: e.site, index: this.video.info.index, time: this.xg.currentTime } } + this.video = { key: e.key, info: { id: e.id, name: e.name, site: e.site, index: this.video.info.index, time: this.right.currentTime } } }, mtEvent () { setting.find().then(res => {