feat(order-service): 优化用户引导图配置与展示
This commit is contained in:
@@ -1858,26 +1858,59 @@
|
||||
|
||||
.order-service-basic-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 230px;
|
||||
gap: 18px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.order-service-basic-grid .ant-form-item {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.order-service-basic-fields {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.order-service-guide {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(180px, 220px) minmax(260px, 1fr);
|
||||
grid-template-rows: auto 1fr;
|
||||
align-items: start;
|
||||
align-content: start;
|
||||
gap: 4px;
|
||||
padding: 12px;
|
||||
gap: 12px 18px;
|
||||
padding: 14px;
|
||||
background: #f8fafc;
|
||||
border: 1px dashed #d9e1ec;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.order-service-guide .ant-upload-wrapper {
|
||||
margin-top: 6px;
|
||||
.order-service-guide-head {
|
||||
grid-column: 1 / -1;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 10px;
|
||||
}
|
||||
|
||||
.order-service-guide-head .ant-typography:last-child {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.order-service-guide-upload {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.order-service-guide-upload .ant-upload-list-item-container,
|
||||
.order-service-guide-upload .ant-upload-select {
|
||||
width: 180px !important;
|
||||
height: 140px !important;
|
||||
}
|
||||
|
||||
.order-service-guide-description.ant-form-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.order-service-guide-description .ant-form-item-extra {
|
||||
margin-top: 2px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.order-service-status-step-grid {
|
||||
@@ -2170,10 +2203,6 @@
|
||||
grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr) 110px 64px 104px;
|
||||
}
|
||||
|
||||
.order-service-basic-grid {
|
||||
grid-template-columns: minmax(0, 1fr) 200px;
|
||||
}
|
||||
|
||||
.order-service-status-step-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
@@ -2206,21 +2235,8 @@
|
||||
padding: 16px 16px 0;
|
||||
}
|
||||
|
||||
.order-service-basic-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.order-service-guide {
|
||||
grid-template-columns: minmax(0, 1fr) 160px;
|
||||
}
|
||||
|
||||
.order-service-guide > :not(.ant-upload-wrapper) {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.order-service-guide .ant-upload-wrapper {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 3;
|
||||
grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.order-service-section-head {
|
||||
@@ -2270,12 +2286,11 @@
|
||||
|
||||
.order-service-guide {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.order-service-guide > :not(.ant-upload-wrapper),
|
||||
.order-service-guide .ant-upload-wrapper {
|
||||
.order-service-guide-head {
|
||||
grid-column: 1;
|
||||
grid-row: auto;
|
||||
}
|
||||
|
||||
.order-service-status-step-grid {
|
||||
|
||||
@@ -1060,6 +1060,64 @@
|
||||
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;
|
||||
@@ -1086,6 +1144,21 @@
|
||||
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;
|
||||
}
|
||||
@@ -1104,6 +1177,33 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user