-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathindex.html
89 lines (88 loc) · 2.52 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>vue-element-admin</title>
<script src="/static/qiniu.js"></script>
<script src="https://cdn.staticfile.org/plupload/2.1.9/plupload.full.min.js"></script>
</head>
<body>
<div id="app">
<div class="init-box">
<style type="text/css">
.svg-icon{
width: 40px;
height: 40px;
stroke: #343640;
stroke-width: 2;
stroke-linecap: round;
}
.svg-icon .path{
fill: none;
}
.m-wipe{
background: none;
animation: loading-rotate 2s linear infinite;
}
.m-wipe .path{
background: none;
stroke-dasharray: 90,150;
stroke-dashoffset: 0;
stroke-linecap: round;
stroke-width: 2px;
stroke: #20a0ff;
stroke-linecap: round;
animation: loading-wipe 1.5s ease-in-out infinite;
}
.m-loading{
background: none;
animation: loading-rotate 0.8s linear infinite;
}
@keyframes loading-rotate{
to{transform:rotate(1turn)}
}
@keyframes loading-wipe{
0%{
stroke-dasharray:1,200;
stroke-dashoffset:0;
}
50%{
stroke-dasharray:90,150;
stroke-dashoffset:-40px;
}
to{
stroke-dasharray:90,150;
stroke-dashoffset:-120px;
}
}
.init-box{
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.init-box .init-loading{
width: 128px;
height: 128px;
}
.init-box .init-tips{
color: #8B90A0;
}
</style>
<div>
<svg viewBox="0 0 50 50" class="svg-icon m-loading init-loading">
<circle cx="25" cy="25" r="20" fill="none" stroke="#F2F2F2" class="path"></circle>
<circle cx="25" cy="25" r="20" fill="none" stroke="#24A2FF" stroke-dasharray="60,150" class="path"></circle>
</svg>
</div>
<p class="init-tips">初次加载,请耐心等待...</p>
</div>
</div>
<!-- built files will be auto injected -->
</body>
</html>