This commit is contained in:
2026-01-16 20:34:25 +08:00
parent 7bd4a92da6
commit a1cb9afa93
2 changed files with 12 additions and 5 deletions

View File

@@ -198,7 +198,7 @@
:data="tableData" :data="tableData"
stripe stripe
v-loading="loading" v-loading="loading"
max-height="420" height="100%"
@cell-dblclick="handleCellDbClick" @cell-dblclick="handleCellDbClick"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
@@ -206,7 +206,7 @@
fixed fixed
prop="displayId" prop="displayId"
:label="t('hostsList.id')" :label="t('hostsList.id')"
:width="screenWidth" min-width="120"
> >
<template #default="scope"> <template #default="scope">
<div <div
@@ -221,7 +221,7 @@
<el-table-column <el-table-column
prop="hostDisplayId" prop="hostDisplayId"
:label="t('hostsList.hostId')" :label="t('hostsList.hostId')"
:width="screenWidth" min-width="120"
> >
<template #default="scope"> <template #default="scope">
<div <div
@@ -238,7 +238,7 @@
:key="label.paramCode" :key="label.paramCode"
:prop="label.paramCode" :prop="label.paramCode"
:label="label.paramCodeMeaning" :label="label.paramCodeMeaning"
:width="screenWidth" min-width="100"
> >
<template <template
v-if="label.paramCode != 'createDt'" v-if="label.paramCode != 'createDt'"
@@ -1081,7 +1081,7 @@ function openhostDisplayId(hostDisplayId) {
// 玻璃态头部区域 // 玻璃态头部区域
// ================================ // ================================
.filter-header.glass-header { .filter-header.glass-header {
background: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.329);
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.9);
@@ -1301,6 +1301,7 @@ function openhostDisplayId(hostDisplayId) {
// ================================ // ================================
.table-container.glass-card { .table-container.glass-card {
flex: 1; flex: 1;
min-height: 0; // 关键 flex 子元素能够正确收缩
background: #ffffff; background: #ffffff;
border-radius: 24px; border-radius: 24px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
@@ -1312,8 +1313,13 @@ function openhostDisplayId(hostDisplayId) {
.table-wrapper { .table-wrapper {
flex: 1; flex: 1;
min-height: 0; // 关键 flex 子元素能够正确收缩
padding: 20px 24px 0; padding: 20px 24px 0;
overflow: hidden; overflow: hidden;
.el-table {
height: 100% !important;
}
} }
.table-footer { .table-footer {

View File

@@ -113,6 +113,7 @@ html {
flex-direction: column; flex-direction: column;
position: relative; position: relative;
z-index: 1; z-index: 1;
} }
.content-wrapper.glass-content { .content-wrapper.glass-content {