index.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>验证</title>
  7. <style>
  8. .zl-row {
  9. display: flex;
  10. flex-wrap: wrap;
  11. }
  12. * {
  13. box-sizing: border-box;
  14. }
  15. .zl-col-6 {
  16. flex: 0 0 50%;
  17. max-width: 50%;
  18. padding: 0 8px;
  19. }
  20. .zl-table-height {
  21. height: calc(100vh - 32px);
  22. overflow: auto;
  23. }
  24. body {
  25. margin: 0;
  26. }
  27. .zl-code {
  28. height: calc(50vh - 30px);
  29. overflow: auto;
  30. }
  31. .zl-col-12 {
  32. flex: 0 0 100%;
  33. max-width: 100%;
  34. }
  35. .zl-tree {
  36. height: calc(50vh - 30px);
  37. }
  38. .zl-table-head {
  39. font-size: 1rem;
  40. height: 20px;
  41. line-height: 20px;
  42. border-left: 5px solid #686f72;
  43. padding-left: 7px;
  44. margin: 4px 0;
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <div class="zl-container">
  50. <div class="zl-row">
  51. <div class="zl-col-6">
  52. <div class="zl-table-head">JS中过滤器清单</div>
  53. <div class="zl-table-height">
  54. <table class="table table-bordered">
  55. <thead>
  56. <tr>
  57. <th>标签名</th>
  58. <th>标签效果展示</th>
  59. </tr>
  60. </thead>
  61. <tbody>
  62. <tr>
  63. <td>
  64. <code>&lt;h1&gt;&lt;/h1&gt;</code>
  65. </td>
  66. <td><span class="h1">h1. Bootstrap 标题头</span></td>
  67. </tr>
  68. <tr>
  69. <td>
  70. <code>&lt;h2&gt;&lt;/h2&gt;</code>
  71. </td>
  72. <td><span class="h2">h2. Bootstrap 标题头</span></td>
  73. </tr>
  74. <tr>
  75. <td>
  76. <code>&lt;h3&gt;&lt;/h3&gt;</code>
  77. </td>
  78. <td><span class="h3">h3. Bootstrap 标题头</span></td>
  79. </tr>
  80. <tr>
  81. <td>
  82. <code>&lt;h4&gt;&lt;/h4&gt;</code>
  83. </td>
  84. <td><span class="h4">h4. Bootstrap 标题头</span></td>
  85. </tr>
  86. <tr>
  87. <td>
  88. <code>&lt;h5&gt;&lt;/h5&gt;</code>
  89. </td>
  90. <td><span class="h5">h5. Bootstrap 标题头</span></td>
  91. </tr>
  92. <tr>
  93. <td>
  94. <code>&lt;h6&gt;&lt;/h6&gt;</code>
  95. </td>
  96. <td><span class="h6">h6. Bootstrap 标题头</span></td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. </div>
  101. </div>
  102. <div class="zl-col-6">
  103. <div class="zl-row">
  104. <div class="zl-col-12">
  105. <div class="zl-table-head">JS实现代码</div>
  106. <div class="zl-code">代码块</div>
  107. </div>
  108. </div>
  109. <div class="zl-row">
  110. <div class="zl-col-12">
  111. <div class="zl-table-head">JS对应AST树</div>
  112. <div class="zl-tree">树形块</div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </body>
  119. </html>