-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
35 lines (32 loc) · 1016 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>YanProgress</title>
</head>
<body>
<div id="app">
<yan-progress :total="100" :done="60" :modify="30" :tip='
[
{
text: "未提交X个",
fillStyle: "rgb(150, 150, 150)",
}, {
text: "已提交X个",
fillStyle: "rgb(174, 193, 17)",
}, {
text: "已批改X个",
fillStyle: "rgb(249, 149, 0)"
}
]
'></yan-progress>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js"></script>
<script src="dist/YanProgress.min.js"></script>
<script>
new Vue().$mount("#app");
</script>
</body>
</html>