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;