-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
283 lines (265 loc) · 8.51 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BUI 官方文档</title>
<link rel="icon" href="_media/favicon.ico">
<meta name="google-site-verification" content="6t0LoIeFksrjF4c9sqUEsVXiQNxLp2hgoqo0KryT-sE" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages">
<meta name="description" content="A magical documentation generator.">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="static/css/bui.css">
<link rel="stylesheet" href="static/css/vue.css" title="vue">
<link rel="stylesheet" href="static/css/prism-tomorrow.css">
<script src="static/js/zepto.js"></script>
<script src="static/js/bui.js"></script>
<style>
.search {
background: #f1f1f1;
border-bottom: 1px solid #ccc;
}
.search input {
border: 1px solid #ccc !important;
border-radius: 40px;
line-height: 30px !important;
}
nav.app-nav li ul {
min-width: 100px;
}
.sidebar-toggle span {
background: #42b983;
}
.emoji {
display: none;
}
@media screen and (max-width: 768px) {
.sidebar-toggle {
bottom: auto;
top: 0;
right: 0;
left: auto;
padding: 20px 20px 10px 10px;
}
body.close .sidebar-toggle {
width: auto;
padding: 20px 20px 10px 10px;
}
}
.markdown-section {
padding-left: 60px;
padding-right: 60px;
}
.sidebar-toggle {
bottom: auto;
top: 64px;
background: none;
}
.sidebar {
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-ms-flex-orient: vertical;
box-orient: vertical;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.sidebar-nav{
-webkit-box-flex: 1;
-ms-flex-flex: 1;
box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
overflow-y: auto;
}
.app-nav.no-badge{
position: fixed;
background-color: #fff;
margin-top: 0;
margin-right: 0;
padding-right: 50px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 40px;
}
pre:after {
color: #999;
left: 0;
right: auto;
}
/* 重置bui,影响文档的字体大小 */
ol, ul, li {
list-style: inherit;
}
html {
font-size: inherit;
overflow: inherit;
}
body {
overflow: inherit;
font-size: inherit;
-webkit-user-select: inherit;
-khtml-user-select: inherit;
-moz-user-select: inherit;
-ms-user-select: inherit;
user-select: inherit;
}
.phone {
font-size: .3rem;
position: relative;
overflow: hidden;
width: 320px;
height: 564px;
}
.round {
-webkit-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
}
ul[class*="bui-"]{
padding:0;
line-height: inherit;
}
.bui-fluid-space, .bui-fluid.space {
padding-left: 10px;
padding-right: 10px;
}
.bui-list .bui-btn {
padding-top: 10px;
padding-bottom: 10px;
}
.bui-label {
width: 150px;
}
input.bui-input {
height: 20px;
font-size: 16px;;
}
.bui-input input ,
.bui-input textarea {
font-size: 16px;
}
.bui-input i {
font-size: 20px;
}
.bui-input input[type="text"], .bui-input input[type="password"], .bui-input input[type="number"], .bui-input input[type="search"], .bui-input input[type="tel"], .bui-input input[type="email"] {
height: 20px;
}
.bui-fav,
.bui-like,
.bui-checkbox,
.bui-radio {
font-size: 20px;
width: 20px;
height: 20px;
line-height: 20px;
vertical-align: middle;
}
.bui-list li input[type=checkbox]{
margin: 0;
}
.bui-list li label {
display: inline-block;
}
input.bui-check {
min-height: 30px;
line-height: 30px;
}
.bui-switch-text, .bui-switch {
width: 40px;
height: 20px;
border-radius: 20px;
}
.bui-switch-text:after, .bui-switch:after {
width: 20px;
height: 20px;
}
.bui-switch-text:checked:before, .bui-switch:checked:before {
left: -5px;
}
.bui-switch-text:checked:after, .bui-switch:checked:after {
left: 13px;
top: 0;
}
.bui-switch-text {
width: 60px;
}
</style>
</head>
<body>
<div id="app">Loading ...</div>
<script src="static/js/docsify.min.js"></script>
<script>
window.$docsify = {
alias: {
// 编写插件
'.*?/tools/buifast': 'https://github.com/imouou/BUI-Fast-Snippets/raw/master/README.md',
// 模板库
'.*?/tools/bui-template': 'https://github.com/imouou/BUI-Template/raw/master/README.md',
// npm工具
'.*?/tools/buijs': 'https://github.com/imouou/buijs-cli/raw/master/README.md',
'/.*/_navbar.md': '/_navbar.md'
},
auto2top: true,
// coverpage: true,
executeScript: true,
loadSidebar: true,
loadNavbar: true,
mergeNavbar: true,
maxLevel: 4,
subMaxLevel: 2,
ga: 'UA-106147152-1',
name: 'BUI 官方文档 1.7.x',
search: {
noData: {
'/': '没有结果!',
'/en/': 'No results!'
},
paths: 'auto',
placeholder: {
'/': '搜索文档',
'/en/': 'Search'
}
},
pagination: {
previousText: '上一章',
nextText: '下一章',
},
formatUpdated: '{MM}/{DD} {HH}:{mm}',
plugins: [
function(hook, vm) {
hook.beforeEach(function(html) {
var url = 'https://github.com/imouou/BUI-Guide/blob/master/docs/' + vm.route.file
var editHtml = '[:memo: Edit Document](' + url + ')\n'
return editHtml +
html +
'\n\n----\n\n' +
'<a href="http://www.easybui.com" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">© 2017-2022 easybui.com Powered by docsify</a>'
})
}
]
}
</script>
<script src="static/js/plugins/search.min.js"></script>
<script src="static/js/prism/prism-bash.min.js"></script>
<script src="static/js/prism/prism-markdown.min.js"></script>
<script src="static/js/prism/prism-nginx.min.js"></script>
<script src="static/js/plugins/docsify-plugin-codefund.js"></script>
<script src="static/js/plugins/docsify-copy-code.min.js"></script>
<script src="static/js/plugins/docsify-pagination.min.js"></script>
<script>
// 开启离线缓存
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</body>
</html>