ver 0.5.71:
- Info Conto - Admin: poter modificare Fido e QtaMax.
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
dense
|
||||
class="cltexth4 chipbooked shadow-5 q-pa-sm2"
|
||||
size="md"
|
||||
:color="value > 0 ? `green` : value === 0 ? `gray` : `red`"
|
||||
:color="modelValue > 0 ? `green` : modelValue === 0 ? `gray` : `red`"
|
||||
text-color="white"
|
||||
icon="fas fa-coins"
|
||||
>
|
||||
{{ tools.roundDec2(value) }}
|
||||
{{ tools.roundDec2(modelValue) }}
|
||||
<span class="text-currency"
|
||||
> <em
|
||||
class="q-pa-xxs text-white rounded-borders shadow-2"
|
||||
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
<div v-else>
|
||||
<div
|
||||
v-if="value !== null"
|
||||
v-if="modelValue !== null"
|
||||
:class="
|
||||
`text-h5 ` +
|
||||
(small ? `bordo_stondato_small` : `bordo_stondato_stretto`) +
|
||||
@@ -35,7 +35,12 @@
|
||||
(color_border ? `border-color: ` + color_border + `!important;` : '')
|
||||
"
|
||||
>
|
||||
<div :class="`text-center text-h7-dense text-italic ` + ($q.dark.isActive ? `text-grey-6`: `text-grey-14`)">
|
||||
<div
|
||||
:class="
|
||||
`text-center text-h7-dense text-italic ` +
|
||||
($q.dark.isActive ? `text-grey-6` : `text-grey-14`)
|
||||
"
|
||||
>
|
||||
<span v-if="small">
|
||||
<em
|
||||
class="q-px-xs text-white rounded-borders"
|
||||
@@ -53,7 +58,7 @@
|
||||
type="number"
|
||||
rounded
|
||||
:class="!small ? `q-px-sm text-h5` : `q-px-xs text-h7`"
|
||||
:color="value > 0 ? `green` : `red`"
|
||||
:color="modelValue > 0 ? `green` : `red`"
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<!--<img src="https://cdn.quasar.dev/logo-v2/svg/logo.svg">-->
|
||||
@@ -71,7 +76,7 @@
|
||||
</template>
|
||||
<template v-slot:control>
|
||||
<div :class="`align_elem_right ` + (small ? `text-h7` : ``)">
|
||||
{{ valueextra }}{{ tools.roundDec2(value) }}
|
||||
{{ valueextra }}{{ tools.roundDec2(modelValue) }}
|
||||
<q-tooltip :offset="[10, 10]" v-model="showingtooltip">{{
|
||||
tips
|
||||
}}</q-tooltip>
|
||||
@@ -85,6 +90,15 @@
|
||||
>{{ symbol }}</em
|
||||
>
|
||||
</div>
|
||||
<div v-if="paramTypeAccount && admin">
|
||||
<q-btn
|
||||
flat
|
||||
round
|
||||
icon="fas fa-pencil-alt"
|
||||
size="sm"
|
||||
@click="$emit('changedParamValue', true)"
|
||||
></q-btn>
|
||||
</div>
|
||||
</template>
|
||||
</q-field>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user