Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
a03176d4
Commit
a03176d4
authored
Oct 29, 2025
by
jt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除商品虚线边框及按钮过渡效果
parent
2b6f19fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
66 deletions
+64
-66
SeckillSection.less
components/SeckillSection.less
+2
-4
SeckillSection.vue
components/SeckillSection.vue
+62
-62
No files found.
components/SeckillSection.less
View file @
a03176d4
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
// 弧形三角形样式 - 使用base64 SVG背景图
// 弧形三角形样式 - 使用base64 SVG背景图
.triangle-left {
.triangle-left {
position: absolute;
position: absolute;
left: -
100
rpx;
left: -
99
rpx;
top: 0;
top: 0;
pointer-events: none;
pointer-events: none;
width: 200rpx;
width: 200rpx;
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
.triangle-right {
.triangle-right {
position: absolute;
position: absolute;
right: -
100
rpx;
right: -
99
rpx;
top: 0;
top: 0;
pointer-events: none;
pointer-events: none;
width: 200rpx;
width: 200rpx;
...
@@ -321,7 +321,6 @@
...
@@ -321,7 +321,6 @@
background: #f5f5f5;
background: #f5f5f5;
border-radius: 18rpx;
border-radius: 18rpx;
margin-bottom: 18rpx;
margin-bottom: 18rpx;
border: 2rpx dashed #e0e0e0;
position: relative;
position: relative;
overflow: hidden;
overflow: hidden;
...
@@ -369,7 +368,6 @@
...
@@ -369,7 +368,6 @@
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
transition: all 0.3s ease;
// 背景色通过内联样式动态设置
// 背景色通过内联样式动态设置
&.disabled {
&.disabled {
...
...
components/SeckillSection.vue
View file @
a03176d4
...
@@ -647,82 +647,82 @@ const generateTestSeckillData = () => {
...
@@ -647,82 +647,82 @@ const generateTestSeckillData = () => {
"priceSale"
:
"200.00"
,
"priceSale"
:
"200.00"
,
"stock"
:
10
"stock"
:
10
},
},
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 150,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 102,
// "goodsName": "测试商品B - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=GoodB"],
// "credits": "150",
// "priceSale": "300.00",
// "stock": 5
// },
// "priceSale": "300.00",
// "stock": 5
// }
],
"sessionKey"
:
"session_1_ongoing"
,
"start"
:
session1Start
},
{
"end"
:
session2End
,
"goods"
:
[
{
"button"
:
{
"key"
:
1
,
"text"
:
"立即抢购"
},
"credits"
:
200
,
"creditsType"
:
"CREDITS"
,
"creditsTypeName"
:
"积分"
,
"goods"
:
{
"id"
:
201
,
"goodsName"
:
"限时秒杀商品A - 正在进行中"
,
"goodsImage"
:
[
"https://via.placeholder.com/150/FF6B35/FFFFFF?text=SeckillA"
],
"credits"
:
"200"
,
"priceSale"
:
"400.00"
,
"stock"
:
15
},
"priceSale"
:
"400.00"
,
"stock"
:
15
},
{
"button"
:
{
"key"
:
1
,
"text"
:
"立即抢购"
},
"credits"
:
300
,
"creditsType"
:
"CREDITS"
,
"creditsTypeName"
:
"积分"
,
"goods"
:
{
"id"
:
202
,
"goodsName"
:
"限时秒杀商品B - 正在进行中"
,
"goodsImage"
:
[
"https://via.placeholder.com/150/4CAF50/FFFFFF?text=SeckillB"
],
"credits"
:
"300"
,
"priceSale"
:
"600.00"
,
"stock"
:
8
},
"priceSale"
:
"600.00"
,
"stock"
:
8
},
{
{
"button"
:
{
"key"
:
1
,
"text"
:
"立即抢购"
},
"button"
:
{
"key"
:
1
,
"text"
:
"立即抢购"
},
"credits"
:
150
,
"credits"
:
150
,
"creditsType"
:
"CREDITS"
,
"creditsType"
:
"CREDITS"
,
"creditsTypeName"
:
"积分"
,
"creditsTypeName"
:
"积分"
,
"goods"
:
{
"goods"
:
{
"id"
:
102
,
"id"
:
203
,
"goodsName"
:
"
测试商品B
- 正在进行中"
,
"goodsName"
:
"
限时秒杀商品C
- 正在进行中"
,
"goodsImage"
:
[
"https://via.placeholder.com/150/
4CAF50/FFFFFF?text=GoodB
"
],
"goodsImage"
:
[
"https://via.placeholder.com/150/
9C27B0/FFFFFF?text=SeckillC
"
],
"credits"
:
"150"
,
"credits"
:
"150"
,
"priceSale"
:
"300.00"
,
"priceSale"
:
"300.00"
,
"stock"
:
5
"stock"
:
12
},
},
"priceSale"
:
"300.00"
,
"priceSale"
:
"300.00"
,
"stock"
:
5
"stock"
:
12
}
}
],
],
"sessionKey"
:
"session_
1
_ongoing"
,
"sessionKey"
:
"session_
2
_ongoing"
,
"start"
:
session
1
Start
"start"
:
session
2
Start
},
},
// {
// {
// "end": session2End,
// "goods": [
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 200,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 201,
// "goodsName": "限时秒杀商品A - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/FF6B35/FFFFFF?text=SeckillA"],
// "credits": "200",
// "priceSale": "400.00",
// "stock": 15
// },
// "priceSale": "400.00",
// "stock": 15
// },
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 300,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 202,
// "goodsName": "限时秒杀商品B - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/4CAF50/FFFFFF?text=SeckillB"],
// "credits": "300",
// "priceSale": "600.00",
// "stock": 8
// },
// "priceSale": "600.00",
// "stock": 8
// },
// {
// "button": {"key": 1, "text": "立即抢购"},
// "credits": 150,
// "creditsType": "CREDITS",
// "creditsTypeName": "积分",
// "goods": {
// "id": 203,
// "goodsName": "限时秒杀商品C - 正在进行中",
// "goodsImage": ["https://via.placeholder.com/150/9C27B0/FFFFFF?text=SeckillC"],
// "credits": "150",
// "priceSale": "300.00",
// "stock": 12
// },
// "priceSale": "300.00",
// "stock": 12
// }
// ],
// "sessionKey": "session_2_ongoing",
// "start": session2Start
// },
// {
// "end": session3End,
// "end": session3End,
// "goods": [
// "goods": [
// {
// {
...
...
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