forked from airyland/vux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (144 loc) · 3.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel=icon href=https://o3e85j0cv.qnssl.com/static/favicon.png type=image/x-icon>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<title>VUX - 移动端Vue组件库</title>
<link rel="stylesheet" href="./docute.css">
<style>
.type, .change {
height: 18px;
font-size: 12px;
width: 60px;
color: #fff;
border-radius: 2px;
text-align: center;
display: inline-block;
padding: 0 3px;
}
.change {
height: 14px;
width: 72px;
line-height: 14px;
}
.type-object {
background-color: #33ab70;
}
.type-string {
background-color: #27394c;
}
.type-boolean {
background-color: #d95353;
}
.type-function {
background-color: #f4a358;
}
.type-number {
background-color: #288af0;
}
.type-array {
background-color: #eb1ac1;
}
.vux-qa {
background-color: #33ab70;
color: #fff;
padding: 2px 5px;
display: inline;
}
.vux-green {
color: #3c763d;
}
.vux-red {
color: #d95353;
}
.vux-component-name {
font-family: Josefin Sans,sans-serif;
font-size: 1.5em;
font-weight:bold;
color: #d95353;
}
.markdown-body table {
/**
display: table;
min-width: 80%;
**/
}
.component-play-box {
width: 100%;
height: 30px;
font-size: 14px;
line-height: 30px;
border: 1px dashed #ececec;
text-align: center;
border-radius: 3px;
color: #888;
font-family: Josefin Sans,sans-serif;
}
.vux-props-title {
font-family: Josefin Sans,sans-serif;
font-size: 25px;
color: #33ab70;
}
.prop-key {
font-family: Consolas,Liberation Mono,Menlo,Courier,monospace;
font-size: 16px;
}
li code, .markdown-body p code, td code {
color: #e96900;
background-color: #f8f8f8;
}
.markdown-body td code {
background-color: #fff;
}
.change-deprecated {
background-color: #d95353;
}
.change-todo {
background-color: #27394c;
}
.change-enhance, .change-fix {
background-color: #288af0;
}
.change-feature {
background-color: #288af0;
}
.change-change {
background-color: #e96900;
}
.vux-demo-link {
color: #288af0;
}
.vux-livingearth-nav {
color: #42b983!important;
}
</style>
</head>
<body>
<!-- don't remove this part start -->
<div id="app"></div>
<script src="./config.js"></script>
<script src="./docute.js"></script>
<!-- livereload script placeholder -->
<!-- don't remove this part end -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-89859411-2', 'auto');
ga('send', 'pageview');
docute.router.afterEach(function (to) {
ga('set', 'page', to.fullPath);
ga('send', 'pageview');
});
docute.router.afterEach(function (to) {
if(/livingearth|pro|demos/.test(to.fullPath)) {
window.scrollTo(0, 0)
}
console.log(to)
});
</script>
</body>
</html>