-
Notifications
You must be signed in to change notification settings - Fork 0
/
emotion.html
293 lines (283 loc) · 10.6 KB
/
emotion.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>EthnicData</title>
<!-- google-fonts -->
<link href="css/css2" rel="stylesheet">
<link href="css/null_9f7cf1527e734834b5d602cb0bc03151.css2" rel="stylesheet">
<!-- //google-fonts -->
<!-- Template CSS Style link -->
<link rel="stylesheet" href="css/style-liberty.css">
</head>
<body>
<!--header-->
<header id="site-header" class="fixed-top">
<div class="container">
<nav class="navbar navbar-expand-lg stroke">
<h1> <a class="navbar-brand" href="index.html"> </a> </h1>
<!-- if logo is image enable this
<a class="navbar-brand" href="#index.html">
<img src="image-path" alt="Your logo" title="Your logo" style="height:35px;" />
</a> -->
<button class="navbar-toggler collapsed bg-gradient" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon fa icon-expand fa-bars"></span> <span class="navbar-toggler-icon fa icon-close fa-times"></span> </button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ms-lg-auto">
<li class="nav-item "> <a class="nav-link" href="index.html">信息概览 <span class="sr-only">(current)</span></a> </li>
<li class="nav-item"> <a class="nav-link" href="wordcloud.html">热门词云</a> </li>
<li class="nav-item" "> <a class="nav-link" href="timeline.html">时间趋势</a> </li>
<li class="nav-item active"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 主题分布<span class="fas fa-angle-down"></span> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="topic.html">主题分布</a>
<a class="dropdown-item" href="hottopic.html">主题与热度</a>
<a class="dropdown-item" href="network.html">共现网络</a>
</div> </li>
<li class="nav-item active"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 情感分布<span class="fas fa-angle-down"></span> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="emotion.html">情感分布</a>
<a class="dropdown-item" href="hotemotion.html">情感与热度</a>
</div> </li>
<li class="nav-item"> <a class="nav-link" href="toplist.html">热门信息</a> </li>
<!--/search-right-->
<ul class="header-search">
<li class="nav-item search-right"> <a href="#search" class="btn search-btn btn-light" title="search"><span class="fas fa-search" aria-hidden="true"></span></a>
<!-- search popup -->
<div id="search" class="pop-overlay">
<div class="popup">
<h3 class="title-w3l two mb-4 text-left">Search Here</h3>
<form action="#" method="GET" class="search-box d-sm-flex position-relative">
<input type="search" placeholder="Enter Keyword here" name="search" required autofocus>
<button type="submit" class="btn btn-style btn-primary"> Search</button>
</form>
</div>
<a class="close" href="#close">×</a>
</div>
<!-- /search popup --> </li>
</ul>
<!--//search-right-->
</ul>
</div>
<!-- search button -->
<!-- //search button -->
<!-- toggle switch for light and dark theme -->
<div class="cont-ser-position">
<nav class="navigation">
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox"> <input type="checkbox" id="checkbox">
<div class="mode-container">
<i class="gg-sun"></i>
<i class="gg-moon"></i>
</div> </label>
</div>
</nav>
</div>
<!-- //toggle switch for light and dark theme -->
</nav>
</div>
</header>
<!--//header-->
<!-- Services banner -->
<section class="w3l-about-breadcrumb text-center">
<div class="breadcrumb-bg breadcrumb-bg-about py-5">
<div class="container py-lg-5 py-md-4">
<div class="banner-info-grid px-md-5">
<h2 class="w3l-title-breadcrumb mb-3">情感分布</h2>
<p class="inner-page-para px-lg-5"> 正面声量占据主导</p>
</div>
</div>
</div>
</section>
<!-- //Services banner -->
<!-- Why Choose Us Section-->
<section class="w3l-whychooseus py-5">
<div id="container" style="height: 500%"></div>
<script type="text/javascript" src="js/echarts.min.js"></script>
<!-- Uncomment this line if you want to dataTool extension
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@5.4.2/dist/extension/dataTool.min.js"></script>
-->
<!-- Uncomment this line if you want to use gl extension
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts-gl@2/dist/echarts-gl.min.js"></script>
-->
<!-- Uncomment this line if you want to echarts-stat extension
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts-stat@latest/dist/ecStat.min.js"></script>
-->
<!-- Uncomment this line if you want to use map
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@4.9.0/map/js/china.js"></script>
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@4.9.0/map/js/world.js"></script>
-->
<!-- Uncomment these two lines if you want to use bmap extension
<script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=YOUR_API_KEY"></script>
<script type="text/javascript" src="https://fastly.jsdelivr.net/npm/echarts@5.4.2/dist/extension/bmap.min.js"></script>
-->
<script type="text/javascript">
var dom = document.getElementById('container');
var myChart = echarts.init(dom, null, {
renderer: 'canvas',
useDirtyRect: false
});
var app = {};
var option;
option = {
tooltip: {
trigger: 'item'
},
legend: {
top: '5%',
left: 'center',
// doesn't perfectly work with our tricks, disable it
selectedMode: false
},
series: [
{
name: 'Access From',
type: 'pie',
radius: ['40%', '70%'],
center: ['50%', '70%'],
// adjust the start angle
startAngle: 180,
label: {
show: true,
formatter(param) {
// correct the percentage
return param.name + ' (' + param.percent * 2 + '%)';
}
},
data: [
{ value: 450, name: '正面' },
{ value: 39, name: '中性' },
{ value: 31, name: '负面' },
{
// make an record to fill the bottom 50%
value: 450+39+31,
itemStyle: {
// stop the chart from rendering this piece
color: 'none',
decal: {
symbol: 'none'
}
},
label: {
show: false
}
}
]
}
]
};
if (option && typeof option === 'object') {
myChart.setOption(option);
}
window.addEventListener('resize', myChart.resize);
</script>
</section>
<footer class="w3l-footer-29-main">
<div class="footer-29 pt-5 pb-4">
<div class="container pt-md-4">
<!-- copyright -->
<p class="copy-footer-29 text-center mt-5 pb-2">22301281 周晓月</p>
<!-- //copyright -->
</div>
</div>
</footer>
<!-- //footer block -->
<!-- Js scripts -->
<!-- move top -->
<button onclick="topFunction()" id="movetop" title="Go to top"> <span class="fas fa-level-up-alt" aria-hidden="true"></span> </button>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("movetop").style.display = "block";
} else {
document.getElementById("movetop").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<!-- //move top -->
<!-- common jquery.js plugin -->
<script src="js/jquery-3.3.1.min.js"></script>
<!-- //common jquery.js plugin -->
<!-- theme switch js (light and dark)-->
<script src="js/theme-change.js"></script>
<!-- //theme switch js (light and dark)-->
<!--/stats-number-counter-->
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.countup.js"></script>
<script>
$('.counter').countUp();
</script>
<!--//stats-number-counter-->
<!--/owlcarousel-->
<script src="js/owl.carousel.js"></script>
<!-- //tesimonials-->
<script>
$(document).ready(function() {
$("#owl-demo1").owlCarousel({
loop: true,
nav: false,
responsiveClass: true,
responsive: {
0: {
items: 1,
nav: false
},
736: {
items: 1,
nav: false
}
}
})
})
</script>
<!-- //tesimonials-->
<!-- MENU-JS -->
<script>
$(window).on("scroll", function () {
var scroll = $(window).scrollTop();
if (scroll >= 80) {
$("#site-header").addClass("nav-fixed");
} else {
$("#site-header").removeClass("nav-fixed");
}
});
//Main navigation Active Class Add Remove
$(".navbar-toggler").on("click", function () {
$("header").toggleClass("active");
});
$(document).on("ready", function () {
if ($(window).width() > 991) {
$("header").removeClass("active");
}
$(window).on("resize", function () {
if ($(window).width() > 991) {
$("header").removeClass("active");
}
});
});
</script>
<!-- //MENU-JS -->
<!-- disable body scroll which navbar is in active -->
<script>
$(function () {
$('.navbar-toggler').click(function () {
$('body').toggleClass('noscroll');
})
});
</script>
<!-- //disable body scroll which navbar is in active -->
<!--bootstrap-->
<script src="js/bootstrap.min.js"></script>
<!-- //bootstrap-->
<!-- //Js scripts -->
</body>
</html>