|
@@ -516,9 +516,9 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
uni.setNavigationBarTitle({
|
|
uni.setNavigationBarTitle({
|
|
- title: "停车支付"
|
|
|
|
- })
|
|
|
|
- }, 300)
|
|
|
|
|
|
+ title: '停车支付',
|
|
|
|
+ });
|
|
|
|
+ }, 300);
|
|
console.log('页面被打开了');
|
|
console.log('页面被打开了');
|
|
console.log('订单时间:' + this.orderCreateTime);
|
|
console.log('订单时间:' + this.orderCreateTime);
|
|
// log.info('订单时间:' + this.orderCreateTime);
|
|
// log.info('订单时间:' + this.orderCreateTime);
|
|
@@ -549,7 +549,9 @@ export default {
|
|
|
|
|
|
// 电子券减免(停车券)
|
|
// 电子券减免(停车券)
|
|
this.couponInfo = JSON.parse(uni.getStorageSync('couponInfo'));
|
|
this.couponInfo = JSON.parse(uni.getStorageSync('couponInfo'));
|
|
- this.checkedCouponCount = JSON.parse(uni.getStorageSync('checkedCouponList')).length;
|
|
|
|
|
|
+ this.checkedCouponCount = JSON.parse(
|
|
|
|
+ uni.getStorageSync('checkedCouponList')
|
|
|
|
+ ).length;
|
|
|
|
|
|
// 纸质优惠券
|
|
// 纸质优惠券
|
|
this.paperCouponInfo = JSON.parse(uni.getStorageSync('paperCouponInfo'));
|
|
this.paperCouponInfo = JSON.parse(uni.getStorageSync('paperCouponInfo'));
|
|
@@ -1880,7 +1882,7 @@ export default {
|
|
window.subscribe('wxPayOver', (options) => {
|
|
window.subscribe('wxPayOver', (options) => {
|
|
console.log('微信支付结束之后的返回参数', options);
|
|
console.log('微信支付结束之后的返回参数', options);
|
|
// TODO: 在 qa 新发版前,只提示支付成功的信息
|
|
// TODO: 在 qa 新发版前,只提示支付成功的信息
|
|
- if (options?.wxPayOver === 'fail' && false) {
|
|
|
|
|
|
+ if (options?.wxPayOver === 'fail') {
|
|
console.log('支付失败');
|
|
console.log('支付失败');
|
|
this.failedParkOrder();
|
|
this.failedParkOrder();
|
|
} else {
|
|
} else {
|