login-prototype.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. <script src="https://cdn.tailwindcss.com"></script>
  8. <link
  9. rel="stylesheet"
  10. href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
  11. />
  12. <style>
  13. .brand-blue {
  14. background-color: rgb(93, 135, 255);
  15. }
  16. </style>
  17. </head>
  18. <body class="bg-gray-50 min-h-screen flex items-center justify-center p-4">
  19. <div class="w-full max-w-md bg-white rounded-2xl shadow-xl overflow-hidden">
  20. <div class="brand-blue p-6 text-center">
  21. <i class="fas fa-graduation-cap text-white text-4xl mb-2"></i>
  22. <h1 class="text-2xl font-bold text-white">校园管理系统</h1>
  23. </div>
  24. <div class="p-8">
  25. <form>
  26. <div class="mb-6">
  27. <label class="block text-gray-700 text-sm font-medium mb-2">
  28. <i class="fas fa-user mr-2 text-blue-500"></i>
  29. 账号
  30. </label>
  31. <input
  32. type="text"
  33. class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500"
  34. placeholder="请输入学工号"
  35. />
  36. </div>
  37. <div class="mb-8">
  38. <label class="block text-gray-700 text-sm font-medium mb-2">
  39. <i class="fas fa-lock mr-2 text-blue-500"></i>
  40. 密码
  41. </label>
  42. <input
  43. type="password"
  44. class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500"
  45. placeholder="请输入密码"
  46. />
  47. </div>
  48. <button
  49. type="submit"
  50. class="w-full brand-blue text-white py-3 px-4 rounded-lg font-medium text-lg hover:bg-blue-600 transition shadow-md"
  51. >
  52. <i class="fas fa-sign-in-alt mr-2"></i>
  53. 登录
  54. </button>
  55. </form>
  56. </div>
  57. <div class="bg-gray-50 px-6 py-4 text-center text-gray-500 text-sm">
  58. © 2025 校园管理系统 v3.0
  59. </div>
  60. </div>
  61. </body>
  62. </html>