diff --git a/components/mentioned.vue b/components/mentioned.vue index b0a0814..12f0495 100644 --- a/components/mentioned.vue +++ b/components/mentioned.vue @@ -18,28 +18,33 @@ {{item.spu && item.spu.price}} 立即购买 - + - + - - + + + + - - + + \ No newline at end of file diff --git a/components/plantConSwiper/index.vue b/components/plantConSwiper/index.vue index ea15751..b1a9da0 100644 --- a/components/plantConSwiper/index.vue +++ b/components/plantConSwiper/index.vue @@ -1,8 +1,8 @@ @@ -56,8 +56,7 @@ videoContext: '' }; }, - created() { - }, + created() {}, watch: { }, @@ -83,7 +82,7 @@ // #ifdef APP-PLUS this.isPlay = false this.videoContext = uni.createVideoContext('myVideo', this); - this.$nextTick(()=>{ + this.$nextTick(() => { this.videoContext.play(); }) // #endif @@ -102,13 +101,15 @@ height: 710rpx; position: relative; } + .product-bg swiper { width: 100%; height: 100%; position: relative; } + .product-bg .slide-image { - width: 100%; + width: 100vw; height: 100%; border-radius: 16rpx; } @@ -166,4 +167,4 @@ width: 100%; height: 100%; } - + \ No newline at end of file