From fb4db4ae9b6a7f113ba049f6789e6916c0dcc276 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 12 十月 2026 09:15:08 +0800
Subject: [PATCH] feat(mes): 新增业务码支持并优化追溯查询功能

---
 src/layouts/auth.vue |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/layouts/auth.vue b/src/layouts/auth.vue
index e8bdb59..cb63894 100644
--- a/src/layouts/auth.vue
+++ b/src/layouts/auth.vue
@@ -5,6 +5,7 @@
 import { preferences } from '@vben/preferences';
 
 import { $t } from '#/locales';
+import { terminalType } from '#/mobile/terminal';
 
 declare const __APP_LOGO__: string;
 
@@ -14,7 +15,12 @@
 </script>
 
 <template>
+  <main v-if="terminalType === 'mobile'" class="mobile-login-shell">
+    <header><strong>MOM</strong><span>{{appName}}</span></header>
+    <section><RouterView /></section>
+  </main>
   <AuthPageLayout
+    v-else
     :app-name="appName"
     :logo="logo"
     :logo-dark="logoDark"
@@ -25,3 +31,14 @@
     <!-- <template #toolbar></template> -->
   </AuthPageLayout>
 </template>
+
+<style scoped>
+.mobile-login-shell { width:100%;max-width:480px;min-height:100dvh;margin:0 auto;padding:24px 24px 32px;background:#f8fafc;color:#0f172a;color-scheme:light; }
+.mobile-login-shell header { display:flex;align-items:center;gap:12px;margin:8px 0 32px;font-size:18px; }
+.mobile-login-shell header strong { color:#0369a1;font-size:20px; }
+.mobile-login-shell section { padding:24px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff; }
+.mobile-login-shell :deep(input) { font-size:16px;min-height:48px; }
+.mobile-login-shell :deep(button[aria-label^='鐧诲綍']) { min-height:52px;background:#0369a1;box-shadow:none;border-radius:8px;letter-spacing:normal; }
+.mobile-login-shell :deep(.dark) { color-scheme:light; }
+@media(max-width:380px) { .mobile-login-shell {padding:16px;} .mobile-login-shell section {padding:20px 16px;} }
+</style>

--
Gitblit v1.9.3