TradeMate Dev d14c98e93c Fix NavBar sidebar not showing: move all nav CSS to App.vue global styles
Root cause: nav-bar.vue styles compiled with [data-v-xxxxx] attribute
selectors by uni-app Vite plugin, but Vue didn't add the attribute to
DOM elements (styles were not scoped). The CSS selector mismatch meant
no sidebar styles ever applied.

Fix:
- Remove all CSS from nav-bar.vue (<style> block deleted entirely)
- Move ALL nav-bar styles to App.vue's global <style>
- Use .app-wrapper > .nav-bar selector (no data-v issues)
- Mobile: display:none; Desktop (>=1024px): display:flex sidebar
- Also fixed: nav-bar was accidentally visible as block on mobile
2026-05-21 10:16:40 +08:00
S
Description
外贸智能助手 - TradeMate 项目
4.9 MiB
Languages
Vue 46%
Python 44.5%
JavaScript 5.8%
HTML 2.4%
CSS 0.5%
Other 0.7%