Commit e485bbf1 by Hantao

style(coupon): 调整优惠券卡片样式高度和层级

- 增加主内容区高度以改善视觉平衡
- 微调背景和边框元素尺寸及定位
- 降低详情区域z-index避免层级冲突
- 调整详情区域上边距保持布局紧凑
parent c66ce156
...@@ -223,7 +223,7 @@ const toggleExpand = (coupon) => { ...@@ -223,7 +223,7 @@ const toggleExpand = (coupon) => {
.coupon-main { .coupon-main {
width: 100%; width: 100%;
height: 180rpx; height: 200rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
...@@ -232,21 +232,22 @@ const toggleExpand = (coupon) => { ...@@ -232,21 +232,22 @@ const toggleExpand = (coupon) => {
.coupon-bg { .coupon-bg {
width: 704rpx; width: 704rpx;
height: 180rpx; height: 190rpx;
position: absolute; position: absolute;
z-index: 1; z-index: 1;
} }
.coupon-border { .coupon-border {
width: 660rpx; width: 660rpx;
height: 132rpx; height: 158rpx;
position: absolute; position: absolute;
z-index: 2; z-index: 2;
top: 20rpx;
} }
.coupon-content { .coupon-content {
width: 660rpx; width: 660rpx;
height: 132rpx; height: 146rpx;
position: relative; position: relative;
z-index: 3; z-index: 3;
display: flex; display: flex;
...@@ -384,8 +385,8 @@ const toggleExpand = (coupon) => { ...@@ -384,8 +385,8 @@ const toggleExpand = (coupon) => {
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
z-index: 3; z-index: 1;
margin-top: -10rpx; margin-top: -20rpx;
.detail-row { .detail-row {
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment