From 72cd9e6cd6bc31ec079184d483ba9cccb66c99b2 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Sun, 22 Sep 2024 20:12:25 -0300 Subject: [PATCH] Grid mode --- src/pages/Account/AddressList.vue | 5 +- src/pages/Ecomerce/CatalogCard.vue | 113 +++++++++++++++++++++-------- src/pages/Ecomerce/CatalogView.vue | 105 +++++++++++++++++++-------- 3 files changed, 158 insertions(+), 65 deletions(-) diff --git a/src/pages/Account/AddressList.vue b/src/pages/Account/AddressList.vue index 0f6fd764..0b91d52c 100644 --- a/src/pages/Account/AddressList.vue +++ b/src/pages/Account/AddressList.vue @@ -104,10 +104,7 @@ onMounted(async () => { - + -import { onMounted } from 'vue'; import { useI18n } from 'vue-i18n'; import VnImg from 'src/components/ui/VnImg.vue'; +import CardList from 'src/components/ui/CardList.vue'; import { currency } from 'src/lib/filters.js'; defineProps({ - item: { type: Object, default: () => {} } + item: { type: Object, default: () => {} }, + viewMode: { type: String, default: 'grid' } }); const { t } = useI18n(); - -onMounted(async () => {});