From a17ce3dfc0078a5bb7249d47a5b2a6216cc20074 Mon Sep 17 00:00:00 2001 From: liugongyu <290219706@qq.com> Date: Tue, 30 May 2023 17:34:12 +0800 Subject: [PATCH] 宣化 小票码 --- src/components/carPlateNum.vue | 782 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/components/navigation.vue | 4 ++-- src/components/parkRecord.vue | 5 +++-- src/router/index.js | 6 ++++++ src/utils/request.js | 2 +- src/utils/utils.js | 2 +- 6 files changed, 795 insertions(+), 6 deletions(-) create mode 100644 src/components/carPlateNum.vue diff --git a/src/components/carPlateNum.vue b/src/components/carPlateNum.vue new file mode 100644 index 0000000..299a8ba --- /dev/null +++ b/src/components/carPlateNum.vue @@ -0,0 +1,782 @@ + + + diff --git a/src/components/navigation.vue b/src/components/navigation.vue index 0f77394..02f260a 100644 --- a/src/components/navigation.vue +++ b/src/components/navigation.vue @@ -97,11 +97,11 @@ export default { }, openImgUrl(i) { // 点击图片跳转 console.log(i.jumpUrl) - window.open('https://www.baidu.com/') + window.open(i.jumpUrl) }, toPlateNumber() { // 前往输入车牌页面 this.$router.push({ - path: 'plateNumber', + path: 'carPlateNum', } ) diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index e7d6ef9..54485cf 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -15,7 +15,7 @@
-

停车15分钟内无需缴费,请申请离场。

+

停车30分钟内无需缴费,请申请离场。

    @@ -34,7 +34,7 @@

    停车时长:{{ $utils.dateFormat(i.parkDuration)}}

    ¥{{(i.unPayFee/100).toFixed(2)}}

    -

    申请离场

    +

    申请离场

    出场缴费

@@ -241,6 +241,7 @@ export default { if(index==0){ this.parkRecordList(10) }else{ + this.allMoney = 0 this.parkRecordList(30) } }, diff --git a/src/router/index.js b/src/router/index.js index a997302..e0da659 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,6 +15,12 @@ export default new Router({ } }, { + path: '/carPlateNum', + name: 'carPlateNum', + component: () => import("@/components/carPlateNum.vue") + }, + + { path: '/navigation', name: 'navigation', component: navigation diff --git a/src/utils/request.js b/src/utils/request.js index a6e1d58..bab1603 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -13,7 +13,7 @@ const service = axios.create({ // https://dev.renniting.cn/pay/ 赤峰农行测试环境 - baseURL: 'https://pay.lcybc.com/', // url = base url + request url + baseURL: 'https://pay.ccccitd.cc', // url = base url + request url // withCredentials: true, // send cookies when cross-domain requests timeout: 10000 // request timeout }) diff --git a/src/utils/utils.js b/src/utils/utils.js index 4e37a0b..c6e8272 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -123,7 +123,7 @@ export default { myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 - myVxAppId: 'wx2fc33e1e61468928', + myVxAppId: 'wx1489e48e6a547023', // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 // 微信赤峰 appid wx2af2bab90d433c86 // 黄石 appid wxa1a66cc7d263afe6 -- libgit2 0.21.4