feat(ui): 优化控制台响应式布局与视觉体验
前端验证 / verify (push) Failing after 15m3s

- 统一页面标题、圆角、字体和响应式断点,调整暗色主题及图表配色
- 新增表格列标签插件,在窄屏下将表格转换为卡片布局,优化实例、订单、工单等列表展示
- 支持移动端点击订单行进入详情,并完善订单凭据的打印布局
- 在财务中心展示本月及累计消费,补充充值关闭时的提示
- 优化工单详情布局,将附件上传入口整合至富文本编辑器工具栏
- 调整实例操作按钮、SSH 密钥操作及安全菜单图标
- 为多个页面显式导入 definePageMeta,完善页面元数据声明
This commit is contained in:
cneicy committed 2026-11-07 00:09:57 +08:00
1 parent 5d080cacec
commit 42dfead9cd
145 files changed
+1762 -599

No files matched your search

+27 -20
View File
@@ -33,7 +33,7 @@
background: var(--p-content-background);
color: var(--p-text-color);
white-space: nowrap;
border-radius: 6px;
border-radius: var(--radius-md);
align-items: center;
gap: 9px;
padding: 10px 16px;
@@ -48,7 +48,7 @@
.catalog-categories[data-v-a6c63d86] {
border: 1px solid var(--p-content-border-color);
background: var(--p-content-background);
border-radius: 8px;
border-radius: var(--radius-md);
padding: 20px 24px;
}
.catalog-categories h2[data-v-a6c63d86] {
@@ -70,7 +70,7 @@
font: inherit;
cursor: pointer;
overflow-wrap: anywhere;
border-radius: 6px;
border-radius: var(--radius-md);
max-width: 100%;
padding: 10px 18px;
font-size: 1rem;
@@ -113,7 +113,7 @@
.catalog-panel[data-v-a6c63d86] {
border: 1px solid var(--p-content-border-color);
background: var(--p-content-background);
border-radius: 8px;
border-radius: var(--radius-md);
min-width: 0;
overflow: hidden;
}
@@ -183,9 +183,9 @@
}
.product-columns[data-v-a6c63d86],
.product-row[data-v-a6c63d86] {
grid-template-columns: minmax(180px, 1fr) minmax(200px, 1.4fr) 190px;
grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.5fr) auto;
align-items: center;
gap: 28px;
gap: 32px;
padding-inline: 24px;
display: grid;
}
@@ -203,8 +203,8 @@
.product-row[data-v-a6c63d86] {
border-bottom: 1px solid var(--p-content-border-color);
min-width: 0;
min-height: 143px;
padding-block: 26px;
min-height: 96px;
padding-block: 20px;
}
.product-row[data-v-a6c63d86]:last-child {
border-bottom: 0;
@@ -223,7 +223,7 @@
width: 42px;
height: 42px;
color: var(--p-primary-color);
border-radius: 7px;
border-radius: var(--radius-md);
flex-shrink: 0;
place-items: center;
font-size: 1.375rem;
@@ -231,7 +231,7 @@
}
.product-heading h2[data-v-a6c63d86] {
overflow-wrap: anywhere;
margin: 0 0 9px;
margin: 0 0 6px;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.714rem;
@@ -250,9 +250,10 @@
color: var(--p-primary-color);
}
.product-purchase[data-v-a6c63d86] {
flex-direction: column;
align-items: flex-end;
gap: 14px;
flex-direction: row;
justify-content: flex-end;
align-items: center;
gap: 20px;
min-width: 0;
display: flex;
}
@@ -265,7 +266,7 @@
.product-price strong[data-v-a6c63d86] {
color: var(--p-text-color);
font-variant-numeric: tabular-nums;
font-size: 1.5rem;
font-size: 1.375rem;
font-weight: 600;
line-height: 2rem;
}
@@ -273,10 +274,11 @@
min-height: 36px;
color: var(--p-primary-contrast-color);
background: var(--p-primary-color);
border-radius: 5px;
border-radius: var(--radius-md);
white-space: nowrap;
justify-content: center;
align-items: center;
gap: 20px;
gap: 8px;
padding: 8px 16px;
font-size: 0.9375rem;
text-decoration: none;
@@ -293,7 +295,7 @@
background: var(--p-content-hover-background);
}
.product-skeleton[data-v-a6c63d86] {
min-height: 143px;
min-height: 96px;
}
.catalog-footer[data-v-a6c63d86] {
border-top: 1px solid var(--p-content-border-color);
@@ -340,15 +342,20 @@ button[data-v-a6c63d86]:focus-visible {
@media (width<=1100px) {
.product-columns[data-v-a6c63d86],
.product-row[data-v-a6c63d86] {
grid-template-columns: minmax(150px, 1fr) minmax(160px, 1.1fr) 160px;
grid-template-columns: minmax(150px, 1fr) minmax(160px, 1.1fr) auto;
gap: 20px;
}
.product-purchase[data-v-a6c63d86] {
flex-direction: column;
align-items: flex-end;
gap: 10px;
}
.product-icon[data-v-a6c63d86] {
display: none;
}
}
/* 视口条件 (width<=760px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=760px) {
/* 视口条件 (width<=768px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=768px) {
.catalog-categories[data-v-a6c63d86] {
padding: 16px;
}