fix(FilterRuleGroupCard, TransferQueueDialog): 更新组件结构,替换 VCardText 为 VCardItem,优化显示效果

This commit is contained in:
jxxghp
2024-12-28 12:16:31 +08:00
parent bacd4d23a3
commit 3a8effd01f
2 changed files with 6 additions and 7 deletions

View File

@@ -224,8 +224,8 @@ function onClose() {
<VCard :title="`${props.group.name} - 配置`" class="rounded-t">
<DialogCloseBtn v-model="groupInfoDialog" />
<VDivider />
<VCardText>
<VRow>
<VCardItem class="pt-1">
<VRow class="mt-1">
<VCol cols="12" md="6">
<VTextField
v-model="groupInfo.name"
@@ -257,7 +257,7 @@ function onClose() {
/>
</VCol>
</VRow>
</VCardText>
</VCardItem>
<VCardText>
<draggable
v-model="filterRuleCards"

View File

@@ -3,7 +3,6 @@ import { formatFileSize } from '@/@core/utils/formatters'
import api from '@/api'
import { FileItem, TransferQueue } from '@/api/types'
import { useDisplay } from 'vuetify'
import { VChip, VDivider, VProgressLinear } from 'vuetify/lib/components/index.mjs'
// 显示器宽度
const display = useDisplay()
@@ -149,9 +148,9 @@ onUnmounted(() => {
color="primary"
indeterminate
/>
<VCardText v-if="dataList.length > 0 && progressValue > 0" class="text-center">
<span class="mt-2">{{ progressText }}</span>
</VCardText>
<VCardItem v-if="dataList.length > 0 && progressValue > 0" class="text-center pt-2">
<span class="text-sm">{{ progressText }}</span>
</VCardItem>
<VCardText v-if="dataList.length === 0" class="text-center"> 没有正在整理的任务 </VCardText>
<VCardText>
<VTabs v-model="activeTab" show-arrows class="v-tabs-pill" stacked>