login.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {include file="common/meta" /}
  5. <style type="text/css">
  6. * {
  7. box-sizing: border-box;
  8. }
  9. html, body {
  10. width: 100%;
  11. height: 100%;
  12. margin: 0;
  13. padding: 0;
  14. }
  15. body.login-page {
  16. min-height: 100vh;
  17. overflow-x: hidden;
  18. overflow-y: auto;
  19. background-color: #020b1e;
  20. background-image: url('https://a-7in6-com.oss-cn-hangzhou.aliyuncs.com/xinhua/img/login1.png');
  21. background-repeat: no-repeat;
  22. background-position: center center;
  23. background-size: 100% 100%;
  24. color: #fff;
  25. font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  26. position: relative;
  27. }
  28. .login-top {
  29. position: relative;
  30. z-index: 2;
  31. padding: 12px 20px 0;
  32. text-align: center;
  33. }
  34. .login-top-brand {
  35. display: inline-block;
  36. margin: 0 auto;
  37. width: min(460px, 58vw);
  38. height: 64px;
  39. background: url('https://a-7in6-com.oss-cn-hangzhou.aliyuncs.com/xinhua/img/login4.png') no-repeat center center;
  40. background-size: contain;
  41. pointer-events: none;
  42. user-select: none;
  43. }
  44. .login-main {
  45. position: relative;
  46. z-index: 2;
  47. display: flex;
  48. align-items: flex-start;
  49. justify-content: space-between;
  50. gap: clamp(8px, 2vw, 28px);
  51. width: 100%;
  52. /* max-width: 1678px; */
  53. margin: 0 auto;
  54. /* padding: 6px 7% 90px 3%; */
  55. min-height: auto;
  56. }
  57. .login-visual {
  58. flex: 1 1 auto;
  59. min-width: 0;
  60. display: flex;
  61. align-items: center;
  62. justify-content: flex-start;
  63. overflow: visible;
  64. }
  65. .login-visual-art {
  66. display: block;
  67. flex-shrink: 0;
  68. height: calc(106vh - 85px);
  69. aspect-ratio: 16 / 9;
  70. width: auto;
  71. max-width: min(calc((106vh - 85px) * 16 / 9), 78vw);
  72. margin-left: clamp(32px, 4vw, 72px);
  73. background: url('https://a-7in6-com.oss-cn-hangzhou.aliyuncs.com/xinhua/img/login3.png') no-repeat center center;
  74. background-size: contain;
  75. pointer-events: none;
  76. user-select: none;
  77. }
  78. .login-panel {
  79. flex: 0 0 auto;
  80. width: 100%;
  81. max-width: 400px;
  82. min-width: 300px;
  83. margin-left: auto;
  84. margin-right: clamp(56px, 9vw, 150px);
  85. padding: 0;
  86. align-self: center;
  87. transform: translateY(0);
  88. }
  89. .login-panel-head {
  90. width: 100%;
  91. text-align: center;
  92. }
  93. .login-sys-title {
  94. display: block;
  95. width: 86%;
  96. height: 32px;
  97. margin: 0 auto;
  98. background: url('https://a-7in6-com.oss-cn-hangzhou.aliyuncs.com/xinhua/img/login5.png') no-repeat center center;
  99. background-size: contain;
  100. pointer-events: none;
  101. user-select: none;
  102. }
  103. .login-panel-body {
  104. margin-top: 28px;
  105. }
  106. .login-divider-wrap {
  107. width: 100%;
  108. height: 15px;
  109. margin: 0;
  110. background: url('https://a-7in6-com.oss-cn-hangzhou.aliyuncs.com/xinhua/img/login6.png') no-repeat center 54%;
  111. background-size: 100% auto;
  112. pointer-events: none;
  113. user-select: none;
  114. }
  115. .login-panel-box {
  116. margin-top: -11px;
  117. border-top: none;
  118. background: rgba(36, 98, 168, 0.34);
  119. border: 1px solid rgba(120, 195, 255, 0.42);
  120. box-shadow: 0 8px 32px rgba(8, 40, 90, 0.22), inset 0 0 24px rgba(120, 190, 255, 0.08);
  121. backdrop-filter: blur(10px);
  122. -webkit-backdrop-filter: blur(10px);
  123. padding: 29px 24px 40px;
  124. }
  125. .login-form-title {
  126. margin: 0 0 18px;
  127. text-align: center;
  128. font-size: 18px;
  129. font-weight: 600;
  130. letter-spacing: 3px;
  131. color: #f0f7ff;
  132. }
  133. #login-form {
  134. width: 100%;
  135. }
  136. #login-form .input-group {
  137. margin-bottom: 14px;
  138. width: 100%;
  139. background: rgba(72, 145, 215, 0.38);
  140. border-radius: 0;
  141. overflow: hidden;
  142. border: 1px solid rgba(150, 210, 255, 0.32);
  143. backdrop-filter: blur(6px);
  144. -webkit-backdrop-filter: blur(6px);
  145. }
  146. #login-form .input-group-addon {
  147. background: transparent;
  148. border: none;
  149. color: rgba(215, 235, 255, 0.88);
  150. padding: 0 12px;
  151. min-width: 42px;
  152. text-align: center;
  153. }
  154. #login-form .input-group-addon .glyphicon {
  155. font-size: 16px;
  156. top: 0;
  157. }
  158. #login-form .form-control {
  159. height: 42px;
  160. border: none;
  161. box-shadow: none;
  162. font-size: 14px;
  163. color: #f2f8ff;
  164. background: transparent;
  165. }
  166. #login-form .form-control:focus {
  167. box-shadow: none;
  168. background: rgba(255, 255, 255, 0.06);
  169. }
  170. #login-form .form-control::placeholder {
  171. color: rgba(200, 225, 250, 0.72);
  172. }
  173. #login-form .input-group .input-group-addon:last-child {
  174. padding: 0;
  175. border: none;
  176. }
  177. #login-form .btn-login-submit {
  178. margin-top: 6px;
  179. height: 44px;
  180. width: 100%;
  181. border: none;
  182. border-radius: 0;
  183. background: linear-gradient(180deg, #45a8ff 0%, #1a72ea 100%);
  184. color: #fff;
  185. font-size: 16px;
  186. font-weight: 600;
  187. letter-spacing: 6px;
  188. box-shadow: 0 4px 12px rgba(26, 111, 232, 0.4);
  189. }
  190. #login-form .btn-login-submit:hover,
  191. #login-form .btn-login-submit:focus {
  192. background: linear-gradient(180deg, #52abff 0%, #2580f0 100%);
  193. color: #fff;
  194. }
  195. .login-form-links {
  196. display: flex;
  197. justify-content: space-between;
  198. align-items: center;
  199. margin-top: 12px;
  200. padding: 0 4px;
  201. font-size: 12px;
  202. }
  203. .login-form-links a {
  204. color: rgba(195, 218, 245, 0.85);
  205. text-decoration: none;
  206. }
  207. .login-form-links a:hover {
  208. color: #fff;
  209. text-decoration: underline;
  210. }
  211. .login-footer {
  212. position: absolute;
  213. left: 0;
  214. right: 0;
  215. bottom: 0;
  216. z-index: 2;
  217. padding: 14px 20px 18px;
  218. text-align: center;
  219. font-size: 13px;
  220. color: rgba(220, 235, 255, 0.82);
  221. }
  222. .login-footer a {
  223. color: rgba(220, 235, 255, 0.82);
  224. }
  225. .login-footer a:hover {
  226. color: #fff;
  227. }
  228. @media (max-width: 1100px) {
  229. .login-main {
  230. flex-direction: column;
  231. justify-content: flex-start;
  232. padding: 16px 24px 96px;
  233. min-height: auto;
  234. }
  235. .login-visual {
  236. flex: 0 0 auto;
  237. width: 100%;
  238. justify-content: center;
  239. }
  240. .login-visual-art {
  241. width: 100%;
  242. max-width: 720px;
  243. height: auto;
  244. aspect-ratio: 16 / 9;
  245. min-height: 280px;
  246. max-height: none;
  247. margin-left: 0;
  248. background-position: center center;
  249. background-size: contain;
  250. }
  251. .login-panel {
  252. max-width: 460px;
  253. margin-left: 0;
  254. margin-right: 0;
  255. transform: none;
  256. }
  257. }
  258. @media (max-width: 480px) {
  259. .login-top {
  260. padding-top: 16px;
  261. }
  262. .login-panel-box {
  263. padding: 22px 18px 18px;
  264. }
  265. .login-form-title {
  266. font-size: 18px;
  267. }
  268. }
  269. </style>
  270. <script>
  271. document.addEventListener('wheel', function (e) {
  272. if (e.ctrlKey) {
  273. e.preventDefault();
  274. }
  275. }, {passive: false});
  276. document.addEventListener('gesturestart', function (e) {
  277. e.preventDefault();
  278. });
  279. document.addEventListener('gesturechange', function (e) {
  280. e.preventDefault();
  281. });
  282. document.addEventListener('gestureend', function (e) {
  283. e.preventDefault();
  284. });
  285. </script>
  286. </head>
  287. <body class="login-page">
  288. <header class="login-top">
  289. <div class="login-top-brand" role="img" aria-label="浙江新华数码印务有限公司"></div>
  290. </header>
  291. <main class="login-main">
  292. <div class="login-visual">
  293. <div class="login-visual-art" role="img" aria-label=""></div>
  294. </div>
  295. <div class="login-panel">
  296. <div class="login-panel-head">
  297. <div class="login-sys-title" role="img" aria-label="大数据协同系统"></div>
  298. </div>
  299. <div class="login-panel-body">
  300. <div class="login-divider-wrap" aria-hidden="true"></div>
  301. <div class="login-panel-box">
  302. <h2 class="login-form-title">用户登录</h2>
  303. <form action="" method="post" id="login-form">
  304. <!--@AdminLoginFormBegin-->
  305. <div id="errtips" class="hide"></div>
  306. {:token()}
  307. <div class="input-group">
  308. <div class="input-group-addon">
  309. <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
  310. </div>
  311. <input type="text" class="form-control" id="pd-form-username" placeholder="请输入用户名" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username"/>
  312. </div>
  313. <div class="input-group">
  314. <div class="input-group-addon">
  315. <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
  316. </div>
  317. <input type="password" class="form-control" id="pd-form-password" placeholder="请输入登录密码" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;length(4~30)"/>
  318. </div>
  319. {if $Think.config.fastadmin.login_captcha}
  320. <div class="input-group">
  321. <div class="input-group-addon">
  322. <span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span>
  323. </div>
  324. <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>
  325. <span class="input-group-addon" style="cursor:pointer;">
  326. <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" alt="captcha" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
  327. </span>
  328. </div>
  329. {/if}
  330. <div class="form-group" style="margin-bottom:0;">
  331. <button type="submit" class="btn btn-login-submit btn-lg btn-block">登录</button>
  332. </div>
  333. <!--@AdminLoginFormEnd-->
  334. </form>
  335. </div>
  336. </div>
  337. </div>
  338. </main>
  339. <footer class="login-footer">
  340. <p style="margin:0;">Copyright @ 杭州可集达科技有限公司 2026-{:date('Y',time())} 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
  341. </footer>
  342. {include file="common/script" /}
  343. </body>
  344. </html>