feat(table): 卡片操作按钮过多时折叠收纳(pro#6)

卡片操作按钮直接子级超 3 个时第 4 个起收纳
容器级委托展开/收起
阈值写死
This commit is contained in:
augushong
2026-10-03 12:48:03 +00:00
parent e9f01e2e6d
commit ba22150bde
3 changed files with 67 additions and 0 deletions

View File

@@ -885,6 +885,24 @@ table样式
}
}
/* 卡片操作按钮折叠收纳:按钮超过 3 个时其余移入隐藏容器(admin-table.js
applyCardOperatFold 移 DOM),点击"更多"锚点展开整行排列,on 态高亮 */
.ua-card-operat-more-wrap:not(.layui-hide) {
flex-basis: 100%;
display: flex;
justify-content: flex-end;
gap: 4px;
flex-wrap: wrap;
}
.ua-card-operat-more {
cursor: pointer;
color: inherit;
}
.ua-card-operat-more.on {
color: rgb(22, 183, 119);
}
.ua-card-setting-panel {
min-width: 200px;
}