From 9b6a534de2b152a8721dc31ef817827c7325c4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Wed, 15 Feb 2023 18:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=A8=A1=E7=89=88=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=A8=A1?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/index/diy/components/promotionList.vue | 4 +++- template/uni-app/pages/index/diy/components/swiperBg.vue | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/template/uni-app/pages/index/diy/components/promotionList.vue b/template/uni-app/pages/index/diy/components/promotionList.vue index c5b1bca99..610aa42fe 100644 --- a/template/uni-app/pages/index/diy/components/promotionList.vue +++ b/template/uni-app/pages/index/diy/components/promotionList.vue @@ -153,6 +153,7 @@ /deep/.easy-loadimage image { width: 100%; height: 346rpx; + border-radius: 20rpx 20rpx 0 0; } .pictrue_log { @@ -166,6 +167,7 @@ width: 100%; height: 346rpx; display: block; + border-radius: 20rpx 20rpx 0 0; } .text-info { @@ -224,4 +226,4 @@ } } } - + diff --git a/template/uni-app/pages/index/diy/components/swiperBg.vue b/template/uni-app/pages/index/diy/components/swiperBg.vue index 49f871729..ac51e3a90 100644 --- a/template/uni-app/pages/index/diy/components/swiperBg.vue +++ b/template/uni-app/pages/index/diy/components/swiperBg.vue @@ -84,7 +84,7 @@ let that = this; this.$nextTick((e) => { uni.getImageInfo({ - src: that.setDomain(that.imgUrls[0].img), + src: that.imgUrls[0].img, success: (res) => { if (res && res.height > 0) { // that.$set(that, 'imageH', @@ -244,4 +244,4 @@ display: block; width: 100%; } - +