diff --git a/template/uni-app/components/productConSwiper/index.vue b/template/uni-app/components/productConSwiper/index.vue index e930b0280..b03e8d2ce 100644 --- a/template/uni-app/components/productConSwiper/index.vue +++ b/template/uni-app/components/productConSwiper/index.vue @@ -91,7 +91,7 @@ // #endif }, videoIsPause() { - console.log('stop') + this.videoContext = uni.createVideoContext('myVideo', this); this.videoContext.pause(); }, bindPause: function() { diff --git a/template/uni-app/pages/goods_cate/goods_cate1.vue b/template/uni-app/pages/goods_cate/goods_cate1.vue index 407b13694..a432e3089 100644 --- a/template/uni-app/pages/goods_cate/goods_cate1.vue +++ b/template/uni-app/pages/goods_cate/goods_cate1.vue @@ -53,8 +53,8 @@ - - + + diff --git a/template/uni-app/pages/goods_details/index.vue b/template/uni-app/pages/goods_details/index.vue index 6c28338a4..f534d1028 100644 --- a/template/uni-app/pages/goods_details/index.vue +++ b/template/uni-app/pages/goods_details/index.vue @@ -830,7 +830,6 @@ ); }, scroll(e) { - this.$refs.proSwiper.videoPause() var that = this, scrollY = e.detail.scrollTop; var opacity = scrollY / 200; @@ -840,6 +839,7 @@ that.$set(that, "showAnimate", false); that.$set(that, "showMenuIcon", false); that.$set(that, 'currentPage', false); + this.$refs.proSwiper.videoIsPause() if (that.lock) { that.$set(that, "lock", false); return; @@ -1213,6 +1213,7 @@ this.$set(productAttr[i], "index", value[i]); } //sort();排序函数:数字-英文-汉字; + let productSelect = this.productValue[value.join(",")]; if (productSelect && productAttr.length) { this.$set( diff --git a/template/uni-app/pages/order_addcart/order_addcart.vue b/template/uni-app/pages/order_addcart/order_addcart.vue index 3cdf66168..45d979584 100644 --- a/template/uni-app/pages/order_addcart/order_addcart.vue +++ b/template/uni-app/pages/order_addcart/order_addcart.vue @@ -144,8 +144,8 @@ - - + + diff --git a/template/uni-app/pages/user/index.vue b/template/uni-app/pages/user/index.vue index 9f97b9a73..cf502705b 100644 --- a/template/uni-app/pages/user/index.vue +++ b/template/uni-app/pages/user/index.vue @@ -272,8 +272,8 @@ - - + + diff --git a/template/uni-app/pages/users/user_address/index.vue b/template/uni-app/pages/users/user_address/index.vue index 6f5156176..399ef4626 100644 --- a/template/uni-app/pages/users/user_address/index.vue +++ b/template/uni-app/pages/users/user_address/index.vue @@ -166,14 +166,14 @@ }); that.district[this.valueRegion[0]].c.forEach((item, i) => { if (this.region[1] == item.c) { - this.valueRegio[1] = i + this.valueRegion[1] = i this.multiIndex[1] = i } city.push(item.n); }); that.district[this.valueRegion[0]].c[this.valueRegion[1]].c.forEach((item, i) => { if (this.region[2] == item.c) { - this.valueRegio[2] = i + this.valueRegion[2] = i this.multiIndex[2] = i } area.push(item.n);