-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathtools.html
132 lines (115 loc) · 3.96 KB
/
tools.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tools</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<!-- <script src="source/js/vue/vue-2.6.12.js"></script> -->
<script src="source/js/vue/vue.min-2.6.12.js"></script>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0 auto;
}
/* 水平/垂直 均居中 */
.flex-center {
align-items: center;
justify-content: center;
}
/* 垂直居中 + 每个项目主轴方向两侧的间隔相等 */
.flex-around {
align-items: center;
justify-content: space-around;
}
.flex-wrap {
flex-wrap: wrap;
}
#container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.header {
width: 100%;
height: 50px;
display: flex;
background-color: silver;
font-size: 30px;
}
.content {
width: 80%;
height: auto;
margin: 0 auto;
display: flex;
flex-grow: 1;
}
.footer {
width: 100%;
height: 30px;
display: flex;
margin-bottom: 0;
background-color: silver;
text-align: center;
}
.link {
border: 1px solid gray;
padding-right: 15px;
}
.link span {
background: silver;
}
</style>
</head>
<body>
<div id="container">
<div id="header" class="header flex-center"><span>Tools</span></div>
<div id="content" class="content flex-around flex-wrap">
<div class="link" v-for="(item, key) in links">
<span>{{key}}</span>
<ol>
<li v-for="link in item">
<a :href="link.link">{{link.name}}</a>
</li>
</ol>
</div>
</div>
<div id="footer" class="footer flex-center">
<span>Hosted by <a href="https://pages.github.com/">GitHub Pages</a></span>
</div>
</div>
<script>
var tools = new Vue({
el: '#container',
data: {
links: {
'Aria2': [
{ name: 'AriaNg', link: 'aria2/AriaNg/' },
{ name: 'WebUI', link: 'aria2/webui/' },
{ name: 'Yaaw', link: 'aria2/yaaw/' },
],
/* 'Image': [
{ name: 'ipfs.io 无限图床', link: 'file/pictures/ipfs.io' },
{ name: '人民图床', link: 'file/pictures/people.com.cn/people_com_cn_upload_img.html' }
], */
'Tool': [
{ name: 'Charles license 生成', link: 'file/tool/CharlesKeygen.html' },
{ name: 'MobaXterm license 生成', link: 'file/tool/MobaXtermKeygen.html' },
{ name: 'EditPlus注册码生成', link: 'file/tool/editplus_code.html' },
{ name: '二维码', link: 'file/tool/qrcode.html' },
{ name: 'hostloc签到', link: 'file/hostloc/hostloc.html' },
{ name: '24字价值观加密', link: 'file/Core-Values-Encoder/index.html' },
{ name: 'ad', link: 'source/tool/ad/iAdRules.txt' }
],
'Pay': [
{ name: '通用收款码', link: 'file/tool/AllQRCodePay.html' }
]
}
}
});
</script>
</body>
</html>