Browse Source

新增订单空状态

shenjj 7 years ago
parent
commit
f93c1912f4
1 changed files with 8 additions and 0 deletions
  1. 8 0
      pages/mobile/order/index.vue

+ 8 - 0
pages/mobile/order/index.vue

@@ -120,6 +120,11 @@
         </div>
       </li>
     </ul>
+    <div v-if="orderList.length === 0" class="com-none-state">
+      <img src="/images/mobile/@2x/search-empty.png">
+      <p>抱歉,暂无订单消息</p>
+      <nuxt-link to="/">返回首页</nuxt-link>
+    </div>
     <div v-if="getOrderList && false"></div>
     <!-- 发货弹窗 -->
     <div class="mobile-modal" v-if="showSend" @touchmove="preventTouchMove($event)">
@@ -1301,5 +1306,8 @@
     margin-right: 0.1rem;
     border-radius: 3px;
   }
+  .com-none-state{
+    background: #f1f3f6
+  }
 }
 </style>