sync: 同步 monkey-ai@weiyuan(ddc5b9443) 的 web/ 到 ui-optimization
- 合入 weiyuan 新功能前端:分佣 V2 / 伙伴工作台、智能路由、企业资金与分析、官网设置与预约演示等, semi-ui 已全部迁移到 antd 6 / @/components/ui,不重新引入 Semi - 分佣二级菜单与页头去重、伙伴入口探测(企业伙伴走企业中心「企业分佣」)、超管侧栏入口恢复 - 适配层 DatePicker / TimePicker 统一 onChange(Date|Date[]|null, 文本) 契约;生产构建剔除调试日志 - 图片链接刷新:同任务请求复用、后台刷新不弹全局错误、离页停止批量请求 - 恢复 bun.lock(与 package-lock.json 共存);docs 规范与 CHANGELOG 更新 - 停止跟踪 .env.playwright.local(本地登录凭据,已加入 .gitignore)
This commit is contained in:
@@ -0,0 +1,978 @@
|
||||
/* Product prototype tokens are scoped to the commission workspace and portals. */
|
||||
.commission-v2,
|
||||
.commission-modal,
|
||||
.commission-profile-drawer,
|
||||
.commission-partner-sheet {
|
||||
/* 新版分佣只消费全局主题 token,主题色和明暗模式由控制台统一驱动。 */
|
||||
--commission-primary: var(--brand-primary);
|
||||
--commission-primary-hover: var(--brand-primary-hover);
|
||||
--commission-primary-soft: var(--brand-primary-soft);
|
||||
/* Links on dark surfaces need a lighter reading color than the brand swatch. */
|
||||
--commission-primary-readable: color-mix(
|
||||
in srgb,
|
||||
var(--commission-primary) 58%,
|
||||
var(--text-primary)
|
||||
);
|
||||
/* White text on the default brand blue is below AA contrast; deepen solid fills. */
|
||||
--commission-primary-solid: color-mix(
|
||||
in srgb,
|
||||
var(--commission-primary) 78%,
|
||||
#000
|
||||
);
|
||||
--commission-success: color-mix(in srgb, #22c55e 78%, var(--text-primary));
|
||||
--commission-success-soft: color-mix(
|
||||
in srgb,
|
||||
#22c55e 12%,
|
||||
var(--surface-card)
|
||||
);
|
||||
--commission-warning: color-mix(in srgb, #f59e0b 82%, var(--text-primary));
|
||||
--commission-warning-soft: color-mix(
|
||||
in srgb,
|
||||
#f59e0b 12%,
|
||||
var(--surface-card)
|
||||
);
|
||||
--commission-danger: color-mix(in srgb, #f56c7a 82%, var(--text-primary));
|
||||
--commission-danger-soft: color-mix(
|
||||
in srgb,
|
||||
#f56c7a 12%,
|
||||
var(--surface-card)
|
||||
);
|
||||
--commission-info: color-mix(in srgb, #22d3ee 78%, var(--text-primary));
|
||||
--commission-info-soft: color-mix(in srgb, #22d3ee 12%, var(--surface-card));
|
||||
--text-tertiary: var(--text-secondary);
|
||||
--commission-radius: 4px;
|
||||
--commission-control-height: 32px;
|
||||
--commission-surface-raised: color-mix(
|
||||
in srgb,
|
||||
var(--surface-card) 94%,
|
||||
var(--text-primary)
|
||||
);
|
||||
--commission-surface-toolbar: color-mix(
|
||||
in srgb,
|
||||
var(--surface-card) 86%,
|
||||
var(--surface-bg-base)
|
||||
);
|
||||
--commission-surface-control: color-mix(
|
||||
in srgb,
|
||||
var(--surface-card) 78%,
|
||||
var(--surface-bg-base)
|
||||
);
|
||||
--commission-border-strong: color-mix(
|
||||
in srgb,
|
||||
var(--border-subtle) 78%,
|
||||
var(--text-primary)
|
||||
);
|
||||
/* Controls need a distinct resting edge on dark cards. Keep the value
|
||||
* derived from the global theme so custom brand and light themes still
|
||||
* follow the console palette. */
|
||||
--commission-control-border: var(--commission-border-strong);
|
||||
--commission-control-border-hover: color-mix(
|
||||
in srgb,
|
||||
var(--commission-primary) 52%,
|
||||
var(--commission-control-border)
|
||||
);
|
||||
--commission-control-focus-ring: color-mix(
|
||||
in srgb,
|
||||
var(--commission-primary) 28%,
|
||||
transparent
|
||||
);
|
||||
color: var(--text-primary);
|
||||
font-family:
|
||||
-apple-system, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial,
|
||||
sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5715;
|
||||
}
|
||||
.commission-v2 {
|
||||
min-height: calc(100vh - var(--app-header-height, 64px));
|
||||
background: var(--surface-bg-base);
|
||||
}
|
||||
.commission-admin-workspace {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: var(--app-header-height, 64px);
|
||||
width: 100%;
|
||||
align-items: stretch;
|
||||
}
|
||||
/* 嵌入控制台外壳(ConsolePageContainer 已提供页头、面包屑与内边距)时:
|
||||
去掉旧布局为固定顶栏预留的偏移与整屏最小高度,并隐藏重复的面包屑条 */
|
||||
.console-page .commission-admin-workspace {
|
||||
margin-top: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
.console-page .commission-admin-workspace .commission-workspace-bar {
|
||||
display: none;
|
||||
}
|
||||
.console-page .commission-admin-workspace .commission-v2-content {
|
||||
padding: 0;
|
||||
}
|
||||
/* 嵌入控制台时与其他控制台页面同一套底色:外层透出控制台页面底,卡片用标准卡片色,区块间距 18px。
|
||||
原 !important 用于压 Semi Layout 背景,Semi 已移除,故去掉以便此处按作用域覆盖。 */
|
||||
.console-page .commission-admin-workspace,
|
||||
.console-page .commission-admin-workspace .commission-v2-content {
|
||||
background: transparent;
|
||||
}
|
||||
.console-page .commission-admin-workspace {
|
||||
--commission-surface-raised: var(--surface-card);
|
||||
}
|
||||
.console-page .commission-admin-workspace .commission-card {
|
||||
margin-top: 18px;
|
||||
}
|
||||
.console-page
|
||||
.commission-admin-workspace
|
||||
.commission-v2-content
|
||||
> .commission-card:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
/* 嵌入控制台时页面标题即控制台页标题:沿用控制台页头规格(28/32px/650、副标题 14/22px、与首块 18px) */
|
||||
.console-page .commission-admin-workspace .commission-page-header {
|
||||
align-items: flex-end;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.console-page
|
||||
.commission-admin-workspace
|
||||
.commission-page-heading
|
||||
h4.ant-typography {
|
||||
color: var(--text-primary);
|
||||
font-size: 28px;
|
||||
line-height: 32px;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.6px;
|
||||
}
|
||||
.console-page
|
||||
.commission-admin-workspace
|
||||
.commission-page-heading
|
||||
> .ant-typography:last-child {
|
||||
margin-top: 6px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.commission-admin-workspace > .commission-admin-main {
|
||||
display: flex;
|
||||
flex: auto;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
.commission-v2-sider {
|
||||
flex: 0 0 220px;
|
||||
width: 220px;
|
||||
background: var(--surface-sidebar);
|
||||
border-right: 1px solid var(--border-subtle);
|
||||
}
|
||||
.commission-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
height: 56px;
|
||||
padding: 0 20px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.commission-brand-mark {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 4px;
|
||||
background: var(--commission-primary-solid);
|
||||
}
|
||||
.commission-navigation {
|
||||
padding: 8px 8px 16px;
|
||||
}
|
||||
.commission-nav-group {
|
||||
padding: 14px 12px 6px;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.commission-nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
margin: 2px 0;
|
||||
padding: 0 12px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.commission-nav-item svg {
|
||||
flex-shrink: 0;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
.commission-nav-item:hover {
|
||||
background: var(--surface-bg-base);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.commission-nav-item.is-active {
|
||||
background: var(--commission-primary-soft);
|
||||
color: var(--commission-primary-readable);
|
||||
font-weight: 500;
|
||||
box-shadow: inset 2px 0 0 var(--commission-primary);
|
||||
}
|
||||
.commission-nav-item:focus-visible {
|
||||
outline: 2px solid var(--commission-primary);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.commission-nav-badge {
|
||||
margin-left: auto;
|
||||
padding: 0 6px;
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
background: #f53f3f;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
.commission-workspace-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex: 0 0 56px;
|
||||
height: 56px;
|
||||
padding: 0 20px;
|
||||
background: var(--surface-header);
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
color: var(--text-tertiary);
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-workspace-bar b {
|
||||
color: var(--text-primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-crumb-slash {
|
||||
padding: 0 8px;
|
||||
color: #c9cdd4;
|
||||
}
|
||||
.commission-workspace-role {
|
||||
padding: 3px 12px;
|
||||
border-radius: 3px;
|
||||
background: var(--commission-primary-soft);
|
||||
color: var(--commission-primary-readable);
|
||||
}
|
||||
.commission-v2-content {
|
||||
min-width: 0;
|
||||
padding: 16px 20px 32px;
|
||||
background: var(--surface-bg-base);
|
||||
}
|
||||
.commission-page-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.commission-page-heading {
|
||||
min-width: 0;
|
||||
}
|
||||
.commission-page-heading h4.ant-typography {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.commission-page-heading > .ant-typography:last-child {
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
flex-shrink: 0;
|
||||
max-width: 65%;
|
||||
}
|
||||
.commission-actions .ant-picker {
|
||||
width: 138px;
|
||||
}
|
||||
.commission-card {
|
||||
margin-top: 12px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 10px;
|
||||
background: var(--commission-surface-raised);
|
||||
box-shadow: none;
|
||||
}
|
||||
.commission-v2-content > .commission-card:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.commission-card > .ant-card-body > h5.ant-typography {
|
||||
margin: 0 0 12px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-row-actions {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.commission-row-actions .commission-more-actions {
|
||||
position: relative;
|
||||
}
|
||||
.commission-entity {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 100px;
|
||||
}
|
||||
.commission-entity-name {
|
||||
color: var(--text-primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-entity-reference {
|
||||
max-width: 380px;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.commission-entity--compact .commission-entity-reference {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.commission-v2 .commission-status {
|
||||
height: 22px;
|
||||
padding: 0 8px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.commission-muted {
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.commission-money {
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.commission-list-tabs {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
gap: 4px;
|
||||
overflow-x: auto;
|
||||
border-bottom: 1px solid var(--commission-border-strong);
|
||||
padding: 0 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.commission-list-tabs > button {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
padding: 10px 16px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
}
|
||||
.commission-list-tabs > button:hover {
|
||||
color: var(--commission-primary-readable);
|
||||
}
|
||||
.commission-list-tabs > button.is-active {
|
||||
color: var(--commission-primary-readable);
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-list-tabs > button.is-active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
height: 2px;
|
||||
background: var(--commission-primary);
|
||||
}
|
||||
.commission-list-tabs > button > span {
|
||||
margin-left: 6px;
|
||||
padding: 0 6px;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-bg-base);
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.commission-list-tabs > button.is-active > span {
|
||||
color: var(--commission-primary-readable);
|
||||
background: var(--commission-primary-soft);
|
||||
}
|
||||
.commission-filter-bar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 4px;
|
||||
background: var(--commission-surface-toolbar);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.commission-filter-bar > .ant-input-affix-wrapper {
|
||||
width: 220px;
|
||||
}
|
||||
.commission-filter-bar > .ant-select {
|
||||
min-width: 140px;
|
||||
max-width: 200px;
|
||||
}
|
||||
.commission-filter-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-left: auto;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.commission-loading {
|
||||
min-height: 360px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
/* 页面级提示与弹层内提示统一使用 antd Alert 默认外观,只补块间距。 */
|
||||
.commission-v2 .ant-alert,
|
||||
.commission-inline-alert.ant-alert {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.commission-modal {
|
||||
max-width: calc(100vw - 32px);
|
||||
}
|
||||
.commission-modal .ant-modal-body {
|
||||
max-height: min(68vh, 680px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.commission-modal .ant-modal-body > .ant-spin {
|
||||
min-height: 160px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.commission-modal .ant-modal-body > .ant-typography {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.commission-modal-alert {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.commission-operation-form {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
.commission-operation-form > .ant-alert,
|
||||
.commission-operation-form > .commission-tier-targets,
|
||||
.commission-operation-form > .ant-descriptions,
|
||||
.commission-operation-form > .commission-evidence-input,
|
||||
.commission-operation-form > .commission-tier-summary,
|
||||
.commission-operation-form > .commission-form-field:has(textarea),
|
||||
.commission-operation-form
|
||||
> .commission-form-field:has(.commission-evidence-input) {
|
||||
grid-column: 1/-1;
|
||||
}
|
||||
.commission-form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
gap: 6px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 14px;
|
||||
}
|
||||
.commission-form-field .ant-select {
|
||||
width: 100%;
|
||||
}
|
||||
.commission-tier-targets {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
gap: 8px;
|
||||
}
|
||||
.commission-tier-targets .ant-select {
|
||||
height: auto;
|
||||
min-height: 32px;
|
||||
}
|
||||
.commission-field-hint {
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.commission-checklist {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 12px 14px;
|
||||
grid-column: 1/-1;
|
||||
border-radius: 4px;
|
||||
background: var(--surface-bg-base);
|
||||
}
|
||||
.commission-checklist .ant-checkbox-wrapper {
|
||||
line-height: 22px;
|
||||
}
|
||||
.commission-picker-content,
|
||||
.commission-confirm-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.commission-picker-content .ant-typography,
|
||||
.commission-confirm-content .ant-typography {
|
||||
margin: 0;
|
||||
line-height: 20px;
|
||||
}
|
||||
.commission-history-table {
|
||||
grid-column: 1/-1;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.commission-history-table table {
|
||||
min-width: 760px;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.commission-history-table .ant-table-thead > tr > th {
|
||||
padding: 10px 14px;
|
||||
background: var(--surface-bg-base);
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.commission-history-table .ant-table-tbody > tr > td {
|
||||
padding: 11px 14px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 20px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.commission-history-nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.commission-exception-content {
|
||||
grid-column: 1/-1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
.commission-exception-content .ant-descriptions {
|
||||
padding: 12px;
|
||||
border-radius: 4px;
|
||||
background: var(--surface-bg-base);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.commission-evidence-input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
gap: 8px;
|
||||
}
|
||||
.commission-evidence-input-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
.commission-evidence-upload-button {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 108px;
|
||||
height: 32px;
|
||||
gap: 7px;
|
||||
padding: 0 14px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 4px;
|
||||
background: var(--surface-card);
|
||||
color: var(--commission-primary-readable);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-evidence-upload-button:hover {
|
||||
border-color: var(--commission-primary);
|
||||
background: var(--commission-primary-soft);
|
||||
}
|
||||
.commission-evidence-upload-button input {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
.commission-evidence-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
gap: 10px;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.commission-evidence-file {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--text-secondary);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.commission-evidence-meta .ant-btn {
|
||||
height: 24px;
|
||||
padding: 0 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.commission-detail-toolbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.commission-detail-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.statement-summary-heading {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
}
|
||||
.statement-summary-heading .ant-typography {
|
||||
margin-top: 0;
|
||||
}
|
||||
.statement-summary-values {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.statement-summary-values > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 16px 20px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 4px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
.statement-summary-values > div:last-child {
|
||||
border-color: color-mix(in srgb, var(--commission-primary) 24%, transparent);
|
||||
background: var(--commission-primary-soft);
|
||||
}
|
||||
.statement-summary-values .ant-typography {
|
||||
color: var(--text-tertiary);
|
||||
font-size: 13px;
|
||||
}
|
||||
.statement-summary-values strong {
|
||||
font-size: 26px;
|
||||
color: var(--text-primary);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.statement-summary-values > div:last-child strong {
|
||||
color: var(--commission-primary-readable);
|
||||
}
|
||||
.commission-detail-tabs {
|
||||
margin-top: 12px;
|
||||
padding: 0 20px 16px;
|
||||
border-radius: 4px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
.commission-tier-summary {
|
||||
margin: 12px 0;
|
||||
overflow: auto;
|
||||
}
|
||||
.commission-tier-summary > .ant-typography {
|
||||
margin: 0 0 12px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-bill-steps {
|
||||
display: flex;
|
||||
margin: 20px 0 4px;
|
||||
}
|
||||
.commission-bill-step {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-bill-step::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: var(--border-subtle);
|
||||
}
|
||||
.commission-bill-step:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
.commission-bill-step > span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-bg-base);
|
||||
}
|
||||
.commission-bill-step.is-current {
|
||||
color: var(--commission-primary-readable);
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-bill-step.is-current > span,
|
||||
.commission-bill-step.is-done > span {
|
||||
background: var(--commission-primary);
|
||||
color: #fff;
|
||||
}
|
||||
.commission-bill-step.is-done::after {
|
||||
background: var(--commission-primary);
|
||||
}
|
||||
.commission-profile-drawer .ant-drawer-body {
|
||||
padding: 24px;
|
||||
background: var(--surface-bg-base);
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
.commission-drawer-spin {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 48px 0;
|
||||
}
|
||||
.commission-drawer-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 14px;
|
||||
}
|
||||
.commission-profile-section {
|
||||
margin-bottom: 12px;
|
||||
padding: 16px 20px;
|
||||
border-radius: 4px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
.commission-profile-section h3 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.commission-profile-section .ant-descriptions {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.commission-timeline > div {
|
||||
position: relative;
|
||||
padding: 0 0 16px 20px;
|
||||
border-left: 1px solid var(--border-subtle);
|
||||
}
|
||||
.commission-timeline > div::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
left: -4px;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background: var(--commission-primary);
|
||||
}
|
||||
.commission-timeline p {
|
||||
margin: 4px 0 0;
|
||||
color: var(--text-tertiary);
|
||||
font-size: 12px;
|
||||
}
|
||||
.partner-statements {
|
||||
margin-top: calc(var(--app-header-height, 64px) - 24px);
|
||||
padding: 16px 20px 32px;
|
||||
}
|
||||
.partner-statements > .commission-v2-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.partner-statements > .commission-v2-header h4 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
}
|
||||
.commission-detail-total {
|
||||
margin: 10px 0;
|
||||
color: var(--commission-primary-readable);
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.commission-todos {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
@media (max-width: 1100px) {
|
||||
.commission-v2-sider {
|
||||
flex-basis: 200px;
|
||||
width: 200px;
|
||||
}
|
||||
.commission-page-header {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.commission-actions {
|
||||
max-width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.statement-summary-values {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.commission-admin-workspace {
|
||||
flex-direction: column;
|
||||
}
|
||||
.commission-v2-sider {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
}
|
||||
.commission-brand {
|
||||
display: none;
|
||||
}
|
||||
.commission-navigation {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
overflow-x: auto;
|
||||
padding: 8px;
|
||||
}
|
||||
.commission-nav-group {
|
||||
display: none;
|
||||
}
|
||||
.commission-nav-item {
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.commission-workspace-bar {
|
||||
height: 44px;
|
||||
flex-basis: 44px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
.commission-v2-content,
|
||||
.partner-statements {
|
||||
padding: 16px;
|
||||
}
|
||||
.commission-page-header {
|
||||
gap: 12px;
|
||||
}
|
||||
.commission-actions {
|
||||
gap: 8px;
|
||||
}
|
||||
.commission-filter-end {
|
||||
margin-left: 0;
|
||||
}
|
||||
.commission-filter-bar > .ant-input-affix-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
.commission-filter-bar > .ant-select {
|
||||
flex: 1;
|
||||
min-width: 120px;
|
||||
}
|
||||
.commission-list > .ant-card-body {
|
||||
padding: 12px !important;
|
||||
}
|
||||
.commission-list-tabs > button {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.commission-operation-form {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.commission-evidence-input-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.commission-evidence-upload-button {
|
||||
width: 100%;
|
||||
}
|
||||
.commission-modal {
|
||||
max-width: calc(100vw - 24px);
|
||||
}
|
||||
.commission-detail-toolbar {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
.commission-detail-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.statement-summary-heading {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.statement-summary-values > div {
|
||||
padding: 12px;
|
||||
}
|
||||
.statement-summary-values strong {
|
||||
font-size: 22px;
|
||||
}
|
||||
.commission-history-table table {
|
||||
min-width: 680px;
|
||||
}
|
||||
}
|
||||
|
||||
.commission-code {
|
||||
font-family: Consolas, Menlo, monospace;
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-protection-period {
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
.commission-protection-period span {
|
||||
color: var(--text-tertiary);
|
||||
margin-right: 4px;
|
||||
}
|
||||
.commission-protection-period small {
|
||||
font-size: 12px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.commission-protection-period small.is-urgent {
|
||||
color: var(--commission-warning);
|
||||
}
|
||||
.commission-context-filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
color: var(--commission-primary-readable);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.commission-deduction-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin: 12px 0 20px;
|
||||
padding: 16px;
|
||||
background: var(--surface-bg-base);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.commission-deduction-summary > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.commission-deduction-summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user