feat: add product to cart from main page

This commit is contained in:
Vlad Stan 2023-07-13 11:01:14 +03:00
parent 7516e0bc99
commit e72f013d84
7 changed files with 14 additions and 53 deletions

View file

@ -4,7 +4,7 @@
alt="Product Image" loading="lazy" spinner-color="white" fit="contain" height="300px"></q-img>
<q-card-section class="q-pb-xs q-pt-md">
<q-btn v-if="isStall" round :disabled="product.quantity < 1" color="primary" rounded icon="shopping_cart" size="lg" style="
<q-btn round :disabled="product.quantity < 1" color="primary" rounded icon="shopping_cart" size="lg" style="
position: absolute;
top: 0;
right: 0;