-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
283 lines (261 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
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>jojo情感分析</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="https://t.pp.cc/static/spring/css/global.css?ver=201507063">
<link rel="stylesheet" type="text/css" href="https://t.pp.cc/static/spring/css/font-awesome.css?ver=201507063">
<link rel="stylesheet" type="text/css" href="https://t.pp.cc/static/spring/css/home.css?ver=201507063">
<script type="text/javascript">
</script>
</head>
<body>
<div class="navbar-default">
<div class="container clearfix">
<div class="navbar-header fl">
<h1 class="navbar-brand" >jojo情感分析 </h1>
</div>
</div>
</div>
<!-----头部结束----->
<div class="index_mian">
<div class="index_banner">
<ul>
<img src="https://gss1.bdstatic.com/-vo3dSag_xI4khGkpoWK1HF6hhy/baike/c0%3Dbaike116%2C5%2C5%2C116%2C38/sign=3908322beacd7b89fd6132d16e4d29c2/b64543a98226cffcf3188d53b5014a90f603ea25.jpg" alt="">
<!-- <li class="img_02" style="opacity: 0.939658;"></li> -->
<!-- <li class="img_03" style="opacity: 0.0603418;"></li> -->
</ul>
</div>
<div class="index_login">
<div class="banner_page">
<a href="javascript:void(0)" class="up"><span class="fa fa-angle-left"></span></a>
<a href="javascript:void(0)" class="down"><span class="fa fa-angle-right"></span></a>
</div>
<!--<a href="/ppexp/" target="_blank" class="link"></a>-->
<div class="rig">
<div class="til">欢迎登录 jojo情感分析</div>
<div class="tab-a-box">
<a href="javascript:;"></a>
</div>
<div class="tab-indexbox" id="login-pc">
<ul>
<li><input type="text" class="txt" value="" name="username" id="username_login" tabindex="1" placeholder="Email/帐号"><i class="account"></i></li>
<li><input type="password" class="txt" value="" name="password" id="password_login" tabindex="2" placeholder="密码"><i class="password"></i></li>
<li class="clearfix">
<span class="fl">
<input type="checkbox" class="checkbox checkbox-default checkbox-states-1 sq-18 a-mid dib" name="keepstatus" id="keepstatus_login" value="1" checked="checked">
<label for="keepstatus_login">一周内自动登录</label>
<input type="hidden" id="goto_url" value="http://t.pp.cc/">
</span>
</li>
<li><input class="btn" value="登 录" type="button" id="submit_login"></li>
<li><a class="other_login" onclick="accountLogin('sina', 'time');" id="account_login" title="用新浪微博登录"><span class="fa fa-weibo fz17 m-r-5"></span>用新浪微博登录</a></li>
</ul>
</div>
<p style="display: none" id="guid">370657DD81BC71020A1E3EDFEAE315C2</p>
<p style="display: none" id="appid">wx52df41cf374f92e0</p>
<div class="tab-indexbox hide" id="login-mob">
<div class="q-code-login">
<div id="qrocde_container"></div>
<p>请使用微信扫一扫</p>
</div>
</div>
</div>
</div>
<!-----banner登录结束----->
<div id="tabContent">
<!-- Features -->
<div class="features">
<ul>
<li><span class="feature-icon1"></span>
<h4><a href="javascript:;">情感分析</a></h4>
<p>对微博热点进行情感分析</p>
</li>
<!--
<li><span class="feature-icon2"></span>
<h4><a href="javascript:;">微博小尾巴</a></h4>
<p>皮皮时光机为您提供诸多优质来源,达人来源、自定义来源、热门微博等</p>
</li>
-->
<li><span class="feature-icon3"></span>
<h4><a href="javascript:;">话题聚类</a></h4>
<p>对微博内容进行话题聚类</p>
</li>
<li><span class="feature-icon4"></span>
<h4><a href="javascript:;">微博登录</a></h4>
<p>使用微博账号进行登录</p>
</li>
</ul>
</div>
<!-- Features End -->
</div>
<!-- Footer -->
<div class="pt-footer">
<div class="footer-box clearfix">
<div class="pt-first fl">
<ul>
<li>
<a class="pt-first-title">关注我们</a>
<a href="http://weibo.com/" target="_blank"><span class="fa fa-weibo fa-fw"></span> 新浪微博</a>
</li>
</ul>
</div>
</div>
</div>
<script type="text/javascript" src="/static/common/js/jquery.qrcode.min.js"></script>
<script type="text/javascript">
function isCanvasSupported(){
var elem = document.createElement('canvas');
return !!(elem.getContext && elem.getContext('2d'));
}
$(document).ready(function(){
//头部更多应用下拉
$(".more_app a:first").click(function(){
$(this).siblings("div").show();
});
$(".more_app div").mouseenter(function(){
$(this).show();
}).mouseleave(function(){
$(this).hide();
});
/*用户名下拉列表*/
$(".head_rig .user .nick").click(function(){
$(this).siblings("ul").show();
});
$(".head_rig .user ul:first").mouseenter(function(){
$(this).show();
}).mouseleave(function(){
$(this).hide();
});
});
/*banner幻灯js*/
$(function(){
var aPage = $('.index_login .lef a'); //分页按钮
var aImg = $('.index_banner ul li'); //图像集合
var iSize = aImg.size(); //图像个数
var index = 0; //切换索引
var t;
$('.up').click(function(){ //左边按钮点击
index--;
if(index<0){
index=iSize-1
}
change(index);
})
$('.down').click(function(){ //右边按钮点击
index++;
if(index>iSize-1){
index=0
}
change(index);
})
//分页按钮点击
aPage.click(function(){
index = $(this).index();
change(index);
});
//切换过程
function change(index){
aPage.removeClass('current');
aPage.eq(index).addClass('current');
aImg.stop();
//隐藏除了当前元素,所以图像
aImg.eq(index).siblings().animate({opacity:0},1000);
//显示当前图像
aImg.eq(index).animate({opacity:1},1000);
}
function autoshow() {
index=index+1;
if(index<=iSize-1){
change(index);
}else{
index=0;
change(index);
}
}
int=setInterval(autoshow,5000);
function clearInt() {
$('.banner_page a.up,.banner_page a.down').mouseover(function() {
clearInterval(int);
})
}
function setInt() {
$('.banner_page a.up,.banner_page a.down').mouseout(function() {
int=setInterval(autoshow,5000);
})
}
clearInt();
setInt();
//返回顶部
$("#elevator").click(function(){
timer = setInterval(function(){
var osTop = document.documentElement.scrollTop || document.body.scrollTop;
var ispeed = Math.floor(-osTop / 6);
document.documentElement.scrollTop = document.body.scrollTop = osTop + ispeed;
if(osTop == 0){
clearInterval(timer);
}
},30);
});
$(".tab-a-box a").toggle(function(){
$(this).css("background-position","-60px 0");
$("#login-pc").hide();
$("#login-mob").show();
if(!$('#qrocde_container').html()){
var key = $("#guid").html();
var appid = $("#appid").html();
var host = window.location.host;
var content = "http://" + host + "/member.php?mod=login&action=url&state=1&guid="+key;
var render = "canvas";
if (!isCanvasSupported()){
render = "table";
}
var qr_config = {
render :render,
width: 150,
height: 150,
correctLevel: 0,
text: content
}
$('#qrocde_container').qrcode(qr_config);
var clogin_setintel = null;
clogin_setintel = setInterval(function () {
$.ajax({
type: "POST",
url: "/member.php?mod=login&action=checkLoginSatus",
data: {key: key},
dataType: "json",
success: function (data) {
if (data.msg == true) {
clearInterval(clogin_setintel);
window.location.href = "./member.php?mod=login&action=wexSyncLogin&guid="+key;
}
}
});
}, 1500);
}
},function(){
$(".tab-a-box a").css("background-position","0 -60px");
$("#login-pc").show();
$("#login-mob").hide();
});
});
UI.getScript("/static/spring/js/login.min.js?ver=201507063", function() {
onLoginReady();
});
function accountLogin(type, app)
{
location.href = "https://api.weibo.com/oauth2/authorize?client_id=2378691387&redirect_uri=http%3A%2F%2F127.0.0.1%3A9000%2Flogin"
// $.get('http://t.pp.cc//member.php?mod=bind&action=request&referer=http%3A%2F%2Ft.pp.cc%2F' + app + '/&type=' + type + '&app=' + app + '&sinav=3&random=' + UI.random(), function(data) {
// // location.href = data;
// });
}
function onLoginSwitchReady(){}
SyncLoginState(true);
function LC_onPageSync(r)
{
if (r) {
location.href = siteurl;
}
}
</script>
</div></body></html>