Fix desktop responsive layout: sidebar, content sizing, remove duplicate tab bar

- Replace uni-app custom-tab-bar with manual NavBar component in App.vue
  (uni-app auto-detection was not including component in build)
- Mobile: NavBar hidden via CSS display:none, uni-app default tab bar handles nav
- Desktop: NavBar visible as 220px left sidebar, uni-app tab bar hidden
- Content area: max-width 1200px with margin-left:220px, centered
- Buttons/inputs/cards: global desktop CSS overrides for reasonable sizing
- Clean approach: NavBar always in DOM, CSS media queries control visibility
  (no v-if, no conflicting !important)
This commit is contained in:
TradeMate Dev
2026-05-21 10:10:11 +08:00
parent a2a7cb893b
commit b71b7e6cdf
4 changed files with 160 additions and 174 deletions
+1 -1
View File
@@ -111,7 +111,7 @@
"backgroundColor": "#f5f5f5"
},
"tabBar": {
"custom": true,
"custom": false,
"color": "#666666",
"selectedColor": "#1890ff",
"backgroundColor": "#ffffff",