From 9af1bc8285739ef2d08b6d7d7e04fca87f9f6f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Thu, 15 May 2025 10:14:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BF=A1=E4=BB=A3=E7=A0=81=E5=BA=93-A?= =?UTF-8?q?I=E5=A4=A7=E6=A8=A1=E5=9E=8B=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/jyh.scss | 2 +- .../AILayout/ViewHistoryAside/ViewHistoryAside.vue | 13 ++++++++++++- src/views/Jyh/AI/Home/SwiperComponent.vue | 10 ++++++---- src/views/Jyh/AI/Home/components/AIList.vue | 3 ++- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss index 468d286..cccab12 100644 --- a/src/assets/css/jyh.scss +++ b/src/assets/css/jyh.scss @@ -143,7 +143,7 @@ .active { background: transparent !important; border: 0px !important; - border-bottom: 2px solid black !important; + border-bottom: 4px solid black !important; } } } diff --git a/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue index 7553f64..fec6f29 100644 --- a/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue +++ b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue @@ -234,7 +234,7 @@ import BatchManageModal from './BatchManageModal.vue' // 定义每个卡片的展开状态 const selectTab = ref('dhls'); const searchText = ref(''); // 搜索关键词 -const collapseValue = ref(['today']); +const collapseValue = ref([]); const historyLimit = ref('30'); // 当前选中的卡片索引 const selectedIndex = ref(null); @@ -311,15 +311,25 @@ const formatTime = (date) => { height: 85vh; .jyh-tabs-4 { + height: 100% !important; + display: flex; + flex-direction: column; :deep(.devui-tabs__nav) { border-bottom: 0 !important; } :deep(.devui-tabs__nav--wrapped)>li.active a { color: black !important; } + :deep(.devui-tab__content) { + height: 100% !important; + } + :deep(.devui-tab__content > div) { + height: 100% !important; + } } .jyh-collapse { + height: 100%; // 添加这一行,设置高度为100% .devui-collapse__item-title { padding: 0 !important; } @@ -338,6 +348,7 @@ const formatTime = (date) => { /* 细滚动条样式 */ scrollbar-width: thin; scrollbar-color: #ddd transparent; + height: 100%; // 添加这一行,设置高度为100% } .scrollable-content::-webkit-scrollbar { diff --git a/src/views/Jyh/AI/Home/SwiperComponent.vue b/src/views/Jyh/AI/Home/SwiperComponent.vue index c5507ef..6e31f3d 100644 --- a/src/views/Jyh/AI/Home/SwiperComponent.vue +++ b/src/views/Jyh/AI/Home/SwiperComponent.vue @@ -117,7 +117,7 @@ onMounted(() => { .swiper-button-prev, .swiper-button-next { top: 55%; - width: 40px; + width: 60px; height: 40px; display: inline-flex; padding: 12px; @@ -125,9 +125,11 @@ onMounted(() => { gap: 10px; border-radius: 100px; - border: 2px solid #FFF; - background: rgba(255, 255, 255, 0.50); - backdrop-filter: blur(5px); + /*border: 2px solid #FFF;*/ + /*background: rgba(255, 255, 255, 0.50);*/ + background-position: center center; + background-repeat: no-repeat; + /*backdrop-filter: blur(5px);*/ } .swiper-button-prev:after, .swiper-button-next:after { diff --git a/src/views/Jyh/AI/Home/components/AIList.vue b/src/views/Jyh/AI/Home/components/AIList.vue index 982f7b3..965f47c 100644 --- a/src/views/Jyh/AI/Home/components/AIList.vue +++ b/src/views/Jyh/AI/Home/components/AIList.vue @@ -104,7 +104,8 @@ const processData = () => { columns.value = Array.from(uniqueKeys).map((key) => ({ key, - label: fieldTranslation[key] || key, + // label: fieldTranslation[key] || key, + label: key, width: 120 })); tableKey.value++;