@@ -68,7 +68,7 @@ | |||||
"text": "首页" | "text": "首页" | ||||
}, | }, | ||||
{ | { | ||||
"pagePath": "pages/passCar/passCar", | |||||
"pagePath": "pages/cartest/cartest", | |||||
"iconPath": "assets/images/pass1.png", | "iconPath": "assets/images/pass1.png", | ||||
"selectedIconPath": "assets/images/pass0.png", | "selectedIconPath": "assets/images/pass0.png", | ||||
"text": "停车" | "text": "停车" | ||||
@@ -2,8 +2,8 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | |||||
var appId = extConfig.appId; | var appId = extConfig.appId; | ||||
var config = { | var config = { | ||||
// url: "https://ciformall.youlane.cn/C/api", | // url: "https://ciformall.youlane.cn/C/api", | ||||
// url:"https://c.malls.iformall.com/C/api", | |||||
url:'https://ctest.malls.iformall.com/C/api', | |||||
url:"https://c.malls.iformall.com/C/api", | |||||
// url:'https://ctest.malls.iformall.com/C/api', | |||||
// url:'http://10.100.33.70:7000/C/api', | // url:'http://10.100.33.70:7000/C/api', | ||||
// url: 'http://202.165.179.86:4000/C/api', | // url: 'http://202.165.179.86:4000/C/api', | ||||
api: { | api: { | ||||
@@ -219,7 +219,7 @@ var config = { | |||||
}, | }, | ||||
weapp: { | weapp: { | ||||
AppId: "wx649b3be73c1afe47" | |||||
AppId: "wx30caec1cc16c4634" | |||||
}, | }, | ||||
ErrorCode: { | ErrorCode: { | ||||
@@ -59,18 +59,18 @@ Page({ | |||||
}, | }, | ||||
gotoetcp:function(){ | gotoetcp:function(){ | ||||
console.log(this.data.extraData) | console.log(this.data.extraData) | ||||
wx.navigateToMiniProgram({ | |||||
appId:'wx192b7d2e8dcbefd0', | |||||
extraData: this.data.extraData, | |||||
envVersion:'release', | |||||
path:"pages/main/main", | |||||
}) | |||||
// wx.navigateToMiniProgram({ | // wx.navigateToMiniProgram({ | ||||
// appId:'wxc07f9d67923d676d', | |||||
// appId:'wx192b7d2e8dcbefd0', | |||||
// extraData: this.data.extraData, | // extraData: this.data.extraData, | ||||
// envVersion:'release', | // envVersion:'release', | ||||
// path: "pages/main/main", | |||||
// path:"pages/main/main", | |||||
// }) | // }) | ||||
wx.navigateToMiniProgram({ | |||||
appId:'wxc07f9d67923d676d', | |||||
extraData: this.data.extraData, | |||||
envVersion:'release', | |||||
path: "pages/main/main", | |||||
}) | |||||
}, | }, | ||||
showquan: function() { | showquan: function() { | ||||
wx.navigateTo({ | wx.navigateTo({ | ||||
@@ -487,10 +487,10 @@ Page({ | |||||
}) | }) | ||||
.catch(err => { | .catch(err => { | ||||
console.log(err) | console.log(err) | ||||
wx.showToast({ | |||||
title: err.message, | |||||
icon:"none" | |||||
}) | |||||
// wx.showToast({ | |||||
// title: err.message, | |||||
// icon:"none" | |||||
// }) | |||||
}) | }) | ||||
}, | }, | ||||
@@ -557,7 +557,7 @@ Page({ | |||||
syncId: res.data.orderId, | syncId: res.data.orderId, | ||||
payType: 6, // 小程序支付 | payType: 6, // 小程序支付 | ||||
CarNumber: carNumber, | CarNumber: carNumber, | ||||
returnUrl: "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback", | |||||
returnUrl: "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback", | |||||
source: "FUMAO-001", | source: "FUMAO-001", | ||||
actionId: "1" //操作ID,1:小程序支付 | actionId: "1" //操作ID,1:小程序支付 | ||||
} | } | ||||
@@ -61,12 +61,12 @@ | |||||
<view class="buy-view" wx:if="{{stopFees.orderId}}"> | <view class="buy-view" wx:if="{{stopFees.orderId}}"> | ||||
<navigator bindfail="bindfail" path="pages/main/main" 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' path="pages/main/main" target="miniProgram" open-type="navigate" app-id="wxc07f9d67923d676d" extra-data='{{extraData}}' version="release"> | |||||
<!-- <navigator bindfail="bindfail" path="pages/main/main" wx:if="{{canIUse}}" class='buy' target="miniProgram" open-type="navigate" app-id="wx192b7d2e8dcbefd0" extra-data='{{extraData}}' version="release"> | |||||
立即支付 | 立即支付 | ||||
</navigator> --> | </navigator> --> | ||||
<navigator wx:if="{{canIUse}}" class='buy' path="pages/main/main" target="miniProgram" open-type="navigate" app-id="wxc07f9d67923d676d" extra-data='{{extraData}}' version="release"> | |||||
立即支付 | |||||
</navigator> | |||||
<view wx:if="{{!canIUse}}" class='buy' bindtap='gotoetcp'>立即支付</view> | <view wx:if="{{!canIUse}}" class='buy' bindtap='gotoetcp'>立即支付</view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -9,7 +9,7 @@ | |||||
</view> | </view> | ||||
<view class='content'> | <view class='content'> | ||||
<view class="tit">Q3.如何获得停车券?</view> | <view class="tit">Q3.如何获得停车券?</view> | ||||
<view class='description'>我们会不定期进行赠送停车券,您可以在支付停车费时使用,记得多多关注“钦州长融世贸广场”微信公众号以及商场信息哦。</view> | |||||
<view class='description'>我们会不定期进行赠送停车券,您可以在支付停车费时使用,记得多多关注商场微信公众号以及商场信息哦。</view> | |||||
</view> | </view> | ||||
<view class='content'> | <view class='content'> | ||||
<view class="tit">Q4.每次可以使用几张停车券?</view> | <view class="tit">Q4.每次可以使用几张停车券?</view> | ||||
@@ -53,7 +53,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</navigator> | </navigator> | ||||
<navigator url="/pages/passCar/passCar" open-type="switchTab"> | |||||
<navigator url="/pages/cartest/cartest" open-type="switchTab"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{cheUrl}}" mode='widthFix'></image>智能停车</view> | <image class='icons' src="{{cheUrl}}" mode='widthFix'></image>智能停车</view> | ||||
@@ -76,7 +76,7 @@ | |||||
<view class="margin"></view> | <view class="margin"></view> | ||||
<!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | ||||
<view bindlongtap='showVersion' class='version'> | <view bindlongtap='showVersion' class='version'> | ||||
<view wx:if="{{flag=='show'}}">版本号:3.4.1</view> | |||||
<view wx:if="{{flag=='show'}}">版本号:3.3.1</view> | |||||
<view wx:if="{{flag=='hidden'}}"></view> | <view wx:if="{{flag=='hidden'}}"></view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -13,7 +13,7 @@ | |||||
}, | }, | ||||
"compileType": "miniprogram", | "compileType": "miniprogram", | ||||
"libVersion": "2.0.9", | "libVersion": "2.0.9", | ||||
"appid": "wx649b3be73c1afe47", | |||||
"appid": "wx30caec1cc16c4634", | |||||
"projectname": "C", | "projectname": "C", | ||||
"isGameTourist": false, | "isGameTourist": false, | ||||
"condition": { | "condition": { | ||||