-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbaidu_search.html
222 lines (172 loc) · 5.78 KB
/
baidu_search.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
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="baidu_union_verify" content="d1952c66cf48912e21c18c7c581f382a">
<meta name="360-site-verification" content="67fbcc5a67f4c65c057315b28fa0b2c8">
<meta name="google-site-verification" content="2GzxQ0VtXwTSUdmGm6DzcmhTzM_I9QmzCb_pzpMzD88">
<title>coney</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="coney">
<meta name="description" content="闲着无聊就写写小说,忘记吃药就写写代码,主攻移动开发,志在产品经理,正在IT圈打杂的程序猿">
<link rel="alternate" href="atom.xml" title="coney" type="application/atom+xml">
<link rel="icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
var _bdId ='391982416296a0d54221f59fe35250d4';
hm.src = "//hm.baidu.com/hm.js?" + _bdId;
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header>
<div>
<div id="textlogo">
<h1 class="site-name"><a href="/" title="coney">coney</a></h1>
<a class="blog-motto">有些事情,再不去做就忘了.有些人,再不去找就没了.</a>
</div>
<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
</a></div>
<nav class="animated">
<ul>
<ul>
<li><a href="/">首页</a></li>
<li><a href="/categories/小说">小说</a></li>
<li><a href="/categories/hexo">Hexo</a></li>
<li><a href="/archives">归档</a></li>
<li>
<form class="search" action="http://search.gengbiao.me/cse/search" target="_blank">
<label>Search</label>
<input name="s" type="hidden" value="2049782880735612718"><input type="text" name="q" size="30" placeholder="搜索"><br>
</form></li>
</ul>
</ul></nav>
</div>
</header>
<div id="container">
<div id="main">
</div>
</div>
<script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.navbar').click(function(){
$('header nav').toggleClass('shownav');
});
var myWidth = 0;
function getSize(){
if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;
} else if( document.documentElement && document.documentElement.clientWidth) {
myWidth = document.documentElement.clientWidth;
};
};
var m = $('#main'),
a = $('#asidepart'),
c = $('.closeaside'),
o = $('.openaside');
$(window).resize(function(){
getSize();
if (myWidth >= 1024) {
$('header nav').removeClass('shownav');
}else
{
m.removeClass('moveMain');
a.css('display', 'block').removeClass('fadeOut');
o.css('display', 'none');
}
});
c.click(function(){
a.addClass('fadeOut').css('display', 'none');
o.css('display', 'block').addClass('fadeIn');
m.addClass('moveMain');
});
o.click(function(){
o.css('display', 'none').removeClass('beforeFadeIn');
a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');
m.removeClass('moveMain');
});
$(window).scroll(function(){
o.css("top",Math.max(80,260-$(this).scrollTop()));
});
});
</script>
<script>
var _bdImg = '4';
window._bd_share_config={
"common":{
"bdSnsKey":{
},
"bdText":"",
"bdMini":"2",
"bdMiniList":[
"qzone",
"tsina",
"weixin",
"renren",
"tqq",
"tieba",
"douban",
"sqq",
"diandian",
"huaban",
"youdao",
"mail",
"ty",
"fbook",
"twi",
"linkedin",
"copy",
"print"
],
"bdPic":"",
"bdStyle":"0",
"bdSize":"16"
},
"slide":{
"type":"slide",
"bdImg":_bdImg,
"bdPos":"right",
"bdTop":"350"
},
"image":{
"viewList":[
"weixin",
"qzone",
"tsina",
"renren",
"douban",
"tqq"
],
"viewText":"分享:",
"viewSize":"16"
},
"selectShare":{
"bdContainerClass":null,
"bdSelectMiniList":[
"weixin",
"qzone",
"tsina",
"renren",
"douban",
"tqq"
]
}
};
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55273525-1', 'gengbiao.me');
ga('send', 'pageview');
</script>
</body>
</html>