login_error.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>登录失败 - 聚德AI短视频脚本撰写</title>
  7. <meta name="description" content="登录失败 - 聚德AI短视频脚本撰写器">
  8. <meta name="theme-color" content="#6366f1">
  9. <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
  10. <link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }}">
  11. <link rel="icon" href="{{ url_for('static', filename='logo.png') }}">
  12. <link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
  13. <style>
  14. /* 错误页面特定样式 - 布局优化版本 */
  15. /* 覆盖登录容器的高度设置 */
  16. .login-container {
  17. min-height: 40vh !important;
  18. /* 减少60vh,从100vh减到40vh */
  19. padding: 15px !important;
  20. /* 减少内边距 */
  21. display: flex !important;
  22. /* 确保flex布局 */
  23. align-items: center !important;
  24. /* 垂直居中 */
  25. justify-content: center !important;
  26. /* 水平居中 */
  27. }
  28. /* 覆盖登录卡片的宽度设置 */
  29. .login-card {
  30. max-width: 680px !important;
  31. /* 从560px增加到680px */
  32. padding: 35px 40px !important;
  33. /* 减少上下内边距,从50px减到35px */
  34. text-align: center !important;
  35. /* 确保文本居中 */
  36. }
  37. /* 优化登录头部间距 */
  38. .login-header {
  39. margin-bottom: 35px !important;
  40. /* 从50px减少到35px */
  41. }
  42. .error-icon {
  43. display: inline-flex;
  44. justify-content: center;
  45. align-items: center;
  46. position: relative;
  47. margin-bottom: 10px;
  48. /* 从25px减少到20px */
  49. }
  50. .error-icon-bg {
  51. position: absolute;
  52. top: 50%;
  53. left: 50%;
  54. transform: translate(-50%, -50%);
  55. width: 120px;
  56. height: 120px;
  57. background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
  58. border-radius: 50%;
  59. animation: errorGlow 3s ease-in-out infinite alternate;
  60. }
  61. .error-icon-circle {
  62. width: 90px;
  63. height: 90px;
  64. background: linear-gradient(135deg, #ef4444, #dc2626);
  65. border-radius: 50%;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
  70. position: relative;
  71. z-index: 1;
  72. }
  73. .error-icon svg {
  74. width: 40px;
  75. height: 40px;
  76. color: white;
  77. }
  78. @keyframes errorGlow {
  79. from {
  80. opacity: 0.5;
  81. transform: translate(-50%, -50%) scale(1);
  82. }
  83. to {
  84. opacity: 0.8;
  85. transform: translate(-50%, -50%) scale(1.1);
  86. }
  87. }
  88. .error-content h2 {
  89. font-size: 28px;
  90. font-weight: 700;
  91. color: #1e293b;
  92. margin-bottom: 10px;
  93. background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  94. -webkit-background-clip: text;
  95. -webkit-text-fill-color: transparent;
  96. background-clip: text;
  97. }
  98. .error-content p {
  99. font-size: 16px;
  100. color: #64748b;
  101. margin-bottom: 15px;
  102. /* 从30px减少到25px */
  103. font-weight: 400;
  104. }
  105. .retry-button {
  106. display: inline-flex;
  107. align-items: center;
  108. justify-content: center;
  109. gap: 12px;
  110. width: 100%;
  111. padding: 16px 32px;
  112. /* 从18px减少到16px */
  113. background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  114. color: white;
  115. border: none;
  116. border-radius: 16px;
  117. font-size: 16px;
  118. font-weight: 600;
  119. text-decoration: none;
  120. transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  121. box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  122. margin-bottom: 12px;
  123. /* 从20px减少到18px */
  124. }
  125. .retry-button:hover {
  126. transform: translateY(-2px);
  127. box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
  128. }
  129. .help-links {
  130. display: flex;
  131. justify-content: center;
  132. gap: 20px;
  133. margin-top: 10px;
  134. /* 从20px减少到15px */
  135. }
  136. .help-link {
  137. color: #64748b;
  138. text-decoration: none;
  139. font-size: 14px;
  140. transition: color 0.3s ease;
  141. }
  142. .help-link:hover {
  143. color: #3b82f6;
  144. }
  145. /* 响应式设计优化 */
  146. @media (max-width: 768px) {
  147. .login-container {
  148. min-height: 100vh !important;
  149. /* 移动端保持全屏高度 */
  150. padding: 20px !important;
  151. display: flex !important;
  152. /* 确保flex布局 */
  153. align-items: center !important;
  154. /* 垂直居中 */
  155. justify-content: center !important;
  156. /* 水平居中 */
  157. }
  158. .login-card {
  159. max-width: 100% !important;
  160. /* 移动端使用全宽 */
  161. padding: 30px 25px !important;
  162. text-align: center !important;
  163. /* 确保文本居中 */
  164. }
  165. }
  166. @media (max-width: 480px) {
  167. .login-card {
  168. padding: 25px 20px !important;
  169. }
  170. .error-content h2 {
  171. font-size: 24px;
  172. }
  173. .error-content p {
  174. font-size: 14px;
  175. }
  176. }
  177. </style>
  178. </head>
  179. <body>
  180. <!-- 背景动画元素 -->
  181. <div class="animated-background">
  182. <div class="floating-shapes">
  183. <div class="shape shape-1"></div>
  184. <div class="shape shape-2"></div>
  185. <div class="shape shape-3"></div>
  186. <div class="shape shape-4"></div>
  187. <div class="shape shape-5"></div>
  188. </div>
  189. <div class="gradient-overlay"></div>
  190. </div>
  191. <div class="login-container">
  192. <div class="login-card glass-panel">
  193. <!-- 装饰性元素 -->
  194. <div class="card-decoration">
  195. <div class="decoration-line"></div>
  196. <div class="decoration-dot"></div>
  197. <div class="decoration-line"></div>
  198. </div>
  199. <div class="login-header">
  200. <div class="logo-container">
  201. <div class="logo-glow"></div>
  202. <img src="{{ url_for('static', filename='logo.png') }}" alt="聚德AI" class="login-logo">
  203. </div>
  204. <h1>聚德AI短视频脚本撰写</h1>
  205. <p class="login-subtitle">智能创作,高效输出</p>
  206. <div class="header-underline"></div>
  207. </div>
  208. <!-- 错误内容 -->
  209. <div class="login-methods">
  210. <!-- 错误图标 -->
  211. <div class="error-icon">
  212. <div class="error-icon-bg"></div>
  213. <div class="error-icon-circle">
  214. <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  215. <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
  216. d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z" />
  217. </svg>
  218. </div>
  219. </div>
  220. <!-- 错误内容 -->
  221. <div class="error-content">
  222. <h2>登录失败</h2>
  223. <p>很抱歉,登录过程中遇到了问题</p>
  224. </div>
  225. <!-- 重试按钮 -->
  226. <a href="{{ url_for('login') }}" class="retry-button">
  227. <svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  228. <path
  229. d="M4 4V9H4.58152M19.9381 11C19.446 7.05369 16.0796 4 12 4C8.64262 4 5.76829 6.06817 4.58152 9M4.58152 9H9M20 20V15H19.4185M19.4185 15C18.2317 17.9318 15.3574 20 12 20C7.92038 20 4.55399 16.9463 4.06189 13M19.4185 15H15"
  230. stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
  231. </svg>
  232. 重新登录
  233. </a>
  234. <!-- 帮助链接 -->
  235. <div class="help-links">
  236. <a href="javascript:history.back()" class="help-link">返回上一页</a>
  237. <a href="{{ url_for('index') }}" class="help-link">返回首页</a>
  238. </div>
  239. </div>
  240. <!-- 页脚信息 -->
  241. <div class="login-footer">
  242. <p>© 2025 成都聚德鼎盛文化传播有限公司</p>
  243. </div>
  244. </div>
  245. </div>
  246. </body>
  247. </html>