From e30cc6a72402e6a0723e6ebba1d6c10b8e5cb3f1 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 18 九月 2024 16:16:47 +0800 Subject: [PATCH] update 花详情的图片样式和积分商品库存为0的 --- pages/home/home.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 25ec768..ba2436c 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -78,7 +78,10 @@ <uni-popup ref="coupon_home" type="center" border-radius="10px 10px 0 0"> <view class="coupon-container" style="width: 690rpx;"> <view class="coupont-item all"> - <view class="flex container img100"> + <!-- <view class="flex container img100"> --> + <!-- <view class="flex container img100" :style="{ backgroundImage: `url(${dto_home_coupon.imageUrl})`, backgroundSize: 'cover', backgroundPosition: 'center', backgroundRepeat: 'no-repeat' }"> --> + <view class="flex container img100" :style="{ backgroundImage: `url(${dto_home_coupon.imageUrl})`, backgroundSize: 'contain', backgroundPosition: 'center', backgroundRepeat: 'no-repeat' }"> + <!-- <view class="flex container img100" :style="{ backgroundImage: `url(${dto_home_coupon.imageUrl})`, backgroundSize: '100%', backgroundPosition: 'center', backgroundRepeat: 'no-repeat' }"> --> <view class="info-price"> <view class="price1"> {{dto_home_coupon.maxDiscountAmount?(`${dto_home_coupon.maxDiscountAmount}折`):(`¥${dto_home_coupon.couponDiscountValue}`)}} -- Gitblit v1.9.3