diff --git a/src/pages/order/detail.vue b/src/pages/order/detail.vue index e8ccaf1..a066cc4 100644 --- a/src/pages/order/detail.vue +++ b/src/pages/order/detail.vue @@ -47,7 +47,7 @@ :key="index" class="item-row" > - {{ item.productName }}\n{{ item.productSpec || '-' }}\n{{ item.length || '-' }}x{{ item.width || '-' }} + {{ item.productName }}{{ item.productSpec ? ' ' + item.productSpec : '' }}\n{{ item.length || '-' }}x{{ item.width || '-' }} {{ calcArea(item) }} {{ item.quantity }} ¥{{ item.price }} @@ -373,6 +373,15 @@ export default { line-height: 1.6; } +.item-name-text { + color: #333; + font-weight: 500; +} + +.item-spec-text { + color: #999; +} + .item-area { flex: 1.2; text-align: center;