功能(订单服务): 增加可配置未成年提示门禁
This commit is contained in:
@@ -768,3 +768,237 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user