Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angel-angel-mini-game
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜洋
angel-angel-mini-game
Commits
e485bbf1
Commit
e485bbf1
authored
Feb 09, 2026
by
Hantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(coupon): 调整优惠券卡片样式高度和层级
- 增加主内容区高度以改善视觉平衡 - 微调背景和边框元素尺寸及定位 - 降低详情区域z-index避免层级冲突 - 调整详情区域上边距保持布局紧凑
parent
c66ce156
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
index.vue
src/pages/coupon/index.vue
+7
-6
No files found.
src/pages/coupon/index.vue
View file @
e485bbf1
...
@@ -223,7 +223,7 @@ const toggleExpand = (coupon) => {
...
@@ -223,7 +223,7 @@ const toggleExpand = (coupon) => {
.coupon-main
{
.coupon-main
{
width
:
100%
;
width
:
100%
;
height
:
18
0
rpx
;
height
:
20
0
rpx
;
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
:
704
rpx
;
width
:
704
rpx
;
height
:
1
8
0
rpx
;
height
:
1
9
0
rpx
;
position
:
absolute
;
position
:
absolute
;
z-index
:
1
;
z-index
:
1
;
}
}
.coupon-border
{
.coupon-border
{
width
:
660
rpx
;
width
:
660
rpx
;
height
:
1
32
rpx
;
height
:
1
58
rpx
;
position
:
absolute
;
position
:
absolute
;
z-index
:
2
;
z-index
:
2
;
top
:
20
rpx
;
}
}
.coupon-content
{
.coupon-content
{
width
:
660
rpx
;
width
:
660
rpx
;
height
:
1
32
rpx
;
height
:
1
46
rpx
;
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
:
20
rpx
30
rpx
;
padding
:
20
rpx
30
rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
z-index
:
3
;
z-index
:
1
;
margin-top
:
-
1
0
rpx
;
margin-top
:
-
2
0
rpx
;
.detail-row
{
.detail-row
{
display
:
flex
;
display
:
flex
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment