Commit 6b6fc4fb authored by jyx's avatar jyx

代码优化

parent 6f528c20
......@@ -191,7 +191,7 @@
onShow() {
// 从VIP页面返回关闭弹框
this.down()
this.getData()
// this.getData()
},
methods: {
paySuccess() {
......@@ -218,12 +218,12 @@
navigateTo(`/pagesA/vipPay/vipPay`)
},
timeupdate(event) {
// if (event.detail.currentTime > 0 && this.originList[this.originIndex].lock) {
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).seek(0);
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).pause();
// this.unlock(this.originIndex)
// }
// 自动播放下一集
if (event.detail.currentTime > 0 && this.originList[this.originIndex].lock) {
uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).seek(0);
uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).pause();
this.unlock(this.originIndex)
}
},
selectThisVideo(index) {
this.down();
......@@ -357,7 +357,7 @@
];
this.displaySwiperList = displayList;
audo.pause()
// audo.pause()
if (this.oid >= this.originList.length) {
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