From 6dd1a191d22e8c3dd5ec985e356c495f6332a1ea Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 09 十月 2024 15:54:34 +0800 Subject: [PATCH] update 订单支付-确认收货 --- sub_pages/customer/coupon/coupon.scss | 75 ++++++++++++++++++++++++++++++++++--- 1 files changed, 68 insertions(+), 7 deletions(-) diff --git a/sub_pages/customer/coupon/coupon.scss b/sub_pages/customer/coupon/coupon.scss index 0d195e8..535cc84 100644 --- a/sub_pages/customer/coupon/coupon.scss +++ b/sub_pages/customer/coupon/coupon.scss @@ -3,8 +3,11 @@ .coupont-item.expired { - filter: grayscale(100%); + filter: grayscale(95%); .img-has { + display: unset; + } + .img-out { display: unset; } } @@ -18,10 +21,21 @@ position: absolute; right: -20rpx; top: 20rpx; - background-image: url('../../../static/images/customer/coupon/coupon-has.png'); + background-image: url('@/static/images/customer/coupon/coupon-has.png'); background-size: 100% 100%; width: 264rpx; height: 264rpx; + } + .img-out { + display: none; + position: absolute; + right: 10rpx; + top: -20rpx; + background-image: url('@/static/images/customer/coupon/coupon-out.png'); + background-size: 100% 100%; + width: 196rpx; + height: 124rpx; + } .tip { @@ -40,12 +54,12 @@ .container { z-index: 2; - background-image: url('../../../static/images/customer/coupon/coupon-bg1.png'); + background-image: url('@/static/images/customer/coupon/coupon-bg1.png'); // width: 722rpx; padding: 16rpx 16rpx 16rpx 0rpx; height: 220rpx; position: relative; - + .info-price { width: 180rpx; padding-top: 40rpx; @@ -70,7 +84,7 @@ } .info { - padding-top: 40rpx; + padding-top: 30rpx; .title { font-weight: 600; @@ -78,7 +92,12 @@ color: #333333; line-height: 50rpx; text-align: left; - + position: relative; + .select-coupon{ + position: absolute; + right: 10rpx; + top: -6rpx; + } } .time { @@ -87,7 +106,7 @@ color: #666666; line-height: 40rpx; text-align: left; - margin-top: 40rpx; + margin-top: 20rpx; } } @@ -96,4 +115,46 @@ } + } + // 列表页面 + .coupont-item.all { + margin-top: 20rpx; + + .container { + + .info { + + padding-top: 20rpx; + position: relative; + .title{ + + } + .time { + margin-top: 0rpx; + font-size:24rpx; + min-height: 44rpx; + } + + .button { + width: 150rpx; + height: 46rpx; + // box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(0,0,0,0.14); + border-radius: 24rpx; + border: 2rpx solid rgba(68, 119, 90, 1); + font-weight: 400; + font-size: 24rpx; + color: rgba(68, 119, 90, 1); + line-height: 46rpx; + text-align: center; + // margin-top: 10rpx; + position: absolute; + right: 10rpx; + bottom: 30rpx; + } + } + } + } + // 兑换的页面,不需要tip + .coupont-item.exchange{ + height: 220rpx; } \ No newline at end of file -- Gitblit v1.9.3