view proposals modal

This commit is contained in:
Alexandro Uc Santos
2023-12-11 21:25:11 -06:00
parent bb6cd37532
commit 58f03dcdad
6 changed files with 218 additions and 10 deletions

View File

@@ -0,0 +1,35 @@
<script setup>
import { ref } from 'vue';
defineProps({
vehicle: {
type: Object,
required: true
}
})
const isShow = ref(false);
const toogle = () => {
isShow.value = !isShow.value;
}
</script>
<template>
<a
@click="toogle"
class="btn-text mt-3"
>Ver más <i class="fa-solid" :class="[isShow ? 'fa-chevron-up' : 'fa-chevron-down']"></i></a>
<div v-if="isShow">
<div class="divider"></div>
<h2 class="my-3">Información del vehiculo</h2>
</div>
</template>
<style scoped>
h2 {
font-size: 1.2rem;
font-weight: 500;
}
</style>