|
@@ -0,0 +1,127 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <title>验证</title>
|
|
|
+ <style>
|
|
|
+ .zl-row {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ * {
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
+
|
|
|
+ .zl-col-6 {
|
|
|
+ flex: 0 0 50%;
|
|
|
+ max-width: 50%;
|
|
|
+ padding: 0 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .zl-table-height {
|
|
|
+ height: calc(100vh - 32px);
|
|
|
+ overflow: auto;
|
|
|
+ }
|
|
|
+
|
|
|
+ body {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .zl-code {
|
|
|
+ height: calc(50vh - 30px);
|
|
|
+ overflow: auto;
|
|
|
+ }
|
|
|
+ .zl-col-12 {
|
|
|
+ flex: 0 0 100%;
|
|
|
+ max-width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .zl-tree {
|
|
|
+ height: calc(50vh - 30px);
|
|
|
+ }
|
|
|
+ .zl-table-head {
|
|
|
+ font-size: 1rem;
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ border-left: 5px solid #686f72;
|
|
|
+ padding-left: 7px;
|
|
|
+ margin: 4px 0;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+ <div class="zl-container">
|
|
|
+ <div class="zl-row">
|
|
|
+ <div class="zl-col-6">
|
|
|
+ <div class="zl-table-head">JS中过滤器清单</div>
|
|
|
+ <div class="zl-table-height">
|
|
|
+ <table class="table table-bordered">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>标签名</th>
|
|
|
+ <th>标签效果展示</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h1></h1></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h1">h1. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h2></h2></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h2">h2. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h3></h3></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h3">h3. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h4></h4></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h4">h4. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h5></h5></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h5">h5. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <code><h6></h6></code>
|
|
|
+ </td>
|
|
|
+ <td><span class="h6">h6. Bootstrap 标题头</span></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="zl-col-6">
|
|
|
+ <div class="zl-row">
|
|
|
+ <div class="zl-col-12">
|
|
|
+ <div class="zl-table-head">JS实现代码</div>
|
|
|
+ <div class="zl-code">代码块</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="zl-row">
|
|
|
+ <div class="zl-col-12">
|
|
|
+ <div class="zl-table-head">JS对应AST树</div>
|
|
|
+ <div class="zl-tree">树形块</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|