fix(v1.2.3): 首页页脚被固定 Hero 盖住——首页取消 main 层叠上下文

This commit is contained in:
nxxy335 committed 2026-10-03 07:36:52 +08:00
1 parent cfd9b55a28
commit ea641433f7
5 files changed
+23 -2

No files matched your search

+11
View File
@@ -1,5 +1,16 @@
# 更新日志
## v1.2.3
### 问题修复
- 🐛 **修复首页页脚被 Hero 盖住**:`.wi-main` 的 `z-index: 1` 会把整个内容区
(含 `position: fixed` 的全屏 Hero 背景)抬到页脚之上,滚动到页面底部时
页脚被 Hero 的模糊背景和下滑箭头挡住,完全看不到。首页现在取消 main 的
层叠上下文(`z-index: auto`):Hero 落回根层级先绘制,页脚在 DOM 中靠后
自然盖住 Hero;内容区滚动时仍正常覆盖 Hero,其他页面(如评论区翻页下拉
高于页脚)的层级行为保持不变
## v1.2.2
### 问题修复