style(order-service): 优化配置工作台布局
This commit is contained in:
@@ -1663,7 +1663,7 @@
|
||||
|
||||
.order-service-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 270px minmax(0, 1fr);
|
||||
grid-template-columns: 240px minmax(0, 1fr);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@@ -1724,21 +1724,28 @@
|
||||
|
||||
.order-service-category-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.order-service-category-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
line-height: 1.45;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.order-service-category-meta {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.order-service-category-key {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #8a94a6;
|
||||
font-size: 11px;
|
||||
@@ -1774,7 +1781,7 @@
|
||||
|
||||
.order-service-editor {
|
||||
min-width: 0;
|
||||
padding: 20px 22px 0;
|
||||
padding: 18px 20px 0;
|
||||
}
|
||||
|
||||
.order-service-editor-head {
|
||||
@@ -1794,11 +1801,12 @@
|
||||
}
|
||||
|
||||
.order-service-section {
|
||||
padding: 16px;
|
||||
margin-bottom: 14px;
|
||||
padding: 15px 16px 16px;
|
||||
margin-bottom: 12px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #edf0f5;
|
||||
border: 1px solid #e8edf4;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 1px 2px rgba(31, 45, 61, 0.025);
|
||||
}
|
||||
|
||||
.order-service-section-fill {
|
||||
@@ -1808,17 +1816,46 @@
|
||||
|
||||
.order-service-section-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 14px;
|
||||
gap: 16px;
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
|
||||
.order-service-section-head > div:first-child {
|
||||
.order-service-section-title {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.order-service-section-index {
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
color: #1677ff;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
background: linear-gradient(135deg, #eef5ff 0%, #e6f0ff 100%);
|
||||
border: 1px solid #cfe2ff;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.order-service-section-title-copy {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.order-service-section-title-copy .ant-typography:last-child {
|
||||
max-width: 760px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.order-service-basic-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 230px;
|
||||
@@ -1845,33 +1882,132 @@
|
||||
|
||||
.order-service-status-step-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.order-service-status-step-card {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 12px;
|
||||
background: #f8fafc;
|
||||
border: 1px solid #e5eaf1;
|
||||
align-content: start;
|
||||
gap: 8px;
|
||||
padding: 11px 12px 12px;
|
||||
background: #fbfcff;
|
||||
border: 1px solid #e6ebf3;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.order-service-status-step-head {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.order-service-status-step-head > div {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.order-service-status-step-head .ant-typography:last-child {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.order-service-status-step-index {
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
color: #0958d9;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
background: #e6f4ff;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.order-service-status-step-card .ant-form-item {
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-switch {
|
||||
display: flex;
|
||||
flex: none;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
padding: 7px 10px 7px 12px;
|
||||
background: #f8fafc;
|
||||
border: 1px solid #e9edf3;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-switch > span {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-switch .ant-typography:last-child {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.order-service-confirmation-editor {
|
||||
min-width: 0;
|
||||
padding: 13px 13px 1px;
|
||||
background: #fbfcff;
|
||||
border: 1px solid #e9eef5;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-editor .ant-form-item:last-child {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview-panel {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: 13px;
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.08), transparent 34%), #f7f9fc;
|
||||
border: 1px solid #e6ebf2;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview-head {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview-head > span {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview-head .ant-typography:last-child {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
max-width: 560px;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
padding: 16px;
|
||||
color: #1f2937;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
|
||||
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
|
||||
}
|
||||
|
||||
.order-service-confirmation-preview-content {
|
||||
@@ -2037,6 +2173,14 @@
|
||||
.order-service-basic-grid {
|
||||
grid-template-columns: minmax(0, 1fr) 200px;
|
||||
}
|
||||
|
||||
.order-service-status-step-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.order-service-confirmation-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
@@ -2078,6 +2222,10 @@
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 3;
|
||||
}
|
||||
|
||||
.order-service-section-head {
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@@ -2087,6 +2235,19 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.order-service-section-head {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.order-service-section-title,
|
||||
.order-service-confirmation-switch {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.order-service-confirmation-switch {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.order-service-category-list {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user