优化pc页面ui大小和商品管理的表格项目

This commit is contained in:
yml
2026-06-01 00:29:48 +08:00
parent 0797452ea4
commit 4437c3b439
8 changed files with 215 additions and 73 deletions
+53 -1
View File
@@ -474,7 +474,7 @@ h1 {
.table-panel {
margin-top: 0;
width: 100%;
overflow-x: auto;
overflow-x: hidden;
background: #ffffff;
border-radius: 14px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
@@ -500,6 +500,58 @@ h1 {
min-width: 760px;
}
.admin-listings-table.el-table .el-table__inner-wrapper {
min-width: 0;
}
.admin-listings-table.el-table .el-scrollbar__wrap {
overflow-x: hidden !important;
}
.admin-listings-table.el-table .el-scrollbar__bar.is-horizontal {
display: none;
}
.admin-listings-table.el-table {
font-size: 12px;
}
.admin-listings-table.el-table th {
font-size: 11px;
letter-spacing: 0;
text-transform: none;
}
.admin-listings-table.el-table .cell {
padding: 0 5px;
line-height: 1.35;
white-space: normal;
word-break: break-word;
}
.admin-listings-table.el-table th .cell {
white-space: nowrap;
word-break: keep-all;
overflow-wrap: normal;
overflow: visible;
}
.admin-listings-table .listing-code {
display: inline-block;
font-size: 11px;
line-height: 1;
white-space: nowrap;
word-break: keep-all;
}
.admin-listings-table.el-table .el-table__cell {
padding: 8px 0;
}
.admin-listings-table.el-table .el-button--small {
padding: 4px 8px;
}
.table-subtext {
display: block;
margin-top: 4px;
+2 -2
View File
@@ -58,7 +58,7 @@
.page {
width: 100%;
max-width: 1440px;
max-width: 1720px;
}
.page-header {
@@ -605,7 +605,7 @@ h1 {
}
.pc-main {
width: min(1280px, calc(100% - 40px));
width: min(1720px, calc(100% - 40px));
margin: 0 auto;
padding: 18px 0 56px;
}