diff --git a/template/uni-app/pages/goods/cashier/index.vue b/template/uni-app/pages/goods/cashier/index.vue index d4739c654..1b3d031b4 100644 --- a/template/uni-app/pages/goods/cashier/index.vue +++ b/template/uni-app/pages/goods/cashier/index.vue @@ -518,11 +518,17 @@ case 'ALIPAY_PAY': //#ifdef H5 - uni.hideLoading(); - that.formContent = res.data.result.jsConfig; - that.$nextTick(() => { - document.getElementById('alipaysubmit').submit(); - }) + uni.hideLoading(); + that.$util.Tips({ + title: that.$t(`等待支付中`) + }, { + tab: 4, + url: goPages + '&status=0' + }); + that.formContent = res.data.result.jsConfig; + setTimeout(() => { + document.getElementById('alipaysubmit').submit(); + }, 1500); //#endif // #ifdef MP uni.navigateTo({