From 91a4ea06e588e6ef8ece5a3c13e14d5b53d0a1bc Mon Sep 17 00:00:00 2001 From: git_rabbit Date: Wed, 29 Oct 2025 00:03:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(CarouselBoard):=20=E5=B0=86=E8=BD=AE?= =?UTF-8?q?=E6=92=AD=E9=97=B4=E9=9A=94=E4=BB=8E60=E7=A7=92=E6=94=B9?= =?UTF-8?q?=E4=B8=BA10=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化轮播体验,加快信息展示频率,提升用户交互体验 --- .../components/QualityStatisticsCard.vue | 1438 +++++++++-------- .../components/WorkorderOnlineCard.vue | 1339 ++++++++------- .../kanbanManagement/CarouselBoard/index.vue | 126 +- 3 files changed, 1533 insertions(+), 1370 deletions(-) diff --git a/src/views/kanbanManagement/CarouselBoard/components/QualityStatisticsCard.vue b/src/views/kanbanManagement/CarouselBoard/components/QualityStatisticsCard.vue index da34b37..e3a5d90 100644 --- a/src/views/kanbanManagement/CarouselBoard/components/QualityStatisticsCard.vue +++ b/src/views/kanbanManagement/CarouselBoard/components/QualityStatisticsCard.vue @@ -1,582 +1,593 @@ \ No newline at end of file + diff --git a/src/views/kanbanManagement/CarouselBoard/components/WorkorderOnlineCard.vue b/src/views/kanbanManagement/CarouselBoard/components/WorkorderOnlineCard.vue index d3dcb4f..b60be74 100644 --- a/src/views/kanbanManagement/CarouselBoard/components/WorkorderOnlineCard.vue +++ b/src/views/kanbanManagement/CarouselBoard/components/WorkorderOnlineCard.vue @@ -1,519 +1,544 @@ \ No newline at end of file + +@media (max-width: 1200px) { + .first-row { + flex-direction: column; + height: auto; + gap: 15px; + } + + .chart-section, + .statistics-section { + flex: 1; + width: 100%; + } + + .second-row { + flex-direction: column; + gap: 15px; + } + + .table-section, + .bar-chart-section { + flex: 1; + width: 100%; + } + + .flip-card { + min-width: calc(100% / 2 - 15px * 1 / 2); /* 调整为2列布局 */ + } +} + +@media (max-width: 768px) { + .flip-card { + min-width: 100%; /* 调整为1列布局 */ + } +} + diff --git a/src/views/kanbanManagement/CarouselBoard/index.vue b/src/views/kanbanManagement/CarouselBoard/index.vue index edb5d3a..c5fa80e 100644 --- a/src/views/kanbanManagement/CarouselBoard/index.vue +++ b/src/views/kanbanManagement/CarouselBoard/index.vue @@ -1,90 +1,98 @@