error.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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>安装错误</title>
  7. <link href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet">
  8. <style>
  9. :root {
  10. --primary-gradient: linear-gradient(135deg, #7166F0 0%, #8F85F3 100%);
  11. --error-gradient: linear-gradient(135deg, #7166F0 0%, #8F85F3 100%);
  12. --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  13. --card-bg: rgba(255, 255, 255, 0.95);
  14. --text-primary: #1E293B;
  15. --text-secondary: #475569;
  16. --border-color: rgba(113, 102, 240, 0.1);
  17. }
  18. body {
  19. background: var(--bg-gradient);
  20. min-height: 100vh;
  21. margin: 0;
  22. padding: 0;
  23. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  24. display: flex;
  25. flex-direction: column;
  26. color: var(--text-primary);
  27. }
  28. .logo-section {
  29. text-align: left;
  30. padding: 1rem 2rem;
  31. background: var(--card-bg);
  32. box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  33. backdrop-filter: blur(10px);
  34. border-bottom: 1px solid var(--border-color);
  35. position: fixed;
  36. top: 0;
  37. left: 0;
  38. right: 0;
  39. z-index: 1000;
  40. display: flex;
  41. align-items: center;
  42. gap: 1rem;
  43. }
  44. .logo-icon {
  45. animation: pulse 2s infinite;
  46. flex-shrink: 0;
  47. }
  48. .logo-icon img {
  49. width: 40px;
  50. height: 40px;
  51. border-radius: 10px;
  52. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  53. transition: transform 0.3s ease;
  54. }
  55. .logo-icon img:hover {
  56. transform: scale(1.05);
  57. }
  58. .logo-section h1 {
  59. font-size: 1.4rem;
  60. background: var(--primary-gradient);
  61. -webkit-background-clip: text;
  62. -webkit-text-fill-color: transparent;
  63. margin: 0;
  64. font-weight: 700;
  65. letter-spacing: 0.5px;
  66. white-space: nowrap;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. }
  70. .main-content {
  71. flex: 1;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. padding: 2rem;
  76. margin-top: 70px;
  77. }
  78. .install-wrapper {
  79. width: 100%;
  80. max-width: 800px;
  81. animation: fadeIn 0.8s ease-out;
  82. }
  83. .error-container {
  84. text-align: center;
  85. padding: 3rem;
  86. background: var(--card-bg);
  87. border-radius: 20px;
  88. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  89. backdrop-filter: blur(10px);
  90. border: 1px solid var(--border-color);
  91. transform: translateY(0);
  92. transition: all 0.3s ease;
  93. }
  94. .error-container:hover {
  95. transform: translateY(-5px);
  96. box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  97. }
  98. .error-icon {
  99. font-size: 5rem;
  100. margin-bottom: 1.5rem;
  101. animation: shake 0.5s ease-in-out;
  102. color: #7166F0;
  103. }
  104. .error-icon svg {
  105. filter: drop-shadow(0 5px 15px rgba(113, 102, 240, 0.2));
  106. }
  107. .error-title {
  108. font-size: 2rem;
  109. font-weight: 700;
  110. background: var(--error-gradient);
  111. -webkit-background-clip: text;
  112. -webkit-text-fill-color: transparent;
  113. margin-bottom: 1rem;
  114. }
  115. .error-message {
  116. color: var(--text-secondary);
  117. font-size: 1.1rem;
  118. margin-bottom: 2.5rem;
  119. line-height: 1.6;
  120. background: rgba(113, 102, 240, 0.05);
  121. padding: 1rem;
  122. border-radius: 10px;
  123. border: 1px solid rgba(113, 102, 240, 0.1);
  124. }
  125. .btn-custom {
  126. padding: 1rem 2.5rem;
  127. font-size: 1.1rem;
  128. font-weight: 600;
  129. border-radius: 50px;
  130. background: var(--primary-gradient);
  131. border: none;
  132. color: white;
  133. transition: all 0.3s ease;
  134. box-shadow: 0 5px 15px rgba(113, 102, 240, 0.3);
  135. text-decoration: none;
  136. display: inline-block;
  137. letter-spacing: 0.5px;
  138. position: relative;
  139. overflow: hidden;
  140. }
  141. .btn-custom:hover {
  142. transform: translateY(-2px);
  143. box-shadow: 0 8px 25px rgba(113, 102, 240, 0.4);
  144. color: white;
  145. }
  146. .btn-custom:active {
  147. transform: translateY(0);
  148. }
  149. .btn-custom::after {
  150. content: '';
  151. position: absolute;
  152. top: 0;
  153. left: 0;
  154. width: 100%;
  155. height: 100%;
  156. background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  157. transform: translateX(-100%);
  158. transition: transform 0.6s ease;
  159. }
  160. .btn-custom:hover::after {
  161. transform: translateX(100%);
  162. }
  163. @keyframes fadeIn {
  164. from { opacity: 0; transform: translateY(20px); }
  165. to { opacity: 1; transform: translateY(0); }
  166. }
  167. @keyframes pulse {
  168. 0% { transform: scale(1); }
  169. 50% { transform: scale(1.05); }
  170. 100% { transform: scale(1); }
  171. }
  172. @keyframes shake {
  173. 0%, 100% { transform: translateX(0); }
  174. 25% { transform: translateX(-5px); }
  175. 75% { transform: translateX(5px); }
  176. }
  177. @media (max-width: 576px) {
  178. .logo-section {
  179. padding: 0.8rem 1rem;
  180. }
  181. .logo-section h1 {
  182. font-size: 1rem;
  183. }
  184. .logo-icon img {
  185. width: 32px;
  186. height: 32px;
  187. }
  188. .main-content {
  189. margin-top: 60px;
  190. padding: 1rem;
  191. }
  192. .error-container {
  193. padding: 2rem;
  194. }
  195. .error-title {
  196. font-size: 1.6rem;
  197. }
  198. .btn-custom {
  199. padding: 0.8rem 2rem;
  200. font-size: 1rem;
  201. }
  202. }
  203. </style>
  204. </head>
  205. <body>
  206. <!-- Logo Section -->
  207. <div class="logo-section">
  208. <div class="logo-icon">
  209. <img src="https://saithink.top/images/logo.png">
  210. </div>
  211. <h1>【{{app}}-{{version}}】安装配置向导</h1>
  212. </div>
  213. <div class="main-content">
  214. <div class="install-wrapper">
  215. <div class="error-container">
  216. <div class="error-icon">
  217. <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-exclamation-circle" viewBox="0 0 16 16">
  218. <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
  219. <path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>
  220. </svg>
  221. </div>
  222. <h2 class="error-title">安装失败</h2>
  223. <p class="error-message">错误提示:{{error}}</p>
  224. <a href="/core/install" class="btn btn-custom">重新安装</a>
  225. </div>
  226. </div>
  227. </div>
  228. <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script>
  229. </body>
  230. </html>