可信代码库-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

@@ -143,7 +143,7 @@
.active {
background: transparent !important;
border: 0px !important;
border-bottom: 2px solid black !important;
border-bottom: 4px solid black !important;
}
}
}

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 {

View File

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

View File

@@ -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++;