-
Notifications
You must be signed in to change notification settings - Fork 167
/
cn.html
292 lines (257 loc) · 7.98 KB
/
cn.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
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>AlloyLever - 1kb代码搞定开发调试发布,错误监控上报,用户问题定位</title>
<style>
html,body{
padding:0;
margin: 0;
overflow: hidden;
}
canvas{
padding:0;
margin: 0;
border: 0;
}
#container{
text-align: center;
}
</style>
<style>
body {
background-color: #1e1d23;
/*opacity: 0;*/
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 2px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/*body.ready { opacity: 1; }*/
.icon-text path,
.icon-text polygon {
/*opacity: 0;*/
}
.info {
text-align: center;
}
.description {
/*opacity: 0;*/
color: white;
font-size: 15px;
margin-bottom:100px ;
}
.links {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-top: 20px;
}
@media (min-width: 700px) {
.links {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
}
}
.button {
/*opacity: 0;*/
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 180px;
height: 60px;
text-decoration: none;
}
.button.blue {
color: #5E89FB;
}
.button.green {
color: #18F38C;
}
.button.red {
color: #FF1461;
}
.button svg {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
stroke-width: 1;
fill: none;
fill-rule: evenodd;
stroke: currentColor;
}
.button.green svg {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.button path {
scale: .9;
transform-origin: 50% 50%;
}
.credits {
/*opacity: 0;*/
margin-top: 20px;
color: #979797;
}
.credits a {
position: relative;
color: currentColor;
text-decoration: none;
}
.credits a:after {
content: "";
/*opacity: 0;*/
display: block;
position: absolute;
left: 0;
bottom: -3px;
width: 100%;
border-bottom: 1px solid currentColor;
transition: opacity .75s ease;
}
/*.credits a:hover:after {
opacity: 1;
transition: opacity .25s ease;
}*/
.credits a,
.credits span {
transition: color .75s ease;
}
.credits a:hover,
.highlighted {
color: white;
transition: color .25s ease;
}
#container{
color: white;
height: 40px;
line-height: 40px;
font-size: 40px;
margin-top:200px ;
}
@media only screen and (max-width: 500px) {
#container {
margin-top:100px ;
font-size: 35px;
}
.description {
font-size: 13px;
margin-bottom:10px ;
}
}
</style>
</head>
<body>
<div id="container">
AlloyLever
</div>
<div class="info">
<p class="description">
1kb代码搞定开发调试发布,错误监控上报,用户问题定位
</p>
<div class="links">
<a class="button blue" href="https://github.com/AlloyTeam/AlloyLever#使用指南" target="_blank">
<svg viewBox="0 0 180 60">
<path d="M10,10 C10,10 50,9.98999977 90,9.98999977 C130,9.98999977 170,10 170,10 C170,10 170.009995,20 170.009995,30 C170.009995,40 170,50 170,50 C170,50 130,50.0099983 90,50.0099983 C50,50.0099983 10,50 10,50 C10,50 9.98999977,40 9.98999977,30 C9.98999977,20 10,10 10,10 Z"></path>
</svg>
<span>Docs</span>
</a>
<a class="button blue" id="entry" href="javascript:" >
<svg viewBox="0 0 180 60">
<path d="M10,10 C10,10 50,9.98999977 90,9.98999977 C130,9.98999977 170,10 170,10 C170,10 170.009995,20 170.009995,30 C170.009995,40 170,50 170,50 C170,50 130,50.0099983 90,50.0099983 C50,50.0099983 10,50 10,50 C10,50 9.98999977,40 9.98999977,30 C9.98999977,20 10,10 10,10 Z"></path>
</svg>
<span>点我6次召唤神龙</span>
</a>
<a class="button green" href="https://github.com/AlloyTeam/AlloyLever" target="_blank">
<svg viewBox="0 0 180 60">
<path d="M10,10 C10,10 50,9.98999977 90,9.98999977 C130,9.98999977 170,10 170,10 C170,10 170.009995,20 170.009995,30 C170.009995,40 170,50 170,50 C170,50 130,50.0099983 90,50.0099983 C50,50.0099983 10,50 10,50 C10,50 9.98999977,40 9.98999977,30 C9.98999977,20 10,10 10,10 Z"></path>
</svg>
<span>GitHub</span>
</a>
</div>
<p class="credits">
v<span class="version">1.0.0</span> © <span class="date">2017</span> AlloyTeam.com
</p>
</div>
<script src="alloy-lever.js"></script>
<script>
AlloyLever.config({
cdn:'//s.url.cn/qqun/qun/qqweb/m/qun/confession/js/vconsole.min.js',
reportUrl: "//a.qq.com",
reportPrefix: 'abc',
reportKey: 'msg',
otherReport: {
uin: 100000
},
entry:"#entry"
})
</script>
<pre>
<code>
AlloyLever.config({
cdn:'//s.url.cn/qqun/qun/qqweb/m/qun/confession/js/vconsole.min.js',
reportUrl: "//a.qq.com",
reportPrefix: 'abc',
reportKey: 'msg',
otherReport: {
uin: 491862102
},
entry:"#entry"
})
console.log('这是log信息')
console.info('这是info信息')
console.debug('这是debug信息')
console.warn('这是warn信息')
console.error('这是error信息')
</code>
</pre>
<script>
console.log('这是log信息')
console.info('这是info信息')
console.debug('这是debug信息')
console.warn('这是warn信息')
console.error('这是error信息')
//入口
//AlloyLever.entry('#entry')
//也可以埋在多个入口
//AlloyLever.entry('#entry2')
</script>
</body>
</html>