浏览代码

Merge branch 'develop' of http://git.chelingzhu.com/chelingzhu-web/zxyj-mini-html into develop

chenrui 4 年之前
父节点
当前提交
a016137ae2
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      pages/cart/cart.vue

+ 9 - 0
pages/cart/cart.vue

@@ -81,6 +81,10 @@
 					</view>
 				</u-empty>
 			</view>
+			<view class="loading" v-if="loading">
+				<u-loading :show="loading"></u-loading>
+				<view>正在加载...</view>
+			</view>
 		</view>
 		<view class="cart-submit" v-if="cartList.length>0">
 			<view @click="checkAllChange()">
@@ -372,6 +376,11 @@ page{
 	.noData{
 		padding-top: 150upx;
 	}
+	.loading{
+		display: flex;
+		justify-content: center;
+		padding: 150rpx 0;
+	}
 	.cart-bar{
 		display: flex;
 		justify-content: space-between;