收敛半自动平台为登录获取 CK 流程

移除角色绑定对客户页、状态展示和完成门禁的阻塞;虎牙与微博统一保存并直接导出 CK;同步精简客服工作台、配置项和权威文档。
This commit is contained in:
yml
2026-11-14 01:13:00 +08:00
parent 8a54c41476
commit d178556f03
22 changed files with 526 additions and 732 deletions
+228 -89
View File
@@ -1453,11 +1453,6 @@
background: #202124;
}
.customer-auth-page.is-weibo {
--auth-accent: #ff5c9a;
--auth-accent-hover: #ff78aa;
}
.customer-auth-shell {
width: min(760px, 100%);
min-width: 0;
@@ -1658,6 +1653,21 @@
line-height: 1.75;
}
.customer-auth-section-copy h2 {
margin: 0 0 8px;
color: #fff;
font-size: 23px;
line-height: 1.35;
font-weight: 700;
}
.customer-auth-section-copy p {
margin: 0;
color: var(--auth-muted);
font-size: 15px;
line-height: 1.75;
}
.customer-auth-tabs {
margin-top: 22px;
}
@@ -1667,24 +1677,32 @@
}
.customer-auth-tabs .ant-tabs-nav::before {
border-bottom-color: var(--auth-line);
display: none;
}
.customer-auth-tabs .ant-tabs-nav-list {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 5px;
padding: 5px;
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 11px;
background: rgba(4, 15, 37, 0.72);
}
.customer-auth-tabs .ant-tabs-tab {
padding: 12px 30px;
justify-content: center;
margin: 0 !important;
padding: 11px 18px;
color: var(--auth-muted);
background: rgba(255, 255, 255, 0.025);
border: 1px solid var(--auth-line) !important;
border-radius: 4px 4px 0 0;
}
.customer-auth-tabs .ant-tabs-tab + .ant-tabs-tab {
margin-left: 4px;
background: transparent;
border: 0 !important;
border-radius: 7px;
}
.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active {
border-color: rgba(255, 255, 255, 0.18) !important;
background: rgba(255, 255, 255, 0.09);
background: var(--auth-accent);
}
.customer-auth-tabs .ant-tabs-tab-btn {
@@ -1692,8 +1710,13 @@
font-size: 16px;
}
.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
color: #111827 !important;
font-weight: 700;
}
.customer-auth-tabs .ant-tabs-ink-bar {
background: var(--auth-accent);
display: none;
}
.customer-auth-form {
@@ -1703,73 +1726,129 @@
padding-top: 18px;
}
.customer-auth-inline-input {
.customer-auth-field {
display: grid;
grid-template-columns: 104px minmax(0, 1fr) 126px;
align-items: center;
min-height: 50px;
overflow: hidden;
border: 1px solid rgba(148, 163, 184, 0.28);
border-radius: 5px;
background: rgba(6, 18, 43, 0.7);
border: 1px solid rgba(148, 163, 184, 0.24);
border-radius: 10px;
background: rgba(13, 29, 61, 0.72);
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.customer-auth-inline-input.is-code {
grid-template-columns: minmax(0, 1fr) 126px;
.customer-auth-field:focus-within {
border-color: var(--auth-accent);
box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12);
}
.customer-auth-inline-input > * {
.customer-auth-field > * {
min-width: 0;
}
.customer-auth-inline-input .ant-select-selector,
.customer-auth-inline-input .ant-input,
.customer-auth-inline-input .ant-input-affix-wrapper {
.customer-auth-phone-field {
grid-template-columns: 58px minmax(0, 1fr) 112px;
padding: 4px;
}
.customer-auth-code-field {
grid-template-columns: minmax(0, 1fr) 122px;
gap: 5px;
padding: 5px;
}
.customer-auth-field .ant-select-selector,
.customer-auth-field .ant-input,
.customer-auth-field .ant-input-affix-wrapper {
color: #f8fafc !important;
border: 0 !important;
border-radius: 0 !important;
background: rgba(6, 18, 43, 0.7) !important;
background: transparent !important;
box-shadow: none !important;
}
.customer-auth-inline-input .ant-select-selector {
.customer-auth-field .ant-select-selector {
height: 48px !important;
padding-inline: 14px !important;
align-items: center;
}
.customer-auth-inline-input .ant-select-selection-item {
color: #f8fafc !important;
.customer-auth-field .ant-select {
height: 48px;
background: transparent !important;
}
.customer-auth-inline-input .ant-input {
.customer-auth-field .ant-select-selection-item {
color: #f8fafc !important;
line-height: 46px !important;
}
.customer-auth-field .ant-select-arrow {
color: #c4cede !important;
}
.customer-auth-country-prefix {
display: grid;
place-items: center;
align-self: stretch;
color: #f8fafc;
font-size: 14px;
font-weight: 600;
border-right: 1px solid var(--auth-line);
}
.customer-auth-field .ant-input-affix-wrapper {
height: 48px;
padding-inline: 16px;
padding-inline: 15px;
}
.customer-auth-field .ant-input {
height: 48px;
padding-inline: 10px;
font-size: 15px;
}
.customer-auth-inline-input .ant-input::placeholder {
.customer-auth-field .ant-input-affix-wrapper .ant-input {
padding-inline: 0;
}
.customer-auth-field .ant-input::placeholder {
color: #7f8ca5;
}
.customer-auth-inline-input .ant-select,
.customer-auth-inline-input .ant-input {
border-right: 1px solid var(--auth-line) !important;
.customer-auth-field .ant-input-prefix {
margin-inline-end: 9px;
color: var(--auth-accent);
}
.customer-auth-inline-input .ant-btn {
height: 48px;
color: #fff;
border: 0;
border-radius: 0;
background: rgba(48, 75, 124, 0.55);
}
.customer-auth-inline-input .ant-btn-primary {
.customer-auth-send-code {
height: 40px !important;
padding-inline: 10px !important;
color: #111827;
background: var(--auth-accent);
border: 0 !important;
border-radius: 7px !important;
background: var(--auth-accent) !important;
font-size: 14px !important;
font-weight: 700;
}
.customer-auth-option-hint {
color: var(--auth-muted);
.customer-auth-send-code:hover {
background: var(--auth-accent-hover) !important;
}
.customer-auth-code-submit {
height: 40px !important;
color: #111827;
border: 0 !important;
border-radius: 7px !important;
background: var(--auth-accent) !important;
font-weight: 700;
}
.customer-auth-code-submit:hover {
background: var(--auth-accent-hover) !important;
}
.customer-auth-note {
@@ -1983,34 +2062,31 @@
@media (max-width: 640px) {
.customer-auth-page {
height: 100dvh;
min-height: 0;
overflow: hidden;
padding: 0;
background: var(--auth-panel);
}
.customer-auth-shell {
width: 100%;
min-height: 100vh;
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
border: 0;
border-radius: 0;
box-shadow: none;
}
.customer-auth-hero {
min-height: 150px;
padding: 26px 22px;
min-height: 116px;
flex: none;
padding: 20px 22px;
background-position: 58% center;
}
.customer-auth-logo {
width: 54px;
height: 54px;
font-size: 29px;
}
.customer-auth-brand {
gap: 14px;
}
.customer-auth-eyebrow {
font-size: 13px;
}
@@ -2020,8 +2096,20 @@
}
.customer-auth-warning {
padding: 16px 14px;
font-size: 17px;
flex: none;
padding: 12px 14px;
font-size: 16px;
}
.customer-auth-main {
flex: 1;
min-height: 0;
overflow: hidden;
}
.customer-auth-content-stack {
height: 100%;
min-height: 0;
}
.customer-auth-facts {
@@ -2031,55 +2119,104 @@
.customer-auth-facts > div {
grid-template-columns: 92px minmax(0, 1fr);
gap: 12px;
min-height: 68px;
padding-block: 14px;
min-height: 52px;
padding-block: 8px;
}
.customer-auth-facts > div > span {
font-size: 14px;
font-size: 13px;
}
.customer-auth-facts > div > strong {
font-size: 16px;
font-size: 15px;
line-height: 1.35;
}
.customer-auth-section {
padding: 24px 18px 27px;
padding: 14px 16px 10px;
}
.customer-auth-section-heading h2,
.customer-auth-section-copy h2,
.customer-auth-state h2 {
font-size: 20px;
}
.customer-auth-section-heading p,
.customer-auth-section-copy p,
.customer-auth-state p,
.customer-auth-form-copy {
font-size: 14px;
font-size: 13px;
line-height: 1.5;
}
.customer-auth-section-icon {
width: 38px;
height: 38px;
font-size: 20px;
.customer-auth-tabs {
margin-top: 0;
}
.customer-auth-inline-input,
.customer-auth-inline-input.is-code {
grid-template-columns: 94px minmax(0, 1fr);
.customer-auth-tabs .ant-tabs-nav {
margin-bottom: 10px;
}
.customer-auth-inline-input > .ant-btn {
grid-column: 1 / -1;
border-top: 1px solid var(--auth-line);
.customer-auth-tabs .ant-tabs-nav-list {
gap: 4px;
padding: 4px;
}
.customer-auth-inline-input.is-code {
grid-template-columns: minmax(0, 1fr);
.customer-auth-tabs .ant-tabs-tab {
padding: 9px 14px;
}
.customer-auth-inline-input.is-code > .ant-btn {
grid-column: auto;
.customer-auth-tabs .ant-tabs-tab-btn {
font-size: 15px;
}
.customer-auth-form {
gap: 10px;
padding-top: 0;
}
.customer-auth-field {
min-height: 44px;
border-radius: 9px;
}
.customer-auth-phone-field {
grid-template-columns: 50px minmax(0, 1fr) 104px;
}
.customer-auth-code-field {
grid-template-columns: minmax(0, 1fr) 104px;
}
.customer-auth-field .ant-select,
.customer-auth-field .ant-select-selector,
.customer-auth-field .ant-input,
.customer-auth-field .ant-input-affix-wrapper {
height: 44px;
}
.customer-auth-field .ant-select-selection-item {
line-height: 42px !important;
}
.customer-auth-field .ant-input-affix-wrapper {
padding-inline: 12px;
}
.customer-auth-code-field {
padding: 4px;
}
.customer-auth-code-submit {
height: 36px !important;
}
.customer-auth-send-code {
height: 36px !important;
}
.customer-auth-form-hint {
font-size: 10px;
line-height: 1.35;
}
.customer-auth-qr-image,
@@ -2089,7 +2226,9 @@
}
.customer-auth-privacy {
margin: 20px 18px 24px;
font-size: 13px;
margin: 8px 16px 12px;
padding: 8px 12px;
font-size: 12px;
line-height: 1.45;
}
}