feat(ui): 优化移动端适配和修复PC端布局问题

本次提交主要对上一个移动端适配commit进行了优化和问题修复。

- **PC端布局修复**:
  - 修复了密钥表格在PC端显示为2列的问题,恢复为3列布局,优化了视觉效果。
  - 重新设计了日志页面的筛选器布局,从多行改为响应式网格布局,解决了PC端筛选栏显示混乱的问题。

- **移动端适配优化**:
  - 完善了页脚(Footer)在移动端的显示,确保所有链接和信息都能完整展示。
  - 对编辑分组的表单进行了移动端适配,优化了表单项的排列方式,提升了在小屏幕上的可用性。

- **代码优化**:
  - 在分组表单中为配置项增加了提示(Tooltip),增强了用户体验。
  - 统一和优化了部分组件的样式,使其在不同设备上表现更一致。
This commit is contained in:
OrzMiku
2025-07-31 01:53:15 +08:00
parent 2dd6957ae9
commit e9b9e94142
4 changed files with 159 additions and 123 deletions

View File

@@ -218,7 +218,7 @@ onMounted(() => {
border-top: 1px solid rgba(0, 0, 0, 0.08);
padding: 12px 24px;
font-size: 14px;
height: 52px;
min-height: 52px;
}
.footer-container {
@@ -231,7 +231,6 @@ onMounted(() => {
align-items: center;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
line-height: 1.4;
}
@@ -269,6 +268,7 @@ onMounted(() => {
font-weight: 500;
font-size: 13px;
color: #666;
white-space: nowrap;
}
.version-clickable {
@@ -301,6 +301,7 @@ onMounted(() => {
border-radius: 4px;
transition: all 0.2s ease;
font-size: 13px;
white-space: nowrap;
}
.footer-link:hover {
@@ -345,6 +346,7 @@ onMounted(() => {
@media (max-width: 768px) {
.app-footer {
padding: 10px 16px;
height: auto;
}
.footer-main {
@@ -353,7 +355,7 @@ onMounted(() => {
text-align: center;
}
.divider {
.footer-main :deep(.n-divider) {
display: none;
}