From e2ccd09ce00b1c5bea564d1ec35f7598e45ce2ec Mon Sep 17 00:00:00 2001
From: liudan <18634735655@163.com>
Date: Tue, 4 Jul 2023 22:15:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/shopro-coupon/shopro-coupon.vue | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/components/shopro-coupon/shopro-coupon.vue b/components/shopro-coupon/shopro-coupon.vue
index 0fca5ee..59a9402 100644
--- a/components/shopro-coupon/shopro-coupon.vue
+++ b/components/shopro-coupon/shopro-coupon.vue
@@ -22,6 +22,7 @@
仅剩{{ stock }}张
+
@@ -105,18 +106,27 @@ export default {
}
// 未领取,已领取
.coupon-wrap {
- mask: url($IMG_URL+'/imgs/coupon_bg1.png');
- -webkit-mask-box-image: url($IMG_URL+'/imgs/coupon_bg1.png');
- mask-size: 100% 100%;
+ // mask: url($IMG_URL+'/imgs/coupon_bg1.png');
+ // -webkit-mask-box-image: url($IMG_URL+'/imgs/coupon_bg1.png');
+ // mask-size: 100% 100%;
position: relative;
border-radius: 10rpx;
width: 710rpx;
height: 170rpx;
- background: linear-gradient(to right, $u-type-warning-disabled, $u-type-warning);
+ // background: linear-gradient(to right, $u-type-warning-disabled, $u-type-warning);
+ .imageStyle{
+ position:absolute;
+ top:0;
+ left:0;
+ width:100%;
+ height:100%;
+ }
.coupon-item {
width: 100%;
height: 168rpx;
border-radius: 10rpx;
+ position: relative;
+ z-index:999;
.coupon-left {
height: 100%;