Browse Source

样式优化

chenrui 4 năm trước cách đây
mục cha
commit
c036863de3
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/views/shop/orderDetail.vue

+ 5 - 0
src/views/shop/orderDetail.vue

@@ -20,6 +20,8 @@
           <p class="item-label">订单总额:</p>
           <p class="item-main">{{ orderDetail.payGold }}乐豆</p>
         </a-col>
+      </a-row>
+      <a-row :gutter="48" v-if="orderDetail">
         <a-col :span="8" class="item-cont">
           <p class="item-label">用户手机:</p>
           <p class="item-main">{{ orderDetail.customerMobile }}</p>
@@ -32,6 +34,8 @@
           <p class="item-label">收货人手机:</p>
           <p class="item-main">{{ orderDetail.receiverPhone }}</p>
         </a-col>
+      </a-row>
+      <a-row :gutter="48" v-if="orderDetail">
         <a-col :span="16" class="item-cont">
           <p class="item-label">收货地址:</p>
           <p class="item-main">{{ orderDetail.receiveAddress }}</p>
@@ -167,6 +171,7 @@ export default {
           display: inline-block;
           flex-grow: 1;
           margin: 0;
+          word-break: break-all;
         }
       }
     }