feat: add product dialog
This commit is contained in:
parent
d4ddabcf0e
commit
4ad9d4c274
5 changed files with 246 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ const urlProfile = defineModel('urlProfile', {
|
|||
const profileSubmit = defineModel('profileSubmit');
|
||||
const statusToggle = defineModel('statusToggle');
|
||||
|
||||
defineProps<{
|
||||
isProduct?: boolean;
|
||||
}>();
|
||||
|
||||
defineEmits<{
|
||||
(e: 'inputFile'): void;
|
||||
}>();
|
||||
|
|
@ -18,6 +22,11 @@ defineEmits<{
|
|||
:src="urlProfile"
|
||||
style="object-fit: cover; width: 100%; height: 100%"
|
||||
/>
|
||||
<q-img
|
||||
v-else-if="isProduct"
|
||||
src="shop-add-image.png"
|
||||
style="object-fit: cover; width: 100%; height: 100%"
|
||||
/>
|
||||
<q-icon
|
||||
v-else
|
||||
name="mdi-account full-height"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue