需要部分页面

This commit is contained in:
Neo
2026-02-05 03:35:07 +08:00
parent c972c52e04
commit d328e2dee4
23 changed files with 47746 additions and 475 deletions

View File

@@ -53,18 +53,18 @@
}
};
// 创建底部导航HTML
// 创建底部导航HTML - 增大点击区域提升z-index
const navHTML = `
<div id="bottomNav" class="fixed bottom-0 left-0 right-0 h-16 bg-white/95 backdrop-blur-lg border-t border-gray-2 flex items-center justify-around px-4 z-50">
<a href="task-list.html" class="flex flex-col items-center gap-1">
<div id="bottomNav" class="fixed bottom-0 left-0 right-0 h-16 bg-white/95 backdrop-blur-lg border-t border-gray-2 flex items-center justify-around px-2" style="z-index: 9999;">
<a href="task-list.html" class="flex flex-col items-center justify-center gap-1 flex-1 h-full py-2 active:bg-gray-100 rounded-lg transition-colors">
${isTaskActive ? icons.task.active : icons.task.inactive}
<span class="text-xs ${isTaskActive ? 'text-primary font-medium' : 'text-gray-6'}">任务</span>
</a>
<a href="board-finance.html" class="flex flex-col items-center gap-1">
<a href="board-finance.html" class="flex flex-col items-center justify-center gap-1 flex-1 h-full py-2 active:bg-gray-100 rounded-lg transition-colors">
${isBoardActive ? icons.board.active : icons.board.inactive}
<span class="text-xs ${isBoardActive ? 'text-primary font-medium' : 'text-gray-6'}">看板</span>
</a>
<a href="my-profile.html" class="flex flex-col items-center gap-1">
<a href="my-profile.html" class="flex flex-col items-center justify-center gap-1 flex-1 h-full py-2 active:bg-gray-100 rounded-lg transition-colors">
${isMyActive ? icons.my.active : icons.my.inactive}
<span class="text-xs ${isMyActive ? 'text-primary font-medium' : 'text-gray-6'}">我的</span>
</a>