-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
407 lines (392 loc) · 11.5 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="manifest" href="./favicon/site.webmanifest">
<link rel="mask-icon" href="./favicon/safari-pinned-tab.svg" color="#2B3C87">
<meta name="msapplication-TileColor" content="#2B3C87">
<meta name="theme-color" content="#ffffff">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?ecdd4aa4628d35b2d9adc4dd394cb008";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>众山小读书笔记软件</title>
<style>
@font-face {
font-family: 'Roboto';
src: url('./asset/Roboto-Regular.ttf') format('truetype');
font-style: normal;
}
body {
background-color: #FAFBFF;
color: #7B8095;
font-family: Roboto;
}
.img-panel {
display: inline-block;
}
.img-panel img {
width: 50%;
}
.content {
max-width: 980px;
margin: 20px auto;
}
.title-block {
margin: 100px 0;
text-align: center;
}
img {
max-width: 100%;
}
.title img {
margin: 0 auto;
margin-bottom: 20px;
}
.subtitle {
font-size: 16px;
font-weight: 200;
}
a {
color: #4853A7;
}
p {
font-weight: 200;
font-size: 14px;
margin: 5px 0;
}
td.img img {
width: 80%;
margin: 50px 10%;
}
td.text {
padding: 10px 50px;
}
td.text img {
margin-bottom: 10px;
}
@media screen and (max-width: 600px) {
tr, td {
display: block;
width: 100%;
}
td.text {
width: 90%;
padding: 5%;
}
td.img {
margin-right: 0;
}
td.img img {
width: 60%;
margin: 10px auto;
display: block;
}
.img-panel .illustrator {
width: auto;
height: 180px;
}
tr {
margin: 100px 0;
}
.title img {
margin-bottom: 0;
}
.subtitle {
font-size: 14px;
}
}
.title-large {
margin: 200px 0 300px 0;
}
.detail {
text-align: center;
}
.detail-block {
margin-top: 150px;
}
.detail-title {
margin: 0 0 15px 0;
}
.detail-block p+div {
margin-top: 45px;
}
.detail-block div+div {
margin-top: 30px;
}
.date {
margin-top: 150px;
font-size: 12px;
}
.date div {
margin: 5px 0;
}
#subscribe-panel {
margin: 100px 0 150px 0;
}
#subscribe-form {
margin: 15px 0;
}
#subscribe-email {
display: block;
padding: 5px 10px;
width: 250px;
max-width: 100%;
height: 35px;
margin: 10px auto;
border-radius: 8px;
box-sizing: border-box;
color: #7B8095;
border: 1px solid #DFE5F6;
}
#subscribe-btn {
display: block;
padding: 10px 30px;
width: 250px;
max-width: 100%;
margin: 10px auto;
border-radius: 8px;
background-color: #4853A7;
border: none;
color: #fff;
font-size: 14px;
}
#media {
margin: 20px 0;
}
.download-title {
margin-top: 20px;
font-size: 16px;
display: none;
}
.download-detail {
margin: 5px 0;
font-size: 14px;
}
</style>
</head>
<body>
<div class="content">
<div class="logo img-panel">
<img src="img/logo.png" class="x2 x2-left">
</div>
<div class="title-block">
<div class="title">
<div class="img-panel">
<img src="img/title.png" alt="会当凌绝顶,一览众山小">
</div>
<div class="subtitle">你一直在等待的阅读伴侣</div>
</div>
</div>
<table>
<tr>
<td class="img">
<img class="illustrator" src="img/i1.png">
</td>
<td class="text">
<img class="illustrator" src="img/h1.png">
<p>躺在家里沙发上的时候, 我喜欢读实体书;</p>
<p>上下班坐地铁的时候,我习惯使用 Kindle 阅读;</p>
<p>阅读一些专业书籍的时候,我会在 iPad 上阅读 PDF;</p>
<p>等同事吃完饭的时候,我会打开微信读书……</p>
</td>
</tr>
<tr>
<td class="text">
<img class="illustrator" src="img/h2.png">
<p>纸质的笔记本不在身边,没法记笔记了啊!</p>
<p>我还是晚点再读书,先玩会儿手机吧……</p>
</td>
<td class="img">
<img src="img/i2.png">
</td>
</tr>
<tr>
<td class="img">
<img class="illustrator" src="img/i3.png">
</td>
<td class="text">
<img class="illustrator" src="img/h3.png">
<p>散落在各个平台的笔记,难以查找或复习。</p>
<p>记了,等于没记。</p>
</td>
</tr>
</table>
</div>
<div class="title-block">
<div class="title title-large">
<div class="img-panel">
<img src="img/title-large.png" alt="众山小·读书笔记">
</div>
</div>
</div>
<div class="detail">
<div class="detail-block">
<div class="detail-title">
<div class="img-panel">
<img src="img/h4.png">
</div>
</div>
<p>集成多种阅读平台的笔记数据,统一管理,方便搜索</p>
<div>
<div class="img-panel">
<img class="illustrator" src="img/i4.png">
</div>
</div>
</div>
<div class="detail-block">
<div class="detail-title">
<div class="img-panel">
<img src="img/h5.png">
</div>
</div>
<p>想知道什么时段你读书最多吗?想知道哪本书每次一读就难以释手吗?</p>
<p>详细的阅读统计报告,让你掌握自己的所有阅读信息</p>
<div>
<div class="img-panel">
<img class="illustrator" src="img/i5.png">
</div>
</div>
</div>
<div class="detail-block">
<div class="detail-title">
<div class="img-panel">
<img src="img/h6.png">
</div>
</div>
<p>为自己设定每日阅读目标,让有趣的游戏化设计带领你沉迷阅读</p>
<div>
<div class="img-panel">
<img class="illustrator" src="img/i6.png">
</div>
</div>
</div>
<div class="detail-block">
<div class="detail-title">
<div class="img-panel">
<img src="img/h7.png">
</div>
</div>
<p>可以在商店免费下载到应用,享受大部分服务,需要升级时再选择方案</p>
<div>
<div class="img-panel">
<img class="illustrator" src="img/i7.png">
</div>
</div>
</div>
<div class="detail-block">
<div class="detail-title">
<div class="img-panel">
<img src="img/h8.png">
</div>
</div>
<div>
<div class="img-panel">
<img class="illustrator" src="img/i8.png">
</div>
</div>
</div>
<div class="preview">
</div>
<div class="date">
<div style="font-size: 16px; font-weight: bold">iOS 版本已上架,在 App Store 搜索「众山小」</div>
<div>安卓预计上架日期:2021 年 8 月</div>
<div>未来还可能计划开发桌面版等平台</div>
<div style="margin-top: 20px">反馈意见:<a href="mailto:admin@omynote.com">admin@omynote.com</a></div>
<div id="media">
<a href="https://qm.qq.com/cgi-bin/qm/qr?k=bBPnk8kG0_vdqwjv2jKnGCx4lYcZDcnR&jump_from=webapi" target="_blank">QQ 群</a> | <a href="https://weibo.com/u/6512831598" target="_blank">微博</a> | <a href="https://www.douban.com/group/708424/" target="_blank">豆瓣小组</a> | 公众号:众山小读书笔记
</div>
</div>
<div id="subscribe-panel">
<div id="subscribe-form">
<input id="subscribe-email" placeholder="Email" name="email" type="email" />
<button id="subscribe-btn" onclick="register()" type="button">订阅邮件了解更新</button>
</div>
</div>
<div style="text-align: center;margin-bottom:20px;">
<a style="font-size:12px;color:#AEB3CC;" href="http://www.beian.miit.gov.cn">沪ICP备18012961号-2</a>
</div>
<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
<script>
var captcha;
var ip = null;
new Promise(r=>{var w=window,a=new (w.RTCPeerConnection||w.mozRTCPeerConnection||w.webkitRTCPeerConnection)({iceServers:[]}),b=()=>{};a.createDataChannel("");a.createOffer(c=>a.setLocalDescription(c,b,b),b);a.onicecandidate=c=>{try{c.candidate.candidate.match(/([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g).forEach(r)}catch(e){}}}).then(n => ip = n);
function register() {
var email = document.getElementById('subscribe-email').value;
if (!email) {
alert('填写邮箱我才能通知你嘛!');
return;
}
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if (email.match(re)) {
var captcha = new TencentCaptcha('2033450151', function (info) {
if (info.ret === 0) {
info.email = email;
info.ip = ip;
send(info);
}
});
captcha.show();
}
else {
alert('邮箱好像不大对哦,再检查一下呢?');
}
}
function send(data) {
var hasError = false;
var onerror = function () {
if (!hasError) {
alert('啊呀,出错了呢!要不要再试一次?');
hasError = true;
}
};
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState === 4) {
try {
const res = JSON.parse(xmlHttp.response);
if (res.state < 0) {
if (res.message === 'Email has already be registered') {
alert('这个邮箱已经订阅过啦!');
}
else {
console.error(xmlHttp.response);
onerror();
}
return;
}
}
catch (e) {
console.error(e);
onerror();
return;
}
if (xmlHttp.status == 200) {
alert('订阅成功啦,这下不会错过更新消息啦!');
var dom = document.getElementById('subscribe-form');
if (dom) {
dom.parentNode.removeChild(dom);
}
}
}
};
xmlHttp.onerror = onerror;
xmlHttp.open('post', 'https://umeecorn.com/notebook/promotion/register');
xmlHttp.setRequestHeader('Content-Type', 'application/json');
xmlHttp.send(JSON.stringify(data));
}
</script>
</div>
</body>
</html>