فهرست منبع

超级会员版本 订单划线价格修改

zhengjinyi 3 سال پیش
والد
کامیت
abdb47d625
1فایلهای تغییر یافته به همراه9 افزوده شده و 14 حذف شده
  1. 9 14
      pages/user/member/member-pay.vue

+ 9 - 14
pages/user/member/member-pay.vue

@@ -79,6 +79,7 @@ export default {
 			buttonText: '使用微信支付',
 			btnColor: '#09BB07',
 			handelPayMsg: {},
+			payType:0,
 			payParams: {
 				vipId: 0,
 				code: 0,
@@ -177,23 +178,17 @@ export default {
 		},
 		BuildCatenate() {
 			// 生成网银支付链接
-			this.isShowTip = true
-			// this.PayService.PayOrderPayLink(
-			// 	{
-			// 		unpaidAmount:this.payAmount,
-			// 		orderId:this.orderId,
-			// 		payType:this.payType,
-			// 	}
-			// ).then(response =>{
-			// 	this.payHttpUrl = response.data
-			// 	this.isShowTip = true
-			// }).catch(error =>{
-			// 	this.$util.msg(error.msg,2000)
-			// })
+			this.PayService.PayOrderPayLink({
+				vipId: this.payParams.vipId,
+				payType: this.payType
+			}).then(response => {
+				this.payHttpUrl = response.data
+				this.isShowTip = true
+			})
 		},
 		tabClick(index) {
 			//tab切换
-			this.tabCurrentIndex = index
+			this.tabCurrentIndex = this.payType = index
 			switch (index) {
 				case 0:
 					this.btnColor = '#09BB07'