vers: 1.1.3
- aggiornato ncu -u
This commit is contained in:
@@ -26,9 +26,14 @@ export default defineComponent({
|
||||
const { t } = useI18n();
|
||||
const productStore = useProducts()
|
||||
|
||||
const endload = ref(false)
|
||||
|
||||
async function mounted() {
|
||||
// Inizializza
|
||||
await productStore.loadProducts()
|
||||
|
||||
endload.value = true
|
||||
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
@@ -41,6 +46,7 @@ export default defineComponent({
|
||||
shared_consts,
|
||||
t,
|
||||
products,
|
||||
endload,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<q-page>
|
||||
<q-page v-if="endload">
|
||||
<CTitleBanner :title="t('ecomm.carrello_di', {user: products.userActive.username})"></CTitleBanner>
|
||||
<CCart>
|
||||
</CCart>
|
||||
|
||||
@@ -32,3 +32,26 @@ $heightBtn: 100%;
|
||||
.totali {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.q-table {
|
||||
overflow-x: auto; /* Aggiungi scroll se il contenuto supera in larghezza */
|
||||
}
|
||||
|
||||
.q-item-label {
|
||||
white-space: nowrap; /* Impedisce il wrapping del testo */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; /* Aggiunge "..." se il testo è troppo lungo */
|
||||
}
|
||||
|
||||
.my-card-shadow {
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Aggiunge un'ombra sottile alle card */
|
||||
}
|
||||
|
||||
.q-item__section--side {
|
||||
flex-grow: 1; /* Permette a questa sezione di crescere più dell'etichetta "Articoli" */
|
||||
}
|
||||
|
||||
.q-item__label {
|
||||
overflow: hidden !important;
|
||||
white-space: wrap !important; /* Impedisce che il testo si spezzi in più righe */
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
item.order.product.productInfo
|
||||
"
|
||||
>
|
||||
{{ productStore.getStrInfoOrder(t, item.order) }}
|
||||
<span v-html="productStore.getStrInfoOrder(t, item.order)"></span>
|
||||
{{ item.order.product.productInfo.name }} ({{
|
||||
productStore.getQuantityByOrder(t, item.order)
|
||||
}})
|
||||
|
||||
Reference in New Issue
Block a user