Browse Source

屏蔽贵州银行支付链接

gcz 3 years ago
parent
commit
9792509097
1 changed files with 16 additions and 16 deletions
  1. 16 16
      pages/center/index.vue

+ 16 - 16
pages/center/index.vue

@@ -16,9 +16,9 @@
 		
 		<view class="u-m-t-20">
 			<u-cell-group>	
-				<u-cell-item title="贵州银行支付" @click="guizhouPay()">
+			<!-- 	<u-cell-item title="贵州银行支付" @click="guizhouPay()">
 					<u-icon slot="icon" custom-prefix="custom-icon" size="35" name="wodecheliang"></u-icon>
-				</u-cell-item>
+				</u-cell-item> -->
 				<u-cell-item title="我的车辆" @click="openPage('pages/myCars/myCars')">
 					<u-icon slot="icon" custom-prefix="custom-icon" size="35" name="wodecheliang"></u-icon>
 				</u-cell-item>
@@ -137,21 +137,21 @@
 				});
 			},
 			// 贵州银行支付
-			guizhouPay(){
-				let tradeNo = new Date().getTime();
-				uni.setStorage({
-					key:'gzbankTradeNo',
-					data:tradeNo
-				});
-				this.$u.api.gzbank({orderId:tradeNo,openid:'111'})
-				.then(res=>{
-					let bankLink = res.msg;
-					location.href = bankLink;
-				}).catch(err=>{
-					console.log('gzbank err',err);
-				});
+			// guizhouPay(){
+			// 	let tradeNo = new Date().getTime();
+			// 	uni.setStorage({
+			// 		key:'gzbankTradeNo',
+			// 		data:tradeNo
+			// 	});
+			// 	this.$u.api.gzbank({orderId:tradeNo,openid:'111'})
+			// 	.then(res=>{
+			// 		let bankLink = res.msg;
+			// 		location.href = bankLink;
+			// 	}).catch(err=>{
+			// 		console.log('gzbank err',err);
+			// 	});
 				
-			},// 贵州银行支付
+			// },// 贵州银行支付
 
 		}
 	}