- migliorie grafiche
This commit is contained in:
@@ -512,7 +512,7 @@
|
|||||||
<div v-if="editOn" class="elemEdit">
|
<div v-if="editOn" class="elemEdit">
|
||||||
Msg di Controllo Verifica Email
|
Msg di Controllo Verifica Email
|
||||||
</div>
|
</div>
|
||||||
<div class="q-pa-md q-gutter-md">
|
<div class="q-pa-xs q-gutter-md">
|
||||||
<div
|
<div
|
||||||
v-if="tools.isLogged() && !tools.isVerified()"
|
v-if="tools.isLogged() && !tools.isVerified()"
|
||||||
class="text-verified"
|
class="text-verified"
|
||||||
|
|||||||
@@ -59,6 +59,20 @@
|
|||||||
to="/admin/eventlist"
|
to="/admin/eventlist"
|
||||||
icon="fas fa-calendar-plus"
|
icon="fas fa-calendar-plus"
|
||||||
/>
|
/>
|
||||||
|
<q-route-tab
|
||||||
|
v-if="site.confpages.showViewCart"
|
||||||
|
class="mylabfooter"
|
||||||
|
:label="$t('tabdown.showViewCart')"
|
||||||
|
to="/checkout"
|
||||||
|
icon="fas fa-shopping-cart"
|
||||||
|
/>
|
||||||
|
<q-route-tab
|
||||||
|
v-if="site.confpages.showViewOrders"
|
||||||
|
class="mylabfooter"
|
||||||
|
:label="$t('tabdown.showViewOrders')"
|
||||||
|
to="/orderinfo"
|
||||||
|
icon="fas fa-clipboard-list"
|
||||||
|
/>
|
||||||
<q-route-tab
|
<q-route-tab
|
||||||
v-if="site.confpages.showViewProfile"
|
v-if="site.confpages.showViewProfile"
|
||||||
class="mylabfooter"
|
class="mylabfooter"
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ export interface IConfPages {
|
|||||||
showViewUsers: boolean
|
showViewUsers: boolean
|
||||||
showViewBooking: boolean
|
showViewBooking: boolean
|
||||||
showViewProfile: boolean
|
showViewProfile: boolean
|
||||||
|
showViewCart: boolean
|
||||||
|
showViewOrders: boolean
|
||||||
enablePwa: boolean
|
enablePwa: boolean
|
||||||
lang: number
|
lang: number
|
||||||
videoPromo: string
|
videoPromo: string
|
||||||
|
|||||||
@@ -694,6 +694,26 @@
|
|||||||
:type="costanti.FieldType.boolean"
|
:type="costanti.FieldType.boolean"
|
||||||
>
|
>
|
||||||
</CMyFieldDb>
|
</CMyFieldDb>
|
||||||
|
<CMyFieldDb
|
||||||
|
table="sites"
|
||||||
|
:title="$t('confpages.showViewCart')"
|
||||||
|
:id="mysite._id"
|
||||||
|
:rec="mysite"
|
||||||
|
mykey="confpages"
|
||||||
|
mysubkey="showViewCart"
|
||||||
|
:type="costanti.FieldType.boolean"
|
||||||
|
>
|
||||||
|
</CMyFieldDb>
|
||||||
|
<CMyFieldDb
|
||||||
|
table="sites"
|
||||||
|
:title="$t('confpages.showViewOrders')"
|
||||||
|
:id="mysite._id"
|
||||||
|
:rec="mysite"
|
||||||
|
mykey="confpages"
|
||||||
|
mysubkey="showViewOrders"
|
||||||
|
:type="costanti.FieldType.boolean"
|
||||||
|
>
|
||||||
|
</CMyFieldDb>
|
||||||
<CMyFieldDb
|
<CMyFieldDb
|
||||||
table="sites"
|
table="sites"
|
||||||
:title="$t('confpages.PDFPromo')"
|
:title="$t('confpages.PDFPromo')"
|
||||||
|
|||||||
@@ -1497,6 +1497,8 @@ const msg_it = {
|
|||||||
bookings: 'Prenotaz.',
|
bookings: 'Prenotaz.',
|
||||||
profile: 'Profilo',
|
profile: 'Profilo',
|
||||||
circuits: 'Circuiti',
|
circuits: 'Circuiti',
|
||||||
|
showViewCart: 'Carrello',
|
||||||
|
showViewOrders: 'Ordini',
|
||||||
},
|
},
|
||||||
|
|
||||||
myelems: {
|
myelems: {
|
||||||
@@ -1573,6 +1575,8 @@ const msg_it = {
|
|||||||
videoPromo: 'Video Presentazione',
|
videoPromo: 'Video Presentazione',
|
||||||
showViewBooking: 'Bott. Prenotaz.',
|
showViewBooking: 'Bott. Prenotaz.',
|
||||||
showViewProfile: 'Bott. Profile',
|
showViewProfile: 'Bott. Profile',
|
||||||
|
showViewCart: 'Bott. Carrello',
|
||||||
|
showViewOrders: 'Bott. Ordini',
|
||||||
enablePwa: 'PWA',
|
enablePwa: 'PWA',
|
||||||
PDFPromo: 'PDF Presentazione',
|
PDFPromo: 'PDF Presentazione',
|
||||||
|
|
||||||
|
|||||||
@@ -182,6 +182,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
showViewUsers: false,
|
showViewUsers: false,
|
||||||
showViewBooking: false,
|
showViewBooking: false,
|
||||||
showViewProfile: false,
|
showViewProfile: false,
|
||||||
|
showViewCart: false,
|
||||||
|
showViewOrders: false,
|
||||||
enablePwa: false,
|
enablePwa: false,
|
||||||
lang: costanti.Lang.IT,
|
lang: costanti.Lang.IT,
|
||||||
videoPromo: '',
|
videoPromo: '',
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-page>
|
<q-page>
|
||||||
<q-spinner v-if="!loadpage" color="primary" size="3em" :thickness="2" />
|
<div class="text-center">
|
||||||
|
<q-spinner v-if="!loadpage" color="primary" size="3em" :thickness="2" />
|
||||||
|
</div>
|
||||||
<div v-if="loadpage" class="panel">
|
<div v-if="loadpage" class="panel">
|
||||||
<div>
|
<div>
|
||||||
<div class="q-gutter-md text-center q-mb-md">
|
<div class="text-center">
|
||||||
<q-btn-toggle
|
<q-btn-toggle
|
||||||
v-model="cosa"
|
v-model="cosa"
|
||||||
push
|
push
|
||||||
:size="cosa === 0 ? 'lg' : 'md'"
|
size="0.75rem"
|
||||||
rounded
|
rounded
|
||||||
glossy
|
glossy
|
||||||
|
dense
|
||||||
toggle-color="purple"
|
toggle-color="purple"
|
||||||
:options="[
|
:options="[
|
||||||
{ value: shared_consts.PROD.BOTTEGA, slot: 'bottega' },
|
{ value: shared_consts.PROD.BOTTEGA, slot: 'bottega' },
|
||||||
@@ -21,7 +24,11 @@
|
|||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
{{ t('gas.ordina_sul_gas') }}
|
{{ t('gas.ordina_sul_gas') }}
|
||||||
<br />
|
<br />
|
||||||
{{ t('gas.x_prodotti_gas', { qta: productStore.getNumQtaGas() }) }}
|
{{
|
||||||
|
t('gas.x_prodotti_gas', {
|
||||||
|
qta: productStore.getNumQtaGas(),
|
||||||
|
})
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<q-icon right name="fas fa-user-friends" />
|
<q-icon right name="fas fa-user-friends" />
|
||||||
</div>
|
</div>
|
||||||
@@ -33,7 +40,9 @@
|
|||||||
{{ t('gas.bottega') }}
|
{{ t('gas.bottega') }}
|
||||||
<br />
|
<br />
|
||||||
{{
|
{{
|
||||||
t('gas.x_prodotti_bottega', { qta: productStore.getNumQtaBottega() })
|
t('gas.x_prodotti_bottega', {
|
||||||
|
qta: productStore.getNumQtaBottega(),
|
||||||
|
})
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
<q-icon right name="fas fa-store" />
|
<q-icon right name="fas fa-store" />
|
||||||
@@ -44,11 +53,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div
|
<div
|
||||||
class="q-gutter-y-md column text-center q-mx-auto q-py-sm"
|
class="q-gutter-y-md column text-center q-mx-auto q-py-sm q-mb-sm"
|
||||||
style="width: 350px; max-width: 100%"
|
style="width: 350px; max-width: 100%"
|
||||||
>
|
>
|
||||||
<q-input
|
<q-input
|
||||||
filledd
|
filled
|
||||||
stack-label
|
stack-label
|
||||||
:label="t('ecomm.code_o_text_search')"
|
:label="t('ecomm.code_o_text_search')"
|
||||||
v-model="search"
|
v-model="search"
|
||||||
@@ -59,16 +68,16 @@
|
|||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="row q-gutter-sm justify-evenly q-mx-auto">
|
<div class="row q-gutter-xs justify-center q-mx-auto">
|
||||||
<div v-for="(reccat, index) in getCatProds()" :key="index">
|
<div v-for="(reccat, index) in getCatProds()" :key="index">
|
||||||
<q-btn
|
<q-btn
|
||||||
:push="cat === reccat.value"
|
:push="cat === reccat.value"
|
||||||
:dense="cat !== reccat.value"
|
dense
|
||||||
|
size="0.70rem"
|
||||||
:icon="reccat.icon"
|
:icon="reccat.icon"
|
||||||
:color="reccat.color ? reccat.color : undefined"
|
:color="reccat.color ? reccat.color : undefined"
|
||||||
:text-color="cat === reccat.value ? 'blue' : 'black'"
|
:text-color="cat === reccat.value ? 'blue' : 'black'"
|
||||||
rounded
|
rounded
|
||||||
glossy
|
|
||||||
:label="reccat.label"
|
:label="reccat.label"
|
||||||
@click="cat = reccat.value"
|
@click="cat = reccat.value"
|
||||||
>
|
>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 697 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 99 KiB |
Reference in New Issue
Block a user