20260826173130
This commit is contained in:
1 parent
9957757b5d
commit
0bbbbd3ecc
15 files changed
+2472
-874
No files matched your search
@@ -149,9 +149,9 @@ const totalCells = computed(() => columns.value.length * dataSource.value.length
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
/* 页面高度 = fms-content 可视内容高度(100vh - 顶栏40 - 布局gap8 - 页签40 - 内容padding 12+16),
|
||||
/* 高度 = 内容区可视高度(由布局实测写入 --fms-content-height,自动跟随顶栏/页签/padding),
|
||||
让滚动条落在表格内部而不是整个页面滚动 */
|
||||
height: calc(100vh - 116px);
|
||||
height: var(--fms-content-height, calc(100vh - 116px));
|
||||
color: var(--fms-text);
|
||||
}
|
||||
|
||||
@@ -204,16 +204,16 @@ const totalCells = computed(() => columns.value.length * dataSource.value.length
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ---- demo 卡片:工具栏 + 表格 ---- */
|
||||
/* ---- demo 卡片:工具栏 + 表格(灰底画布上的白卡,靠阴影分层,无边框线) ---- */
|
||||
.demo-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--fms-border);
|
||||
border-radius: 8px;
|
||||
background: var(--fms-card);
|
||||
box-shadow: var(--fms-shadow);
|
||||
}
|
||||
|
||||
.demo-toolbar {
|
||||
|
||||
Reference in new issue
Block a user