官网 管理后台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.html 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>河南星火燎原软件科技有限公司</title>
  8. <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="./librarys/bootstrap@3.4.1/bootstrap.css" />
  10. <link rel="stylesheet" href="./css/comm.css" />
  11. <style>
  12. body {
  13. background-color: #fff;
  14. }
  15. .main_box {
  16. margin: 0 auto;
  17. margin-top: 150px;
  18. width: 1000px;
  19. }
  20. .main_box .main_item {
  21. display: inline-block;
  22. margin: 0 10px;
  23. width: calc(16% - 20px);
  24. border: 1px solid #999;
  25. box-shadow: 0 1px 6px #e8eaec;
  26. border-radius: 4px;
  27. line-height: 100px;
  28. font-size: 18px;
  29. font-weight: bold;
  30. text-align: center;
  31. border-color: #fff;
  32. cursor: pointer;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <div class="main_box">
  38. <div class="main_item" data-url="user">用户信息</div>
  39. <div class="main_item" data-url="history">发展历程</div>
  40. <div class="main_item" data-url="service">服务案例</div>
  41. <div class="main_item" data-url="school">学校图标</div>
  42. <div class="main_item" data-url="trial">申请试用</div>
  43. <div class="main_item" data-url="news">新闻资讯</div>
  44. </div>
  45. <script src="./librarys/jquery@1.12.4/jquery.min.js"></script>
  46. <script src="./utils/index.js"></script>
  47. <script>
  48. $(function () {
  49. if (!$.isLogin()) {
  50. window.location.href = "/sections/login.html";
  51. return;
  52. }
  53. $(".main_box").on("click", ".main_item", function () {
  54. let _url = $(this).data("url");
  55. window.location.href = "/sections/" + _url + ".html";
  56. });
  57. });
  58. </script>
  59. </body>
  60. </html>