piccole modif

This commit is contained in:
Surya Paolo
2023-12-01 16:14:28 +01:00
parent 9a3ebc69ca
commit 15b0095dca
12 changed files with 1089 additions and 704 deletions

View File

@@ -30,6 +30,11 @@ export default defineComponent({
required: false,
default: '',
},
before_str: {
type: String,
required: false,
default: '',
},
strfido: {
type: String,
required: false,

View File

@@ -81,6 +81,9 @@
<q-icon v-else name="fas fa-coins" :size="small ? `xs` : `sm`" />
</template>
<template v-slot:control>
<div class="text-h8 text-blue">
{{ before_str }}
</div>
<div :class="`align_elem_right ` + (small ? `text-h7` : ``)">
{{ valueextra }}{{ tools.roundDec2(modelValue) }}
<q-tooltip :offset="[10, 10]" v-model="showingtooltip">{{

View File

@@ -52,14 +52,16 @@
}}</span></span
>
<q-item-label v-if="contact.account" caption lines="2">
<CSaldo
:small="true"
:account="contact.account"
:symbol="tools.getSymbolByCircuit(circuit)"
:color="tools.getColorByCircuit(circuit)"
:saldo="contact.account.saldo"
>
</CSaldo>
<div class="row">
<CSaldo
:small="true"
:account="contact.account"
:symbol="tools.getSymbolByCircuit(circuit)"
:color="tools.getColorByCircuit(circuit)"
:saldo="contact.account.saldo"
>
</CSaldo>
</div>
</q-item-label>
</q-item-section>
@@ -210,7 +212,7 @@
</q-btn>
</q-item-label>
</q-item-section>
<q-item-section side v-else-if="visu === costanti.SETHANDSHAKE">
<q-item-section side v-else-if="visu === costanti.HANDSHAKE">
<q-item-label>
<q-btn rounded icon="fas fa-ellipsis-h">
<q-menu>
@@ -433,7 +435,9 @@
</q-item-section>
</q-item>
<q-item
v-if="contact.account ? contact.account.fidoConcesso <= 0 : true"
v-if="
contact.account ? contact.account.fidoConcesso <= 0 : true
"
clickable
v-close-popup
@click="
@@ -806,7 +810,7 @@
</q-item-section>
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
</q-item>
<q-item
<q-item
clickable
v-close-popup
dense

View File

@@ -18,13 +18,14 @@
:strfido="t('account.fido_casa', { fido: account ? account.fidoConcesso : '', symbol })"
:color="color"
v-model="saldo"
:before_str="t('account.saldo') + `:`"
:valueextra="
account && account.notifspending && account.notifspending.length > 0
? `* `
: ''
"
:label="
t('account.saldo') + ` (` + t('account.dispon') + `: ` + qtarem + `)`
`(` + t('account.dispon') + `: ` + qtarem + ` ` + symbol + `)`
"
:paramTypeAccount="paramTypeAccount"
:myrecparam="account"