소스 검색

我的车辆信息为空的情况

yxb
DESKTOP-2IO5MST\huting 1 년 전
부모
커밋
4635eafe7a
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      subpackage/personal-center/vehicle-information.vue

+ 6
- 1
subpackage/personal-center/vehicle-information.vue 파일 보기

@@ -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>

Loading…
취소
저장