修复:调整消息中心后台快捷侧边导航悬浮效果
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
|
||||
- 在 MessageHub 管理页左侧新增快捷导航侧边栏
|
||||
- 可一键跳转到来源系统、通道、测试发送、模板等主要板块
|
||||
- 桌面端侧边栏使用吸顶布局,滚动长页面时仍可快速定位
|
||||
- 桌面端侧边栏改为固定悬浮在左上区域,滚动长页面时始终保持可见
|
||||
- 平板和手机端会自动切换为单列或横向滑动导航,避免占用过多内容区
|
||||
|
||||
## 数据库 SQL
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--quick-nav-width: 220px;
|
||||
--bg: #f4efe5;
|
||||
--panel: rgba(255, 252, 246, 0.9);
|
||||
--panel-strong: #fffdfa;
|
||||
@@ -48,24 +49,28 @@ code {
|
||||
|
||||
.page-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 220px minmax(0, 1fr);
|
||||
grid-template-columns: var(--quick-nav-width) minmax(0, 1fr);
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.quick-nav-panel {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 24px;
|
||||
left: max(16px, calc((100vw - min(1480px, calc(100vw - 32px))) / 2));
|
||||
width: var(--quick-nav-width);
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
.quick-nav-sticky {
|
||||
position: sticky;
|
||||
top: 24px;
|
||||
border: 1px solid rgba(114, 83, 38, 0.15);
|
||||
border-radius: 24px;
|
||||
padding: 18px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 233, 212, 0.9));
|
||||
box-shadow: var(--shadow);
|
||||
max-height: calc(100vh - 48px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.quick-nav-eyebrow {
|
||||
@@ -431,8 +436,17 @@ textarea {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quick-nav-panel {
|
||||
position: relative;
|
||||
top: auto;
|
||||
left: auto;
|
||||
width: auto;
|
||||
z-index: auto;
|
||||
}
|
||||
|
||||
.quick-nav-sticky {
|
||||
position: static;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.quick-nav {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
- 在管理页主内容左侧新增快捷导航侧边栏
|
||||
- 为来源系统列表、来源系统表单、通道列表、通道配置、测试发送、模板列表、模板表单补充锚点
|
||||
- 侧边栏支持平滑滚动跳转
|
||||
- 桌面端使用吸顶布局,滚动页面时侧边栏保持可用
|
||||
- 桌面端改为固定悬浮在页面左上区域,滚动页面时始终保持可见
|
||||
- 窄屏场景自动切换为单列布局,手机端导航改为横向可滑动标签
|
||||
|
||||
## 涉及文件
|
||||
@@ -21,7 +21,7 @@
|
||||
## 验证情况
|
||||
|
||||
- 核对页面结构,确认快捷导航链接与各业务板块锚点一一对应
|
||||
- 核对响应式样式,确认桌面端、平板端、手机端都有对应布局
|
||||
- 核对响应式样式,确认桌面端固定悬浮,平板端和手机端自动回退为流式布局
|
||||
- 本次无 SQL 变更
|
||||
|
||||
## 说明
|
||||
|
||||
Reference in New Issue
Block a user