chore: update

This commit is contained in:
xiaoxian521
2026-01-14 07:06:24 +08:00
parent bc1469d330
commit 18ae47a569
10 changed files with 14 additions and 14 deletions

View File

@@ -99,7 +99,7 @@ export default defineComponent({
"justify-between", "justify-between",
"pt-[3px]", "pt-[3px]",
"px-[11px]", "px-[11px]",
"border-b-[1px]", "border-b",
"border-b-solid", "border-b-solid",
"border-[#dcdfe6]", "border-[#dcdfe6]",
"dark:border-[#303030]" "dark:border-[#303030]"

View File

@@ -92,7 +92,7 @@ export default defineComponent({
"justify-between", "justify-between",
"pt-[3px]", "pt-[3px]",
"px-[11px]", "px-[11px]",
"border-b-[1px]", "border-b",
"border-b-solid", "border-b-solid",
"border-[#dcdfe6]", "border-[#dcdfe6]",
"dark:border-[#303030]" "dark:border-[#303030]"

View File

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

View File

@@ -12,6 +12,6 @@ defineProps({
<template> <template>
<div v-if="extraIcon" class="flex-c"> <div v-if="extraIcon" class="flex-c">
<component :is="useRenderIcon(toRaw(extraIcon))" class="w-7.5 h-7.5" /> <component :is="useRenderIcon(toRaw(extraIcon))" class="size-7.5" />
</div> </div>
</template> </template>

View File

@@ -158,7 +158,7 @@ onBeforeUnmount(() => {
v-if="curImg" v-if="curImg"
:src="curImg" :src="curImg"
:preview-src-list="Array.of(curImg)" :preview-src-list="Array.of(curImg)"
class="w-45 h-45 ml-2 rounded-md" class="size-45 ml-2 rounded-md"
/> />
</div> </div>
<div <div

View File

@@ -29,8 +29,8 @@ defineOptions({
</el-link> </el-link>
</template> </template>
<div class="w-full flex justify-around flex-wrap"> <div class="w-full flex justify-around flex-wrap">
<vertical-list class="h-125 w-125" /> <vertical-list class="size-125" />
<horizontal-list class="h-125 w-125" /> <horizontal-list class="size-125" />
</div> </div>
</el-card> </el-card>
</template> </template>

View File

@@ -133,7 +133,7 @@ watch(loginDay, value => {
<!-- 国际化 --> <!-- 国际化 -->
<el-dropdown trigger="click"> <el-dropdown trigger="click">
<globalization <globalization
class="hover:text-primary hover:bg-transparent! w-5 h-5 ml-1.5 cursor-pointer outline-hidden duration-300" class="hover:text-primary hover:bg-transparent! size-5 ml-1.5 cursor-pointer outline-hidden duration-300"
/> />
<template #dropdown> <template #dropdown>
<el-dropdown-menu class="translation"> <el-dropdown-menu class="translation">

View File

@@ -88,7 +88,7 @@ export function useUser(tableRef: Ref, treeRef: Ref) {
preview-teleported={true} preview-teleported={true}
src={row.avatar || userAvatar} src={row.avatar || userAvatar}
preview-src-list={Array.of(row.avatar || userAvatar)} preview-src-list={Array.of(row.avatar || userAvatar)}
class="w-6 h-6 rounded-full align-middle" class="size-6 rounded-full align-middle"
/> />
), ),
width: 90 width: 90

View File

@@ -49,7 +49,7 @@ const columns: TableColumnList = [
:preview-src-list="tableDataImage.map(v => v.image)" :preview-src-list="tableDataImage.map(v => v.image)"
:initial-index="index" :initial-index="index"
fit="cover" fit="cover"
class="w-25 h-25" class="size-25"
/> />
</template> </template>
</pure-table> </pure-table>