为减少仓库噪声和重复规则,整理当前开发入口并移除已废弃资料。 - 精简根 AGENTS,补充四个应用规则与 README,统一规范入口 - 归整部署文件、SOP 原稿和参考资源,修正迁移后的脚本路径 - 取消虚拟环境、工具状态、业务导出及备份的跟踪,本机所需原件保留 - 移除停用的 graphify 配置、脚本与产物 - 删除历史业务文档、执行计划、OpenSpec 业务变更和移动 UI 原型 - 清理失效引用,历史细胞产品导入改为必须显式指定 --file 验证:git diff --cached --check、OpenSpec 严格校验、导入参数隔离检查 3/3 通过; 迁移文件完整性和现行链接已核对。未执行部署、业务数据导入或服务启停。
1785 lines
45 KiB
SCSS
Executable File
1785 lines
45 KiB
SCSS
Executable File
// 全局样式
|
||
html,
|
||
body,
|
||
#app {
|
||
min-height: 100%;
|
||
}
|
||
|
||
body {
|
||
font-family:
|
||
Inter,
|
||
-apple-system,
|
||
BlinkMacSystemFont,
|
||
'Segoe UI',
|
||
Roboto,
|
||
sans-serif;
|
||
font-size: 14px;
|
||
line-height: 1.5;
|
||
color: var(--mint-text);
|
||
background: var(--mint-bg-page);
|
||
}
|
||
|
||
:root {
|
||
--theme-color: var(--mint-primary);
|
||
--default-bg-color: var(--mint-bg-page);
|
||
--default-box-color: var(--mint-surface);
|
||
--art-card-border: var(--mint-border);
|
||
--custom-radius: 16px;
|
||
}
|
||
|
||
// 顶部进度条颜色
|
||
#nprogress .bar {
|
||
z-index: 2400;
|
||
background-color: var(--mint-primary);
|
||
}
|
||
|
||
#nprogress .peg {
|
||
box-shadow:
|
||
0 0 10px var(--theme-color),
|
||
0 0 5px var(--theme-color) !important;
|
||
}
|
||
|
||
#nprogress .spinner-icon {
|
||
border-top-color: var(--theme-color) !important;
|
||
border-left-color: var(--theme-color) !important;
|
||
}
|
||
|
||
// 处理移动端组件兼容性
|
||
@media screen and (max-width: 640px) {
|
||
* {
|
||
cursor: default !important;
|
||
}
|
||
}
|
||
|
||
// 背景滤镜
|
||
*,
|
||
::before,
|
||
::after {
|
||
--tw-backdrop-blur: ;
|
||
--tw-backdrop-brightness: ;
|
||
--tw-backdrop-contrast: ;
|
||
--tw-backdrop-grayscale: ;
|
||
--tw-backdrop-hue-rotate: ;
|
||
--tw-backdrop-invert: ;
|
||
--tw-backdrop-opacity: ;
|
||
--tw-backdrop-saturate: ;
|
||
--tw-backdrop-sepia: ;
|
||
}
|
||
|
||
// 色弱模式
|
||
.color-weak {
|
||
filter: invert(80%);
|
||
-webkit-filter: invert(80%);
|
||
}
|
||
|
||
#noop {
|
||
display: none;
|
||
}
|
||
|
||
// 语言切换选中样式
|
||
.langDropDownStyle {
|
||
// 选中项背景颜色
|
||
.is-selected {
|
||
background-color: var(--art-el-active-color) !important;
|
||
}
|
||
|
||
// 语言切换按钮菜单样式优化
|
||
.lang-btn-item {
|
||
.el-dropdown-menu__item {
|
||
padding-left: 13px !important;
|
||
padding-right: 6px !important;
|
||
margin-bottom: 3px !important;
|
||
}
|
||
|
||
&:last-child {
|
||
.el-dropdown-menu__item {
|
||
margin-bottom: 0 !important;
|
||
}
|
||
}
|
||
|
||
.menu-txt {
|
||
min-width: 60px;
|
||
display: block;
|
||
}
|
||
|
||
i {
|
||
font-size: 10px;
|
||
margin-left: 10px;
|
||
}
|
||
}
|
||
}
|
||
|
||
// 盒子默认边框
|
||
.page-content {
|
||
border: 1px solid var(--mint-border) !important;
|
||
border-radius: var(--mint-radius) !important;
|
||
box-shadow: var(--mint-shadow) !important;
|
||
}
|
||
|
||
@mixin art-card-base($border-color, $shadow: none, $radius-diff: 4px) {
|
||
background: var(--default-box-color);
|
||
border: 1px solid #{$border-color} !important;
|
||
border-radius: calc(var(--custom-radius) + #{$radius-diff}) !important;
|
||
box-shadow: #{$shadow} !important;
|
||
|
||
--el-card-border-color: var(--default-border) !important;
|
||
}
|
||
|
||
.art-card,
|
||
.art-card-sm,
|
||
.art-card-xs {
|
||
border: 1px solid var(--art-card-border);
|
||
}
|
||
|
||
// 盒子边框
|
||
[data-box-mode='border-mode'] {
|
||
.page-content,
|
||
.art-table-card {
|
||
border: 1px solid var(--art-card-border) !important;
|
||
}
|
||
|
||
.art-card {
|
||
@include art-card-base(var(--art-card-border), none, 4px);
|
||
}
|
||
|
||
.art-card-sm {
|
||
@include art-card-base(var(--art-card-border), none, 0px);
|
||
}
|
||
|
||
.art-card-xs {
|
||
@include art-card-base(var(--art-card-border), none, -4px);
|
||
}
|
||
}
|
||
|
||
// 盒子阴影
|
||
[data-box-mode='shadow-mode'] {
|
||
.page-content,
|
||
.art-table-card {
|
||
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.04) !important;
|
||
border: 1px solid var(--art-gray-200) !important;
|
||
}
|
||
|
||
.layout-sidebar {
|
||
border-right: 1px solid var(--art-card-border) !important;
|
||
}
|
||
|
||
.art-card {
|
||
@include art-card-base(
|
||
var(--art-gray-200),
|
||
(0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
|
||
4px
|
||
);
|
||
}
|
||
|
||
.art-card-sm {
|
||
@include art-card-base(
|
||
var(--art-gray-200),
|
||
(0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
|
||
2px
|
||
);
|
||
}
|
||
|
||
.art-card-xs {
|
||
@include art-card-base(
|
||
var(--art-gray-200),
|
||
(0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 1px -1px rgba(0, 0, 0, 0.08)),
|
||
-4px
|
||
);
|
||
}
|
||
}
|
||
|
||
// 元素全屏
|
||
.el-full-screen {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
width: 100vw !important;
|
||
height: 100% !important;
|
||
z-index: 2300;
|
||
margin-top: 0;
|
||
padding: 15px;
|
||
box-sizing: border-box;
|
||
background-color: var(--default-box-color);
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
// 表格卡片
|
||
.art-table-card {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-top: 12px;
|
||
border-radius: var(--mint-radius) !important;
|
||
border: 1px solid var(--mint-border) !important;
|
||
box-shadow: var(--mint-shadow) !important;
|
||
|
||
.el-card__body {
|
||
height: 100%;
|
||
overflow: hidden;
|
||
}
|
||
}
|
||
|
||
// 容器全高
|
||
.art-full-height {
|
||
height: var(--art-full-height);
|
||
display: flex;
|
||
flex-direction: column;
|
||
|
||
@media (max-width: 640px) {
|
||
height: auto;
|
||
}
|
||
}
|
||
|
||
// 徽章样式
|
||
.art-badge {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 20px;
|
||
bottom: 0;
|
||
width: 6px;
|
||
height: 6px;
|
||
margin: auto;
|
||
background: #ff3860;
|
||
border-radius: 50%;
|
||
animation: breathe 1.5s ease-in-out infinite;
|
||
|
||
&.art-badge-horizontal {
|
||
right: 0;
|
||
}
|
||
|
||
&.art-badge-mixed {
|
||
right: 0;
|
||
}
|
||
|
||
&.art-badge-dual {
|
||
right: 5px;
|
||
top: 5px;
|
||
bottom: auto;
|
||
}
|
||
}
|
||
|
||
// 文字徽章样式
|
||
.art-text-badge {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 12px;
|
||
bottom: 0;
|
||
min-width: 20px;
|
||
height: 18px;
|
||
line-height: 17px;
|
||
padding: 0 5px;
|
||
margin: auto;
|
||
font-size: 10px;
|
||
color: #fff;
|
||
text-align: center;
|
||
background: #fd4e4e;
|
||
border-radius: 4px;
|
||
|
||
&--zero {
|
||
background: #94a3b8;
|
||
}
|
||
|
||
&--dual {
|
||
min-width: 34px;
|
||
padding: 0 6px;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
}
|
||
|
||
@keyframes breathe {
|
||
0% {
|
||
opacity: 0.7;
|
||
transform: scale(1);
|
||
}
|
||
|
||
50% {
|
||
opacity: 1;
|
||
transform: scale(1.1);
|
||
}
|
||
|
||
100% {
|
||
opacity: 0.7;
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
|
||
// 修复老机型 loading 定位问题
|
||
.art-loading-fix {
|
||
position: fixed !important;
|
||
top: 0 !important;
|
||
left: 0 !important;
|
||
right: 0 !important;
|
||
bottom: 0 !important;
|
||
width: 100vw !important;
|
||
height: 100vh !important;
|
||
display: flex !important;
|
||
align-items: center !important;
|
||
justify-content: center !important;
|
||
}
|
||
|
||
.art-loading-fix .el-loading-spinner {
|
||
position: static !important;
|
||
top: auto !important;
|
||
left: auto !important;
|
||
transform: none !important;
|
||
}
|
||
|
||
// 去除移动端点击背景色
|
||
@media screen and (max-width: 1180px) {
|
||
* {
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
}
|
||
|
||
.page-head {
|
||
margin-bottom: 16px;
|
||
|
||
h1 {
|
||
margin: 0 0 4px;
|
||
font-size: 20px;
|
||
font-weight: 700;
|
||
letter-spacing: -0.02em;
|
||
color: var(--mint-text);
|
||
}
|
||
|
||
.page-desc,
|
||
.desc {
|
||
margin: 0;
|
||
color: var(--mint-text-muted);
|
||
font-size: 13px;
|
||
line-height: 1.45;
|
||
max-width: 720px;
|
||
}
|
||
}
|
||
|
||
.panel {
|
||
background: var(--mint-surface);
|
||
border: 1px solid var(--mint-border);
|
||
border-radius: var(--mint-radius);
|
||
box-shadow: var(--mint-shadow);
|
||
/* 不要用 overflow:hidden:会导致 el-table 右侧固定列(fixed="right")无法正确粘贴/层级错乱 */
|
||
overflow: visible;
|
||
}
|
||
|
||
/* overflow:visible 时,贴顶子块的矩形背景会盖住面板 1px 圆角描边。给首块补内侧圆角,不裁切表格固定列。 */
|
||
.panel > .panel-top:first-child,
|
||
.panel > .filter-block:first-child,
|
||
.panel > .list-toolbar:first-child,
|
||
.panel > .list-body:first-child,
|
||
.panel > :first-child > .panel-top:first-child,
|
||
.panel > :first-child > .filter-block:first-child,
|
||
.panel > :first-child > .list-toolbar:first-child,
|
||
.panel > :first-child > .list-body:first-child {
|
||
border-top-left-radius: calc(var(--mint-radius) - 1px);
|
||
border-top-right-radius: calc(var(--mint-radius) - 1px);
|
||
}
|
||
|
||
.panel-top {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
padding: 10px 16px;
|
||
border-bottom: 1px solid var(--mint-border);
|
||
|
||
h2,
|
||
h3 {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
margin: 0;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--mint-text);
|
||
}
|
||
|
||
h2 .title-ic,
|
||
h3 .title-ic {
|
||
width: 22px;
|
||
height: 22px;
|
||
border-radius: 8px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: var(--mint-primary-bg);
|
||
color: var(--mint-primary-dark);
|
||
border: 1px solid rgba(4, 120, 87, 0.16);
|
||
margin-right: 4px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
h2 .title-ic::before,
|
||
h3 .title-ic::before {
|
||
content: '';
|
||
width: 14px;
|
||
height: 14px;
|
||
background-color: currentColor;
|
||
opacity: 0.95;
|
||
mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
||
-webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
||
}
|
||
|
||
h2.title-bar-heading {
|
||
gap: 8px;
|
||
}
|
||
|
||
h2.title-bar-heading .title-ic {
|
||
display: none !important;
|
||
}
|
||
|
||
h2.title-bar-heading::before {
|
||
content: '';
|
||
width: 4px;
|
||
height: 14px;
|
||
border-radius: 999px;
|
||
background: var(--mint-primary, #047857);
|
||
flex-shrink: 0;
|
||
}
|
||
}
|
||
|
||
// 面板级胶囊分段 Tab(薄荷绿渐变轨道 + 主色选中,对齐渠道管理等页)
|
||
.panel-pill-tabs {
|
||
// 自定义按钮结构(质检物料库等)
|
||
&:not(.el-tabs) {
|
||
display: flex;
|
||
justify-content: center;
|
||
margin: 12px 24px 4px;
|
||
}
|
||
|
||
&--start:not(.el-tabs) {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
// 注:panel-pill-tabs--lg 曾放大尺寸,现已取消;模板中 class 可保留,视觉与默认一致
|
||
|
||
&__track {
|
||
display: inline-flex;
|
||
gap: 4px;
|
||
padding: 4px;
|
||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||
border: 1px solid #d1fae5;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
&__btn {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 108px;
|
||
padding: 8px 20px;
|
||
border: none;
|
||
border-radius: 6px;
|
||
background: transparent;
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
line-height: 1.4;
|
||
text-align: center;
|
||
color: var(--mint-text-muted, #64748b);
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
transition:
|
||
background 0.15s,
|
||
color 0.15s,
|
||
box-shadow 0.15s;
|
||
|
||
&:hover:not(.is-active) {
|
||
color: #065f46;
|
||
}
|
||
|
||
&.is-active {
|
||
background: var(--primary, #10b981);
|
||
color: #fff;
|
||
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
|
||
font-weight: 500;
|
||
|
||
&:hover {
|
||
color: #fff;
|
||
background: var(--primary, #10b981);
|
||
}
|
||
}
|
||
}
|
||
|
||
&__badge {
|
||
position: absolute;
|
||
top: -5px;
|
||
right: -4px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 18px;
|
||
height: 18px;
|
||
padding: 0 5px;
|
||
border-radius: 999px;
|
||
background: #d97706;
|
||
color: #fff;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
line-height: 1;
|
||
border: 2px solid #d1fae5;
|
||
pointer-events: none;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
&__btn.is-active &__badge {
|
||
border-color: var(--primary, #10b981);
|
||
}
|
||
|
||
&__badge--zero {
|
||
background: #94a3b8;
|
||
}
|
||
|
||
&__badge--dual {
|
||
min-width: 34px;
|
||
padding: 0 6px;
|
||
font-size: 10px;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
// 质检工单 / 我的质检任务 / 生产工单 / 我的生产任务 — Tab 待办角标红色
|
||
&--alert-badge {
|
||
.panel-pill-tabs__badge:not(.panel-pill-tabs__badge--zero) {
|
||
background: #ef4444;
|
||
color: #fff;
|
||
}
|
||
}
|
||
|
||
&__btn.is-active &__badge--zero {
|
||
background: rgba(255, 255, 255, 0.92);
|
||
color: var(--primary-dark, #059669);
|
||
border-color: var(--primary, #10b981);
|
||
}
|
||
|
||
// el-tabs 结构
|
||
&.el-tabs {
|
||
> .el-tabs__header {
|
||
display: flex;
|
||
justify-content: center;
|
||
margin: 12px 24px 4px;
|
||
padding: 0;
|
||
border: none;
|
||
}
|
||
|
||
.el-tabs__nav-wrap {
|
||
flex: 0 1 auto;
|
||
|
||
&::after {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
.el-tabs__nav-scroll {
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.el-tabs__nav {
|
||
display: inline-flex;
|
||
gap: 4px;
|
||
float: none;
|
||
padding: 4px;
|
||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||
border: 1px solid #d1fae5;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.el-tabs__active-bar {
|
||
display: none;
|
||
}
|
||
|
||
.el-tabs__item {
|
||
display: inline-flex !important;
|
||
align-items: center !important;
|
||
justify-content: center !important;
|
||
box-sizing: border-box;
|
||
min-width: 108px;
|
||
height: auto !important;
|
||
margin: 0 !important;
|
||
padding: 8px 20px !important;
|
||
border: none !important;
|
||
border-radius: 6px;
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
line-height: 1.4;
|
||
text-align: center !important;
|
||
color: var(--mint-text-muted, #64748b);
|
||
transition:
|
||
background 0.15s,
|
||
color 0.15s,
|
||
box-shadow 0.15s;
|
||
|
||
&:hover:not(.is-active) {
|
||
color: #065f46;
|
||
}
|
||
|
||
&.is-active {
|
||
background: var(--primary, #10b981);
|
||
color: #fff;
|
||
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
|
||
font-weight: 500;
|
||
|
||
&:hover {
|
||
color: #fff;
|
||
background: var(--primary, #10b981);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
&--start.el-tabs {
|
||
> .el-tabs__header {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.el-tabs__nav-scroll {
|
||
justify-content: flex-start;
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
// 缴退费财务确认 — 待确认 / 已确认分区标题(背景与 panel-pill-tabs 轨道一致)
|
||
.finance-section-head {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
margin: 4px 24px 0;
|
||
padding: 10px 14px;
|
||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||
border: 1px solid #d1fae5;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.finance-section-title {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin: 0;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--text, #1e293b);
|
||
line-height: 1.4;
|
||
|
||
&::before {
|
||
content: '';
|
||
width: 4px;
|
||
height: 12px;
|
||
border-radius: 999px;
|
||
background: var(--primary-dark, #059669);
|
||
}
|
||
}
|
||
|
||
.finance-section-head--pending .finance-section-title::before {
|
||
background: #d97706;
|
||
}
|
||
|
||
.finance-section-count {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 22px;
|
||
height: 22px;
|
||
padding: 0 6px;
|
||
border-radius: 999px;
|
||
background: #f1f5f9;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
color: var(--mint-text-muted, #64748b);
|
||
}
|
||
|
||
.finance-section-head--pending .finance-section-count {
|
||
background: #fffbeb;
|
||
color: #d97706;
|
||
}
|
||
|
||
// 弹窗内 Sticky 胶囊 Tab(detail-tabs / detail-tab,与 panel-pill-tabs 视觉一致)
|
||
.detail-tabs {
|
||
display: flex;
|
||
gap: 4px;
|
||
padding: 4px;
|
||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||
border: 1px solid #d1fae5;
|
||
border-radius: 8px;
|
||
width: fit-content;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.dialog-form-body > .detail-tabs,
|
||
.protocol-view-body > .detail-tabs,
|
||
.application-detail-body > .detail-tabs,
|
||
.donation-view-body > .detail-tabs,
|
||
.channel-view-body > .detail-tabs,
|
||
.channel-dialog-body > .detail-tabs,
|
||
.dialog-scroll > .detail-tabs {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 1000;
|
||
margin: 0 28px 16px;
|
||
isolation: isolate;
|
||
}
|
||
|
||
.detail-tab {
|
||
padding: 10px 20px;
|
||
cursor: pointer;
|
||
border-radius: 6px;
|
||
font-size: 14px;
|
||
color: #606266;
|
||
transition:
|
||
background 0.15s,
|
||
color 0.15s,
|
||
box-shadow 0.15s;
|
||
|
||
&.active {
|
||
background: var(--primary, #10b981);
|
||
color: #fff;
|
||
font-weight: 500;
|
||
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
|
||
}
|
||
|
||
&:hover:not(.active):not(.is-disabled) {
|
||
color: #065f46;
|
||
}
|
||
|
||
&.is-disabled {
|
||
cursor: default;
|
||
opacity: 0.65;
|
||
pointer-events: none;
|
||
}
|
||
}
|
||
|
||
// 面板级步骤胶囊 Tab(样本信息管理 / 采集协议单 / 中试·基础实验申请单等)
|
||
.pill-tab-nav {
|
||
padding: 16px 20px 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
|
||
.pill-tab-nav__rail {
|
||
display: flex;
|
||
align-items: center;
|
||
width: 70%;
|
||
max-width: 100%;
|
||
margin-inline: auto;
|
||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||
border: 1px solid #d1fae5;
|
||
border-radius: 10px;
|
||
padding: 6px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
|
||
}
|
||
|
||
.pill-tab-nav__progress {
|
||
position: absolute;
|
||
top: 6px;
|
||
bottom: 6px;
|
||
left: 6px;
|
||
background: var(--primary, #10b981);
|
||
border: 1px solid var(--primary-dark, #059669);
|
||
border-radius: 8px;
|
||
box-shadow: 0 1px 3px rgb(16 185 129 / 24%);
|
||
transition:
|
||
transform 0.25s ease,
|
||
width 0.25s ease;
|
||
z-index: 0;
|
||
}
|
||
|
||
.pill-tab-nav__step {
|
||
flex: 1;
|
||
position: relative;
|
||
z-index: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
min-width: 0;
|
||
min-height: 44px;
|
||
padding: 8px 10px;
|
||
border: none;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
border-radius: 8px;
|
||
transition: color 0.2s ease;
|
||
}
|
||
|
||
.pill-tab-nav__index {
|
||
width: 22px;
|
||
height: 22px;
|
||
border-radius: 50%;
|
||
background: #e2e8f0;
|
||
color: var(--mint-text-muted, #334155);
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-shrink: 0;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.pill-tab-nav__text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
|
||
.pill-tab-nav__title {
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: var(--mint-text-muted, #64748b);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.pill-tab-nav__desc {
|
||
font-size: 11px;
|
||
color: var(--mint-text-muted, #334155);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.pill-tab-nav__step.is-active .pill-tab-nav__index {
|
||
background: #fff;
|
||
color: var(--primary-dark, #059669);
|
||
}
|
||
|
||
.pill-tab-nav__step.is-active .pill-tab-nav__title,
|
||
.pill-tab-nav__step.is-active .pill-tab-nav__desc {
|
||
color: #fff;
|
||
}
|
||
|
||
.pill-tab-nav__step.is-done .pill-tab-nav__index {
|
||
background: var(--primary-bg, #ecfdf5);
|
||
color: var(--primary-dark, #059669);
|
||
border: 1px solid var(--mint-border, #c5e0d4);
|
||
}
|
||
|
||
.pill-tab-nav__step.is-done .pill-tab-nav__title {
|
||
color: var(--text, #1e293b);
|
||
}
|
||
|
||
@media (width <= 960px) {
|
||
.pill-tab-nav__desc {
|
||
display: none;
|
||
}
|
||
|
||
.pill-tab-nav__text {
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
@media (width <= 720px) {
|
||
.pill-tab-nav {
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.pill-tab-nav__rail {
|
||
width: 100%;
|
||
min-width: 680px;
|
||
}
|
||
}
|
||
|
||
// 面板级左对齐下划线 Tab
|
||
.panel-underline-tabs {
|
||
&:not(.el-tabs) {
|
||
margin: 12px 24px 0;
|
||
border-bottom: 2px solid var(--mint-border, #e2e8f0);
|
||
}
|
||
|
||
&__track {
|
||
display: flex;
|
||
gap: 0;
|
||
}
|
||
|
||
&__btn {
|
||
padding: 14px 28px;
|
||
margin-bottom: -2px;
|
||
border: none;
|
||
background: transparent;
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
line-height: 1.4;
|
||
color: var(--mint-text-muted, #64748b);
|
||
cursor: pointer;
|
||
border-bottom: 3px solid transparent;
|
||
transition:
|
||
color 0.15s,
|
||
border-color 0.15s,
|
||
background 0.15s;
|
||
|
||
&:hover:not(.is-active) {
|
||
color: var(--mint-text-muted, #334155);
|
||
background: #f8fafc;
|
||
}
|
||
|
||
&.is-active {
|
||
color: var(--primary-dark, #059669);
|
||
font-weight: 600;
|
||
border-bottom-color: var(--primary, #10b981);
|
||
}
|
||
}
|
||
|
||
// el-tabs 结构
|
||
&.el-tabs {
|
||
> .el-tabs__header {
|
||
display: flex;
|
||
justify-content: flex-start;
|
||
margin: 12px 24px 0;
|
||
padding: 0;
|
||
border: none;
|
||
border-bottom: 2px solid var(--mint-border, #e2e8f0);
|
||
}
|
||
|
||
.el-tabs__nav-wrap {
|
||
flex: 0 1 auto;
|
||
|
||
&::after {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
.el-tabs__nav-scroll {
|
||
display: flex;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.el-tabs__nav {
|
||
float: none;
|
||
gap: 0;
|
||
padding: 0;
|
||
border: none;
|
||
background: transparent;
|
||
}
|
||
|
||
.el-tabs__active-bar {
|
||
display: none;
|
||
}
|
||
|
||
.el-tabs__item {
|
||
display: inline-flex !important;
|
||
align-items: center !important;
|
||
justify-content: center !important;
|
||
box-sizing: border-box;
|
||
height: auto !important;
|
||
margin: 0 0 -2px !important;
|
||
padding: 14px 28px !important;
|
||
border: none !important;
|
||
border-bottom: 3px solid transparent !important;
|
||
border-radius: 0;
|
||
background: transparent;
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
line-height: 1.4;
|
||
text-align: center !important;
|
||
color: var(--mint-text-muted, #64748b);
|
||
transition:
|
||
color 0.15s,
|
||
border-color 0.15s,
|
||
background 0.15s;
|
||
|
||
&:hover:not(.is-active) {
|
||
color: var(--mint-text-muted, #334155);
|
||
background: #f8fafc;
|
||
}
|
||
|
||
&.is-active {
|
||
color: var(--primary-dark, #059669);
|
||
font-weight: 600;
|
||
border-bottom-color: var(--primary, #10b981) !important;
|
||
background: transparent;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-tenant,
|
||
.console-container .panel-top h2.auto-title-tenant {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-dict,
|
||
.console-container .panel-top h2.auto-title-dict {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-role,
|
||
.console-container .panel-top h2.auto-title-role {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-menu,
|
||
.console-container .panel-top h2.auto-title-menu {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-post,
|
||
.console-container .panel-top h2.auto-title-post {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-unit,
|
||
.console-container .panel-top h2.auto-title-unit {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-express,
|
||
.console-container .panel-top h2.auto-title-express {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-dept,
|
||
.console-container .panel-top h2.auto-title-dept {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cpath d='m7 15 5-4 5 4'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-list,
|
||
.console-container .panel-top h2.auto-title-list {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container .storage-content-header h3 {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
margin: 0;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--mint-text);
|
||
|
||
.title-ic {
|
||
width: 22px;
|
||
height: 22px;
|
||
border-radius: 8px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: var(--mint-primary-bg);
|
||
color: var(--mint-primary-dark);
|
||
border: 1px solid rgba(4, 120, 87, 0.16);
|
||
margin-right: 4px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.title-ic::before {
|
||
content: '';
|
||
width: 14px;
|
||
height: 14px;
|
||
background-color: currentColor;
|
||
opacity: 0.95;
|
||
mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
||
-webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
|
||
}
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-operation,
|
||
.console-container .panel-top h2.auto-title-operation {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-location,
|
||
.console-container .panel-top h2.auto-title-location {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-7-11a7 7 0 1 1 14 0c0 6.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-garment,
|
||
.console-container .panel-top h2.auto-title-garment {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-user,
|
||
.console-container .panel-top h2.auto-title-user {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-route,
|
||
.console-container .panel-top h2.auto-title-route {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-process,
|
||
.console-container .panel-top h2.auto-title-process {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-settings,
|
||
.console-container .panel-top h2.auto-title-settings {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-1.5 2.6-0.2-.1a2 2 0 0 0-2.1.4 1.8 1.8 0 0 0-.6 2v.2H9.6v-.2a1.8 1.8 0 0 0-.6-2 2 2 0 0 0-2.1-.4l-.2.1-1.5-2.6.1-.1A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-1.6-1.1H3v-3h.0a1.7 1.7 0 0 0 1.6-1.1 1.7 1.7 0 0 0-.3-1.9l-.1-.1 1.5-2.6.2.1a2 2 0 0 0 2.1-.4 1.8 1.8 0 0 0 .6-2V2h4.8v.2a1.8 1.8 0 0 0 .6 2 2 2 0 0 0 2.1.4l.2-.1 1.5 2.6-.1.1a1.7 1.7 0 0 0-.3 1.9A1.7 1.7 0 0 0 21 10.9h.0v3H21a1.7 1.7 0 0 0-1.6 1.1z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-category,
|
||
.console-container .panel-top h2.auto-title-category {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-box,
|
||
.console-container .panel-top h2.auto-title-box {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-receipt,
|
||
.console-container .panel-top h2.auto-title-receipt {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-2-1-2 1-2-1-2 1-2-1-2 1V2z'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h6'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-file,
|
||
.console-container .panel-top h2.auto-title-file {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-quote,
|
||
.console-container .panel-top h2.auto-title-quote {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H7l-4 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
|
||
}
|
||
.page-container
|
||
:is(
|
||
.panel-top h2,
|
||
.panel-top h3,
|
||
.storage-content-header h3,
|
||
.storage-aside__head h2,
|
||
.user-dept-aside__head h2
|
||
).auto-title-calc,
|
||
.console-container .panel-top h2.auto-title-calc {
|
||
--panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M9 6h6'/%3E%3Cpath d='M8 10h2'/%3E%3Cpath d='M14 10h2'/%3E%3Cpath d='M8 14h2'/%3E%3Cpath d='M14 14h2'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E");
|
||
}
|
||
|
||
.page-container,
|
||
.console-container {
|
||
.filter-block {
|
||
padding: 12px 16px 10px;
|
||
/* 与 .panel 同色;勿铺实心底,否则 overflow:visible 时会盖住面板顶角圆角描边 */
|
||
background: transparent;
|
||
border-bottom: 1px solid var(--mint-border);
|
||
}
|
||
|
||
.filter-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 10px 14px;
|
||
margin-bottom: 0;
|
||
|
||
/* 纵向间距交给 grid gap,避免与操作行叠加出大空隙 */
|
||
.el-form-item {
|
||
margin-bottom: 0;
|
||
}
|
||
}
|
||
|
||
/* 检索栏左右布局:label 与输入框间距 */
|
||
.filter-form:not(.el-form--label-top) .el-form-item__label {
|
||
padding-right: 12px;
|
||
}
|
||
|
||
.filter-actions-row {
|
||
margin-top: 8px;
|
||
padding-top: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.filter-actions-end,
|
||
.toolbar-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
margin-left: auto;
|
||
}
|
||
|
||
.search-bar {
|
||
background: var(--mint-surface);
|
||
border: 1px solid var(--mint-border);
|
||
border-radius: var(--mint-radius);
|
||
box-shadow: var(--mint-shadow);
|
||
}
|
||
|
||
.detail-hero {
|
||
margin-bottom: 14px;
|
||
padding: 14px 16px;
|
||
border: 1px solid var(--mint-border);
|
||
border-radius: var(--mint-radius);
|
||
background: var(--mint-primary-bg);
|
||
}
|
||
|
||
.detail-hero-title {
|
||
font-size: 16px;
|
||
font-weight: 700;
|
||
color: var(--mint-text);
|
||
}
|
||
|
||
.detail-hero-meta {
|
||
margin-top: 6px;
|
||
color: var(--mint-text-muted);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.detail-section {
|
||
border-radius: var(--mint-radius);
|
||
overflow: hidden;
|
||
margin-bottom: 14px;
|
||
}
|
||
}
|
||
|
||
/* 主列表页 + append-to-body 弹窗内嵌列表共用(OpenSpec:弹窗内列表风格一致) */
|
||
.page-container,
|
||
.console-container,
|
||
.el-dialog {
|
||
.list-toolbar,
|
||
.toolbar {
|
||
padding: 0;
|
||
background: var(--mint-table-head);
|
||
border-bottom: 1px solid var(--mint-border);
|
||
}
|
||
|
||
.list-toolbar-row,
|
||
.toolbar {
|
||
padding: 8px 16px;
|
||
gap: 8px;
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
/* 列表工具栏按钮间距统一由 gap 控制,清除 Element 默认相邻按钮 margin */
|
||
.list-toolbar-row .el-button + .el-button,
|
||
.toolbar .el-button + .el-button,
|
||
.toolbar-right .el-button + .el-button,
|
||
.toolbar-actions .el-button + .el-button,
|
||
.filter-actions-end .el-button + .el-button {
|
||
margin-left: 0 !important;
|
||
}
|
||
|
||
.list-toolbar-selected,
|
||
.toolbar-left {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
min-height: 36px;
|
||
padding: 0 10px 0 0;
|
||
margin-right: 4px;
|
||
border-right: 1px solid var(--mint-border);
|
||
font-size: 12px;
|
||
color: var(--mint-text-muted);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.sel-num {
|
||
color: var(--mint-primary-dark);
|
||
font-weight: 700;
|
||
margin: 0 2px;
|
||
}
|
||
|
||
.list-body {
|
||
border-top: 1px solid var(--mint-border);
|
||
}
|
||
|
||
.list-wrap {
|
||
border-radius: 0 0 var(--mint-radius) var(--mint-radius);
|
||
overflow: visible;
|
||
}
|
||
|
||
.pagination.list-pager-bar,
|
||
.list-footer {
|
||
margin-top: 0;
|
||
padding: 10px 16px 12px;
|
||
border-top: 1px solid var(--mint-border);
|
||
background: var(--mint-surface);
|
||
border-radius: 0 0 var(--mint-radius) var(--mint-radius);
|
||
}
|
||
|
||
.pagination {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
margin-top: 0;
|
||
padding: 10px 16px 12px;
|
||
border-top: 1px solid var(--mint-border);
|
||
background: var(--mint-surface);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1100px) {
|
||
.page-container,
|
||
.console-container {
|
||
.filter-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
}
|
||
|
||
@media (max-width: 560px) {
|
||
.page-container,
|
||
.console-container {
|
||
.filter-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.filter-actions-row {
|
||
align-items: stretch;
|
||
flex-direction: column;
|
||
}
|
||
}
|
||
}
|
||
|
||
/* 弹窗表单栅格(与 docs/web-admin-ui-spec-fresh-mint.md §9.3.1 / §10.3 一致) */
|
||
.form-grid-2 {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 12px 20px;
|
||
}
|
||
|
||
.form-grid-3 {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 12px 16px;
|
||
}
|
||
|
||
.form-grid-4 {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 12px 14px;
|
||
}
|
||
|
||
.form-grid-5 {
|
||
display: grid;
|
||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||
gap: 12px 12px;
|
||
}
|
||
|
||
/* 纵向间距交给 gap,避免与 el-form-item 默认 margin-bottom 叠加 */
|
||
.form-grid,
|
||
.form-grid-2,
|
||
.form-grid-3,
|
||
.form-grid-4,
|
||
.form-grid-5 {
|
||
> .el-form-item,
|
||
> .el-form-item.el-form-item--label-top {
|
||
margin-bottom: 0;
|
||
}
|
||
}
|
||
|
||
.form-col-span-2 {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.sort-field {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.form-tip {
|
||
margin-left: 8px;
|
||
color: var(--mint-text-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.form-label-tip {
|
||
margin-left: 4px;
|
||
color: var(--mint-text-muted);
|
||
font-size: 12px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.form-grid-3 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.form-grid-4,
|
||
.form-grid-5 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (max-width: 560px) {
|
||
.form-grid-2,
|
||
.form-grid-3,
|
||
.form-grid-4,
|
||
.form-grid-5 {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
/* 查看弹窗键值对:label 在上、value 在下(与 ProtocolViewDialog data-label/data-value 一致) */
|
||
.view-kv-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 12px 20px;
|
||
}
|
||
|
||
.view-kv-grid--cols-3 {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
|
||
.view-kv-grid--cols-4 {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
}
|
||
|
||
.view-kv,
|
||
[class$='-view-kv']:not([class*='-view-kv-grid']) {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 4px;
|
||
font-size: 13px;
|
||
|
||
dt {
|
||
margin: 0;
|
||
font-size: 12px;
|
||
color: var(--mint-text-muted, #334155);
|
||
font-weight: 500;
|
||
}
|
||
|
||
dd {
|
||
margin: 0;
|
||
color: #1e293b;
|
||
word-break: break-word;
|
||
|
||
> .el-tag {
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
}
|
||
}
|
||
}
|
||
|
||
.view-kv-span-2 {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.readonly-item {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
font-size: 14px;
|
||
line-height: 1.5;
|
||
|
||
> .label {
|
||
display: block;
|
||
min-width: 0;
|
||
margin: 0;
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
color: var(--mint-text-muted, #64748b);
|
||
|
||
&::after {
|
||
content: none !important;
|
||
}
|
||
}
|
||
|
||
> .el-tag {
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
}
|
||
}
|
||
|
||
.qc-work-order-card__meta-item {
|
||
align-items: flex-start;
|
||
|
||
dd > .el-tag {
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
}
|
||
}
|
||
|
||
.data-value > .el-tag {
|
||
width: fit-content;
|
||
max-width: 100%;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.view-kv-grid--cols-4 {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.view-kv-grid,
|
||
.view-kv-grid--cols-3,
|
||
.view-kv-grid--cols-4 {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
/* 标准 CRUD 弹窗:相对视口上下各保留至少 50px 可视留白,正文区纵向滚动(不占满视口高度) */
|
||
.el-dialog.dialog-form-layout {
|
||
display: flex;
|
||
flex-direction: column;
|
||
max-height: calc(100vh - 100px);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout .el-dialog__header {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout .el-dialog__body {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
padding: 18px 22px;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout .el-dialog__footer {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* label-top 弹窗:无栅格时也收紧默认 18px 行距 */
|
||
.el-dialog.dialog-form-layout .el-form--label-top > .el-form-item,
|
||
.el-dialog.dialog-form-layout .el-form--label-top > .el-row .el-form-item {
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout .el-form--label-top .form-grid .el-form-item,
|
||
.el-dialog.dialog-form-layout .el-form--label-top .form-grid-2 .el-form-item,
|
||
.el-dialog.dialog-form-layout .el-form--label-top .form-grid-3 .el-form-item,
|
||
.el-dialog.dialog-form-layout .el-form--label-top .form-grid-4 .el-form-item,
|
||
.el-dialog.dialog-form-layout .el-form--label-top .form-grid-5 .el-form-item {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout .el-form--label-top:is(.form-grid, .form-grid-2, .form-grid-3, .form-grid-4, .form-grid-5) > .el-form-item {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
/* 标准 CRUD / 大表单弹窗遮罩:顶对齐留白,避免 align-center 高弹窗与顶栏贴齐(protocol-dialog-mask 同构,全局兜底) */
|
||
.protocol-dialog-mask,
|
||
.lab-test-item-dialog-mask,
|
||
.el-overlay:has(.el-dialog.dialog-form-layout),
|
||
.el-overlay:has(.el-dialog.system-view-dialog),
|
||
.el-overlay:has(.el-dialog.order-module-dialog) {
|
||
align-items: flex-start !important;
|
||
backdrop-filter: none !important;
|
||
|
||
.el-overlay-dialog {
|
||
margin-top: 16px;
|
||
margin-bottom: auto;
|
||
}
|
||
|
||
.el-dialog.dialog-form-layout,
|
||
.el-dialog.order-module-dialog {
|
||
max-width: calc(100vw - 48px);
|
||
}
|
||
}
|
||
|
||
/* 弹窗异步加载:骨架占位,减轻先小后大 */
|
||
.dialog-scroll.is-view-loading,
|
||
.dialog-form-body.is-dialog-loading,
|
||
.protocol-view-body.is-detail-loading,
|
||
.donation-view-body.is-detail-loading,
|
||
.product-form-container.is-view-loading {
|
||
min-height: min(360px, calc(100vh - 220px));
|
||
}
|
||
|
||
#app-header > div {
|
||
background: var(--mint-surface) !important;
|
||
}
|
||
|
||
#app-header .relative.box-border.flex-b {
|
||
height: 56px !important;
|
||
line-height: 56px !important;
|
||
padding: 0 var(--mint-content-padding);
|
||
}
|
||
|
||
#app-header .header-brand {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
gap: 12px;
|
||
align-items: center;
|
||
margin-right: 12px;
|
||
padding-right: 16px;
|
||
cursor: pointer;
|
||
border-right: 1px solid var(--mint-border);
|
||
|
||
.art-logo img {
|
||
display: block;
|
||
}
|
||
}
|
||
|
||
#app-header .header-brand__title {
|
||
max-width: 180px;
|
||
margin: 0;
|
||
font-size: 16px;
|
||
font-weight: 700;
|
||
line-height: 1.35;
|
||
color: var(--mint-text, #0f172a);
|
||
white-space: normal;
|
||
}
|
||
|
||
#app-header .flex-c.gap-2\.5 {
|
||
gap: 10px !important;
|
||
}
|
||
|
||
#app-content .worktab-strip.w-full {
|
||
margin-bottom: 0 !important;
|
||
padding: 0 24px 4px !important;
|
||
}
|
||
|
||
#app-sidebar .layout-sidebar {
|
||
border-right: 1px solid var(--mint-border) !important;
|
||
background: var(--mint-surface);
|
||
}
|
||
|
||
#app-sidebar .menu-left .header {
|
||
height: 56px;
|
||
line-height: 56px;
|
||
border-bottom: 1px solid var(--mint-border);
|
||
}
|
||
|
||
/* 附件上传拖拽落区高亮(方案 1:卡片化附件 + 行内纸质材料) */
|
||
.attachment-upload.is-dragover {
|
||
border: 1px dashed var(--primary, #10b981);
|
||
border-radius: 8px;
|
||
background: var(--primary-bg, #ecfdf5);
|
||
box-shadow: inset 0 0 0 1px rgb(16 185 129 / 15%);
|
||
}
|
||
|
||
.paper-att-list.is-dragover {
|
||
border: 1px dashed var(--primary, #10b981);
|
||
border-radius: 8px;
|
||
background: var(--primary-bg, #ecfdf5);
|
||
}
|
||
|
||
.paper-att-cards.is-dragover {
|
||
border: 1px dashed var(--primary, #10b981);
|
||
border-radius: 8px;
|
||
background: var(--primary-bg, #ecfdf5);
|
||
}
|