-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
124 lines (122 loc) · 10.9 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
<!DOCTYPE html>
<html>
<head>
<title>实时更新各大平台热度榜单</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h2 class="font-weight-light">280min榜单聚合 <small class="font-weight-light">- 实时更新</small></h2>
<br />
<div class="row">
<div class="col-sm-3">
<h6>百度热点事件</h6>
<a target="_blank" href="#" id="baidusj0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="baidusj1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidusj9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
<div class="col-sm-3">
<h6>百度实时热点</h6>
<a target="_blank" href="#" id="baidurd0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="baidurd1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="baidurd9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
<div class="col-sm-3">
<h6>微博热搜榜</h6>
<a target="_blank" href="#" id="weibo0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="weibo1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="weibo9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
<div class="col-sm-3">
<h6>贴吧热门讨论</h6>
<a target="_blank" href="#" id="tieba0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="tieba1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="tieba9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h6>V2EX热帖</h6>
<a target="_blank" href="#" id="vsite0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="vsite1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="vsite9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
<div class="col-sm-6">
<h6>知乎热榜</h6>
<a target="_blank" href="#" id="zhihu0" class="list-group-item list-group-item-action">没有数据</a>
<a target="_blank" href="#" id="zhihu1" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu2" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu3" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu4" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu5" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu6" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu7" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu8" class="list-group-item list-group-item-action border-top-0 border-bottom-0">没有数据</a>
<a target="_blank" href="#" id="zhihu9" class="list-group-item list-group-item-action border-top-0">没有数据</a>
</div>
</div>
</div>
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
//var siteArray = ["baidusj", "baidurd", "weibo", "tieba", "vsite", "zhihu"];
$(function () {
var page = "hotspot";
$.getJSON(page, function (data_all) {
for (var i = 0; i < data_all.length; i++) {
var currFileName = data_all[i].FileName;
var currSite = currFileName.replace(".json", "");
for (var j = 0; j < data_all[i].Content.length; j++) {
var id_name = currSite + j;
var x = i + 1
var $ele = $("#" + id_name);
if ($ele) {
var text = '<small class="font-weight-normal">' + x + '.' + data_all[i].Content[j].Name + '</small>';
$ele.html(text);
$ele.attr("href", data_all[i].Content[j].Url)
}
}
}
});
})
</script>>
</body>
</html>