diff --git a/index.html b/index.html
index a5a64a9..1722cb1 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
-
微信公众号
+ 停车支付
diff --git a/src/views/parkPay/orderPay.vue b/src/views/parkPay/orderPay.vue
index 03a20af..8612249 100644
--- a/src/views/parkPay/orderPay.vue
+++ b/src/views/parkPay/orderPay.vue
@@ -124,6 +124,48 @@ export default {
}
+ if (this.clientBrowser == '支付宝') { // 支付宝支付
+ let me = this
+ var aliParams = {};
+ aliParams.orderId = this.orderId;
+ aliParams.carNumber = this.carNumber;
+ aliParams.payType = 1;// 1:支付宝 2:微信 3:银联 10:H5 4微信公众号
+ aliParams.terminalSource = 7;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付
+ aliParams.paySrcType = this.paySrcType;//101停车支付
+ aliParams.orgId = this.$utils.myOrgId
+ aliParams.backType = 2
+ aliParams.backDeveloperCode = this.tollNumber
+ aliParams.recordArreaInfos = JSON.stringify(this.orderId);
+ console.log(aliParams)
+ aliPay(aliParams).then(response => {
+ console.log(response)
+ if (response.code == 0) {//进场
+ document.write(response.data);//打开支付表单
+ } else if(response.code == 1002){//其他情况如【该卡号场内已存在】
+ console.log(response.message);
+ MessageBox.confirm('', {
+ message: response.message,
+ title: '温馨提示',
+ showCancelButton:false,
+ confirmButtonText: '确定',
+ }).then(action => {
+ if (action == 'confirm') { //确认的回调
+ console.log('确定');
+ this.$router.go(-1)
+ }
+ }).catch(err => {
+ if (err == 'cancel') { //取消的回调
+ console.log('取消');
+ }
+ });
+ }else{
+ alert(response.message)
+ }
+
+ })
+ }
+
+
if (this.clientBrowser == '微信') { // 微信支付
let _openId = sessionStorage.getItem('openIdData')
if(_openId){