++ Animation fixed in Home pic.

++"Dark Mode"
This commit is contained in:
Surya Paolo
2022-11-23 23:57:21 +01:00
parent 46bf74e9e2
commit fab0dbbb72
17 changed files with 722 additions and 232 deletions

View File

@@ -41,7 +41,11 @@ export default defineComponent({
globalStore.site.confpages.col_bgfooter = mycol
}
}
function saveShowDark(mycol: any) {
if (globalStore.site?.confpages) {
globalStore.site.confpages.show_darkopt = mycol
}
}
onMounted(mounted)
return {
@@ -53,6 +57,7 @@ export default defineComponent({
saveCol,
saveBgCol,
globalStore,
saveShowDark,
}
}
})

View File

@@ -273,6 +273,18 @@
:type="costanti.FieldType.color"
>
</CMyFieldDb>
<CMyFieldDb
title="Mostra Scelta Dark"
table="sites"
:id="mysite._id"
:rec="mysite"
mykey="confpages"
mysubkey="show_darkopt"
debounce="1000"
@save="saveShowDark"
:type="costanti.FieldType.boolean"
>
</CMyFieldDb>
</q-tab-panel>
<q-tab-panel name="footer">
<CMyFieldDb