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 => {