feat: 搜索时允许根据描述搜索和一些样式调整

This commit is contained in:
osiris
2024-05-14 15:05:57 +08:00
parent efc1cb52eb
commit c860a01416
9 changed files with 101 additions and 24 deletions
+6 -4
View File
@@ -56,8 +56,9 @@ const gotoAbout = () => {
router.push('about')
}
onMounted(() => {
getToolCates()
onMounted(async () => {
await getToolCates()
})
</script>
@@ -66,7 +67,7 @@ onMounted(() => {
<el-scrollbar>
<!-- logo -->
<div class="flex justify-center">
<router-link class="flex flex-row h-20" to="/">
<router-link class="flex flex-row h-24" to="/">
<img class="h-12 w-auto rounded-lg mr-2 mt-auto mb-auto" src="@/assets/logo.png" :alt="appNet">
<div class="flex flex-col mt-auto mb-auto">
<div class="text-2xl">{{ appName }}</div>
@@ -81,7 +82,8 @@ onMounted(() => {
class="w-[200px]"
:default-active="defaultActive"
:default-openeds="defaultOpeneds"
:background-color="props.bgColor ?? '#f5f5fb'"
background-color="transparent"
:text-color="props.bgColor ?? '#f5f5fb'"
@open="handleOpen"
@close="handleClose"
>