hookehuyr

fix 书籍列表播放时,记录播放锚点

......@@ -86,7 +86,13 @@ export default {
]
})
this.mp = mp;
this.detail = _.cloneDeep(this.item)
this.detail = _.cloneDeep(this.item);
var video = mp.video();
// 监听原生video事件
var _this = this;
video && video.addEventListener('play', function (event) {
_this.handleAction('play', _this.item.id)
});
}, 500);
},
methods: {
......