| 
					
				 | 
			
			
				@@ -70,20 +70,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           goodsId: this.pam.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           userAddress: this.addressInfo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, false).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            title: '支付查询', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            content: '等待支付结果,或直接去订单管理', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            showCancel: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            confirmText: "订单管理", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            success: function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              if (this.timeId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                clearTimeout(this.timeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$navToPage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                url: '/pages/mine/myBuy/list' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           uni.requestPayment({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             provider: 'wxpay', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             timeStamp: res.data.timeStamp, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -91,7 +77,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             package: res.data.payPackage, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             signType: "MD5", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             paySign: res.data.paySign, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            success: () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            success: () => {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            fail: () => {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            complete: () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              var bool_tc = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               var getList = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (this.timeId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   clearTimeout(this.timeId) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,17 +96,28 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       url: '/pages/mine/myBuy/list' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (bool_tc) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      bool_tc = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      uni.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        title: '支付查询', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        content: '等待支付结果', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        showCancel: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        confirmText: "去订单管理", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        success: function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          if (this.timeId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            clearTimeout(this.timeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          this.$navToPage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            url: '/pages/mine/myBuy/list' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.timeId = setTimeout(getList, 1000) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            fail: (ress) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              console.log(ress) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            complete: () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              console.log("失败") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 |