Commit 5e14a695 authored by zhengke's avatar zhengke

修改

parent 5e660ce2
......@@ -254,7 +254,6 @@
// 滑动切换
handleSlider(e) {
let curIndex = e.detail.current
console.log(curIndex);
if(curIndex>0){
this.videoContextList[curIndex-1].pause()
}
......@@ -267,12 +266,12 @@
this.videoIndex = curIndex;
console.log(this.vlist,'this.vlist');
this.comGoodImg = this.vlist[this.curIndex].picUrl;
this.comGoodTitle = this.vlist[this.curIndex].name;
this.comGoodPrice = this.vlist[this.curIndex].price;
this.GoodsId = this.vlist[this.curIndex].id;
this.comGoodImg = this.vlist[curIndex].picUrl;
this.comGoodTitle = this.vlist[curIndex].name;
this.comGoodPrice = this.vlist[curIndex].price;
this.GoodsId = this.vlist[curIndex].id;
this.sku = this.vlist[this.curIndex];
this.sku = this.vlist[curIndex];
let xz = this.vlist.length - e.detail.current;
if (xz == 1) {
......@@ -325,12 +324,6 @@
this.GoodsId = this.goodObj.id;
this.sku = obj;
this.videoContextList.push(uni.createVideoContext('myVideo0', this));
// this.videoContextList = []
// console.log(this.vlist,'vlist');
// for (var i = 0; i < this.vlist.length; i++) {
// }
console.log(this.videoContextList,'第一次加载');
} else {
}
......
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