index.jsp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <%--
  2. Created by IntelliJ IDEA.
  3. User: Administrator
  4. Date: 2024/8/7 星期三
  5. Time: 13:15
  6. To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  9. <% String path = request.getContextPath(); %>
  10. <html>
  11. <head>
  12. <meta charset="UTF-8">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <title>选择身份</title>
  15. <style>
  16. .button {
  17. display: inline-block;
  18. padding: 20px 40px;
  19. margin: 10%;
  20. font-size: 24px;
  21. color: white;
  22. background-color: deepskyblue;
  23. border: none;
  24. border-radius: 10px;
  25. cursor: pointer;
  26. text-align: center;
  27. text-decoration: none;
  28. }
  29. .button:active {
  30. background-color: lightblue;
  31. }
  32. </style>
  33. <script src="js/jquery.js"></script>
  34. </head>
  35. <body>
  36. <div style="text-align: center; margin-top: 50px;">
  37. <a href="direct/sift.action?identity=doctor"><button class="button" name="doctor">我是医生</button></a>
  38. <a href="direct/sift.action?identity=patience"><button class="button" name="patience">我是病人</button></a>
  39. <%-- <a href="test/t.action"><button class="button" name="patience">测试</button></a>--%>
  40. </div>
  41. </body>
  42. <script>
  43. </script>
  44. </html>