From ccafc0690a26d7328fb8173ce2de6785b28a2a6c Mon Sep 17 00:00:00 2001 From: ggyy <34892002@qq.com> Date: Wed, 27 May 2026 17:38:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/+Page.vue | 128 +++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 77 deletions(-) diff --git a/pages/index/+Page.vue b/pages/index/+Page.vue index d0f807d..7f4ef71 100644 --- a/pages/index/+Page.vue +++ b/pages/index/+Page.vue @@ -72,77 +72,60 @@ -
-
+
+
- -
- - - border - - -
-
- {{ product.categoryName || 'Basic' }} -
- -
-

- {{ product.name }} -

-
-
- - -
- - -
- -
-
-
-
- - - 查看详情 - -
- - - ➤ + +
+ + + +
- -
-
- {{ product.availableStock === 0 ? '已售罄' : lowStock(product) ? `库存紧张(${product.availableStock})` : '有库存' }} -
-
- 有库存 -
-
- 人工发货 -
-
- ¥ - {{ formatCents(product.price) }} -
+ +
+ +
+ + {{ product.availableStock === 0 ? '已售罄' : lowStock(product) ? `紧张(${product.availableStock})` : '有货' }} + + + 有货 + + + 人工发货 + +

+ {{ product.name }} +

+
+ + +
+ ¥ + {{ formatCents(product.price) }}
@@ -188,13 +171,4 @@ const lowStock = (product: ProductSummary) => { right: -22px; z-index: 2; } -.border-img { - position: absolute; - top: -10px; - pointer-events: none; -} -.reflect-below { - /* 语法: 方向 间距 渐变效果 */ - -webkit-box-reflect: below 2px linear-gradient(transparent, rgba(0,0,0,0.2)); -}