- sendcoins
- font - catalogo
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -92,7 +92,7 @@ export default defineComponent({
|
||||
},
|
||||
{
|
||||
label: t('circuit.conticollettivi'),
|
||||
value: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
value: shared_consts.AccountType.CONTO_DI_GRUPPO,
|
||||
}
|
||||
])
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-else-if="tipoConto === shared_consts.AccountType.COLLECTIVE_ACCOUNT"
|
||||
v-else-if="tipoConto === shared_consts.AccountType.CONTO_DI_GRUPPO"
|
||||
>
|
||||
<div v-for="(grp, i) in usersList.listgroup" :key="i">
|
||||
<CMyGroup :mygrp="grp" :visu="costanti.USER_GROUPS" :noaut="true">
|
||||
|
||||
@@ -121,7 +121,7 @@ export default defineComponent({
|
||||
if (from) {
|
||||
if (mov.tipocontofrom === shared_consts.AccountType.USER) {
|
||||
link = `/my/` + mov.userfrom.username
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
link = tools.getPathByGroup(mov.groupfrom)
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.COMMUNITY_ACCOUNT) {
|
||||
link = '' // mov.contocomfrom.name
|
||||
@@ -129,7 +129,7 @@ export default defineComponent({
|
||||
} else {
|
||||
if (mov.tipocontoto === shared_consts.AccountType.USER) {
|
||||
link = `/my/` + mov.userto.username
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
link = tools.getPathByGroup(mov.groupto)
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.COMMUNITY_ACCOUNT) {
|
||||
link = ''
|
||||
|
||||
@@ -1470,6 +1470,20 @@
|
||||
dense
|
||||
:label="`${ind}. ` + recscheda.scheda.name ? recscheda.scheda.name : `Scheda ` + (ind + 1)"
|
||||
>
|
||||
<q-expansion-item
|
||||
dense
|
||||
dense-toggle
|
||||
expand-separator
|
||||
label="Schede"
|
||||
icon="fas fa-play-circle"
|
||||
>
|
||||
<CMySize
|
||||
label="Immagini:"
|
||||
:fit="true"
|
||||
v-model="recscheda.scheda.dimensioni.immagine_prodotto.size"
|
||||
@update:model-value="modifElem"
|
||||
></CMySize>
|
||||
</q-expansion-item>
|
||||
<q-expansion-item
|
||||
dense
|
||||
dense-toggle
|
||||
@@ -1504,6 +1518,14 @@
|
||||
:show_dimensioni="true"
|
||||
>
|
||||
</CMyText>
|
||||
|
||||
<CMySize
|
||||
label="Schede:"
|
||||
v-model="recscheda.scheda.dimensioni.scheda_prodotto.size"
|
||||
:gap="true"
|
||||
@update:model-value="modifElem"
|
||||
></CMySize>
|
||||
˚
|
||||
</q-expansion-item>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
<div v-if="false" class="barcode">
|
||||
<CBarCode :value="myproduct.productInfo.code" format="EAN-13" text="ISBN:">
|
||||
</CBarCode>
|
||||
|
||||
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
$heightBtn: 100%;
|
||||
$colore_titolo_libro: rgb(210, 12, 12);
|
||||
|
||||
body {
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
.card .product-image {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.prod_trov {
|
||||
font-style: italic;
|
||||
color: grey;
|
||||
}
|
||||
|
||||
.fixed-group {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-color: #ffffff;
|
||||
/* Customize the background color as needed */
|
||||
z-index: 1000;
|
||||
/* Adjust the z-index to ensure it's above other elements */
|
||||
transition: all 1s ease;
|
||||
}
|
||||
|
||||
|
||||
// Underline like a href
|
||||
.category {
|
||||
color: darkblue;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.category_sel {
|
||||
color: white !important;
|
||||
background: #5c8ef4 !important;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.category-title{
|
||||
font-weight: bold;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
color: black;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.fixed-width {
|
||||
width: var(--width) !important; /* Usa una variabile CSS */
|
||||
}
|
||||
.fixed-height {
|
||||
height: var(--height) !important; /* Usa una variabile CSS */
|
||||
}
|
||||
|
||||
.break {
|
||||
flex-basis: 100%;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.book-title {
|
||||
font-family: 'DINPro-CondensedBold', sans-serif;
|
||||
color: $colore_titolo_libro;
|
||||
text-transform: uppercase;
|
||||
margin-top: calc(5 * var(--scalecatalog) * 1px);
|
||||
margin-bottom: calc(5 * var(--scalecatalog) * 1px);
|
||||
font-size: calc(20 * var(--scalecatalog) * 1px);
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
.book-author {
|
||||
font-family: 'DIN-Pro-Condensed-Regular', sans-serif;
|
||||
font-size: calc(18 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
|
||||
.book-descr {
|
||||
font-family: 'DIN-Pro-Condensed-Bold-Italic', sans-serif;
|
||||
font-size: calc(16 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
|
||||
.book-details {
|
||||
font-family: 'DIN-Pro-Condensed-Regular', sans-serif;
|
||||
margin-bottom: calc(5 * var(--scalecatalog) * 1px);
|
||||
font-size: calc(13 * var(--scalecatalog) * 1px);
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
|
||||
.book-descr-estesa {
|
||||
font-family: 'AGaramondPro-Regular', sans-serif;
|
||||
font-size: calc(15 * var(--scalecatalog) * 1px);
|
||||
text-align: justify;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.book-link{
|
||||
font-style: italic;
|
||||
font-size: calc(14 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
|
||||
.book-novita {
|
||||
font-size: calc(20 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
|
||||
|
||||
.book-text-up {
|
||||
font-family: 'DINPro', sans-serif;
|
||||
margin-bottom: calc(5 * var(--scalecatalog) * 1px);
|
||||
font-size: calc(20 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
.book-text-down {
|
||||
font-family: 'DINPro', sans-serif;
|
||||
margin-bottom: calc(5 * var(--scalecatalog) * 1px);
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
<div
|
||||
v-if="myproduct?._id"
|
||||
class="row justify-center"
|
||||
style="height: 400px; text-align: center;"
|
||||
style="text-align: center;"
|
||||
>
|
||||
<CContainerCatalogoCard
|
||||
:id="myproduct._id"
|
||||
@@ -68,5 +68,5 @@
|
||||
<script lang="ts" src="./CSearchProduct.ts"></script>
|
||||
|
||||
<style lang="scss">
|
||||
@import './CSearchProduct.scss';
|
||||
@import '../../views/ecommerce/catalogo/catalogo.scss';
|
||||
</style>
|
||||
|
||||
@@ -121,7 +121,7 @@ export default defineComponent({
|
||||
|
||||
watch(() => tipoConto.value, (newval, oldval) => {
|
||||
|
||||
if (tipoConto.value === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
if (tipoConto.value === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
if (arrGroupsList.value.length >= 1)
|
||||
from_groupname.value = arrGroupsList.value[0].value
|
||||
}
|
||||
@@ -176,7 +176,7 @@ export default defineComponent({
|
||||
|
||||
if (tipoConto.value === shared_consts.AccountType.USER) {
|
||||
accountloaded.value = userStore.getAccountByCircuitId(circuitloaded.value._id)
|
||||
} else if (tipoConto.value === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
} else if (tipoConto.value === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
groupSel.value = userStore.my.profile.manage_mygroups.find((group: IMyGroup) => from_groupname.value === group.groupname)
|
||||
|
||||
accountloaded.value = groupSel.value ? groupSel.value.account : null
|
||||
@@ -206,7 +206,7 @@ export default defineComponent({
|
||||
arrTypesAccounts.value.push(
|
||||
{
|
||||
label: t('circuit.conticollettivi'),
|
||||
value: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
value: shared_consts.AccountType.CONTO_DI_GRUPPO,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -268,7 +268,7 @@ export default defineComponent({
|
||||
},
|
||||
]
|
||||
|
||||
tipoConto.value = tools.getCookie(tools.COOK_TIPOCONTO, shared_consts.AccountType.USER, true)
|
||||
let salvatoprec = tools.getCookie(tools.COOK_TIPOCONTO, -2, true)
|
||||
|
||||
// ....
|
||||
if (props.to_user) {
|
||||
@@ -296,6 +296,16 @@ export default defineComponent({
|
||||
|
||||
await aggiorna()
|
||||
|
||||
// Se quello scelto c'è ancora sulla lista, allora lo imposto
|
||||
|
||||
if (arrTypesAccounts.value.findIndex((rec: any) => rec.value === salvatoprec) >= 0) {
|
||||
tipoConto.value = salvatoprec
|
||||
} else {
|
||||
tipoConto.value = shared_consts.AccountType.USER
|
||||
}
|
||||
|
||||
// tipoConto.value = tools.getCookie(tools.COOK_TIPOCONTO, shared_consts.AccountType.USER, true)
|
||||
|
||||
showpage.value = true
|
||||
|
||||
}
|
||||
@@ -365,7 +375,7 @@ export default defineComponent({
|
||||
|
||||
myrecsendcoin.groupdest = props.to_group ? props.to_group.groupname : ''
|
||||
myrecsendcoin.contoComDest = props.to_contocom
|
||||
myrecsendcoin.grouporig = tipoConto.value === shared_consts.AccountType.COLLECTIVE_ACCOUNT ? from_groupname.value : ''
|
||||
myrecsendcoin.grouporig = tipoConto.value === shared_consts.AccountType.CONTO_DI_GRUPPO ? from_groupname.value : ''
|
||||
myrecsendcoin.contoComOrig = tipoConto.value === shared_consts.AccountType.COMMUNITY_ACCOUNT ? from_contocom.value : ''
|
||||
|
||||
myrecsendcoin.dest = props.to_user ? props.to_user.username : ''
|
||||
@@ -393,10 +403,10 @@ export default defineComponent({
|
||||
props.to_user &&
|
||||
from_username.value === props.to_user.username) ||
|
||||
(tipoConto.value ===
|
||||
shared_consts.AccountType.COLLECTIVE_ACCOUNT &&
|
||||
shared_consts.AccountType.CONTO_DI_GRUPPO &&
|
||||
!from_groupname.value) ||
|
||||
(tipoConto.value ===
|
||||
shared_consts.AccountType.COLLECTIVE_ACCOUNT &&
|
||||
shared_consts.AccountType.CONTO_DI_GRUPPO &&
|
||||
props.to_group &&
|
||||
from_groupname.value &&
|
||||
props.to_group.groupname === from_groupname.value) ||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
tipoConto === shared_consts.AccountType.COLLECTIVE_ACCOUNT
|
||||
tipoConto === shared_consts.AccountType.CONTO_DI_GRUPPO
|
||||
"
|
||||
>
|
||||
<q-select
|
||||
|
||||
@@ -88,7 +88,7 @@ export default defineComponent({
|
||||
},
|
||||
{
|
||||
label: t('circuit.conticollettivi'),
|
||||
value: shared_consts.AccountType.COLLECTIVE_ACCOUNT,
|
||||
value: shared_consts.AccountType.CONTO_DI_GRUPPO,
|
||||
}
|
||||
])
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ export default defineComponent({
|
||||
if (from) {
|
||||
if (mov.tipocontofrom === shared_consts.AccountType.USER) {
|
||||
link = `/my/` + mov.userfrom.username
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
link = tools.getPathByGroup(mov.groupfrom)
|
||||
} else if (mov.tipocontofrom === shared_consts.AccountType.COMMUNITY_ACCOUNT) {
|
||||
link = '' // mov.contocomfrom.name
|
||||
@@ -60,7 +60,7 @@ export default defineComponent({
|
||||
} else {
|
||||
if (mov.tipocontoto === shared_consts.AccountType.USER) {
|
||||
link = `/my/` + mov.userto.username
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.COLLECTIVE_ACCOUNT) {
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.CONTO_DI_GRUPPO) {
|
||||
link = tools.getPathByGroup(mov.groupto)
|
||||
} else if (mov.tipocontoto === shared_consts.AccountType.COMMUNITY_ACCOUNT) {
|
||||
link = ''
|
||||
|
||||
@@ -1,22 +1,26 @@
|
||||
<template>
|
||||
<q-inner-loading id="spinner" :showing="loading">
|
||||
<q-spinner-tail color="primary" size="4em"> </q-spinner-tail>
|
||||
</q-inner-loading>
|
||||
<div v-if="options">
|
||||
<div class="text-center text-bold text-h6 text-blue">
|
||||
Tabella: {{ options.nameTable }}<br>
|
||||
</div>
|
||||
<div class="text-center text-h7">
|
||||
<q-inner-loading
|
||||
id="spinner"
|
||||
:showing="loading"
|
||||
>
|
||||
<q-spinner-tail
|
||||
color="primary"
|
||||
size="4em"
|
||||
>
|
||||
</q-spinner-tail>
|
||||
</q-inner-loading>
|
||||
<div v-if="loading" class="q-ma-lg q-pa-lg"></div>
|
||||
|
||||
<!--<div class="text-center text-h7">
|
||||
Query: {{ options.where }}<br>
|
||||
</div>
|
||||
<br><br>
|
||||
<div v-html="risultatoHTML">
|
||||
</div>
|
||||
<br><br>-->
|
||||
<div v-html="risultatoHTML"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CViewTable.ts">
|
||||
</script>
|
||||
<script lang="ts" src="./CViewTable.ts"></script>
|
||||
<style lang="scss" scoped>
|
||||
@import './CViewTable.scss';
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user