Add more details to car
This commit is contained in:
@@ -16,8 +16,12 @@ const baseUrl = import.meta.env.BASE_URL;
|
||||
<p>Lackierung</p>
|
||||
<img v-if="details?.img" class="h-[30px]" :src="`${baseUrl}${details?.img}`" :alt="car?.type" />
|
||||
<span v-else class="h-[30px]"></span>
|
||||
<p>Typ</p>
|
||||
<p>{{ car?.type ?? '-' }}</p>
|
||||
<p>Fahrzeug-Nr.</p>
|
||||
<p>{{ car?.id }}</p>
|
||||
<p>{{ car?.id ?? '-' }}</p>
|
||||
<p>Baujahr</p>
|
||||
<p>{{ details?.year ?? '-' }}</p>
|
||||
<p>Werbung</p>
|
||||
<div v-if="details">
|
||||
<p v-for="(ad, i) in details.ads" :key="i">
|
||||
@@ -28,8 +32,6 @@ const baseUrl = import.meta.env.BASE_URL;
|
||||
</p>
|
||||
</div>
|
||||
<p v-else>-</p>
|
||||
<p>Baujahr</p>
|
||||
<p>{{ details?.year ?? '-' }}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user