forked from Tencent/Hippy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (174 loc) · 5.51 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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hippy</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Hippy - A Cross-Platform Development Framework">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="alternate" hreflang="x-default" href="https://hippyjs.org/#/">
<link rel="alternate" hreflang="zh" href="https://cn.hippyjs.org/#/">
<meta property="og:type" content="article">
<meta property="og:title" content="Hippy">
<meta property="og:description" content="Hippy - A Cross-Platform Development Framework">
<meta property="og:image" content="assets/img/hippy-logo.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Hippy">
<meta name="twitter:description" content="Hippy - A Cross-Platform Development Framework">
<meta name="twitter:image" content="assets/img/hippy-logo.png">
<script>
const needRedirectHosts = [
'cn.hippyjs.org',
];
if (needRedirectHosts.includes(window.location.host)) {
window.location.replace("https://hippyjs.org/" + window.location.hash);
}
</script>
<link rel="icon" href="assets/img/hippy-logo.ico">
<link rel="stylesheet" href="assets/css/vue.css" title="vue">
<link rel="stylesheet" href="assets/css/slidebar.min.css" />
<style>
#custom-homepage {
flex: 1;
text-align: center;
position: relative;
padding: 40px 0px 0;
}
#custom-homepage .custom-homepage-container {
margin-top: 25px;
}
#hippy {
color: inherit;
font-size: 3rem;
font-weight: 300;
position: relative;
text-align: center;
margin: 0;
display: inline-block;
}
#hippy .anchor {
display: block;
text-decoration: none;
}
#hippy .anchor span {
color: #34495e;
font-weight: normal;
}
.custom-homepage-container .sub-title {
font-size: 1.4rem;
text-align: center;
margin: 2rem 0;
}
.custom-homepage-container .sub-title span {
display: inline-block;
line-height: 2.2rem;
}
.custom-homepage-container .btn-container a {
border-radius: 2rem;
font-weight: normal;
border: 1px solid #2d6feb;
box-sizing: border-box;
color: #2d6feb;
display: inline-block;
font-size: 1.05rem;
letter-spacing: .1rem;
margin: .5rem 1rem;
padding: .75em 2rem;
text-decoration: none;
transition: all .15s ease;
}
.custom-homepage-container .btn-container a:last-child {
background-color: #2d6feb;
border: 1px solid #2d6feb;
color: #fff;
}
.custom-homepage-container .btn-container a:first-child:hover {
color: #868686;
border: 1px solid #868686;
}
.custom-homepage-container .btn-container a:last-child:hover {
color: #c8c8c8;
background-color: #006cd4;
}
#custom-homepage .features {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-content: stretch;
justify-content: center;
}
#custom-homepage .feature {
flex-grow: 1;
flex-basis: 30%;
margin: 0 7px;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
#custom-homepage .feature p {
color: #4e6e8e;
max-width: 80%;
}
@media (max-width: 920px) {
#custom-homepage .features {
justify-content: center;
align-items: center;
flex-direction: column;
}
#custom-homepage .feature {
flex-shrink: 0;
max-width: 100%;
padding: 0 2.5rem;
}
}
</style>
</head>
<body>
<div id="app">Loading ...</div>
<script>
window.$docsify = {
name: 'Hippy',
repo: 'https://github.com/Tencent/Hippy',
formatUpdated: '{MM}/{DD} {HH}:{mm}',
themeColor: '#2d6feb',
auto2top: true,
coverpage: false,
loadSidebar: true,
loadNavbar: true,
mergeNavbar: true,
maxLevel: 5,
subMaxLevel: 1,
search: {
depth: 6,
// 支持本地化
placeholder: {
'/': '🔍 搜索'
},
noData: {
'/': '找不到结果',
}
}
}
</script>
<script src="assets/js/docsify.min.js"></script>
<script src="assets/js/prism-jsx.min.js" defer></script>
<script src="assets/js/prism-json.min.js" defer></script>
<script src="assets/js/prism-css.min.js" defer></script>
<script src="assets/js/prism-java.min.js" defer></script>
<script src="assets/js/prism-objectivec.min.js" defer></script>
<script src="assets/js/prism-bash.min.js" defer></script>
<script src="assets/js/prism-cpp.min.js" defer></script>
<script src="assets/js/search.min.js" defer></script>
<script src="https://cdn-go.cn/aegis/aegis-sdk/latest/aegis.min.26.js"></script>
<script src="assets/js/docsify-sidebar-collapse.min.js"></script>
<script>
const aegis = new Aegis({
id: 'cTTfdMjcwAwMLaMdCq',
reportApiSpeed: true, // 接口测速
reportAssetSpeed: true // 静态资源测速
});
</script>
</body>
</html>