mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 10:00:08 +08:00
feat: 优化工作流任务卡片和列表视图的布局
This commit is contained in:
@@ -144,8 +144,8 @@ const resolveProgress = (item: Workflow) => {
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<div>
|
||||
<VCard class="mx-auto" @click="handleFlow(workflow)" :ripple="false" :loading="loading" :disabled="loading">
|
||||
<div class="h-full">
|
||||
<VCard class="mx-auto h-full" @click="handleFlow(workflow)" :ripple="false" :loading="loading" :disabled="loading">
|
||||
<VCardItem class="py-3" :class="`bg-${resolveStatusVariant(workflow?.state).color}`">
|
||||
<template #prepend>
|
||||
<VAvatar variant="text" class="me-2">
|
||||
|
||||
@@ -47,7 +47,7 @@ onActivated(() => {
|
||||
<template>
|
||||
<div>
|
||||
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
||||
<VRow v-if="workflowList.length > 0">
|
||||
<VRow v-if="workflowList.length > 0" class="match-height">
|
||||
<VCol cols="12" md="6" lg="4" v-for="item in workflowList" :key="item.id">
|
||||
<WorkflowTaskCard :workflow="item" @refresh="fetchData" />
|
||||
</VCol>
|
||||
|
||||
Reference in New Issue
Block a user