Commit 6b6fc4fb authored by jyx's avatar jyx

代码优化

parent 6f528c20
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
onShow() { onShow() {
// 从VIP页面返回关闭弹框 // 从VIP页面返回关闭弹框
this.down() this.down()
this.getData() // this.getData()
}, },
methods: { methods: {
paySuccess() { paySuccess() {
...@@ -218,12 +218,12 @@ ...@@ -218,12 +218,12 @@
navigateTo(`/pagesA/vipPay/vipPay`) navigateTo(`/pagesA/vipPay/vipPay`)
}, },
timeupdate(event) { timeupdate(event) {
// if (event.detail.currentTime > 0 && this.originList[this.originIndex].lock) { // 自动播放下一集
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).seek(0); if (event.detail.currentTime > 0 && this.originList[this.originIndex].lock) {
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).pause(); uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).seek(0);
uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).pause();
// this.unlock(this.originIndex) this.unlock(this.originIndex)
// } }
}, },
selectThisVideo(index) { selectThisVideo(index) {
this.down(); this.down();
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
]; ];
this.displaySwiperList = displayList; this.displaySwiperList = displayList;
audo.pause() // audo.pause()
if (this.oid >= this.originList.length) { if (this.oid >= this.originList.length) {
this.oid = 0 this.oid = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment