Procházet zdrojové kódy

fix:下单增加加载过渡

xyh8905170 před 2 roky
rodič
revize
953584cc17
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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'
 					})