fix: run 'pnpm format' update various components and improve layout structure

- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
This commit is contained in:
米山
2025-11-19 10:14:04 +08:00
parent fb8f36eeec
commit cd7c11c7d0
109 changed files with 158 additions and 157 deletions

View File

@@ -35,7 +35,7 @@ function handleUpdate(len: number) {
<div
v-for="item in list"
:key="item"
class="even:bg-heavy bg-muted flex-center h-[220px] w-full"
class="flex-center h-[220px] w-full bg-muted even:bg-heavy"
>
{{ item }}
</div>

View File

@@ -56,7 +56,7 @@ const leftMaxWidth = ref(props.leftMaxWidth || 100);
<div
v-else
:style="{ minWidth: '200px' }"
class="border-border bg-card mr-2 rounded-[var(--radius)] border p-2"
class="mr-2 rounded-[var(--radius)] border border-border bg-card p-2"
>
<p>这里是左侧内容</p>
<p>这里是左侧内容</p>

View File

@@ -51,7 +51,7 @@ const loadingV = refAutoReset(false, 3000);
<template #icon>
<IconifyIcon
icon="svg-spinners:ring-resize"
class="text-primary size-10"
class="size-10 text-primary"
/>
</template>
</Loading>
@@ -65,7 +65,7 @@ const loadingV = refAutoReset(false, 3000);
<template #icon>
<IconifyIcon
icon="svg-spinners:bars-scale"
class="text-primary size-10"
class="size-10 text-primary"
/>
</template>
</Loading>

View File

@@ -38,7 +38,7 @@ function handleUpdate(len?: number) {
<div
v-for="item in list"
:key="item"
class="even:bg-heavy bg-muted flex-center h-[220px] w-full"
class="flex-center h-[220px] w-full bg-muted even:bg-heavy"
>
{{ item }}
</div>

View File

@@ -291,7 +291,7 @@ function goDoc() {
<Form class="mt-4" />
<template #actions>
<p
class="text-secondary-foreground hover:text-secondary-foreground cursor-default"
class="cursor-default text-secondary-foreground hover:text-secondary-foreground"
>
更多配置请
<Button type="link" size="small" @click="goDoc">查看文档</Button>