1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| <!DOCTYPE html>
| <html lang="zh-CN">
| <head>
| <meta charset="UTF-8">
| <meta name="viewport" content="width=device-width, initial-scale=1.0">
| <style>
| * {
| margin: 0;
| padding: 0;
| box-sizing: border-box;
| }
|
| body {
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
| background-color: #fff;
| padding: 20px;
| }
|
| h3 {
| font-size: 16px;
| margin-bottom: 20px;
| padding-bottom: 10px;
| border-bottom: 1px solid #e0e0e0;
| }
|
| ul {
| list-style: none;
| }
|
| ul li {
| padding: 8px 0;
| cursor: pointer;
| color: #666;
| font-size: 14px;
| }
|
| ul li a {
| color: #666;
| text-decoration: none;
| display: block;
| }
|
| ul li a:hover {
| color: #0066cc;
| }
| </style>
| </head>
| <body>
| <h3>本页内容</h3>
| <ul>
| <li><a href="javascript:void(0);" onclick="parent.scrollToSection('dev-spec'); return false;">开发规范</a></li>
| <li><a href="javascript:void(0);" onclick="parent.scrollToSection('security-spec'); return false;">安全规范</a></li>
| <li><a href="javascript:void(0);" onclick="parent.scrollToSection('data-spec'); return false;">数据规范</a></li>
| <li><a href="javascript:void(0);" onclick="parent.scrollToSection('api-spec'); return false;">接口规范</a></li>
| </ul>
| </body>
| </html>
|
|