1517 lines
26 KiB
CSS
1517 lines
26 KiB
CSS
/* ==========================================================================
|
|
管理后台与登录 (Admin Portal & Auth Layout)
|
|
========================================================================== */
|
|
|
|
/* ===== 登录页:工作台入口布局 ===== */
|
|
|
|
.auth-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 106, 0, 0.055), transparent 30%),
|
|
linear-gradient(315deg, rgba(31, 41, 55, 0.045), transparent 38%), #f5f7fb;
|
|
}
|
|
|
|
.auth-shell {
|
|
width: min(940px, 100%);
|
|
min-height: 560px;
|
|
display: grid;
|
|
grid-template-columns: minmax(300px, 0.84fr) minmax(420px, 1fr);
|
|
overflow: hidden;
|
|
border: 1px solid rgba(226, 232, 240, 0.86);
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.auth-brand {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 34px;
|
|
padding: 40px;
|
|
color: #f9fafb;
|
|
background:
|
|
radial-gradient(circle at 100% 0%, rgba(255, 106, 0, 0.28), transparent 34%),
|
|
linear-gradient(160deg, #211816 0%, #171717 100%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.auth-brand::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: 4px;
|
|
background: linear-gradient(180deg, var(--theme-primary), #ffb45a);
|
|
}
|
|
|
|
.auth-brand::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 28px;
|
|
bottom: 28px;
|
|
width: 108px;
|
|
height: 108px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 24px;
|
|
transform: rotate(12deg);
|
|
}
|
|
|
|
.auth-brand-top,
|
|
.auth-brand-features,
|
|
.auth-brand-footer {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.auth-brand-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-brand-logo .auth-logo-mark {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 10px;
|
|
background: var(--theme-primary);
|
|
color: #fff;
|
|
font-size: 21px;
|
|
box-shadow: 0 14px 30px rgba(255, 106, 0, 0.26);
|
|
}
|
|
|
|
.auth-brand-logo strong,
|
|
.auth-brand-logo div > span {
|
|
display: block;
|
|
}
|
|
|
|
.auth-brand-logo strong {
|
|
color: #fff;
|
|
font-size: 18px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.auth-brand-logo div > span {
|
|
margin-top: 3px;
|
|
color: rgba(249, 250, 251, 0.58);
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.auth-brand-body {
|
|
max-width: 320px;
|
|
margin-top: 58px;
|
|
}
|
|
|
|
.auth-brand-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 26px;
|
|
margin-bottom: 18px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(255, 106, 0, 0.36);
|
|
border-radius: 999px;
|
|
color: #ffbd85;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.auth-brand-body h2 {
|
|
margin: 0 0 16px;
|
|
color: #fff;
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
line-height: 1.28;
|
|
}
|
|
|
|
.auth-brand-body p {
|
|
margin: 0;
|
|
color: rgba(249, 250, 251, 0.68);
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.auth-brand-features {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-brand-feature {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
min-height: 74px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
}
|
|
|
|
.auth-brand-feature .auth-feature-icon {
|
|
flex: 0 0 34px;
|
|
width: 34px;
|
|
height: 34px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
background: rgba(255, 106, 0, 0.16);
|
|
color: #ffb45a;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.auth-brand-feature-text strong {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.auth-brand-feature-text span {
|
|
color: rgba(249, 250, 251, 0.58);
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.auth-brand-footer {
|
|
color: rgba(249, 250, 251, 0.42);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.auth-form-side {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 56px 52px;
|
|
background: #fff;
|
|
}
|
|
|
|
.auth-form-card {
|
|
width: min(410px, 100%);
|
|
}
|
|
|
|
.auth-form-header {
|
|
margin: 22px 0 22px;
|
|
}
|
|
|
|
.auth-form-header h1 {
|
|
margin: 0 0 8px;
|
|
color: #111827;
|
|
font-size: 25px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.auth-form-header p {
|
|
margin: 0;
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.auth-form-card .ant-tabs {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.auth-form-card .ant-tabs-nav {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.auth-form-card .ant-tabs-tab {
|
|
padding: 8px 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.auth-form-card .ant-form-item {
|
|
margin-bottom: 17px;
|
|
}
|
|
|
|
.auth-form-card .ant-form-item-label {
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.auth-form-card .ant-input-affix-wrapper {
|
|
height: 46px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.auth-form-card .ant-input-affix-wrapper .ant-input {
|
|
height: auto;
|
|
min-height: 0;
|
|
padding: 0;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.auth-form-card .ant-input-affix-wrapper .ant-input-prefix,
|
|
.auth-form-card .ant-input-affix-wrapper .ant-input-suffix {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.auth-form-card .ant-input {
|
|
height: 46px;
|
|
padding: 0 14px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.auth-form-card .ant-btn-lg,
|
|
.auth-form-card .ant-space-compact .ant-btn {
|
|
height: 46px;
|
|
}
|
|
|
|
.auth-form-card .ant-btn-lg {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.auth-form-footer {
|
|
margin-top: 24px;
|
|
color: #9ca3af;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.auth-mobile-brand {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.auth-mobile-brand .auth-logo-mark {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 9px;
|
|
background: var(--theme-primary);
|
|
color: #fff;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.auth-mobile-brand strong {
|
|
color: #111827;
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* ===== 后台整体框架与侧边栏 ===== */
|
|
|
|
.admin-shell {
|
|
height: 100vh;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin-sider {
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
border-right: 1px solid #edf0f5;
|
|
box-shadow: 4px 0 18px rgba(15, 23, 42, 0.04);
|
|
z-index: 2;
|
|
}
|
|
|
|
.admin-main-shell {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin-sider .ant-layout-sider-children {
|
|
height: 100%;
|
|
}
|
|
|
|
.admin-sider-inner {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.admin-brand {
|
|
min-height: 68px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 12px 14px 12px 18px;
|
|
border-bottom: 1px solid #edf0f5;
|
|
}
|
|
|
|
.admin-brand-copy {
|
|
min-width: 0;
|
|
display: grid;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.admin-brand strong {
|
|
color: #111827;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.admin-brand span {
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-collapse-button {
|
|
flex: 0 0 auto;
|
|
border-color: #e5e7eb;
|
|
}
|
|
|
|
.admin-sidebar-profile {
|
|
margin: 12px 14px 8px;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
display: grid;
|
|
gap: 3px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.admin-sidebar-profile .ant-typography {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-menu {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
border-inline-end: 0 !important;
|
|
padding: 6px 8px 10px;
|
|
}
|
|
|
|
.admin-menu .ant-menu-item,
|
|
.admin-menu .ant-menu-submenu-title {
|
|
border-radius: 6px;
|
|
margin-inline: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-menu .ant-menu-item-selected {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-menu .ant-menu-item-group-title {
|
|
padding: 12px 10px 6px;
|
|
color: #9ca3af;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-sider-footer {
|
|
padding: 10px 14px 14px;
|
|
border-top: 1px solid #edf0f5;
|
|
}
|
|
|
|
.admin-sider.ant-layout-sider-collapsed .admin-brand {
|
|
padding: 12px 8px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin-sider.ant-layout-sider-collapsed .admin-brand-copy {
|
|
justify-items: center;
|
|
}
|
|
|
|
.admin-sider.ant-layout-sider-collapsed .admin-menu {
|
|
padding-inline: 6px;
|
|
}
|
|
|
|
.admin-sider.ant-layout-sider-collapsed .admin-menu .ant-menu-item-group-title {
|
|
padding: 8px 0;
|
|
height: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin-sider.ant-layout-sider-collapsed .admin-sider-footer {
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.admin-topbar {
|
|
flex: 0 0 64px;
|
|
height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid #edf0f5;
|
|
}
|
|
|
|
.admin-user {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.admin-sound-muted {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.admin-notification-popover {
|
|
width: min(380px, calc(100vw - 32px));
|
|
}
|
|
|
|
.admin-notification-item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.admin-notification-item .ant-list-item-meta,
|
|
.admin-notification-item > div {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-notification-item .ant-typography {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-notification-priority {
|
|
color: #cf1322;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-notification-time {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-user-copy {
|
|
display: grid;
|
|
justify-items: end;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.admin-content {
|
|
height: calc(100vh - 64px);
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* ===== 用户管理与操作区 ===== */
|
|
|
|
.users-action-card .ant-card-body {
|
|
padding: 18px 24px;
|
|
}
|
|
|
|
.users-action-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
|
|
gap: 22px;
|
|
align-items: start;
|
|
}
|
|
|
|
.users-action-section {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.users-action-title {
|
|
color: #1f2937;
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.users-action-form {
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.users-action-form .ant-form-item {
|
|
margin-inline-end: 8px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.users-input-md {
|
|
width: 200px;
|
|
}
|
|
|
|
.users-input-lg {
|
|
width: 220px;
|
|
}
|
|
|
|
.users-select-sm {
|
|
width: 140px;
|
|
}
|
|
|
|
/* ===== 快手行业版 / 本地券码 ===== */
|
|
|
|
.kuaishou-voucher-code-text {
|
|
min-width: 0;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.kuaishou-voucher-meta {
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.kuaishou-industry-split {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.55fr);
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.kuaishou-industry-voucher-card {
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-voucher-card .ant-table {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.kuaishou-industry-voucher-card .ant-table-cell {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.kuaishou-industry-row-selected > td {
|
|
background: var(--theme-primary-soft) !important;
|
|
}
|
|
|
|
.kuaishou-industry-row-selected:hover > td {
|
|
background: var(--theme-primary-soft-hover) !important;
|
|
}
|
|
|
|
.kuaishou-industry-tool-card .ant-card-body {
|
|
padding: 16px;
|
|
}
|
|
|
|
.kuaishou-industry-tool-card {
|
|
position: sticky;
|
|
top: 0;
|
|
align-self: start;
|
|
}
|
|
|
|
.kuaishou-industry-tool-section + .kuaishou-industry-tool-section {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #edf0f5;
|
|
}
|
|
|
|
.kuaishou-industry-tool-section-title {
|
|
margin-bottom: 10px;
|
|
color: #1f2937;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.kuaishou-industry-selected-voucher {
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-selected-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-selected-code {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.kuaishou-industry-selected-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px 16px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.kuaishou-industry-selected-meta > div {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-selected-meta span,
|
|
.kuaishou-industry-selected-meta small {
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.kuaishou-industry-selected-meta strong,
|
|
.kuaishou-industry-selected-meta .ant-typography {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.kuaishou-industry-selected-empty {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 4px 0;
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.kuaishou-industry-selected-empty strong {
|
|
color: #374151;
|
|
}
|
|
|
|
.kuaishou-industry-tool-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.kuaishou-industry-tool-field {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-tool-field > span {
|
|
color: #4b5563;
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.kuaishou-industry-tool-field-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.kuaishou-industry-tool-field .ant-select {
|
|
width: 100%;
|
|
}
|
|
|
|
.kuaishou-industry-manual-target {
|
|
margin-top: 14px;
|
|
border-top: 1px solid #edf0f5;
|
|
}
|
|
|
|
.kuaishou-industry-manual-target .ant-collapse-header {
|
|
padding: 12px 0 8px;
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.kuaishou-industry-manual-target .ant-collapse-content-box {
|
|
padding: 4px 0 0;
|
|
}
|
|
|
|
.kuaishou-industry-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #edf0f5;
|
|
}
|
|
|
|
.kuaishou-industry-actions .ant-btn {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.kuaishou-industry-actions > :last-child {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.kuaishou-industry-action-result {
|
|
margin-top: 14px;
|
|
padding-top: 14px;
|
|
border-top: 1px solid #edf0f5;
|
|
}
|
|
|
|
.kuaishou-industry-action-result .json-preview {
|
|
max-height: 280px;
|
|
}
|
|
|
|
/* ===== 任务流与履约看板 ===== */
|
|
|
|
.task-action-hint {
|
|
display: block;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.task-action-groups {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
align-items: start;
|
|
}
|
|
|
|
.task-action-group {
|
|
min-width: 0;
|
|
min-height: 86px;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: start;
|
|
}
|
|
|
|
.task-action-group > .ant-typography {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.task-list-blocker-detail {
|
|
max-width: 220px;
|
|
display: block;
|
|
}
|
|
|
|
.task-list-blocker-tag,
|
|
.task-list-executor-tag {
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
margin-inline-end: 0 !important;
|
|
justify-self: start;
|
|
line-height: 18px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.task-list-status-main {
|
|
display: inline-flex;
|
|
cursor: help;
|
|
}
|
|
|
|
.task-list-status-tooltip {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.task-list-status-tooltip-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.task-list-status-tooltip-row > span:first-child {
|
|
min-width: 2em;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.task-list-row-error > td {
|
|
background: #fff7f7 !important;
|
|
}
|
|
|
|
.task-list-row-error:hover > td {
|
|
background: #ffefef !important;
|
|
}
|
|
|
|
.fulfillment-overview-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.fulfillment-step-card {
|
|
min-width: 0;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #ffffff;
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: start;
|
|
}
|
|
|
|
.fulfillment-step-card .ant-typography {
|
|
min-width: 0;
|
|
}
|
|
|
|
.manual-dispatch-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.manual-dispatch-grid > div {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.kuaishou-cloud-stack {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.task-flow-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.task-flow-item {
|
|
min-width: 0;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.task-screenshot-preview {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 260px;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.task-screenshot-preview .ant-image,
|
|
.task-screenshot-preview img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* ===== 平台路由、店铺与履约规则 ===== */
|
|
|
|
.platform-tabs {
|
|
min-width: 0;
|
|
}
|
|
|
|
.platform-tabs > .ant-tabs-nav {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.platform-panel-stack {
|
|
display: grid;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.finance-review-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 304px;
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.finance-review-details,
|
|
.finance-review-evidence {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.finance-review-evidence {
|
|
justify-items: center;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.finance-review-evidence .image-preview-list {
|
|
justify-content: center;
|
|
}
|
|
|
|
.finance-review-evidence .ant-image,
|
|
.finance-review-evidence img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.worker-orders-statistics-card {
|
|
border-left: 3px solid #ff6a00;
|
|
}
|
|
|
|
.worker-orders-statistics-card .ant-card-body {
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.worker-orders-statistics-summary,
|
|
.worker-orders-statistics-statuses {
|
|
color: rgba(0, 0, 0, 0.65);
|
|
font-size: 13px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.worker-orders-statistics-summary strong {
|
|
color: #262626;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.worker-orders-statistics-summary strong.is-negative {
|
|
color: #cf1322;
|
|
}
|
|
|
|
.worker-orders-statistics-statuses {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.platform-section-gap {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.platform-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
align-items: end;
|
|
}
|
|
|
|
.platform-routing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.platform-routing-priority-row,
|
|
.platform-route-rule-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.platform-route-rule {
|
|
min-width: 0;
|
|
padding: 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #f8fafc;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.platform-route-rule-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 1fr) 110px minmax(160px, 0.7fr) 110px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.field-switch {
|
|
min-height: 54px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.field-switch span {
|
|
color: #4b5563;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.platform-inline-row,
|
|
.platform-shop-row,
|
|
.platform-rule-head,
|
|
.platform-delivery-row {
|
|
display: grid;
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.platform-inline-row {
|
|
grid-template-columns: auto minmax(120px, 0.8fr) minmax(180px, 1.2fr) auto;
|
|
}
|
|
|
|
.platform-shop-row {
|
|
grid-template-columns:
|
|
auto auto minmax(120px, 0.9fr) minmax(140px, 1fr)
|
|
minmax(220px, 1.5fr) auto auto;
|
|
}
|
|
|
|
.platform-rule-head {
|
|
grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr);
|
|
}
|
|
|
|
.platform-delivery-row {
|
|
grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 1fr) 110px auto;
|
|
}
|
|
|
|
.platform-split-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.platform-side-card {
|
|
position: sticky;
|
|
top: 82px;
|
|
}
|
|
|
|
.platform-select-card {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 1px solid #edf0f5;
|
|
border-radius: 6px;
|
|
background: #ffffff;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.platform-select-card.active,
|
|
.platform-source-card.active {
|
|
border-color: var(--theme-primary);
|
|
box-shadow: 0 0 0 2px var(--theme-primary-shadow);
|
|
}
|
|
|
|
.platform-select-card span {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.platform-select-card small {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.cloud-records-filter {
|
|
display: grid;
|
|
grid-template-columns:
|
|
minmax(180px, 0.28fr) minmax(220px, 0.36fr) minmax(360px, 1fr)
|
|
auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* ===== 物品规则配置:6:4 比例清晰现代化双栏 ===== */
|
|
|
|
.product-rules-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
|
|
gap: 16px;
|
|
align-items: start;
|
|
width: 100%;
|
|
}
|
|
|
|
.product-rules-form-card {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.product-rules-form-card .ant-card-head {
|
|
padding: 0 16px;
|
|
min-height: 48px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.product-rules-form-card .ant-card-body {
|
|
padding: 16px;
|
|
}
|
|
|
|
.product-rule-main-form .ant-form-item {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.product-rule-main-form .ant-form-item-label > label {
|
|
font-size: 13px;
|
|
color: #374151;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-grid-2col {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0 14px;
|
|
}
|
|
|
|
.form-grid-3col {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0 14px;
|
|
}
|
|
|
|
.form-grid-4col {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 0 14px;
|
|
}
|
|
|
|
.form-grid-5col {
|
|
display: grid;
|
|
grid-template-columns: 1.2fr 1fr 0.8fr 1fr 1.2fr;
|
|
gap: 0 12px;
|
|
}
|
|
|
|
.span-2 {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.span-3 {
|
|
grid-column: span 3;
|
|
}
|
|
|
|
.span-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.switches-inline-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
align-self: end;
|
|
height: 32px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.switches-inline-group .ant-form-item {
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sharing-inline-inputs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-left: 12px;
|
|
border-left: 1px solid #cbd5e1;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.sharing-box-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
|
gap: 10px 14px;
|
|
background: #eff6ff;
|
|
border: 1px dashed #bfdbfe;
|
|
padding: 10px 14px;
|
|
border-radius: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.sharing-box-panel .ant-form-item {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* 适用商品绑定区域 */
|
|
.binding-section-container {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.binding-section-header {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.binding-editor-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.binding-editor-card {
|
|
background: #f8fafc !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.binding-editor-card .ant-card-head {
|
|
background: #f1f5f9;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
padding: 6px 12px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.binding-editor-card .ant-card-body {
|
|
padding: 14px 12px 10px;
|
|
}
|
|
|
|
.binding-editor-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.binding-pills-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.binding-pill-tag {
|
|
font-size: 12px;
|
|
line-height: 22px;
|
|
padding: 0 8px;
|
|
border: 1px solid #cbd5e1 !important;
|
|
background: #fff !important;
|
|
color: #475569 !important;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.binding-pill-tag.active {
|
|
background: #1677ff !important;
|
|
color: #fff !important;
|
|
border-color: #1677ff !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.binding-add-btn {
|
|
font-size: 12px;
|
|
height: 24px;
|
|
}
|
|
|
|
.binding-form-content .ant-form-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.binding-form-content .ant-form-item-label > label {
|
|
font-size: 12px;
|
|
color: #334155;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.shop-selector-box-inline {
|
|
background: #fff;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
padding: 4px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.shop-selector-box-inline .shop-all-toggle {
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
border-right: 1px solid #e2e8f0;
|
|
padding-right: 10px;
|
|
margin-right: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.shop-selector-box-inline .shop-checkbox-inline-wrap {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px 14px;
|
|
}
|
|
|
|
.shop-selector-box-inline .shop-chk-item {
|
|
font-size: 12px;
|
|
margin-inline-start: 0 !important;
|
|
}
|
|
|
|
.empty-rule-hint {
|
|
background: #f8fafc;
|
|
border: 1px dashed #cbd5e1;
|
|
border-radius: 6px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.product-binding-row-active > td {
|
|
background: #e6f4ff !important;
|
|
}
|
|
|
|
/* 右侧模板列表卡片 */
|
|
.product-rules-list-card {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.product-rules-list-card .ant-card-head {
|
|
padding: 0 16px;
|
|
min-height: 48px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.product-rules-list-card .ant-card-body {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.product-rules-category-tabs-bar {
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.product-rules-category-tabs-bar .ant-tabs-nav {
|
|
margin: 0;
|
|
}
|
|
|
|
.product-rule-row-active > td {
|
|
background: #e6f4ff !important;
|
|
}
|
|
|
|
.product-rule-row-mapped > td {
|
|
background: #f0fdf4;
|
|
}
|
|
|
|
.rules-list-card-extra {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.rules-list-card-extra .search-input-fluid {
|
|
min-width: 120px;
|
|
max-width: 220px;
|
|
flex: 1;
|
|
}
|
|
|
|
/* ===== 后台响应式断点 ===== */
|
|
|
|
@media (max-width: 1120px) {
|
|
.product-rules-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.product-rules-form-card,
|
|
.product-rules-list-card {
|
|
position: static;
|
|
max-height: none;
|
|
overflow-y: visible;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.admin-sider {
|
|
position: fixed !important;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
height: 100vh;
|
|
}
|
|
|
|
.admin-content {
|
|
padding: 14px;
|
|
}
|
|
|
|
.admin-user-copy {
|
|
display: none;
|
|
}
|
|
|
|
.page-header {
|
|
display: grid;
|
|
}
|
|
|
|
.users-action-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.kuaishou-industry-split {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.kuaishou-industry-tool-card {
|
|
position: static;
|
|
}
|
|
|
|
.manual-dispatch-grid,
|
|
.fulfillment-overview-grid,
|
|
.task-flow-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.users-action-form .ant-form-item {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.metric-grid.three,
|
|
.metric-grid.four,
|
|
.metric-grid.five,
|
|
.platform-form-grid,
|
|
.platform-routing-grid,
|
|
.platform-route-rule-grid,
|
|
.platform-split-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.platform-routing-priority-row,
|
|
.platform-route-rule-head {
|
|
display: grid;
|
|
}
|
|
|
|
.platform-side-card {
|
|
position: static;
|
|
}
|
|
|
|
.platform-inline-row,
|
|
.platform-shop-row,
|
|
.platform-rule-head,
|
|
.platform-delivery-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.cloud-records-filter {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.table-toolbar {
|
|
display: grid;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.auth-shell {
|
|
width: 100%;
|
|
min-height: 0;
|
|
display: block;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.auth-brand {
|
|
display: none;
|
|
}
|
|
|
|
.auth-form-side {
|
|
padding: 32px 24px;
|
|
}
|
|
|
|
.auth-mobile-brand {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.finance-review-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.finance-review-evidence {
|
|
justify-items: start;
|
|
}
|
|
|
|
.finance-review-evidence .image-preview-list {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.users-action-card .ant-card-body {
|
|
padding: 14px;
|
|
}
|
|
|
|
.users-action-form,
|
|
.users-action-form .ant-form-item,
|
|
.users-action-form .ant-input-affix-wrapper,
|
|
.users-action-form .ant-input,
|
|
.users-action-form .ant-select,
|
|
.users-action-form .ant-space,
|
|
.users-action-form .ant-btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.kuaishou-industry-selected-meta,
|
|
.kuaishou-industry-tool-grid,
|
|
.kuaishou-industry-actions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.kuaishou-industry-tool-field-wide,
|
|
.kuaishou-industry-actions > :last-child {
|
|
grid-column: auto;
|
|
}
|
|
}
|