From 81f60ba8a1ea5bcb9387aaf7137df9a8b1f76549 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Wed, 13 Sep 2023 16:38:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/mentioned.vue | 262 +++++++++++++++------------- components/plantConSwiper/index.vue | 17 +- 2 files changed, 153 insertions(+), 126 deletions(-) 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