添加商品管理资产皮肤筛选
This commit is contained in:
@@ -533,9 +533,11 @@ h1 {
|
||||
|
||||
.listing-filter-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
row-gap: 10px;
|
||||
}
|
||||
|
||||
.listing-filter-bar .el-form-item {
|
||||
@@ -564,6 +566,166 @@ h1 {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-filter-chip {
|
||||
display: inline-flex;
|
||||
width: 104px;
|
||||
height: 32px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
color: #606266;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
transition:
|
||||
border-color 0.15s ease,
|
||||
color 0.15s ease,
|
||||
background 0.15s ease;
|
||||
}
|
||||
|
||||
.admin-filter-chip.wide {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.admin-filter-chip span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-filter-chip:hover,
|
||||
.admin-filter-chip.active {
|
||||
border-color: #409eff;
|
||||
background: #ecf5ff;
|
||||
color: #1677ff;
|
||||
}
|
||||
|
||||
.admin-filter-chip .el-icon {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-listing-filter-popover {
|
||||
padding: 10px !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
.admin-asset-filter-menu,
|
||||
.admin-skin-filter-menu {
|
||||
display: flex;
|
||||
max-height: 420px;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.admin-filter-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.admin-filter-title {
|
||||
color: #6b7785;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.admin-option-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.admin-option-grid.compact {
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.admin-option-grid button,
|
||||
.admin-skin-option-grid button,
|
||||
.admin-filter-reset,
|
||||
.admin-skin-filter-title button {
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: #334155;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
transition:
|
||||
background 0.15s ease,
|
||||
color 0.15s ease;
|
||||
}
|
||||
|
||||
.admin-option-grid button {
|
||||
min-height: 30px;
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.admin-option-grid button:hover,
|
||||
.admin-skin-option-grid button:hover,
|
||||
.admin-filter-reset:hover,
|
||||
.admin-skin-filter-title button:hover {
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.admin-option-grid button.active,
|
||||
.admin-skin-option-grid button.active,
|
||||
.admin-filter-reset.active,
|
||||
.admin-skin-filter-title button.active {
|
||||
background: #ecf5ff;
|
||||
color: #1677ff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.admin-filter-reset {
|
||||
min-height: 32px;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin-filter-empty {
|
||||
padding: 10px;
|
||||
color: #8f9bba;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.admin-skin-filter-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.admin-skin-filter-title strong {
|
||||
color: #17233d;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.admin-skin-filter-title button {
|
||||
flex-shrink: 0;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.admin-skin-option-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.admin-skin-option-grid button {
|
||||
min-height: 30px;
|
||||
padding: 8px 10px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ========== Dashboard Panels ========== */
|
||||
.dashboard-panels {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user