可信代码库-AI大模型样式优化

This commit is contained in:
付民康
2025-05-15 10:14:53 +08:00
parent a7667cbe28
commit 9af1bc8285
4 changed files with 21 additions and 7 deletions

View File

@@ -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 {