|
|
@@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<view > |
|
|
|
<view v-if="state.list.length!=0"> |
|
|
|
<view class="car-item" v-for="(item,index) in state.list"> |
|
|
|
<image :src="`${$imgUrl}user/icon-car.png`" class="car-pic"></image> |
|
|
|
<view class="car-info"> |
|
|
@@ -10,6 +10,7 @@ |
|
|
|
<view class="btn-unbind" @click="del(item.vehicleId)">解除绑定</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view v-else class="no">暂无车辆信息</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script lang="ts" setup> |
|
|
@@ -136,4 +137,8 @@ |
|
|
|
.card-no { |
|
|
|
margin-top: 14rpx; |
|
|
|
} |
|
|
|
.no{ |
|
|
|
text-align: center; |
|
|
|
margin: 50rpx auto; |
|
|
|
} |
|
|
|
</style> |