Fix order process

This commit is contained in:
2024-10-21 14:57:03 +02:00
parent 7880a444b1
commit 40161a136a
17 changed files with 212 additions and 213 deletions

View File

@@ -1,5 +1,6 @@
<script setup lang="ts">
import { ModelRef } from 'vue';
import cardView from './cardView.vue';
const showDialog: ModelRef<boolean> = defineModel()
@@ -16,16 +17,17 @@ defineProps({
<template>
<v-dialog max-width="1200" v-model="showDialog">
<v-card
<card-view
:title="title"
:subtitle="subtitle"
:prepend-icon="icon"
:icon="icon"
:tonal="false"
>
<slot></slot>
<template #actions>
<slot name="actions"></slot>
</template>
</v-card>
</card-view>
</v-dialog>
</template>

View File

@@ -9,12 +9,18 @@ defineProps({
loading: {
type: Boolean,
default: false
},
tonal: {
type: Boolean,
default: true
}
})
</script>
<template>
<v-card variant="tonal" >
<v-card
:variant="tonal ? 'tonal' : 'elevated'"
>
<v-card-title v-if="title || loading" color="primary" class="pa-0">
<v-sheet color="primary">
<v-skeleton-loader