From 64e47529e29ab013b32d3c09e4044b5b192c3c7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 十月 2026 17:11:33 +0800
Subject: [PATCH] feat: 完善南通苏珩线缆工业智能系统
---
src/layouts/auth-scene.vue | 105 +++++++++++++++++++---------------------------------
1 files changed, 39 insertions(+), 66 deletions(-)
diff --git a/src/layouts/auth-scene.vue b/src/layouts/auth-scene.vue
index 1ee0093..2380f2e 100644
--- a/src/layouts/auth-scene.vue
+++ b/src/layouts/auth-scene.vue
@@ -1,78 +1,51 @@
<script setup lang="ts">
withDefaults(defineProps<{ appName?: string; logo?: string; platformTitle?: string; platformDescription?: string }>(), {
- appName: '', logo: '', platformTitle: '婊嬭ˉ鍝佽涓氭暟瀛楀寲绠$悊骞冲彴', platformDescription: '浼犳壙涓尰鑽簿鍗� 路 鏈嶅姟鍋ュ悍缇庡ソ鐢熸椿',
+ appName: '',
+ logo: '',
+ platformTitle: '宸ヤ笟鏅鸿兘鍒堕�犵郴缁�',
+ platformDescription: '鏁板瓧鍖栫鐞� 路 鏅鸿兘鍖栫敓浜� 路 绮剧粏鍖栬繍钀�',
});
</script>
+
<template>
- <div class="herbal-auth">
- <img class="herbal-auth__background" src="/images/auth/herbal-courtyard.png" alt="" fetchpriority="high" decoding="async" aria-hidden="true" />
- <div class="herbal-auth__veil" aria-hidden="true"></div>
- <header class="herbal-auth__header">
- <div class="herbal-brand">
- <img v-if="logo" :src="logo" :alt="appName || '鍏徃鏍囧織'" class="herbal-brand__logo" />
- <span v-if="appName" class="herbal-brand__name">{{ appName }}</span>
- <div class="herbal-brand__platform">
- <p class="herbal-brand__title">{{ platformTitle }}</p>
- <p class="herbal-brand__description">{{ platformDescription }}</p>
+ <div class="industrial-auth">
+ <div class="industrial-auth__toolbar"><slot name="toolbar"></slot></div>
+ <main class="industrial-auth__shell">
+ <section class="industrial-auth__brand">
+ <div class="industrial-auth__brandline">
+ <img v-if="logo" :src="logo" :alt="appName || '鍏徃鏍囧織'" />
+ <div>
+ <strong>{{ appName }}</strong>
+ <span>{{ platformTitle }}</span>
+ </div>
</div>
- </div>
- <div class="herbal-auth__toolbar"><slot name="toolbar"></slot></div>
- </header>
- <main class="herbal-auth__main">
- <section class="herbal-motto" aria-labelledby="herbal-motto-title">
- <h2 id="herbal-motto-title"><span></span>鍫傝<span></span></h2>
- <p>鍝佸懗铏借吹锛屽繀涓嶆暍鍑忕墿鍔�</p>
- <p>鐐埗铏界箒锛屽繀涓嶆暍鐪佷汉宸�</p>
- <div class="herbal-motto__rule" aria-hidden="true"><span></span><svg viewBox="0 0 60 24"><path d="M3 12h10c0-6 8-9 12-5 0-7 10-7 10 0 5-4 12-1 12 5h10M13 12c0 8 12 11 17 3 5 8 17 5 17-3M24 12c0-7 12-7 12 0s-12 7-12 0Z" /></svg><span></span></div>
- </section>
- <section class="herbal-panel" aria-label="璐︽埛鐧诲綍">
- <div class="herbal-panel__frame" aria-hidden="true">
- <svg v-for="corner in ['tl','tr','bl','br']" :key="corner" :class="'herbal-corner herbal-corner--'+corner" viewBox="0 0 44 44"><path d="M2 42V12A10 10 0 0 1 12 2h30M9 42V9h33M2 21h19V2M9 28h19V9M2 35h33V2" /></svg>
+ <div class="industrial-auth__hero">
+ <p class="industrial-auth__eyebrow">SMART MANUFACTURING / 01</p>
+ <h1>绮剧泭鍒堕��<br /><em>鍗忓悓绠$悊</em></h1>
+ <p class="industrial-auth__description">璁╃敓浜с�佸簱瀛樸�佽川閲忎笌缁忚惀鏁版嵁鍦ㄥ悓涓�骞冲彴涓婂崗鍚岃繍琛屻��</p>
+ <div class="industrial-auth__signal" aria-hidden="true"><i></i><i></i><i></i><i></i></div>
</div>
- <div class="herbal-panel__content"><slot></slot></div>
+ <p class="industrial-auth__tagline">鏁版嵁椹卞姩 路 鎸佺画鏀瑰杽</p>
</section>
+ <section class="industrial-auth__card" aria-label="璐︽埛鐧诲綍"><slot></slot></section>
</main>
+ <footer class="industrial-auth__footer">{{ platformDescription }}</footer>
</div>
</template>
-<style scoped>
-.herbal-auth{position:relative;isolation:isolate;min-height:100svh;overflow-x:clip;background:#f6eddf;color:#29251f;padding:clamp(24px,3.2vw,52px) clamp(24px,5vw,88px) 42px;font-family:var(--font-family,system-ui,sans-serif)}
-.herbal-auth__background,.herbal-auth__veil{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;object-position:center}
-.herbal-auth__veil{z-index:-1;background:linear-gradient(90deg,transparent 48%,rgba(248,239,226,.14))}
-.herbal-auth__header{display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2}
-.herbal-brand{display:flex;align-items:center;gap:18px;min-width:0}
-.herbal-brand__logo{width:70px;height:70px;object-fit:contain;flex-shrink:0}
-.herbal-brand__name{font-family:"STKaiti","KaiTi","FangSong",serif;font-weight:700;font-size:clamp(24px,2.3vw,38px);white-space:nowrap}
-.herbal-brand__platform{border-left:1px solid #8e7e6a;padding-left:24px;min-width:0}
-.herbal-brand__title{font-size:clamp(17px,1.5vw,24px);letter-spacing:.04em;margin:0 0 7px;line-height:1.4}
-.herbal-brand__description{font-size:13px;color:#71685b;letter-spacing:.16em;margin:0;line-height:1.5}
-.herbal-auth__toolbar{flex-shrink:0;position:relative;min-width:80px}
-.herbal-auth__toolbar :deep(>div){position:static!important;background:rgba(255,253,248,.75);border:1px solid #e5d8c5;border-radius:30px;padding:4px 10px}
-.herbal-auth__main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(400px,.85fr);gap:clamp(36px,5vw,88px);align-items:start;min-height:calc(100svh - 176px);padding-top:34px}
-.herbal-motto{align-self:start;margin-top:12px;padding:0 0 24px;text-align:center}
-.herbal-motto h2{display:flex;align-items:center;justify-content:center;gap:34px;font-family:"STKaiti","KaiTi","FangSong",serif;font-size:clamp(40px,4.3vw,72px);font-weight:700;line-height:1.2;letter-spacing:.2em;color:#8b1419;margin:0 0 12px}
-.herbal-motto h2 span{height:1px;background:#ae7650;width:90px}
-.herbal-motto p{font-family:"STKaiti","KaiTi","FangSong",serif;font-size:clamp(26px,3.15vw,54px);font-weight:700;line-height:1.65;letter-spacing:.015em;color:#863310;margin:0;white-space:nowrap}
-.herbal-motto__rule{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:22px;color:#a46628}
-.herbal-motto__rule span{width:110px;height:1px;background:currentColor}
-.herbal-motto__rule svg{width:55px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
-.herbal-panel{position:relative;width:100%;max-width:584px;justify-self:end;min-height:690px;border-radius:20px;background:rgba(255,253,249,.96);box-shadow:0 22px 55px rgba(91,49,19,.13);padding:clamp(76px,12.8vh,120px) clamp(34px,4.6vw,78px) 64px;display:flex;align-items:flex-start}
-.herbal-panel__frame{position:absolute;inset:16px;border:1px solid #cda878;border-radius:12px;pointer-events:none}
-.herbal-corner{position:absolute;width:38px;height:38px;fill:none;stroke:#cda878;stroke-width:1.3;background:#fffdf9}
-.herbal-corner--tl{top:-1px;left:-1px;border-top-left-radius:12px}.herbal-corner--tr{top:-1px;right:-1px;transform:rotate(90deg);border-top-left-radius:12px}.herbal-corner--bl{bottom:-1px;left:-1px;transform:rotate(-90deg);border-top-left-radius:12px}.herbal-corner--br{bottom:-1px;right:-1px;transform:rotate(180deg);border-top-left-radius:12px}
-.herbal-panel__content{width:100%;position:relative;min-width:0}
-:global(.dark .herbal-auth){background:#211b17;color:#f4eadd}
-:global(.dark .herbal-auth__background){filter:brightness(.4) saturate(.7)}
-:global(.dark .herbal-auth__veil){background:rgba(24,19,15,.28)}
-:global(.dark .herbal-brand__description){color:#d4c3ac}
-:global(.dark .herbal-motto h2){color:#f0bab3}
-:global(.dark .herbal-motto p){color:#edcfa5}
-:global(.dark .herbal-panel){background:rgba(39,31,26,.97)}
-:global(.dark .herbal-corner){background:#271f1a}
-:global(.dark .herbal-auth__toolbar >div){background:#30271f;border-color:#8d7053;color:#f4eadd}
-@media(min-width:1800px){.herbal-auth__main{grid-template-columns:minmax(0,1fr) 584px}.herbal-motto{max-width:900px;justify-self:center;width:100%}}
-@media(max-width:1199px){.herbal-auth{padding:28px}.herbal-brand{gap:12px}.herbal-brand__logo{width:52px;height:52px}.herbal-brand__platform{padding-left:16px}.herbal-brand__description{letter-spacing:.06em}.herbal-auth__main{gap:26px;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)}.herbal-motto p{font-size:clamp(25px,3vw,36px)}.herbal-panel{padding:50px 36px;min-height:600px}}
-@media(max-width:900px){.herbal-auth{padding:24px;}.herbal-brand__name{font-size:24px}.herbal-brand__description{display:none}.herbal-brand__title{font-size:17px}.herbal-auth__main{grid-template-columns:1fr;min-height:calc(100svh - 112px);padding:32px 0;}.herbal-motto{display:none}.herbal-panel{max-width:520px;min-height:560px;justify-self:center}.herbal-auth__background{object-position:35% center}.herbal-auth__veil{background:rgba(248,239,226,.48)}}
-@media(max-width:540px){.herbal-auth{padding:20px 16px 24px}.herbal-auth__header{align-items:flex-start;gap:10px}.herbal-brand{gap:10px;flex-wrap:wrap;max-width:calc(100% - 86px)}.herbal-brand__logo{width:42px;height:42px}.herbal-brand__name{font-size:22px}.herbal-brand__platform{border:0;padding:0;flex-basis:100%}.herbal-brand__title{font-size:14px;letter-spacing:.02em;margin:0}.herbal-auth__toolbar{min-width:76px}.herbal-panel{padding:50px 28px;min-height:510px;border-radius:16px}.herbal-panel__frame{inset:12px}.herbal-auth__main{padding-top:28px}.herbal-corner{width:30px;height:30px}}
-@media(max-height:760px) and (min-width:901px){.herbal-panel{min-height:530px;padding-top:48px;padding-bottom:48px}.herbal-auth__main{padding-top:22px}.herbal-motto{margin-top:20px}}
-</style>
+<style scoped>
+.industrial-auth{position:relative;isolation:isolate;min-height:100svh;display:grid;place-items:center;padding:0;background:#f3f6fa;color:#142b43;font-family:var(--font-family,Inter,system-ui,sans-serif);overflow:hidden}
+.industrial-auth::before{content:'';position:absolute;width:720px;height:720px;right:-380px;top:-360px;border:1px solid #dbe6ef;border-radius:50%;box-shadow:0 0 0 34px rgba(219,230,239,.28),0 0 0 68px rgba(219,230,239,.18);z-index:-1}
+.industrial-auth__toolbar{position:absolute;right:32px;top:24px;z-index:2}
+.industrial-auth__toolbar :deep(>div){position:static!important;background:#fff;border:1px solid #e1e8ef;border-radius:10px;padding:4px 10px;box-shadow:0 4px 14px rgba(20,43,67,.06)}
+.industrial-auth__shell{width:100%;min-height:100svh;display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border:0;border-radius:0;box-shadow:none;overflow:hidden}
+.industrial-auth__brand{position:relative;display:flex;flex-direction:column;padding:72px 82px;background:#102b46;color:#fff;overflow:hidden}
+.industrial-auth__brand::before{content:'';position:absolute;width:540px;height:540px;right:-300px;bottom:-300px;border:1px solid rgba(111,179,222,.3);border-radius:50%;box-shadow:0 0 0 26px rgba(111,179,222,.08),0 0 0 52px rgba(111,179,222,.06)}
+.industrial-auth__brandline{position:relative;z-index:1;display:flex;align-items:center;gap:16px}.industrial-auth__brandline img{width:54px;height:54px;object-fit:contain;border-radius:10px;background:#fff;padding:5px}.industrial-auth__brandline strong{display:block;font-size:23px;letter-spacing:.06em;line-height:1.35}.industrial-auth__brandline span{display:block;margin-top:5px;color:#9db6c9;font-size:12px;letter-spacing:.12em}
+.industrial-auth__hero{position:relative;z-index:1;margin:auto 0}.industrial-auth__eyebrow{margin:0 0 24px;color:#79b9df;font-size:11px;font-weight:700;letter-spacing:.18em}.industrial-auth__hero h1{margin:0;color:#fff;font-size:clamp(42px,4.5vw,62px);font-weight:700;line-height:1.22;letter-spacing:.04em}.industrial-auth__hero h1 em{color:#78bce2;font-style:normal}.industrial-auth__description{max-width:360px;margin:26px 0 0;color:#b5c9d8;font-size:15px;line-height:1.9}.industrial-auth__signal{display:flex;gap:8px;margin-top:40px}.industrial-auth__signal i{display:block;width:40px;height:4px;border-radius:2px;background:#70b8df}.industrial-auth__signal i:nth-child(2){width:72px;background:#3d8fc0}.industrial-auth__signal i:nth-child(3){width:24px;background:#e08946}.industrial-auth__signal i:nth-child(4){width:12px;background:#fff}.industrial-auth__tagline{position:relative;z-index:1;margin:0;color:#8faabd;font-size:12px;letter-spacing:.14em}
+.industrial-auth__card{display:flex;align-items:center;padding:80px 96px;background:#fff}.industrial-auth__card :deep(.herbal-login){width:100%;max-width:420px;margin:0 auto}
+.industrial-auth__footer{position:absolute;bottom:18px;color:#8a9bab;font-size:11px;letter-spacing:.08em;z-index:2}
+:global(.dark .industrial-auth){background:#0c1c2b;color:#e8f1f7}.industrial-auth :global(.dark .industrial-auth__card){background:#122b40}.industrial-auth :global(.dark .industrial-auth__toolbar >div){background:#17374f;border-color:#315873;color:#e8f1f7}
+@media(max-width:860px){.industrial-auth__shell{grid-template-columns:1fr;min-height:100svh}.industrial-auth__brand{padding:38px 40px}.industrial-auth__hero{margin:54px 0}.industrial-auth__hero h1{font-size:42px}.industrial-auth__card{padding:48px 40px}.industrial-auth__footer{display:none}}
+@media(max-width:520px){.industrial-auth__toolbar{right:16px;top:16px}.industrial-auth__brand{padding:30px 26px}.industrial-auth__brandline strong{font-size:19px}.industrial-auth__hero{margin:42px 0}.industrial-auth__hero h1{font-size:36px}.industrial-auth__card{padding:40px 24px}}
+</style>
--
Gitblit v1.9.3