3 次代碼提交 ed59c0bd83 ... a420b41416

作者 SHA1 備註 提交日期
  whc a420b41416 Merge branch 'master' of http://787255.xyz:4003/ydm/chrome-plugin 9 月之前
  whc d471cef52f Merge branch 'master' of http://787255.xyz:4003/ydm/chrome-plugin 9 月之前
  whc 0671a7e996 界面提交 9 月之前
共有 1 個文件被更改,包括 127 次插入0 次删除
  1. 127 0
      index.html

+ 127 - 0
index.html

@@ -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>&lt;h1&gt;&lt;/h1&gt;</code>
+                                </td>
+                                <td><span class="h1">h1. Bootstrap 标题头</span></td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    <code>&lt;h2&gt;&lt;/h2&gt;</code>
+                                </td>
+                                <td><span class="h2">h2. Bootstrap 标题头</span></td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    <code>&lt;h3&gt;&lt;/h3&gt;</code>
+                                </td>
+                                <td><span class="h3">h3. Bootstrap 标题头</span></td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    <code>&lt;h4&gt;&lt;/h4&gt;</code>
+                                </td>
+                                <td><span class="h4">h4. Bootstrap 标题头</span></td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    <code>&lt;h5&gt;&lt;/h5&gt;</code>
+                                </td>
+                                <td><span class="h5">h5. Bootstrap 标题头</span></td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    <code>&lt;h6&gt;&lt;/h6&gt;</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>