-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
161 lines (147 loc) · 4.68 KB
/
index.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DWZ 移动端开发文档</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="description" content="DWZ 移动端开发文档" />
<meta name="keywords" content="DWZ 移动端开发文档" />
<!-- <link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css"> -->
<link rel="stylesheet" href="cdn/themes/vue.css">
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css"> -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css"> -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css"> -->
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dolphin.css"> -->
<link rel="stylesheet" href="cdn/themes/navbar.css">
<style type="text/css">
img[data-origin] {
max-width: 800px;
max-height: 800px;
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.3);
}
img[src$="width=200"] {
width: 200px;
}
img[src$="width=300"] {
width: 300px;
}
img[src$="width=400"] {
width: 400px;
}
img[src$="height=360"] {
height: 360px;
margin: 5px;
}
img[src$="height=568"] {
height: 568px;
margin: 5px;
}
@media screen and (max-width: 600px) {
img[data-origin] {
max-width: 500px;
max-height: 500px;
}
img[src$="width=200"] {
width: 160px;
}
img[src$="width=400"] {
width: 320px;
}
img[src$="height=360"] {
height: 320px;
margin: 5px;
}
img[src$="height=568"] {
height: 468px;
margin: 5px;
}
}
</style>
</head>
<body>
<div data-app id="app">Please wait...</div>
<button class="navbar-toggle">
<span></span>
<span></span>
<span></span>
</button>
<script>
window.$docsify = {
el: '#app',
name: 'DWZ Mobile文档',
search: {
maxAge: 86400000,
noData: {
'/': '找不到结果'
},
depth: 5,
paths: [], // or 'auto'
placeholder: {
'/': '输入您的关键词进行搜索'
}
},
repo: 'https://gitee.com/dwzteam/dwz_mobile_doc_v1.git/',
loadNavbar: true,
// loadSidebar: true,
maxLevel: 5,
subMaxLevel: 4,
auto2top: true,
coverpage: true,
autoHeader: false,
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}:{ss}',
notFoundPage: '_404.md',
plugins: [
function(hook, vm) {
var footer = [
'<hr/>',
'<footer>',
'<span>技术服务QQ:350863780</span><span style="padding-left: 20px">微信:17767167745</span>',
'<span style="padding-left: 20px">Powered by <a href="https://jui.org" target="_blank">DWZ团队</a></span>',
'</footer>'
].join('');
hook.afterEach(function(html) {
return html + footer
});
hook.beforeEach(function(html) {
return html +
'\n----\n' +
'更新于:{docsify-updated} '
})
}
],
markdown: {
renderer: {
code: function(code, lang) {
return this.origin.code.apply(this, arguments);
}
}
}
}
</script>
<!-- <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify-copy-code"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.js"></script> -->
<script src="cdn/js/docsify.min.js"></script>
<script src="cdn/js/search.min.js"></script>
<script src="cdn/js/docsify-copy-code.min.js"></script>
<script src="cdn/js/emoji.js"></script>
<!-- 添加额外的语法支持需要通过CDN添加相应的语法文件, 默认支持:markup, html, xml, svg, mathml, ssml, atom, rss, css, clike, javascript, js -->
<!-- <script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script> -->
<script src="cdn/js/prism-java.min.js"></script>
<script src="cdn/js/prism-bash.min.js"></script>
<script src="cdn/js/prism-php.min.js"></script>
<script src="cdn/js/prism-json.min.js"></script>
<script src="cdn/js/prism-yaml.min.js"></script>
<!-- CDN files for docsify-katex 支持公式 -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css" /> -->
<script src="cdn/js/docsify-katex.js"></script>
<link rel="stylesheet" href="cdn/themes/katex.min.css" />
<script src="cdn/js/navbar.js"></script>
</body>
</html>