2026-06-17 18:42:40 +08:00

140 lines
2.7 KiB
SCSS

.order-sub-container {
display: flex;
height: 100%;
width: 100%;
background-color: #f0f2f5;
.main-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 10px;
overflow: hidden;
.toolbar {
margin-bottom: 3px;
padding: 6px 10px;
border: 1px solid #ebeef5;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
min-width: 0;
overflow: hidden;
.toolbar-left {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
gap: 10px;
overflow: hidden;
}
.toolbar-right {
flex: 0 0 auto;
margin-left: 10px;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
}
}
.split-stack {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
.pane-resizer {
flex: 0 0 6px;
min-height: 6px;
background: #e4e7ed;
cursor: row-resize;
flex-shrink: 0;
position: relative;
z-index: 2;
&:hover {
background: #dcdfe6;
}
}
}
.upper-wrapper {
flex: 1;
min-height: 0;
overflow: hidden;
}
.upper-wrapper :deep(.upper-table-container) {
height: 100%;
display: flex;
flex-direction: column;
}
.upper-wrapper :deep(.table-container) {
height: auto !important;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.upper-wrapper :deep(.el-table__body-wrapper) {
overflow: auto;
}
.lower-level {
flex: 0 0 38%;
height: 38%;
display: flex;
flex-direction: column;
border-top: 1px solid #ebeef5;
overflow: hidden;
background-color: #fff;
.detail-header {
background-color: #fafafa;
border-bottom: 1px solid #ebeef5;
padding: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 40px;
.detail-tab {
flex: 1;
min-width: 0;
}
.detail-header-actions {
flex: 0 0 auto;
padding-right: 12px;
}
}
.detail-container {
flex: 1;
padding: 0;
height: 100%;
overflow: hidden;
}
}
.no-selection {
flex: 0 0 38%;
height: 38%;
display: flex;
align-items: center;
justify-content: center;
color: #909399;
background-color: #fff;
border-top: 1px solid #ebeef5;
.empty-tip { text-align: center; }
}
}
}