shish il y a 3 ans
Parent
commit
1ad6038404
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      ghsApp/src/admin/home/components/OrderItem.vue

+ 12 - 0
ghsApp/src/admin/home/components/OrderItem.vue

@@ -12,6 +12,7 @@
           <view class="other-refund" v-if="item.refund==2">有退款</view>
           <view class="other-status" v-if="item.debt == 1">欠款</view>
           <text class="other-book" v-if="item.book == 1" >预订单</text>
+          <text class="other-presell" v-if="item.presell == 1" >预售单</text>
           <view :class="['status',item.status == '4' ? 'buleColor' : item.status == '1' ? 'defColor' : '']">{{ statusFormat(item.status) }}</view>
         </view>
         <view class="order-list_info">
@@ -143,6 +144,17 @@ export default {
     font-weight: 650;
     margin-left: 15upx;
   }
+  & > .other-presell{
+    flex: 1.5;
+    text-align: center;
+    color: white;
+    border:1upx solid #059240;
+    border-radius:30upx;
+    padding:5upx 10upx;
+    font-size:20upx;
+    background:#059240;
+    margin-right:20upx;
+  }
   & > .other-book{
     flex: 1.5;
     text-align: center;