diff --git a/src/pages/product/manage.vue b/src/pages/product/manage.vue index eb86582..f74e6fd 100644 --- a/src/pages/product/manage.vue +++ b/src/pages/product/manage.vue @@ -38,10 +38,15 @@ {{ item.name }} {{ item.categoryName }} - {{ item.spec || '-' }} + + {{ item.spec || '-' }} + /{{ item.unit }} + + + 规格:{{ item.length }} x {{ item.width }} = {{ item.area }} m² + ¥{{ item.price }} - /{{ item.unit }} @@ -474,10 +479,33 @@ export default { .product-spec { font-size: 24rpx; color: #999; - margin-top: 8rpx; display: block; } +.product-row { + display: flex; + align-items: center; + margin-top: 8rpx; +} + +.product-unit { + color: #999; + font-size: 24rpx; + margin-left: 4rpx; +} + +.product-spec-row { + margin-top: 8rpx; +} + +.spec-text { + font-size: 24rpx; + color: #666; + background: #f5f5f5; + padding: 4rpx 12rpx; + border-radius: 4rpx; +} + .product-price { margin-top: 12rpx; }