Przeglądaj źródła

fix:下单增加加载过渡

xyh8905170 2 lat temu
rodzic
commit
953584cc17
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      orderPages/storeService/index.vue

+ 4 - 1
orderPages/storeService/index.vue

@@ -356,9 +356,12 @@
 					return;
 				}
 				this.requestStatus = true
-
+        uni.showLoading({
+          title: '加载中'
+        });
 				this.$api.commonGeneralOrder(this.orderParam).then(res => {
 					this.requestStatus = false
+          uni.hideLoading();
 					uni.switchTab({
 						url: '/pages/order/index'
 					})