285 lines
4.8 KiB
CSS
285 lines
4.8 KiB
CSS
/* 分销长尾页:站点钱包、短信、邀请、二维码池、规则版本。 */
|
|
|
|
.admin-site-picker {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
padding: 12px 16px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 4px;
|
|
background: var(--paper-warm);
|
|
}
|
|
|
|
.admin-site-picker__select {
|
|
min-width: 280px;
|
|
}
|
|
|
|
.admin-panel-card {
|
|
height: 100%;
|
|
border-color: var(--line);
|
|
background: var(--paper-warm);
|
|
}
|
|
|
|
.admin-panel-card .ant-card-head {
|
|
border-color: var(--line);
|
|
}
|
|
|
|
.admin-form-hint {
|
|
margin: 12px 0 0 !important;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-form-actions {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.admin-kv-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-kv-list > div {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px dashed var(--line);
|
|
}
|
|
|
|
.admin-kv-list > div:last-child {
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-kv-list span {
|
|
color: var(--ink-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-kv-list strong {
|
|
color: var(--ink);
|
|
font-weight: 500;
|
|
text-align: right;
|
|
}
|
|
|
|
/* 钱包 */
|
|
.admin-wallet-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.admin-wallet-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-height: 112px;
|
|
border: 1px solid var(--line);
|
|
background: var(--paper-warm);
|
|
}
|
|
|
|
.admin-wallet-card--accent {
|
|
border-color: var(--brand-ink);
|
|
background: var(--brand-ink);
|
|
}
|
|
|
|
.admin-wallet-card__label {
|
|
color: var(--ink-muted);
|
|
font-size: 12px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.admin-wallet-card__value {
|
|
color: var(--brand-ink);
|
|
font-family: 'Inter', 'DIN Alternate', sans-serif;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.admin-wallet-card__hint {
|
|
color: var(--ink-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.admin-wallet-card--accent .admin-wallet-card__label,
|
|
.admin-wallet-card--accent .admin-wallet-card__hint {
|
|
color: #b9cbc3;
|
|
}
|
|
|
|
.admin-wallet-card--accent .admin-wallet-card__value {
|
|
color: #f0f4f2;
|
|
}
|
|
|
|
.admin-wallet-body {
|
|
align-items: stretch;
|
|
}
|
|
|
|
/* 邀请返利 */
|
|
.admin-invite-preview {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
margin-bottom: 18px;
|
|
padding: 14px;
|
|
border: 1px dashed var(--line);
|
|
border-radius: 4px;
|
|
background: #f8f4ea;
|
|
}
|
|
|
|
.admin-invite-preview > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.admin-invite-preview span {
|
|
color: var(--ink-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-invite-preview strong {
|
|
color: var(--brand-ink);
|
|
font-family: 'Inter', 'DIN Alternate', sans-serif;
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* 分销用户 */
|
|
.admin-user-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-user-cell__avatar {
|
|
flex: 0 0 auto;
|
|
background: #eef2ee;
|
|
color: var(--brand-ink);
|
|
}
|
|
|
|
/* 结算批次 */
|
|
.admin-settlement-detail-head {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
/* 分销看板 */
|
|
.admin-dashboard-grid {
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
}
|
|
|
|
.admin-trend-card {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.admin-trend-scroll {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.admin-trend-row {
|
|
display: grid;
|
|
grid-template-columns: 80px 70px 70px 130px 130px minmax(160px, 1fr);
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 760px;
|
|
padding: 10px 0;
|
|
border-bottom: 1px dashed var(--line);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin-trend-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-trend-row--head {
|
|
color: var(--ink-muted);
|
|
font-size: 11px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.admin-trend-bar {
|
|
display: block;
|
|
height: 8px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: #ece7dc;
|
|
}
|
|
|
|
.admin-trend-bar i {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: var(--brand-seal);
|
|
}
|
|
|
|
/* 分销用户 */
|
|
.admin-qr-thumb {
|
|
border: 1px solid var(--line);
|
|
border-radius: 3px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.admin-qr-uploader {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.admin-qr-note {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.admin-qr-pending {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.admin-qr-pending__item {
|
|
display: grid;
|
|
align-items: center;
|
|
gap: 10px;
|
|
grid-template-columns: 54px minmax(0, 1fr) auto;
|
|
padding: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 4px;
|
|
background: var(--paper-warm);
|
|
}
|
|
|
|
.admin-qr-pending__item img {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 3px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.admin-wallet-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.admin-site-picker {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin-site-picker__select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-wallet-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.admin-invite-preview {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|