From-wh 2 лет назад
Родитель
Сommit
f25d936c4d
2 измененных файлов с 717 добавлено и 728 удалено
  1. 5 11
      template/uni-app/pages/goods/cashier/index.vue
  2. 712 717
      template/uni-app/pages/users/user_payment/index.vue

+ 5 - 11
template/uni-app/pages/goods/cashier/index.vue

@@ -505,17 +505,11 @@
 
 
 						case 'ALIPAY_PAY':
 						case 'ALIPAY_PAY':
 							//#ifdef H5
 							//#ifdef H5
-							if (this.from === 'weixin') {
-								uni.redirectTo({
-									url: `/pages/users/alipay_invoke/index?id=${orderId}&pay_key=${res.data.result.pay_key}`
-								});
-							} else {
-								uni.hideLoading();
-								that.formContent = res.data.result.jsConfig;
-								that.$nextTick(() => {
-									document.getElementById('alipaysubmit').submit();
-								})
-							}
+							uni.hideLoading();
+							that.formContent = res.data.result.jsConfig;
+							that.$nextTick(() => {
+								document.getElementById('alipaysubmit').submit();
+							})
 							//#endif
 							//#endif
 							// #ifdef MP
 							// #ifdef MP
 							uni.navigateTo({
 							uni.navigateTo({

Разница между файлами не показана из-за своего большого размера
+ 712 - 717
template/uni-app/pages/users/user_payment/index.vue