From 6df829cf90152d538c842aa3a6027579392ed91d Mon Sep 17 00:00:00 2001 From: Agent Date: Wed, 1 Apr 2026 15:24:27 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=95=86=E5=93=81=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE=EF=BC=8C?= =?UTF-8?q?=E4=BB=85=E4=B8=8A=E6=9E=B6=E5=95=86=E5=93=81=E5=8F=AF=E7=BC=96?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E7=8A=B6=E6=80=81=E6=94=B9=E4=B8=BA=E5=B7=B2?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6/=E5=B7=B2=E4=B8=8B=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/product/manage.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index c3d3716..eb86582 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -33,7 +33,7 @@ :key="item.productId" class="product-item" > - + {{ item.name }} {{ item.categoryName }} @@ -45,11 +45,14 @@ - {{ item.status === 1 ? '上架' : '下架' }} + {{ item.status === 1 ? '已上架' : '已下架' }} + + 编辑 + {{ item.status === 1 ? '下架' : '上架' }} @@ -525,6 +528,11 @@ export default { margin-bottom: 10rpx; } +.action-btn.edit { + background: #f0f5ff; + color: #667eea; +} + .action-btn.delete { background: #fff1f0; color: #ff4d4f;