Commit 5d47daa7e9dfd3f20fdfbcaabb8450a47bdcf453
1 parent
83e732f8
无锡微信公众号
Showing
4 changed files
with
17 additions
and
13 deletions
src/main.js
@@ -19,8 +19,8 @@ import 'mint-ui/lib/style.css' | @@ -19,8 +19,8 @@ import 'mint-ui/lib/style.css' | ||
19 | import { MessageBox } from 'mint-ui' | 19 | import { MessageBox } from 'mint-ui' |
20 | // Vue.use(MessageBox) | 20 | // Vue.use(MessageBox) |
21 | Vue.prototype.$msgbox = MessageBox | 21 | Vue.prototype.$msgbox = MessageBox |
22 | - | ||
23 | - | 22 | +import { Indicator } from 'mint-ui'; |
23 | +Vue.prototype.$Indicator = Indicator | ||
24 | 24 | ||
25 | import { Field } from 'mint-ui'; | 25 | import { Field } from 'mint-ui'; |
26 | 26 |
src/utils/utils.js
@@ -149,12 +149,12 @@ export default { | @@ -149,12 +149,12 @@ export default { | ||
149 | 149 | ||
150 | myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 | 150 | myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 |
151 | 151 | ||
152 | - myVxAppId: 'wx2af2bab90d433c86', | 152 | + myVxAppId: 'wx1e9001e5940605b1', |
153 | // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 | 153 | // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 |
154 | // 微信赤峰 appid wx2af2bab90d433c86 | 154 | // 微信赤峰 appid wx2af2bab90d433c86 |
155 | // 黄石 appid wxa1a66cc7d263afe6 | 155 | // 黄石 appid wxa1a66cc7d263afe6 |
156 | 156 | ||
157 | - myOrgId: '10003', // 归属地 赤峰id 10003 黄石 10079 | 157 | + myOrgId: '10005', // 归属地 赤峰id 10003 黄石 10079 无锡10005 |
158 | 158 | ||
159 | myGetSign: function (objb) { // 获取签名 | 159 | myGetSign: function (objb) { // 获取签名 |
160 | var compare = function (obj1, obj2) { | 160 | var compare = function (obj1, obj2) { |
src/views/parkPay/parkRecord.vue
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | <div v-show="currentTabActive==0"> | 14 | <div v-show="currentTabActive==0"> |
15 | 15 | ||
16 | <div v-if="parkingData.length>0"> | 16 | <div v-if="parkingData.length>0"> |
17 | - <p class="free-tip" v-if="parkingData[0].parkDuration<=2100">停车15分钟内无需缴费,请申请离场。</p> | 17 | + <p class="free-tip" v-if="parkingData[0].parkDuration<=3600">停车1小时内无需缴费,请申请离场。</p> |
18 | 18 | ||
19 | <div class="cost-main" v-for="i in parkingData"> | 19 | <div class="cost-main" v-for="i in parkingData"> |
20 | <ul class="cost-header"> | 20 | <ul class="cost-header"> |
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | <p>停车时长:{{ $utils.dateFormat(i.parkDuration)}}</p> | 33 | <p>停车时长:{{ $utils.dateFormat(i.parkDuration)}}</p> |
34 | <div class="out-wrap"> | 34 | <div class="out-wrap"> |
35 | <p class="mon-wrap">¥{{(i.unPayFee/100).toFixed(2)}}</p> | 35 | <p class="mon-wrap">¥{{(i.unPayFee/100).toFixed(2)}}</p> |
36 | - <p class="out-btn" @click="toPayCurrent(i,parkingData[0].parkDuration)" v-if="parkingData[0].parkDuration<=900">申请离场</p> | 36 | + <p class="out-btn" @click="toPayCurrent(i,parkingData[0].parkDuration)" v-if="parkingData[0].parkDuration<=3600">申请离场</p> |
37 | <p class="out-btn" @click="toPayCurrent(i,parkingData[0].parkDuration)" v-else>出场缴费</p> | 37 | <p class="out-btn" @click="toPayCurrent(i,parkingData[0].parkDuration)" v-else>出场缴费</p> |
38 | </div> | 38 | </div> |
39 | </div> | 39 | </div> |
@@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
129 | { text: '在停缴费', id: 1 }, | 129 | { text: '在停缴费', id: 1 }, |
130 | { text: '欠费待缴', id: 2 }, | 130 | { text: '欠费待缴', id: 2 }, |
131 | ], | 131 | ], |
132 | - carColor: 1,// 车牌颜色 | 132 | + carColor: 0,// 车牌颜色 |
133 | currentTabActive: 0, // 显示当前哪个 | 133 | currentTabActive: 0, // 显示当前哪个 |
134 | carNumber: '', // 车牌号码 | 134 | carNumber: '', // 车牌号码 |
135 | parkingData:[], // 在停数据 | 135 | parkingData:[], // 在停数据 |
@@ -145,7 +145,10 @@ export default { | @@ -145,7 +145,10 @@ export default { | ||
145 | } | 145 | } |
146 | }, | 146 | }, |
147 | mounted(){ | 147 | mounted(){ |
148 | - | 148 | + this.$Indicator.open({ |
149 | + text:'加载中...', | ||
150 | + spinnerType: 'fading-circle', | ||
151 | + }) | ||
149 | 152 | ||
150 | }, | 153 | }, |
151 | created() { | 154 | created() { |
@@ -207,6 +210,7 @@ export default { | @@ -207,6 +210,7 @@ export default { | ||
207 | this.currentTabActive = 1 | 210 | this.currentTabActive = 1 |
208 | this.checkedAll() | 211 | this.checkedAll() |
209 | } | 212 | } |
213 | + this.$Indicator.close() | ||
210 | console.log(this.historyList) | 214 | console.log(this.historyList) |
211 | }) | 215 | }) |
212 | }, | 216 | }, |
src/views/parkPay/plateNumber.vue
@@ -97,7 +97,7 @@ | @@ -97,7 +97,7 @@ | ||
97 | <div class="first-word" | 97 | <div class="first-word" |
98 | @click="selectFirstWord($event)"> | 98 | @click="selectFirstWord($event)"> |
99 | <div class="word"> | 99 | <div class="word"> |
100 | - <span>蒙</span> | 100 | + <span>苏</span> |
101 | </div> | 101 | </div> |
102 | <div class="word"> | 102 | <div class="word"> |
103 | <span>湘</span> | 103 | <span>湘</span> |
@@ -157,7 +157,7 @@ | @@ -157,7 +157,7 @@ | ||
157 | <span>甘</span> | 157 | <span>甘</span> |
158 | </div> | 158 | </div> |
159 | <div class="word"> | 159 | <div class="word"> |
160 | - <span>苏</span> | 160 | + <span>蒙</span> |
161 | </div> | 161 | </div> |
162 | <div class="word"> | 162 | <div class="word"> |
163 | <span>青</span> | 163 | <span>青</span> |
@@ -327,8 +327,8 @@ export default { | @@ -327,8 +327,8 @@ export default { | ||
327 | activeBG:'#0054C0', | 327 | activeBG:'#0054C0', |
328 | formData: { | 328 | formData: { |
329 | commonCard: '1', | 329 | commonCard: '1', |
330 | - num0: '蒙', | ||
331 | - num1: 'D', | 330 | + num0: '苏', |
331 | + num1: 'B', | ||
332 | num2: '', | 332 | num2: '', |
333 | num3: '', | 333 | num3: '', |
334 | num4: '', | 334 | num4: '', |
@@ -352,7 +352,7 @@ export default { | @@ -352,7 +352,7 @@ export default { | ||
352 | submitConfirm: false, | 352 | submitConfirm: false, |
353 | submitConfirmFalse: false, | 353 | submitConfirmFalse: false, |
354 | submitConfirmText: '', | 354 | submitConfirmText: '', |
355 | - swiperData: [], // 轮播数据 | 355 | + // swiperData: [], // 轮播数据 |
356 | boundList:[] // 历史记录 | 356 | boundList:[] // 历史记录 |
357 | } | 357 | } |
358 | }, | 358 | }, |