|
|
@@ -1,6 +1,6 @@ |
|
|
|
<template>
|
|
|
|
<view class="selectCar-box">
|
|
|
|
<view class="item" v-for="(item,i) in state.list" :key="i">
|
|
|
|
<view v-if="state.list.length>0" class="item" v-for="(item,i) in state.list" :key="i">
|
|
|
|
<view class="iten-left">
|
|
|
|
<image :src="`${$imgUrl}che.png`" mode=""></image>
|
|
|
|
<text>{{item.vehiclePlate}}</text>
|
|
|
@@ -9,7 +9,9 @@ |
|
|
|
<view class="active" v-if="flag==i">
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<view v-else class="flex">
|
|
|
|
暂无车辆订单信息
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
@@ -42,18 +44,18 @@ |
|
|
|
} from "@/utils/storage";
|
|
|
|
import {
|
|
|
|
stringToJson
|
|
|
|
} from "@/utils/network/encryption"; |
|
|
|
|
|
|
|
const state = reactive({ |
|
|
|
list:[] |
|
|
|
} from "@/utils/network/encryption";
|
|
|
|
|
|
|
|
const state = reactive({
|
|
|
|
list: []
|
|
|
|
});
|
|
|
|
onLoad(() => {
|
|
|
|
quanCheckActionTrue().then((item :any) => { |
|
|
|
quanCheckActionTrue().then((item: any) => {
|
|
|
|
state.list = item.data
|
|
|
|
console.log(item)
|
|
|
|
})
|
|
|
|
});
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
const quanCheckActionTrue = () => {
|
|
|
|
var data = {
|
|
|
|
opId: getItem(StorageKeys.OpenId),
|
|
|
@@ -88,10 +90,9 @@ |
|
|
|
])
|
|
|
|
const flag = ref('0')
|
|
|
|
|
|
|
|
const choose = (i, item) => {
|
|
|
|
flag.value = i
|
|
|
|
console.log("选择得数据", item);
|
|
|
|
navTo('/after-sale/card-loss-reporting/cardloss-confirm')
|
|
|
|
const choose = (i, item) => { |
|
|
|
console.log(item.cardId)
|
|
|
|
navTo(`/pages/recharge/recharge?cardId=${item.cardId}`)
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
@@ -102,7 +103,11 @@ |
|
|
|
background-color: #EEF7F7;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.flex{ |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
}
|
|
|
|
.selectCar-box {
|
|
|
|
// width: 100%;
|
|
|
|
height: 100%;
|