++ Animation fixed in Home pic.
++"Dark Mode"
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user