fix: 修复多个UI样式问题和优化代码格式
Some checks failed
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled

-调整VXE表格搜索表单和分页样式间距
-优化use-layout-style和use-priority-value代码格式
This commit is contained in:
2026-01-09 17:03:34 +08:00
parent ccfa4b5f15
commit f93751e74a
8 changed files with 30 additions and 38 deletions

View File

@@ -184,7 +184,7 @@ const options = computed(() => {
pageSize: 20,
background: true,
pageSizes: [10, 20, 30, 50, 100, 200],
className: 'mt-2 w-full',
className: 'mt-1 w-full',
layouts: isMobile.value ? mobileLayouts : layouts,
size: 'mini' as const,
});
@@ -362,8 +362,8 @@ onUnmounted(() => {
v-show="showSearchForm !== false"
:class="
cn(
'relative rounded py-3',
isCompactForm ? (isSeparator ? 'pb-8' : 'pb-4') : isSeparator ? 'pb-4' : 'pb-0',
'relative rounded py-2',
isCompactForm ? (isSeparator ? 'pb-4' : 'pb-2') : isSeparator ? 'pb-2' : 'pb-0',
)
"
>
@@ -395,9 +395,10 @@ onUnmounted(() => {
:style="{
...(separatorBg ? { backgroundColor: separatorBg } : undefined),
}"
class="bg-background-deep z-100 absolute -left-2 bottom-1 h-2 w-[calc(100%+1rem)] overflow-hidden md:bottom-2 md:h-3"
class="bg-background-deep z-100 absolute -left-2 bottom-0 h-1 w-[calc(100%+1rem)] overflow-hidden md:bottom-0 md:h-2"
></div>
</div>
<div v-if="!showToolbar && formOptions" class="h-2 bg-white"></div>
</template>
<!-- loading -->
<template #loading>