information.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>诊断指南</title>
  6. <style>
  7. *{
  8. margin: 0;
  9. padding: 0;
  10. }
  11. ul,li{
  12. list-style: none;
  13. }
  14. table{
  15. border-collapse: collapse;
  16. border-spacing: 0;
  17. }
  18. body{
  19. font-size: 12px;
  20. overflow-y: scroll;
  21. font-family: '微软雅黑', '宋体';
  22. background: #dde2ea;
  23. height: 100%;
  24. color: #33475f;
  25. }
  26. h1{
  27. margin-bottom: 50px;
  28. }
  29. h2{
  30. font-size: 18px;
  31. position: absolute;
  32. top: -12px;
  33. background: #fff;
  34. padding-right: 6px;
  35. }
  36. .content{
  37. position: relative;
  38. height: 550px;
  39. }
  40. .infos{
  41. height: 100%;
  42. overflow-y: auto;
  43. overflow-x: hidden;
  44. }
  45. .infos>div{
  46. margin-right: 210px;
  47. }
  48. .title{
  49. position: relative;
  50. height:24px;
  51. margin: 34px 0 10px;
  52. }
  53. .line{
  54. border-bottom: 1px dashed #ccc;
  55. }
  56. .container{
  57. width: 76%;
  58. overflow: hidden;
  59. background: #fff;
  60. margin: 0 auto;
  61. padding: 30px 24px;
  62. }
  63. .anchors{
  64. width: 160px;
  65. position: absolute;
  66. right: 15px;
  67. top: 0;
  68. margin-right: 14px;
  69. overflow: auto;
  70. }
  71. .anchors ul{
  72. padding: 15px 18px;
  73. border-radius: 4px;
  74. border: 1px solid #eee;
  75. background-color: #eee;
  76. }
  77. .anchors li{
  78. position: relative;
  79. height: 20px;
  80. }
  81. .anchors .anchor-line{
  82. height: 15px;
  83. width: 0;
  84. border: 1px solid #ccc;
  85. background-color: #ccc;
  86. margin-left: 4px;
  87. }
  88. .anchors .anchor-line:last-child{
  89. display: none;
  90. }
  91. .anchors i{
  92. display: inline-block;
  93. width: 8px;
  94. height: 8px;
  95. border-radius: 5px;
  96. border: 1px solid #ccc;
  97. margin-top: 5px;
  98. background-color: #eee;
  99. margin-right: 10px;
  100. }
  101. .anchors a{
  102. position: absolute;
  103. top: 0;
  104. left: 0;
  105. width: calc(100% - 20px);
  106. padding-left: 20px;
  107. text-decoration: none;
  108. font-size: 13px;
  109. font-weight: 400;
  110. color: #000;
  111. word-wrap: break-word;
  112. }
  113. .anchors .active a{
  114. color: #0089be!important;
  115. font-weight: 700!important;
  116. }
  117. .anchors .active i{
  118. background: #0089be;
  119. }
  120. a:visited{
  121. color:#33475f
  122. }
  123. </style>
  124. </head>
  125. <body>
  126. <div class="container">
  127. <h1></h1>
  128. <div class="content">
  129. <div class="infos"></div>
  130. <div class="anchors">
  131. <ul></ul>
  132. </div>
  133. </div>
  134. </div>
  135. <script src="./hisLib/jquery-1.9.1.min.js"></script>
  136. <script src="./hisLib/infomation.js"></script>
  137. </body>
  138. </html>