From fd89c3164057da244389d0d04215a09a24e688ca Mon Sep 17 00:00:00 2001 From: andy <594580820@qq.com> Date: Mon, 3 Aug 2026 15:35:45 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat(frontend):=20=E4=B8=BA=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=B7=BB=E5=8A=A0=E5=AE=8C=E6=95=B4=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=93=8D=E5=BA=94=E5=BC=8F=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增响应式工具函数与全局移动端样式,统一适配≤768px屏幕 - 添加移动端底部导航组件,替代桌面端侧边栏菜单 - 为经销商、客户、报备列表页新增移动端卡片视图替换表格布局 - 调整所有页面的表单、弹窗与布局适配移动端尺寸 - 优化移动端viewport配置,适配全面屏安全区域 - 修复密码哈希工具,在非安全上下文下回退使用js-sha256库 - 更新依赖包,新增@vueuse/core与js-sha256 --- frontend/index.html | 2 +- frontend/package.json | 2 + frontend/pnpm-lock.yaml | 42 ++++++++ frontend/src/components/MobileTabBar.vue | 76 +++++++++++++++ frontend/src/composables/useResponsive.ts | 17 ++++ frontend/src/main.ts | 1 + frontend/src/styles/mobile.scss | 44 +++++++++ frontend/src/styles/variables.scss | 25 +++++ frontend/src/utils/crypto.ts | 55 ++++++----- frontend/src/views/Customer.vue | 92 ++++++++++++++++- frontend/src/views/Dashboard.vue | 22 ++++- frontend/src/views/Dealer.vue | 89 ++++++++++++++++- frontend/src/views/Layout.vue | 65 ++++++++++-- frontend/src/views/Login.vue | 13 ++- frontend/src/views/Report.vue | 114 ++++++++++++++++++++-- frontend/src/views/SystemConfig.vue | 16 ++- 16 files changed, 613 insertions(+), 62 deletions(-) create mode 100644 frontend/src/components/MobileTabBar.vue create mode 100644 frontend/src/composables/useResponsive.ts create mode 100644 frontend/src/styles/mobile.scss create mode 100644 frontend/src/styles/variables.scss diff --git a/frontend/index.html b/frontend/index.html index 715ac80..f81f1a3 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@
- +