integrationError.jsp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>sHR系统异常</title>
  7. <style>
  8. body {
  9. font-family: Arial, sans-serif;
  10. margin: 0;
  11. padding: 0;
  12. background-color: #f0f2f5;
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. min-height: 100vh;
  17. }
  18. .error-container {
  19. background-color: white;
  20. padding: 40px;
  21. border-radius: 8px;
  22. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  23. text-align: center;
  24. max-width: 400px;
  25. width: 100%;
  26. }
  27. .error-icon {
  28. font-size: 64px;
  29. color: #ff4d4f;
  30. margin-bottom: 20px;
  31. }
  32. .error-title {
  33. color: #333;
  34. font-size: 24px;
  35. margin-bottom: 15px;
  36. }
  37. .error-message {
  38. color: #666;
  39. font-size: 16px;
  40. margin-bottom: 30px;
  41. line-height: 1.5;
  42. }
  43. .btn {
  44. display: inline-block;
  45. padding: 12px 30px;
  46. background-color: #1890ff;
  47. color: white;
  48. text-decoration: none;
  49. border-radius: 4px;
  50. font-size: 16px;
  51. transition: background-color 0.3s;
  52. }
  53. .btn:hover {
  54. background-color: #40a9ff;
  55. }
  56. </style>
  57. </head>
  58. <body>
  59. <div class="error-container">
  60. <div class="error-icon">⚠️</div>
  61. <%-- <h1 class="error-title">系统异常</h1>--%>
  62. <p>错误码:${errorCode}</p>
  63. <p class="error-message" th:text="${errorMsg}">${errorMsg}</p>
  64. </div>
  65. </body>
  66. </html>