- nella lista circuiti ora si vedono tutti gli annunci del circuito stesso

This commit is contained in:
Surya Paolo
2025-01-15 15:39:58 +01:00
parent e2dbe08139
commit 7160eee734
20 changed files with 323 additions and 53 deletions

View File

@@ -11,6 +11,7 @@ import { CSendCoins } from '@/components/CSendCoins'
import { CUserNonVerif } from '@/components/CUserNonVerif'
import { CTitleSec } from '@/components/CTitleSec'
import { CSkill } from '@/components/CSkill'
import { CFinder } from '@/components/CFinder'
import { CDateTime } from '@/components/CDateTime'
import { tools } from '@store/Modules/tools'
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
@@ -34,7 +35,7 @@ export default defineComponent({
components: {
CProfile, CTitleBanner, CMyFieldRec, CSkill, CTitleSec, CDateTime, CMyFriends,
CGridTableRec, CMyUser, CCheckIfIsLogged, CCurrencyValue, CSaldo, CNotifAtTop,
CSendCoins, CUserNonVerif,
CSendCoins, CUserNonVerif, CFinder,
},
props: {},
setup() {
@@ -70,6 +71,8 @@ export default defineComponent({
const showPic = ref(false)
const loadSaldo = ref(false)
const card = ref(<any>{})
const circuit = ref({} as ICircuit | null)
const account = ref(<IAccount | null>null)
const mystatus = ref(0 as number)
@@ -100,6 +103,10 @@ export default defineComponent({
const fidoConcesso = ref(<any>0)
const qtaMax = ref(<any>0)
const mycards_annunci = computed(() => {
return costanti.MAINCARDS.filter((rec: any) => rec.table && rec.annuncio)
})
watch(() => path.value, (to: any, from: any) => {
if (circuitpath_loaded.value !== path.value)
loadCircuit()
@@ -348,6 +355,9 @@ export default defineComponent({
loadCircuit()
if (mycards_annunci.value)
card.value = mycards_annunci.value[0]
}
function getImgCircuit() {
@@ -502,6 +512,7 @@ export default defineComponent({
loadSaldo.value = false
}
onMounted(mounted)
return {
@@ -571,6 +582,8 @@ export default defineComponent({
optionsmov,
globalStore,
saldo_pend,
mycards_annunci,
card,
}
}
})