- fix: Invio RIS (non si vedevano i circuiti !)
- se si usava l'username telegram per registrarsi non faceva il controllo delle minuscole. - bottone "Invia RIS" era scomparso
This commit is contained in:
@@ -109,6 +109,7 @@ export default defineComponent({
|
||||
const { t } = useI18n()
|
||||
|
||||
const animare = ref(0)
|
||||
const animarecard = ref(0)
|
||||
const slide = ref(0)
|
||||
const slide2 = ref(0)
|
||||
const disableSave = ref(true)
|
||||
@@ -127,8 +128,6 @@ export default defineComponent({
|
||||
const isAppRunning = computed(() => globalStore.isAppRunning)
|
||||
|
||||
const currentCardsPerSlide = computed(() => {
|
||||
if ($q.screen.lt.sm) return 1
|
||||
if ($q.screen.lt.md) return 2
|
||||
return myel.value.num2 ? myel.value.num2 : 2! // cardsPerSlide
|
||||
})
|
||||
|
||||
@@ -281,7 +280,7 @@ export default defineComponent({
|
||||
// Classe per le colonne delle card
|
||||
function cardColumnClass() {
|
||||
const width = 12 / currentCardsPerSlide.value
|
||||
return `col-xs-12 col-sm-6 col-md-${width}`
|
||||
return `col-${width}`
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
@@ -324,6 +323,7 @@ export default defineComponent({
|
||||
cardColumnClass,
|
||||
cardGroups,
|
||||
currentCardsPerSlide,
|
||||
animarecard,
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
<q-carousel
|
||||
swipeable
|
||||
animated
|
||||
:autoplay="animarecard"
|
||||
v-model="slide"
|
||||
navigation
|
||||
control-text-color="white"
|
||||
@@ -49,8 +50,8 @@
|
||||
control-type="flat"
|
||||
class="shadow-2 rounded-borders"
|
||||
:style="`background-color: ${myel.color} !important`"
|
||||
@mouseenter="animare = false"
|
||||
@mouseleave="animare = true"
|
||||
@mouseenter="animarecard = false"
|
||||
@mouseleave="animarecard = true"
|
||||
@transition="handleTransition"
|
||||
>
|
||||
<template v-slot:control>
|
||||
@@ -92,7 +93,7 @@
|
||||
:name="groupIndex"
|
||||
>
|
||||
<div
|
||||
class="row no-wrap justify-start items-center q-px-md full-width"
|
||||
class="row no-wrap justify-start items-center q-px-sm"
|
||||
>
|
||||
<template v-for="(rec, cardIndex) in group" :key="cardIndex">
|
||||
<div :class="cardColumnClass">
|
||||
|
||||
Reference in New Issue
Block a user