This commit is contained in:
hero920103 committed 2026-11-13 20:26:16 +08:00
1 parent b6b528490c
commit 4ab63e77ed
28 files changed
+1858 -695

No files matched your search

+31 -34
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<title>{{.LoginTitle}} - 统一认证中心</title>
<title>温新云科技 - 统一认证中心 - 统一认证中心</title>
<style>
:root {
--primary: #3973ff;
@@ -212,18 +212,20 @@
to { opacity: 1; transform: none; }
}
/* 小屏时左侧品牌区隐藏,在表单上方展示紧凑品牌头 */
.mobile-brand { display: none; align-items: center; gap: 12px; margin-bottom: 28px; }
.mobile-brand .brand-img { height: 36px; max-width: 180px; }
.mobile-brand .brand-logo {
/* 表单上方品牌 Logo 区:显示在「登录」字样上方 */
.form-brand { display: flex; align-items: center; margin-bottom: 24px; }
.form-brand-img { height: 42px; max-width: 240px; object-fit: contain; display: block; }
.form-brand-fallback { display: inline-flex; align-items: center; gap: 12px; }
.form-brand-logo {
width: 40px; height: 40px;
border-radius: 11px;
background: rgba(57, 115, 255, 0.10);
border-color: rgba(57, 115, 255, 0.18);
border: 1px solid rgba(57, 115, 255, 0.18);
display: flex; align-items: center; justify-content: center;
flex: 0 0 auto;
}
.mobile-brand .brand-logo svg { stroke: var(--primary); }
.mobile-brand-text { display: flex; flex-direction: column; gap: 2px; }
.mobile-brand-name { font-size: 15px; font-weight: 600; }
.mobile-brand-sub { font-size: 12px; color: var(--muted); }
.form-brand-logo svg { width: 22px; height: 22px; stroke: var(--primary); }
.form-brand-name { font-size: 16px; font-weight: 600; color: var(--text); }
.form-foot {
position: absolute;
@@ -535,14 +537,13 @@
padding: 40px 24px 72px;
}
.form-inner { max-width: 440px; margin: 0 auto; }
.mobile-brand { display: flex; }
.panel-title { font-size: 26px; }
}
</style>
</head>
<body>
<div class="login-page">
<!-- 左侧品牌区:背景图 / Logo / 主副标题由 platform「平台设置 → 登录页设置」提供 -->
<!-- 左侧品牌区:背景图 / 主副标题由 platform「平台设置 → 登录页设置」提供 -->
<aside class="brand-panel{{if .LoginBg}} has-bg{{end}}">
{{if .LoginBg}}
<img class="brand-bg" src="{{.LoginBg}}" alt="" />
@@ -551,20 +552,16 @@
<div class="brand-inner">
<div class="brand">
{{if .LoginLogo}}
<img class="brand-img" src="{{.LoginLogo}}" alt="{{.LoginTitle}}" />
{{else}}
<span class="brand-logo">
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l7 3v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6l7-3z"/>
<path d="M9.2 12.2l2 2 3.6-4"/>
</svg>
</span>
<span class="brand-name">温新云统一认证中心</span>
{{end}}
<span class="brand-name">统一认证中心</span>
</div>
<h1 class="brand-title">{{.LoginTitle}}</h1>
<h1 class="brand-title">温新云</h1>
<p class="brand-sub">{{.LoginSubtitle}}</p>
</div>
@@ -573,28 +570,28 @@
<rect x="4" y="11" width="16" height="10" rx="2"/>
<path d="M8 11V8a4 4 0 018 0v3"/>
</svg>
<span>© 2026 Yunzer · 连接已加密</span>
<span>© 2026 WEIXIN TECH · 连接已加密</span>
</div>
</aside>
<!-- 右侧表单区 -->
<main class="form-panel">
<div class="form-inner">
<div class="mobile-brand">
<!-- 品牌 Logo 区:显示在「登录」字样上方 -->
<div class="form-brand">
{{if .LoginLogo}}
<img class="brand-img" src="{{.LoginLogo}}" alt="{{.LoginTitle}}" />
<img class="form-brand-img" src="{{.LoginLogo}}" alt="温新云科技 - 统一认证中心" />
{{else}}
<span class="brand-logo">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l7 3v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6l7-3z"/>
<path d="M9.2 12.2l2 2 3.6-4"/>
</svg>
</span>
<div class="form-brand-fallback">
<span class="form-brand-logo">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l7 3v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6l7-3z"/>
<path d="M9.2 12.2l2 2 3.6-4"/>
</svg>
</span>
<span class="form-brand-name">温新云统一认证中心</span>
</div>
{{end}}
<span class="mobile-brand-text">
<span class="mobile-brand-name">温新云统一认证中心</span>
<span class="mobile-brand-sub">{{.LoginTitle}}</span>
</span>
</div>
{{if eq .Step "tenant"}}
<div class="panel-head">
@@ -633,8 +630,8 @@
<div class="back"><a class="link" onclick="logout()">不是我的账号?切换账号</a></div>
{{else}}
<div class="panel-head">
<h1 class="panel-title">登录</h1>
<p class="panel-sub">请选择登录方式,进入您的工作空间</p>
<h1 class="panel-title">欢迎登陆您的工作空间</h1>
<!-- <p class="panel-sub"></p> -->
</div>
<div class="error" id="error">
@@ -799,7 +796,7 @@
</div>
<div class="form-foot">
<span>© 2026 云泽 版权所有</span>
<span>© 2027 云泽网 版权所有</span>
<button id="cacheClearBtn" class="cache-clear-btn" type="button" onclick="clearSiteCache()" title="仅清除本站在当前浏览器中的缓存数据">清除缓存</button>
</div>
</main>