Merge branch 'dev' into codex/desktop-ui-stabilization

# Conflicts:
#	frontend/src/views/admin/Projects.test.ts
#	frontend/src/views/admin/Projects.vue
This commit is contained in:
Cheng Zhou
2026-07-09 15:41:13 +08:00
16 changed files with 1459 additions and 194 deletions
+36
View File
@@ -350,6 +350,18 @@ onBeforeUnmount(() => {
</script>
<style scoped>
.page,
.main-content-flat,
.user-table-section {
min-width: 0;
box-sizing: border-box;
}
.main-content-flat {
width: 100%;
max-width: 100%;
}
.stats-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
@@ -427,19 +439,24 @@ onBeforeUnmount(() => {
width: 100%;
gap: 10px;
align-items: center;
min-width: 0;
flex-wrap: wrap;
}
.filter-item-form {
margin-bottom: 0 !important;
margin-right: 0 !important;
min-width: 0;
}
.filter-input-comp {
width: 220px;
max-width: 100%;
}
.filter-spacer {
flex: 1;
min-width: 0;
}
/* 用户单元格 */
@@ -546,12 +563,18 @@ onBeforeUnmount(() => {
/* 表格区域 */
.user-table-section {
padding: 0;
max-width: 100%;
overflow-x: hidden;
}
.user-table :deep(.el-table__inner-wrapper::before) {
display: none;
}
.user-table :deep(.el-scrollbar__bar.is-horizontal) {
display: none;
}
.user-table :deep(th.el-table__cell) {
padding-top: 10px;
padding-bottom: 10px;
@@ -567,11 +590,24 @@ onBeforeUnmount(() => {
display: flex;
justify-content: flex-end;
padding: 8px 16px;
max-width: 100%;
overflow: hidden;
}
.pagination-wrap :deep(.el-pagination) {
min-width: 0;
flex-wrap: wrap;
justify-content: flex-end;
row-gap: 6px;
}
@media (max-width: 768px) {
.stats-row {
grid-template-columns: repeat(2, 1fr);
}
.filter-spacer {
display: none;
}
}
</style>