diff --git a/src/homePages/reservation/index.vue b/src/homePages/reservation/index.vue
index d3d7336..cb0ba4f 100644
--- a/src/homePages/reservation/index.vue
+++ b/src/homePages/reservation/index.vue
@@ -50,16 +50,30 @@
- 获取验证码
+
-
-
-
+
+
+
+
+
+
+
+
+ 暂未绑定车辆
+ 去绑定
+
+
+
+
{
- hdzcode.value = opt.hdzcode
+ hdzcode.value = opt.hdzcode?opt.hdzcode:''
if(opt.phoneNumber){
formdata.phone = opt.phoneNumber
nuindex.value = 1
@@ -332,7 +347,10 @@
'11:00 - 12:00',
'12:00 - 13:00',
'13:00 - 14:00',
- '14:00 - 15:00'
+ '14:00 - 15:00',
+ '15:00 - 16:00',
+ '16:00 - 17:00',
+ '17:00 - 18:00'
]
])
function timeconfirm(v:any) {
diff --git a/src/minePages/account/index.vue b/src/minePages/account/index.vue
index 6a1647d..d428636 100644
--- a/src/minePages/account/index.vue
+++ b/src/minePages/account/index.vue
@@ -30,10 +30,11 @@
+{{n.tradeTotalAmount/100}}
{{n.tradeTotalAmount/100}}
-{{n.tradeTotalAmount/100}}
-
+
-
+
+
+
+
+
+
+
-
+
+
@@ -69,6 +80,9 @@
import { orderlist,dzbzxq } from '@/utils/service'
import { onShow,onReachBottom } from '@dcloudio/uni-app'
+ import Parent from './parcont.vue'
+ import Item from './item.vue'
+
onShow(() => {
pageNo.value = 1
list.value.splice(0)
@@ -93,10 +107,11 @@
}else if(n == 8){
return '换电完成'
}
+ return ''
}
- //订单状态 1-已创建,2-换电中,3-换电完成,4-充电中,5-充电完成,6-待结算,7-已完成,9-已取消
+ //订单状态 1-已创建,2-换电中,3-换电完成,4-充电中,5-充电完成,6-待支付,7-已完成,9-已取消
const statelist = reactive([
{ name: '全部'},
{ name: '进行中', status:'1,2,3,4,5' },
@@ -106,14 +121,25 @@
let status = ref('nomore') //loadmore loading
+ // {
+ // orderNo:'123456789DV2',
+ // plateNum:'冀A12345D',
+ // stationName:'石家庄1号换电站',
+ // amount:'2000',
+ // status:'2'
+
+ // }
+
let list = ref([])
let pageNo = ref(1)
let stanum = ref('')
+ let isempty = ref(false)
//点击tabs
function tabshand(n:any){
pageNo.value = 1
list.value.splice(0)
stanum.value = n.status
+ isempty.value = false
getlist()
}
function getlist() {
@@ -135,6 +161,8 @@
status.value = 'loadmore'
pageNo.value++
}
+ }else{
+ isempty.value = true
}
})
}
@@ -143,8 +171,9 @@
let bzlist = ref([])
function getbz(orderNo:any) {
bzlist.value.splice(0)
- show.value = true
+
dzbzxq(orderNo).then((rps:any) => {
+ show.value = true
bzlist.value = rps.data
})
}
@@ -153,18 +182,29 @@
show.value = false
}
- function dsta(n:any) {
- if(n == 6){
- return '待支付'
- }
- if(n == 7){
- return '已完成'
- }
- if(n == 9){
- return '已取消'
- }
- return '进行中'
- }
+ const statev =ref({
+ 1:'已创建',
+ 2:'换电中',
+ 3:'换电完成',
+ 4:'充电中',
+ 5:'充电完成',
+ 6:'待支付',
+ 7:'已完成',
+ 9:'已取消'
+ })
+
+ // function dsta(n:any) {
+ // if(n == 6){
+ // return '待支付'
+ // }
+ // if(n == 7){
+ // return '已完成'
+ // }
+ // if(n == 9){
+ // return '已取消'
+ // }
+ // return '进行中'
+ // }
function topay(url:string) {
uni.navigateTo({
@@ -187,13 +227,14 @@
background: #f4f4f4;
}
.content{
- padding-bottom: 30rpx;
+ padding-bottom: 20rpx;
.tabct{
position: fixed;
width: 100%;
box-sizing: border-box;
padding-bottom: 10rpx;
background: #fff;
+ z-index: 99;
}
.lisct{
padding-top: 130rpx;
diff --git a/src/minePages/order/item.vue b/src/minePages/order/item.vue
new file mode 100644
index 0000000..879c21b
--- /dev/null
+++ b/src/minePages/order/item.vue
@@ -0,0 +1,224 @@
+
+
+
+
+ 订单号
+ {{n.orderNo}}
+
+
+ 车牌号
+ {{n.plateNum}}
+
+
+ 换电站
+ {{n.stationName}}
+
+
+ 订单金额
+ {{n.amount/100}}元
+
+
+ 订单状态
+ {{statev[n.status]}}
+
+
+ {{n.orderTime}}
+
+
+ 查看换电步骤
+
+
+
+
+
+
+
+
+
+ 车辆已到达指定位置
+
+
+ 确认换电
+
+
+
+
+
+
+
+
+
+
+
+
+ 去支付
+
+
+
+
+ 确认方向盘是否回正
+ 方向盘未回正可能会对车辆造成损伤!
+
+ 确认方向盘已回正
+
+
+
+
+
+
+ 确认手刹是否放开
+ 手刹未放开可能会对车辆造成损伤!
+
+ 确认手刹已放开
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/minePages/order/parcont.vue b/src/minePages/order/parcont.vue
new file mode 100644
index 0000000..91c9b8f
--- /dev/null
+++ b/src/minePages/order/parcont.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/minePages/payment/index.vue b/src/minePages/payment/index.vue
index 31d1fb8..e31948e 100644
--- a/src/minePages/payment/index.vue
+++ b/src/minePages/payment/index.vue
@@ -24,8 +24,8 @@
余额
- 可用{{totalAmount}}元
- 余额不足,剩余{{totalAmount}}元
+ 可用{{totalAmount/100}}元
+ 余额不足,剩余{{totalAmount/100}}元
暂未开通
diff --git a/src/minePages/recharge/index.vue b/src/minePages/recharge/index.vue
index 94d30bb..d83a7af 100644
--- a/src/minePages/recharge/index.vue
+++ b/src/minePages/recharge/index.vue
@@ -51,14 +51,14 @@