Files
order_site/apps/frontend/src/styles/client/collect.css
T

1028 lines
19 KiB
CSS

/* ===== 收集页 (Collect Page) ===== */
.collect-page {
min-height: 100vh;
display: grid;
place-items: center;
padding: 32px 16px;
background: #f5f7fb;
}
.collect-card {
width: min(520px, 100%);
}
.collect-order-input {
flex: 1;
margin-bottom: 0;
}
/* ===== 一次性补资料链接页 (Collect Material Link) ===== */
.collect-link-page {
min-height: 100vh;
padding: 32px 16px;
background: #f5f7fb;
display: flex;
justify-content: center;
align-items: flex-start;
}
.collect-link-card {
width: min(720px, 100%);
}
.collect-link-card .ant-card-body {
padding: 28px;
}
/* 一单多工单时,内层商品卡片比外层容器更紧凑 */
.collect-link-order-card .ant-card-body {
padding: 16px;
}
.collect-link-status-card {
background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.collect-link-status-card .ant-card-body {
padding: 16px;
}
.collect-link-status-head {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
color: #0f172a;
font-size: 15px;
}
.collect-link-status-head .ant-tag {
margin-inline-end: 0;
}
.collect-link-order-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 18px;
color: #64748b;
font-size: 13px;
}
.collect-link-order-meta strong {
color: #0f172a;
font-weight: 600;
}
.collect-link-description {
margin-top: 6px;
font-size: 12px;
}
.collect-link-submitted {
display: grid;
gap: 10px;
padding: 12px;
background: #f8fafc;
border: 1px solid #e7edf5;
border-radius: 10px;
}
.collect-link-submitted-head {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: 5px 14px;
}
.collect-link-submitted-head > span {
display: grid;
gap: 1px;
}
.collect-link-submitted-head .ant-typography:last-child {
font-size: 11px;
}
.collect-link-submitted-head > .ant-typography {
font-size: 11px;
}
.collect-link-submitted-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 7px;
}
.collect-link-submitted-fields > div {
display: grid;
gap: 2px;
min-width: 0;
padding: 8px 10px;
background: #ffffff;
border: 1px solid #edf1f6;
border-radius: 8px;
}
.collect-link-submitted-fields span,
.collect-link-submitted-screenshots > span {
color: #94a3b8;
font-size: 11px;
}
.collect-link-submitted-fields strong {
color: #1e293b;
font-size: 13px;
font-weight: 500;
line-height: 1.5;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.collect-link-submitted-screenshots {
display: grid;
gap: 7px;
}
.collect-link-submitted-screenshots > div {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.collect-link-submitted-screenshots .ant-image {
overflow: hidden;
border: 1px solid #dbe3ee;
border-radius: 8px;
}
.collect-link-submitted-screenshots .ant-image-img {
object-fit: cover;
}
.collect-link-current-status {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 12px;
align-items: flex-start;
padding: 13px;
color: #475569;
background: #f8fafc;
border: 1px solid #e8edf4;
border-left: 4px solid #94a3b8;
border-radius: 9px;
}
.collect-link-current-status-index {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
color: #ffffff;
font-size: 13px;
font-weight: 700;
background: #64748b;
border-radius: 999px;
}
.collect-link-current-status-copy {
display: grid;
gap: 5px;
min-width: 0;
}
.collect-link-current-status-copy > div {
display: flex;
flex-wrap: wrap;
gap: 3px 12px;
align-items: baseline;
justify-content: space-between;
}
.collect-link-current-status-copy > div .ant-typography:last-child {
font-size: 11px;
}
.collect-link-current-status-copy p {
margin: 0;
color: inherit;
font-size: 13px;
line-height: 1.7;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.collect-link-current-status.is-open,
.collect-link-current-status.is-pending_material {
color: #8a4b00;
background: #fffaf0;
border-color: #ffe7ba;
border-left-color: #faad14;
}
.collect-link-current-status.is-open .collect-link-current-status-index,
.collect-link-current-status.is-pending_material .collect-link-current-status-index {
background: #faad14;
}
.collect-link-current-status.is-in_progress,
.collect-link-current-status.is-unassigned {
color: #0958d9;
background: #f0f7ff;
border-color: #d6e8ff;
border-left-color: #1677ff;
}
.collect-link-current-status.is-in_progress .collect-link-current-status-index,
.collect-link-current-status.is-unassigned .collect-link-current-status-index {
background: #1677ff;
}
.collect-link-current-status.is-pending_acceptance {
color: #531dab;
background: #f9f0ff;
border-color: #efdbff;
border-left-color: #722ed1;
}
.collect-link-current-status.is-pending_acceptance .collect-link-current-status-index {
background: #722ed1;
}
.collect-link-current-status.is-accepted {
color: #237804;
background: #f6ffed;
border-color: #d9f7be;
border-left-color: #52c41a;
}
.collect-link-current-status.is-accepted .collect-link-current-status-index {
background: #52c41a;
}
.collect-link-current-status.is-problem {
color: #a8071a;
background: #fff1f0;
border-color: #ffccc7;
border-left-color: #ff4d4f;
}
.collect-link-current-status.is-problem .collect-link-current-status-index {
background: #ff4d4f;
}
.collect-link-status-message {
padding: 10px 12px;
color: #475569;
font-size: 13px;
line-height: 1.65;
background: #f8fafc;
border-left: 3px solid #94a3b8;
border-radius: 0 8px 8px 0;
}
.collect-link-status-message.is-open,
.collect-link-status-message.is-pending_material {
color: #8a4b00;
background: #fffaf0;
border-left-color: #faad14;
}
.collect-link-status-message.is-in_progress,
.collect-link-status-message.is-unassigned {
color: #0958d9;
background: #f0f7ff;
border-left-color: #1677ff;
}
.collect-link-status-message.is-pending_acceptance {
color: #531dab;
background: #f9f0ff;
border-left-color: #722ed1;
}
.collect-link-status-message.is-accepted {
color: #237804;
background: #f6ffed;
border-left-color: #52c41a;
}
.collect-link-status-message.is-problem {
color: #a8071a;
background: #fff1f0;
border-left-color: #ff4d4f;
}
.collect-link-status-times {
display: flex;
flex-wrap: wrap;
gap: 4px 18px;
color: #94a3b8;
font-size: 12px;
}
.collect-link-acceptance {
display: grid;
gap: 10px;
padding-top: 12px;
border-top: 1px solid #eef2f7;
}
.collect-link-acceptance > div:first-child {
display: flex;
align-items: baseline;
justify-content: space-between;
flex-wrap: wrap;
gap: 4px 12px;
}
.collect-link-acceptance > div:first-child .ant-typography:last-child {
font-size: 12px;
}
.collect-link-acceptance-images {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.collect-link-acceptance-images .ant-image {
overflow: hidden;
border: 1px solid #dbe3ee;
border-radius: 9px;
}
.collect-link-acceptance-images .ant-image-img {
object-fit: cover;
}
.collect-link-acceptance-video {
display: grid;
gap: 8px;
}
.collect-link-acceptance-video video {
width: min(100%, 520px);
max-height: 360px;
background: #0f172a;
border: 1px solid #dbe3ee;
border-radius: 10px;
}
.collect-link-acceptance-video > div {
display: flex;
flex-wrap: wrap;
gap: 4px 14px;
align-items: center;
justify-content: space-between;
font-size: 12px;
}
.collect-link-acceptance-video a {
color: #1677ff;
}
.collect-link-title {
margin: 0 0 4px !important;
}
.collect-link-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.collect-link-confirm {
display: grid;
gap: 12px;
max-height: 58vh;
padding-top: 4px;
padding-right: 4px;
overflow-y: auto;
}
.collect-link-confirm-meta {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 4px 16px;
color: #64748b;
font-size: 12px;
}
.collect-link-confirm-meta span:first-child {
color: #0f172a;
font-size: 14px;
font-weight: 600;
}
.collect-link-confirm-fields {
overflow: hidden;
border: 1px solid #e8edf4;
border-radius: 9px;
}
.collect-link-confirm-field {
display: grid;
grid-template-columns: 110px minmax(0, 1fr);
gap: 12px;
padding: 9px 12px;
font-size: 13px;
border-bottom: 1px solid #eef2f7;
}
.collect-link-confirm-field:last-child {
border-bottom: 0;
}
.collect-link-confirm-field span,
.collect-link-confirm-screenshots span {
color: #64748b;
}
.collect-link-confirm-field strong,
.collect-link-confirm-screenshots strong {
color: #0f172a;
font-weight: 500;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.collect-link-confirm-field strong.is-empty {
color: #94a3b8;
}
.collect-link-confirm-screenshots {
display: grid;
gap: 8px;
padding: 10px 12px;
font-size: 13px;
background: #f8fafc;
border-radius: 9px;
}
.collect-link-confirm-screenshots > div:first-child {
display: flex;
justify-content: space-between;
gap: 12px;
}
.collect-link-confirm-images {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.collect-link-confirm-images img {
width: 58px;
height: 58px;
object-fit: cover;
background: #ffffff;
border: 1px solid #dbe3ee;
border-radius: 8px;
}
.collect-link-confirm-content {
padding: 10px 12px;
color: #8a4b00;
font-size: 13px;
line-height: 1.7;
background: #fff7e6;
border: 1px solid #ffe7ba;
border-radius: 9px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
/* 商品名与订单号放在同一个信息头里,避免标题和灰色信息块分离 */
.collect-link-order-head {
display: flex;
align-items: baseline;
justify-content: space-between;
flex-wrap: wrap;
gap: 6px 20px;
padding-bottom: 12px;
border-bottom: 1px solid #eef2f7;
}
.collect-link-order-name {
min-width: 0;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
color: #0f172a;
font-size: 16px;
font-weight: 700;
overflow-wrap: anywhere;
}
.collect-link-order-no {
min-width: 0;
display: flex;
align-items: baseline;
gap: 6px;
color: #64748b;
font-size: 12px;
}
.collect-link-order-no strong {
color: #0f172a;
font-size: 14px;
font-weight: 600;
overflow-wrap: anywhere;
}
.collect-link-state {
min-height: 220px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
}
/* 提交成功:居中的成功状态,不再展示订单号 */
.collect-link-success {
min-height: 380px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
padding: 24px 12px 8px;
text-align: center;
}
.collect-link-success-icon {
font-size: 64px;
color: #22c55e;
filter: drop-shadow(0 10px 20px rgba(34, 197, 94, 0.18));
}
.collect-link-success-title {
margin: 2px 0 0 !important;
color: #0f172a;
}
.collect-link-success-products {
max-width: 100%;
margin-top: 10px;
padding: 12px 22px;
border: 1px solid #dcfce7;
border-radius: 12px;
background: #f0fdf4;
display: flex;
flex-direction: column;
gap: 4px;
}
.collect-link-success-products span {
color: #16a34a;
font-size: 12px;
}
.collect-link-success-products strong {
color: #166534;
font-size: 15px;
overflow-wrap: anywhere;
}
.collect-link-success .collect-link-footnote {
margin-top: 18px;
}
.collect-link-screenshot-control {
display: grid;
gap: 14px;
align-items: start;
}
.collect-link-screenshot-control.has-guide {
grid-template-columns: 120px minmax(180px, 260px);
gap: 16px;
}
.collect-link-guide-example {
display: grid;
grid-template-columns: 1fr;
gap: 6px;
min-width: 0;
max-width: 100%;
align-content: start;
justify-items: start;
}
.collect-link-guide-example .ant-image {
display: block;
width: 128px !important;
height: 88px !important;
overflow: hidden;
border: 1px solid #dbe3ee;
border-radius: 7px;
cursor: zoom-in;
}
.collect-link-guide-example .ant-image-img {
display: block;
width: 128px !important;
height: 88px !important;
object-fit: cover;
object-position: center;
}
.collect-link-guide-copy {
display: grid;
align-content: center;
gap: 3px;
min-width: 0;
}
.collect-link-guide-copy .ant-typography:first-child {
color: #334155;
font-size: 12px;
}
.collect-link-guide-copy .ant-typography:last-child {
max-width: 220px;
font-size: 11px;
line-height: 1.55;
white-space: pre-wrap;
}
.collect-link-actions {
display: flex;
justify-content: flex-end;
margin-top: 4px;
}
.collect-link-actions .ant-btn {
min-width: 180px;
}
.collect-link-footnote {
display: block;
text-align: center;
font-size: 12px;
white-space: pre-wrap;
}
@media (max-width: 720px) {
.collect-link-page {
padding: 14px;
}
.collect-link-card .ant-card-body {
padding: 18px;
}
.collect-link-screenshot-control.has-guide {
grid-template-columns: 112px minmax(160px, 220px);
gap: 12px;
}
.collect-link-guide-example .ant-image {
width: 116px !important;
height: 80px !important;
}
.collect-link-guide-example .ant-image-img {
width: 116px !important;
height: 80px !important;
}
.collect-link-actions {
justify-content: stretch;
}
.collect-link-actions .ant-btn {
width: 100%;
}
}
@media (max-width: 480px) {
.collect-link-page {
padding: 10px;
}
.collect-link-card .ant-card-body {
padding: 14px;
}
.collect-link-screenshot-control.has-guide {
grid-template-columns: 104px minmax(0, 1fr);
gap: 8px;
}
.collect-link-guide-example {
gap: 5px;
}
.collect-link-guide-example .ant-image {
width: 96px !important;
height: 68px !important;
}
.collect-link-guide-example .ant-image-img {
width: 96px !important;
height: 68px !important;
}
.collect-link-guide-copy .ant-typography:first-child {
font-size: 11px;
}
.collect-link-guide-copy .ant-typography:last-child {
font-size: 10px;
}
.collect-link-success {
min-height: 320px;
padding: 16px 4px 4px;
}
.collect-link-success-icon {
font-size: 52px;
}
.collect-link-success-products {
padding: 10px 16px;
}
.collect-link-confirm-field {
grid-template-columns: 88px minmax(0, 1fr);
padding: 8px 10px;
}
.collect-link-order-meta,
.collect-link-submitted-fields {
grid-template-columns: 1fr;
}
.collect-link-order-meta {
display: grid;
}
}
/* ===== 工单补资料页未成年提示 ===== */
.order-service-age-gate .ant-modal-content {
display: flex;
flex-direction: column;
max-height: calc(100vh - 32px);
max-height: calc(100dvh - 32px);
overflow: hidden;
border-radius: 14px;
font-family:
'PingFang SC', 'HarmonyOS Sans SC', 'MiSans', 'Hiragino Sans GB', 'Noto Sans SC',
'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}
.order-service-age-gate .ant-modal-header {
flex: none;
margin-bottom: 12px;
text-align: center;
}
.order-service-age-gate .ant-modal-title {
color: #171a21;
font-size: 21px;
font-weight: 500;
letter-spacing: 0.02em;
}
.order-service-age-gate .ant-modal-body {
flex: 1 1 auto;
min-height: 0;
padding-right: 6px;
overflow-y: auto;
overscroll-behavior: contain;
}
.order-service-age-gate .ant-modal-footer {
flex: none;
margin-top: 12px;
}
.order-service-age-gate-content {
display: grid;
gap: 12px;
}
.order-service-age-gate-warning {
color: #f04438;
font-size: 16px;
font-weight: 600;
line-height: 1.65;
letter-spacing: 0.01em;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.order-service-age-gate-copy {
display: grid;
padding: 2px 14px;
color: #4b5563;
font-size: 13.5px;
font-weight: 400;
line-height: 1.72;
background: transparent;
border: 1px solid #edf0f4;
border-radius: 10px;
}
.order-service-age-gate-item {
display: grid;
gap: 3px;
padding: 9px 0;
border-bottom: 1px dashed #e5e9ef;
}
.order-service-age-gate-item:last-child {
border-bottom: 0;
}
.order-service-age-gate-item-title {
display: flex;
align-items: flex-start;
gap: 6px;
color: #252a33;
font-size: 15px;
font-weight: 500;
line-height: 1.55;
letter-spacing: 0.01em;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.order-service-age-gate-item-number {
flex: none;
min-width: 18px;
color: inherit;
font-weight: 500;
}
.order-service-age-gate-item-lines {
display: grid;
gap: 2px;
padding-left: 24px;
color: #657080;
font-size: 13.5px;
font-weight: 400;
line-height: 1.72;
}
.order-service-age-gate-item-lines p {
margin: 0;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.order-service-age-gate-notice {
padding: 10px 12px;
color: #d92d20;
font-size: 13.5px;
font-weight: 600;
line-height: 1.72;
background: #fff5f5;
border: 1px solid #ffd8d6;
border-radius: 8px;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.order-service-age-gate-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.order-service-age-gate-actions .ant-btn {
width: 100%;
height: 48px;
font-size: 16px;
font-weight: 500;
letter-spacing: 0.02em;
border-radius: 8px;
}
.order-service-age-gate-minor-button {
color: #ffffff !important;
background: #ff6b6b !important;
border-color: #ff6b6b !important;
}
.order-service-age-gate-minor-button:hover {
color: #ffffff !important;
background: #ff5252 !important;
border-color: #ff5252 !important;
}
.order-service-age-gate-adult-button {
color: #ffffff !important;
background: #1677ff !important;
border-color: #1677ff !important;
}
.order-service-age-gate-adult-button:hover {
color: #ffffff !important;
background: #0958d9 !important;
border-color: #0958d9 !important;
}
.order-service-age-gate-blocked {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
min-height: 160px;
padding: 16px 6px;
text-align: center;
}
.order-service-age-gate-blocked .anticon {
color: #ff4d4f;
font-size: 52px;
}
.order-service-age-gate-blocked .ant-typography {
color: #4b5563;
font-weight: 400;
line-height: 1.8;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
@media (max-width: 480px) {
.order-service-age-gate .ant-modal-content {
max-height: calc(100vh - 20px);
max-height: calc(100dvh - 20px);
}
.order-service-age-gate .ant-modal-body {
padding-right: 2px;
}
.order-service-age-gate-warning {
font-size: 15.5px;
line-height: 1.6;
}
.order-service-age-gate-copy {
padding: 1px 11px;
}
.order-service-age-gate-item {
padding: 8px 0;
}
.order-service-age-gate-item-title {
font-size: 14px;
}
.order-service-age-gate-item-lines {
padding-left: 22px;
font-size: 13px;
line-height: 1.68;
}
.order-service-age-gate-notice {
font-size: 13px;
line-height: 1.68;
}
.order-service-age-gate-actions .ant-btn {
height: 46px;
font-size: 15px;
}
}
/* ===== 工单补资料页底部引导图 ===== */
.collect-link-bottom-guides {
display: grid;
gap: 12px;
width: 100%;
margin-top: 4px;
}
.collect-link-bottom-guides .ant-image {
display: block;
width: 100%;
}
.collect-link-bottom-guides .ant-image-img {
display: block;
width: 100%;
height: auto;
border: 1px solid #e7edf5;
border-radius: 10px;
background: #ffffff;
}