- aggiornata la grafica della Home di RISO

- Profilo Completition
- Email Verificata
- Invita un Amico (invio di email)
This commit is contained in:
Surya Paolo
2025-11-15 19:38:39 +01:00
parent d812c6c799
commit b8df3ea721
110 changed files with 10856 additions and 2765 deletions

View File

@@ -7,7 +7,6 @@ export default defineComponent({
name: 'CMenuItem',
props: {
item: { type: Object, required: true },
tools: { type: Object, required: true },
getroute: { type: Function, required: true },
getmymenuclass: { type: Function, required: true },
getimgiconclass: { type: Function, required: true },
@@ -29,7 +28,7 @@ export default defineComponent({
ris = [...r2]
.map((rec) => {
const norm = tools.norm(rec.path);
return props.tools.getmenuByPath(norm);
return tools.getmenuByPath(norm);
})
.filter(Boolean)
.sort((a: any, b: any) => (a.order ?? 0) - (b.order ?? 0));
@@ -37,7 +36,7 @@ export default defineComponent({
ris = [...sm]
.map((path) => {
const norm = tools.norm(path);
return props.tools.getmenuByPath(norm);
return tools.getmenuByPath(norm);
})
.filter(Boolean)
.sort((a: any, b: any) => (a.order ?? 0) - (b.order ?? 0));
@@ -73,6 +72,7 @@ export default defineComponent({
children,
hasChildren,
icon,
tools,
makeClick,
};
},

View File

@@ -1,7 +1,6 @@
<template>
<div :style="{ paddingLeft: `${level * 4}px` }">
<q-separator v-if="item.isseparator" />
<!-- Nodo con figli -->
<q-expansion-item
v-else-if="hasChildren"
:header-class="getmymenuclass(item)"
@@ -12,9 +11,8 @@
>
<CMenuItem
v-for="(child, idx) in children"
:key="child._id || child.path || idx"
:key="child.path || idx"
:item="child"
:tools="tools"
:getroute="getroute"
:getmymenuclass="getmymenuclass"
:getimgiconclass="getimgiconclass"