-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (45 loc) · 1.53 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
<!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>Document</title>
<style>
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
:root{
--button-height:32px;
--font-size:14px;
--button-bg:white;
--button-active-bg:#eee;
--border-radius:4px;
--color:#999;
--border-color:#999;
--border-color-hover:#666;
}
</style>
<style>
</style>
</head>
<body>
<div id="app">
<g-button icon = "setting">hi</g-button>
<g-button icon = "setting" icon-position = "left">hello</g-button>
<g-button icon = "setting" icon-position = "right">hey</g-button>
<g-icon name = "download"></g-icon>
<g-button :loading = "loading" @click = "loading =!loading">加载中</g-button>
<g-button :loading = "loading" icon-position = "right" @click = "loading =!loading">加载中</g-button>
<g-button-group>
<g-button icon = "left" icon-position = "left">上一页</g-button>
<g-button>更多</g-button>
<g-button icon = "right" icon-position = "right">下一页</g-button>
</g-button-group>
</div>
<script src="./src/app.js"></script>
<script src="//at.alicdn.com/t/font_1293052_7b81umzc3k5.js"></script>
</body>
</html>