From c0558ebaea4b385716d52333efe4fc4a3c2336a4 Mon Sep 17 00:00:00 2001
From: liugongyu <290219706@qq.com>
Date: Sat, 11 Jun 2022 21:04:48 +0800
Subject: [PATCH] 下拉框箭头
---
pages/inputCarNumber/inputCarNumber.vue | 687 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pages/parkPay/parkPay.vue | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------
2 files changed, 414 insertions(+), 416 deletions(-)
diff --git a/pages/inputCarNumber/inputCarNumber.vue b/pages/inputCarNumber/inputCarNumber.vue
index 264946a..ecb4c8e 100644
--- a/pages/inputCarNumber/inputCarNumber.vue
+++ b/pages/inputCarNumber/inputCarNumber.vue
@@ -1,346 +1,379 @@
-
+
-
-
-
- 输 入 车 牌 号
- 输入完整车牌号,查询停车信息
-
-
+
+
+
+ 输 入 车 牌 号
+ 输入完整车牌号,查询停车信息
+
+
-
-
-
-
-
-
-
-
-
-
-
- {{ currentInputValue[0] }}
-
-
- {{ currentInputValue[1] }}
-
-
-
- {{ currentInputValue[2] }}
-
-
- {{ currentInputValue[3] }}
-
-
- {{ currentInputValue[4] }}
-
-
- {{ currentInputValue[5] }}
-
-
- {{ currentInputValue[6] }}
-
-
- {{ currentInputValue[7] }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ currentInputValue[0] }}
+
+
+ {{ currentInputValue[1] }}
+
+
+
+ {{ currentInputValue[2] }}
+
+
+ {{ currentInputValue[3] }}
+
+
+ {{ currentInputValue[4] }}
+
+
+ {{ currentInputValue[5] }}
+
+
+ {{ currentInputValue[6] }}
+
+
+ {{ currentInputValue[7] }}
+
+
-
+
-
-
+
+
+
diff --git a/pages/parkPay/parkPay.vue b/pages/parkPay/parkPay.vue
index b722a58..37ffe89 100644
--- a/pages/parkPay/parkPay.vue
+++ b/pages/parkPay/parkPay.vue
@@ -1,72 +1,66 @@
-
- 该车没有停放在该车场
-
-
-
-
- 订单详情
-
-
- 车牌号:{{mycarNumber | tranNull}}
-
-
-
- 停车场:{{parkName | tranNull}}
-
-
-
- 进场时间:{{parkInTime | tranNull}}
-
-
-
- 停车时间:{{staytime | timeFormatter}}
-
-
+
+ 订单详情
+
+
+ 车牌号:{{mycarNumber | tranNull}}
+
+
+
+ 停车场:{{parkName | tranNull}}
+
+
+
+ 进场时间:{{parkInTime | tranNull}}
+
+
+
+ 停车时间:{{staytime | timeFormatter}}
+
+
+
+ 总计费用:{{due |toFixed2}}元
+
+
+
+
- 总计费用:{{due |toFixed2}}元
+ 支付金额
-
-
-
-
- 支付金额
+
+
+ {{orderFee | toFixed2}}
-
-
- {{orderFee | toFixed2}}
-
-
- 元
-
+
+ 元
+
-
+
-
- 支付方法
-
-
-
-
-
-
- 商户余额
-
-
+
+ 支付方法
+
+
+
+
+
+ 商户余额
+
-
-
-
+
+
@@ -85,21 +79,22 @@ export default {
orderFee: '',
// appOrderTimeout:'0',
totalFee: '', //应收
- showFlag: false,
}
},
onLoad(params) {
wx.showShareMenu({
withShareTicket: true
})
- this.mycarNumber = params.carNumber;
- let indexInfo = uni.getStorageSync("indexInfo");
- this.businessId = indexInfo.businessId;
- console.log(this.mycarNumber, this.businessId)
- this.getbBillQueryInfo();
+ let data = JSON.parse(params.optionData)
+ this.mycarNumber = data.carNumber
+ this.parkName = data.parkName;
+ this.parkInTime = data.parkInTime;
+ this.staytime = data.parkDuration;
+ this.due = data.totalFee;
+ this.orderFee = data.unPayFee;
+ this.orderId = data.orderId;
},
onShow() {
-
},
methods: {
payClick() {
@@ -133,36 +128,6 @@ export default {
}, 2000);
})
},
- getbBillQueryInfo() {
- let that = this
- let paramsData = {
- carNumber: that.mycarNumber,
- pageNum: '1',
- pageSize: '10',
- businessId: that.businessId,
- parkState: '10',
- }
- // 获取 接口
- that.$myRequest({
- url: that.$common.queryParkingRecordByCarNumbers,
- method: 'POST',
- data: that.$common.requestSign(paramsData)
- }).then(res => {
- console.log(res.data.dataList[0])
- if (res.data.dataList.length > 0) {
- let data = res.data.dataList[0]
- that.parkName = data.parkName;
- that.parkInTime = data.parkInTime;
- that.staytime = data.parkDuration;
- that.due = data.totalFee;
- that.orderFee = data.unPayFee;
- that.orderId = data.orderId;
- that.showFlag = false
- } else {
- that.showFlag = true
- }
- })
- },
}
}
--
libgit2 0.21.4