From 0b9141c17270d83b05d8b51139989644a4b84763 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 12 九月 2024 11:34:31 +0800
Subject: [PATCH] update 会员积分相关的优化

---
 sub_pages/customer/coupon/coupon.scss |   71 +++++++++++++++++++++++++++++++++--
 1 files changed, 66 insertions(+), 5 deletions(-)

diff --git a/sub_pages/customer/coupon/coupon.scss b/sub_pages/customer/coupon/coupon.scss
index 0d195e8..56d4346 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;
 			}
 		}
@@ -22,6 +25,17 @@
 				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 {
@@ -45,7 +59,7 @@
 				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