소스 검색

长融世贸广场-2.2.3 支持停车二维码

tags/2.2.4
Stormeye.Wu 6 년 전
부모
커밋
f91055a217
4개의 변경된 파일13개의 추가작업 그리고 51개의 파일을 삭제
  1. +1
    -1
      config/config.js
  2. +8
    -46
      pages/passCar/passCar.js
  3. +2
    -2
      pages/passCar/passCar.wxml
  4. +2
    -2
      project.config.json

+ 1
- 1
config/config.js 파일 보기

@@ -161,7 +161,7 @@ var config = {
},

weapp: {
AppId: "wx649b3be73c1afe47"
AppId: "wx026ee7f6290aa336"
},
ErrorCode: {
NICK_NOT_AUTH: 11004,


+ 8
- 46
pages/passCar/passCar.js 파일 보기

@@ -45,18 +45,18 @@ Page({
})
},
gotoetcp:function(){
/*
wx.navigateToMiniProgram({
appId:'wx192b7d2e8dcbefd0',
extraData: this.data.extraData,
envVersion:'release'
})
/*
*/
wx.navigateToMiniProgram({
appId:'wxc07f9d67923d676d',
extraData: this.data.extraData,
envVersion:'release'
})
*/
},
showquan: function() {
wx.navigateTo({
@@ -119,13 +119,13 @@ Page({
title: weapNote.carpage.title
})
});
// 登录
var scene = decodeURIComponent(options.scene);
that.setData({
scene: scene
});
app.getLocation();
// 登录
var scene = decodeURIComponent(options.scene);
that.setData({
scene: scene
});
if (app.globalData.token){}else{
app.getLocation();
that.userLogin()
}
},
@@ -377,44 +377,6 @@ Page({
app.parkInitCallback(app.globalData.token);
}
},
/**
* 绑定车牌
*/
// bindCar: function(carNum) {
// var that = this;
// // ETCP
// var etcpData = {
// etcpToken: app.globalData.etcpToken,
// carNumber: carNum
// };
// var tjdData = {
// carNumber: carNum
// };
// var postData = app.globalData.parkVendor == 1 ? etcpData : tjdData;
// Http.post({
// url: config.api.bindCar,
// data: postData
// })
// .then(res => {
// console.log(res);
// // that.initUsrCarList();
// wx.showModal({
// title: "提示",
// showCancel: false,
// content: "绑车牌成功!",
// success: function() {}
// });
// })
// .catch(error => {
// console.log(error);
// wx.showModal({
// title: "提示",
// showCancel: false,
// content: error.message,
// success: function() {}
// });
// });
// },
bindCar: function (carNum) {
var that = this;


+ 2
- 2
pages/passCar/passCar.wxml 파일 보기

@@ -61,14 +61,14 @@


<view class="buy-view" wx:if="{{stopFees.orderId}}">
<!--
<navigator wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wx192b7d2e8dcbefd0" extra-data='{{extraData}}' version="release">
立即支付
</navigator>
<!--
-->
<navigator wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wxc07f9d67923d676d" extra-data='{{extraData}}' version="release">
立即支付
</navigator>
-->
<view wx:if="{{!canIUse}}" class='buy' bindtap='gotoetcp'>立即支付</view>
</view>
</view>


+ 2
- 2
project.config.json 파일 보기

@@ -12,8 +12,8 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wx649b3be73c1afe47",
"projectname": "%E5%AF%8C%E8%8C%82%E9%93%BE%E5%AE%A2",
"appid": "wx026ee7f6290aa336",
"projectname": "C",
"isGameTourist": false,
"condition": {
"search": {


불러오는 중...
취소
저장