改进 圆角

This commit is contained in:
iVampireSP.com 2023-12-06 10:37:50 +08:00
parent 853ba38454
commit 5ac089307a
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -14,6 +14,7 @@
<v-list density="compact" nav> <v-list density="compact" nav>
<template v-for="item in items"> <template v-for="item in items">
<v-list-item <v-list-item
rounded="xl"
:prepend-icon="item.icon" :prepend-icon="item.icon"
:title="item.text" :title="item.text"
:value="item.text" :value="item.text"
@ -47,8 +48,8 @@ const drawer = ref(false);
const items = [ const items = [
{ icon: "mdi-home", text: "首页", to: { name: "home" } }, { icon: "mdi-home", text: "首页", to: { name: "home" } },
{ icon: "mdi-home", text: "资料库", to: { name: "libraries" } },
{ icon: "mdi-history", text: "Frequently contacted", to: "/documents" }, { icon: "mdi-history", text: "Frequently contacted", to: "/documents" },
{ icon: "mdi-content-copy", text: "login", to: "/auth/login" }, { icon: "mdi-content-copy", text: "login", to: "/auth/login" },
]; ];
</script> </script>