Горячие ссылки

This commit is contained in:
iriska-gri committed 2023-11-03 11:33:19 +03:00
1 parent f8d06b4dfa
commit bf0f4f6a3e
5 files changed
+41 -25

No files matched your search

+27 -13
View File
@@ -37,20 +37,34 @@
>
<v-row class="ma-3">
<v-col
v-for="x in favorit"
:key="x"
lg=6
class="pa-1"
class="pa-1 "
>
<v-btn
<v-btn-toggle
v-model="toggle"
divided
variant="outlined"
>
<v-btn
v-for="x in favorit"
:key="x"
:icon="x.ico"
:to="x.fullPath"/>
block
</v-btn-toggle>
<!-- <v-btn
:prepend-icon="x.ico"
size="x-small"
variant="outlined"
class="ma-1"
:to="x.fullPath"
stacked
>
{{menuTruncated(x.page)}}
</v-btn>
</v-btn> -->
</v-col>
</v-row>
<!-- <my-helper :pretext="favorit"/> -->
@@ -64,7 +78,7 @@
class="h-100 bg-transparent flex-column d-flex "
elevation="1"
>
<v-row>
<v-row >
<v-col cols="auto" class="pa-0">
<v-card height="93vh" class="overflow-auto ">
<News-list-home />
@@ -117,6 +131,7 @@
setup(){
const appStore = useAppStore()
const favorit = ref([])
const toggle = ref(null)
pagecounter()
const accountStore = useAccountStore()
onMounted(() => {
@@ -134,9 +149,7 @@
}
const menuTruncated = (menus) => {
return menus.slice(0,7).toUpperCase()
}
@@ -145,7 +158,8 @@
appStore,
favoritLinks,
favorit,
menuTruncated
toggle
}
}