修复移动端层级问题

This commit is contained in:
2025-10-14 15:33:07 +08:00
parent 8b0359c149
commit 83bfd9d6d6
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ class PixivServer {
*/
start() {
this.server = this.app.listen(this.port, () => {
logger.info('Pixiv 后端服务器已启动2');
logger.info('Pixiv 后端服务器已启动');
logger.info(`服务地址: http://localhost:${this.port}`);
logger.info(`健康检查: http://localhost:${this.port}/health`);
logger.info(`登录状态: ${this.backend.isLoggedIn ? '已登录' : '未登录'}`);
+1 -2
View File
@@ -165,7 +165,7 @@ onMounted(async () => {
border-bottom: 1px solid #e5e7eb;
position: sticky;
top: 0;
z-index: 1002; /* 提高导航栏z-index,确保在所有元素之上 */
z-index: 1005; /* 提高导航栏z-index,确保在所有元素之上 */
}
.nav-container {
@@ -282,7 +282,6 @@ onMounted(async () => {
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1001; /* 提高z-index,确保在小组件之上 */
}
.mobile-nav-menu.active {