diff --git a/Web/src/App.vue b/Web/src/App.vue index c1ef6f3..14decad 100644 --- a/Web/src/App.vue +++ b/Web/src/App.vue @@ -16,51 +16,6 @@ /> - - - 日历 - - - 统计 - - - 账单 - - - 预算 - - - 设置 - - 新版本可用,点击刷新 - +
- 底部导航栏调试信息 + GlassBottomNav 调试信息
- TabBar 存在性检查 + 容器检查 (.glass-nav-container)
- TabBar 元素存在: {{ debugInfo.tabbarExists ? '✓ 是' : '✗ 否' }} -
-
- TabBar 可见: {{ debugInfo.tabbarVisible ? '✓ 是' : '✗ 否' }} + 元素存在: {{ debugInfo.containerExists ? '✓ 是' : '✗ 否' }}
- display: {{ debugInfo.tabbarDisplay }} + position: {{ debugInfo.containerPosition }}
- opacity: {{ debugInfo.tabbarOpacity }} -
-
-
-
- TabBar 位置样式 -
-
- position: {{ debugInfo.tabbarPosition }} -
-
- top (CSS): {{ debugInfo.tabbarTopStyle }} -
-
- bottom (CSS): {{ debugInfo.tabbarBottomStyle }} -
-
- left (实际): {{ debugInfo.tabbarLeft }}px -
-
- right (实际): {{ debugInfo.tabbarRight }}px + bottom (CSS): {{ debugInfo.containerBottomStyle }}
- top (实际): {{ debugInfo.tabbarTop }}px + bottom (实际): {{ debugInfo.containerRectBottom }}px +
+
+ width: {{ debugInfo.containerWidth }}px +
+
+ height: {{ debugInfo.containerHeight }}px +
+
+ z-index: {{ debugInfo.containerZIndex }} +
+
+
+
+ 药丸导航 (.nav-pill) +
+
+ 元素存在: {{ debugInfo.pillExists ? '✓ 是' : '✗ 否' }} +
+
+ width: {{ debugInfo.pillWidth }}px +
+
+ height: {{ debugInfo.pillHeight }}px
- bottom (实际): {{ debugInfo.tabbarBottom }}px + bottom (实际): {{ debugInfo.pillRectBottom }}px
- TabBar 尺寸 + 父容器 (.app-root)
- width: {{ debugInfo.tabbarWidth }}px + overflow: {{ debugInfo.appRootOverflow }}
- height: {{ debugInfo.tabbarHeight }}px + height: {{ debugInfo.appRootHeight }}px
- padding-bottom: {{ debugInfo.tabbarPaddingBottom }} + position: {{ debugInfo.appRootPosition }} +
+
+
+
+ 视口信息
- box-sizing: {{ debugInfo.tabbarBoxSizing }} + window.innerHeight: {{ debugInfo.windowHeight }}px +
+
+ --vh: {{ debugInfo.vhVar }} +
+
+ safe-area-bottom: {{ debugInfo.safeAreaBottom }}
@@ -164,9 +130,10 @@
- 距离底部: {{ debugInfo.distanceFromBottom }}px {{ debugInfo.distanceFromBottom === '0.00' ? '✓ 已贴底' : '✗ 未贴底' }} + 距离底部: {{ debugInfo.distanceFromBottom }}px + {{ parseFloat(debugInfo.distanceFromBottom) < 2 ? '✓ 已贴底' : '✗ 未贴底' }}