chore: update

This commit is contained in:
xiaoxian521
2026-01-13 14:37:38 +08:00
parent b7a9cb0755
commit 4c805b3668
86 changed files with 236 additions and 259 deletions

View File

@@ -65,7 +65,7 @@ watch(
</script>
<template>
<template v-for="[fullPath, Comp] in compList" :key="fullPath">
<div v-show="fullPath === currRoute.fullPath" class="w-full h-full">
<div v-show="fullPath === currRoute.fullPath" class="size-full">
<slot
:fullPath="fullPath"
:Comp="Comp"
@@ -73,7 +73,7 @@ watch(
/>
</div>
</template>
<div v-show="!keep" class="w-full h-full">
<div v-show="!keep" class="size-full">
<slot :Comp="normalComp" :fullPath="currRoute.fullPath" frameInfo />
</div>
</template>

View File

@@ -18,7 +18,7 @@ const getLabel = computed(
<template>
<el-dropdown trigger="click" placement="bottom-end">
<span
:class="['dropdown-badge', 'navbar-bg-hover', 'select-none', 'mr-[7px]']"
:class="['dropdown-badge', 'navbar-bg-hover', 'select-none', 'mr-1.75']"
>
<el-badge is-dot>
<span class="header-notice-icon">

View File

@@ -34,12 +34,12 @@ function handleDelete(item) {
<IconifyIconOffline
v-show="item.type === 'history'"
:icon="StarIcon"
class="w-[18px] h-[18px] mr-2 hover:text-[#d7d5d4]"
class="w-4.5 h-4.5 mr-2 hover:text-[#d7d5d4]"
@click.stop="handleCollect(item)"
/>
<IconifyIconOffline
:icon="CloseIcon"
class="w-[18px] h-[18px] hover:text-[#d7d5d4] cursor-pointer"
class="w-4.5 h-4.5 hover:text-[#d7d5d4] cursor-pointer"
@click.stop="handleDelete(item)"
/>
</template>

View File

@@ -297,10 +297,7 @@ onKeyStroke("ArrowDown", handleDown);
@input="handleSearch"
>
<template #prefix>
<IconifyIconOffline
:icon="SearchIcon"
class="text-primary w-[24px] h-[24px]"
/>
<IconifyIconOffline :icon="SearchIcon" class="text-primary size-6" />
</template>
</el-input>
<div class="search-content">

View File

@@ -11,7 +11,7 @@ function handleSearch() {
<template>
<div>
<div
class="search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover hover:[&>svg]:animate-scale-bounce"
class="search-container w-10 h-12 flex-c cursor-pointer navbar-bg-hover hover:[&>svg]:animate-scale-bounce"
@click="handleSearch"
>
<IconifyIconOffline icon="ri/search-line" />

View File

@@ -105,7 +105,7 @@ watch(
</script>
<template>
<el-breadcrumb class="leading-[50px]! select-none" separator="/">
<el-breadcrumb class="leading-12.5! select-none" separator="/">
<transition-group name="breadcrumb">
<el-breadcrumb-item
v-for="item in levelList"

View File

@@ -11,10 +11,7 @@ defineProps({
</script>
<template>
<div v-if="extraIcon" class="flex justify-center items-center">
<component
:is="useRenderIcon(toRaw(extraIcon))"
class="w-[30px] h-[30px]"
/>
<div v-if="extraIcon" class="flex-c">
<component :is="useRenderIcon(toRaw(extraIcon))" class="w-7.5 h-7.5" />
</div>
</template>

View File

@@ -159,7 +159,7 @@ function resolvePath(routePath) {
item?.pathList?.length === 2)
"
truncated
class="w-full! px-3! min-w-[54px]! text-center! text-inherit!"
class="w-full! px-3! min-w-13.5! text-center! text-inherit!"
>
{{ transformI18n(onlyOneChild.meta.title) }}
</el-text>

View File

@@ -1,5 +1,5 @@
<template>
<svg class="w-full h-full">
<svg class="size-full">
<defs>
<symbol id="geometry-left" viewBox="0 0 214 36">
<path d="M17 0h197v36H0v-2c4.5 0 9-3.5 9-8V8c0-4.5 3.5-8 8-8z" />