/
index.html
40 lines (38 loc) · 1.06 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
<!doctype html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>轱辘</title>
<style>
* {margin: 0; padding: 0; box-sizing: border-box;}
img {max-width: 100%;}
html {
--button-height: 32px;
--font-size: 14px;
--button-bg: white;
--button-active-bg: #eee;
--border-radius: 4px;
--color: #333;
--border-color: #999;
--border-color-hover: #666;
}
#app {
}
body {
font-size: var(--font-size);
}
</style>
</head>
<body>
<div id="app" style="padding: 100px;">
<g-collapse :selected.sync="selectedTab" single>
<g-collapse-item title="标题1" name="1">内容1</g-collapse-item>
<g-collapse-item title="标题2" name="2">内容2</g-collapse-item>
<g-collapse-item title="标题3" name="3">内容3</g-collapse-item>
</g-collapse>
</div>
<script src="./src/app.js"></script>
</body>
</html>