Add 2 files
Browse files- README.md +7 -5
- index.html +376 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: baidu
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: blue
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,376 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Baidu - 全球领先的中文搜索引擎</title>
|
7 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
8 |
+
<style>
|
9 |
+
* {
|
10 |
+
margin: 0;
|
11 |
+
padding: 0;
|
12 |
+
box-sizing: border-box;
|
13 |
+
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
|
14 |
+
}
|
15 |
+
|
16 |
+
body {
|
17 |
+
background-color: #f5f5f5;
|
18 |
+
color: #333;
|
19 |
+
line-height: 1.6;
|
20 |
+
}
|
21 |
+
|
22 |
+
.container {
|
23 |
+
max-width: 1200px;
|
24 |
+
margin: 0 auto;
|
25 |
+
padding: 0 20px;
|
26 |
+
}
|
27 |
+
|
28 |
+
/* Header Styles */
|
29 |
+
header {
|
30 |
+
background-color: #fff;
|
31 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
32 |
+
position: fixed;
|
33 |
+
width: 100%;
|
34 |
+
top: 0;
|
35 |
+
z-index: 1000;
|
36 |
+
}
|
37 |
+
|
38 |
+
.header-top {
|
39 |
+
display: flex;
|
40 |
+
justify-content: flex-end;
|
41 |
+
align-items: center;
|
42 |
+
padding: 10px 0;
|
43 |
+
}
|
44 |
+
|
45 |
+
.header-top a {
|
46 |
+
color: #333;
|
47 |
+
text-decoration: none;
|
48 |
+
font-size: 13px;
|
49 |
+
margin-left: 15px;
|
50 |
+
transition: color 0.3s;
|
51 |
+
}
|
52 |
+
|
53 |
+
.header-top a:hover {
|
54 |
+
color: #3385ff;
|
55 |
+
}
|
56 |
+
|
57 |
+
.header-top .login-btn {
|
58 |
+
background-color: #3385ff;
|
59 |
+
color: white;
|
60 |
+
padding: 5px 12px;
|
61 |
+
border-radius: 5px;
|
62 |
+
font-weight: 500;
|
63 |
+
}
|
64 |
+
|
65 |
+
.header-top .login-btn:hover {
|
66 |
+
background-color: #2a6fd6;
|
67 |
+
color: white;
|
68 |
+
}
|
69 |
+
|
70 |
+
/* Main Content */
|
71 |
+
.main-content {
|
72 |
+
margin-top: 100px;
|
73 |
+
text-align: center;
|
74 |
+
padding: 40px 0;
|
75 |
+
}
|
76 |
+
|
77 |
+
.logo {
|
78 |
+
margin-bottom: 30px;
|
79 |
+
}
|
80 |
+
|
81 |
+
.logo img {
|
82 |
+
height: 80px;
|
83 |
+
}
|
84 |
+
|
85 |
+
.search-box {
|
86 |
+
width: 100%;
|
87 |
+
max-width: 600px;
|
88 |
+
margin: 0 auto 30px;
|
89 |
+
position: relative;
|
90 |
+
}
|
91 |
+
|
92 |
+
.search-input {
|
93 |
+
width: 100%;
|
94 |
+
padding: 15px 20px;
|
95 |
+
border: 1px solid #ddd;
|
96 |
+
border-radius: 50px;
|
97 |
+
font-size: 16px;
|
98 |
+
outline: none;
|
99 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
100 |
+
transition: all 0.3s;
|
101 |
+
}
|
102 |
+
|
103 |
+
.search-input:focus {
|
104 |
+
border-color: #3385ff;
|
105 |
+
box-shadow: 0 2px 12px rgba(51, 133, 255, 0.3);
|
106 |
+
}
|
107 |
+
|
108 |
+
.search-btn {
|
109 |
+
position: absolute;
|
110 |
+
right: 5px;
|
111 |
+
top: 5px;
|
112 |
+
background-color: #3385ff;
|
113 |
+
color: white;
|
114 |
+
border: none;
|
115 |
+
border-radius: 50px;
|
116 |
+
padding: 10px 25px;
|
117 |
+
font-size: 16px;
|
118 |
+
cursor: pointer;
|
119 |
+
transition: background-color 0.3s;
|
120 |
+
}
|
121 |
+
|
122 |
+
.search-btn:hover {
|
123 |
+
background-color: #2a6fd6;
|
124 |
+
}
|
125 |
+
|
126 |
+
.search-options {
|
127 |
+
display: flex;
|
128 |
+
justify-content: center;
|
129 |
+
gap: 20px;
|
130 |
+
margin-bottom: 40px;
|
131 |
+
}
|
132 |
+
|
133 |
+
.search-option {
|
134 |
+
background-color: #fff;
|
135 |
+
padding: 8px 15px;
|
136 |
+
border-radius: 5px;
|
137 |
+
font-size: 14px;
|
138 |
+
cursor: pointer;
|
139 |
+
transition: all 0.3s;
|
140 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
141 |
+
}
|
142 |
+
|
143 |
+
.search-option:hover {
|
144 |
+
background-color: #f0f0f0;
|
145 |
+
}
|
146 |
+
|
147 |
+
.search-option.active {
|
148 |
+
background-color: #3385ff;
|
149 |
+
color: white;
|
150 |
+
}
|
151 |
+
|
152 |
+
/* Quick Links */
|
153 |
+
.quick-links {
|
154 |
+
display: grid;
|
155 |
+
grid-template-columns: repeat(5, 1fr);
|
156 |
+
gap: 20px;
|
157 |
+
max-width: 800px;
|
158 |
+
margin: 0 auto 40px;
|
159 |
+
}
|
160 |
+
|
161 |
+
.quick-link {
|
162 |
+
background-color: #fff;
|
163 |
+
border-radius: 8px;
|
164 |
+
padding: 15px;
|
165 |
+
text-align: center;
|
166 |
+
cursor: pointer;
|
167 |
+
transition: transform 0.3s, box-shadow 0.3s;
|
168 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
169 |
+
}
|
170 |
+
|
171 |
+
.quick-link:hover {
|
172 |
+
transform: translateY(-5px);
|
173 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
174 |
+
}
|
175 |
+
|
176 |
+
.quick-link i {
|
177 |
+
font-size: 24px;
|
178 |
+
margin-bottom: 10px;
|
179 |
+
color: #3385ff;
|
180 |
+
}
|
181 |
+
|
182 |
+
.quick-link span {
|
183 |
+
font-size: 14px;
|
184 |
+
display: block;
|
185 |
+
}
|
186 |
+
|
187 |
+
/* Footer */
|
188 |
+
footer {
|
189 |
+
background-color: #fff;
|
190 |
+
padding: 20px 0;
|
191 |
+
margin-top: 50px;
|
192 |
+
border-top: 1px solid #eee;
|
193 |
+
}
|
194 |
+
|
195 |
+
.footer-links {
|
196 |
+
display: flex;
|
197 |
+
justify-content: center;
|
198 |
+
flex-wrap: wrap;
|
199 |
+
gap: 20px;
|
200 |
+
margin-bottom: 15px;
|
201 |
+
}
|
202 |
+
|
203 |
+
.footer-links a {
|
204 |
+
color: #666;
|
205 |
+
text-decoration: none;
|
206 |
+
font-size: 13px;
|
207 |
+
transition: color 0.3s;
|
208 |
+
}
|
209 |
+
|
210 |
+
.footer-links a:hover {
|
211 |
+
color: #3385ff;
|
212 |
+
}
|
213 |
+
|
214 |
+
.copyright {
|
215 |
+
text-align: center;
|
216 |
+
color: #999;
|
217 |
+
font-size: 12px;
|
218 |
+
}
|
219 |
+
|
220 |
+
/* Mobile Responsive */
|
221 |
+
@media (max-width: 768px) {
|
222 |
+
.quick-links {
|
223 |
+
grid-template-columns: repeat(3, 1fr);
|
224 |
+
}
|
225 |
+
|
226 |
+
.search-options {
|
227 |
+
flex-wrap: wrap;
|
228 |
+
}
|
229 |
+
}
|
230 |
+
|
231 |
+
@media (max-width: 480px) {
|
232 |
+
.quick-links {
|
233 |
+
grid-template-columns: repeat(2, 1fr);
|
234 |
+
}
|
235 |
+
|
236 |
+
.search-box {
|
237 |
+
max-width: 90%;
|
238 |
+
}
|
239 |
+
}
|
240 |
+
</style>
|
241 |
+
</head>
|
242 |
+
<body>
|
243 |
+
<header>
|
244 |
+
<div class="container">
|
245 |
+
<div class="header-top">
|
246 |
+
<a href="#"><i class="fas fa-user"></i> 登录</a>
|
247 |
+
<a href="#"><i class="fas fa-cog"></i> 设置</a>
|
248 |
+
<a href="#" class="login-btn">登录</a>
|
249 |
+
</div>
|
250 |
+
</div>
|
251 |
+
</header>
|
252 |
+
|
253 |
+
<div class="main-content">
|
254 |
+
<div class="container">
|
255 |
+
<div class="logo">
|
256 |
+
<img src="https://www.baidu.com/img/flexible/logo/pc/result.png" alt="Baidu Logo">
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<div class="search-box">
|
260 |
+
<input type="text" class="search-input" placeholder="请输入搜索关键词...">
|
261 |
+
<button class="search-btn"><i class="fas fa-search"></i> 百度一下</button>
|
262 |
+
</div>
|
263 |
+
|
264 |
+
<div class="search-options">
|
265 |
+
<div class="search-option active">网页</div>
|
266 |
+
<div class="search-option">新闻</div>
|
267 |
+
<div class="search-option">贴吧</div>
|
268 |
+
<div class="search-option">知道</div>
|
269 |
+
<div class="search-option">音乐</div>
|
270 |
+
<div class="search-option">图片</div>
|
271 |
+
<div class="search-option">视频</div>
|
272 |
+
<div class="search-option">地图</div>
|
273 |
+
</div>
|
274 |
+
|
275 |
+
<div class="quick-links">
|
276 |
+
<div class="quick-link">
|
277 |
+
<i class="fas fa-newspaper"></i>
|
278 |
+
<span>百度新闻</span>
|
279 |
+
</div>
|
280 |
+
<div class="quick-link">
|
281 |
+
<i class="fas fa-map-marked-alt"></i>
|
282 |
+
<span>百度地图</span>
|
283 |
+
</div>
|
284 |
+
<div class="quick-link">
|
285 |
+
<i class="fas fa-video"></i>
|
286 |
+
<span>百度视频</span>
|
287 |
+
</div>
|
288 |
+
<div class="quick-link">
|
289 |
+
<i class="fas fa-music"></i>
|
290 |
+
<span>百度音乐</span>
|
291 |
+
</div>
|
292 |
+
<div class="quick-link">
|
293 |
+
<i class="fas fa-image"></i>
|
294 |
+
<span>百度图片</span>
|
295 |
+
</div>
|
296 |
+
<div class="quick-link">
|
297 |
+
<i class="fas fa-kiwi-bird"></i>
|
298 |
+
<span>百度贴吧</span>
|
299 |
+
</div>
|
300 |
+
<div class="quick-link">
|
301 |
+
<i class="fas fa-graduation-cap"></i>
|
302 |
+
<span>百度学术</span>
|
303 |
+
</div>
|
304 |
+
<div class="quick-link">
|
305 |
+
<i class="fas fa-cloud"></i>
|
306 |
+
<span>百度网盘</span>
|
307 |
+
</div>
|
308 |
+
<div class="quick-link">
|
309 |
+
<i class="fas fa-language"></i>
|
310 |
+
<span>百度翻译</span>
|
311 |
+
</div>
|
312 |
+
<div class="quick-link">
|
313 |
+
<i class="fas fa-shopping-bag"></i>
|
314 |
+
<span>百度购物</span>
|
315 |
+
</div>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
</div>
|
319 |
+
|
320 |
+
<footer>
|
321 |
+
<div class="container">
|
322 |
+
<div class="footer-links">
|
323 |
+
<a href="#">关于百度</a>
|
324 |
+
<a href="#">About Baidu</a>
|
325 |
+
<a href="#">广告服务</a>
|
326 |
+
<a href="#">百度营销</a>
|
327 |
+
<a href="#">使用百度前必读</a>
|
328 |
+
<a href="#">隐私政策</a>
|
329 |
+
<a href="#">帮助中心</a>
|
330 |
+
<a href="#">意见反馈</a>
|
331 |
+
</div>
|
332 |
+
<div class="copyright">
|
333 |
+
©2023 Baidu 京ICP证030173号 京公网安备11000002000001号
|
334 |
+
</div>
|
335 |
+
</div>
|
336 |
+
</footer>
|
337 |
+
|
338 |
+
<script>
|
339 |
+
// Search functionality
|
340 |
+
document.querySelector('.search-btn').addEventListener('click', function() {
|
341 |
+
const query = document.querySelector('.search-input').value.trim();
|
342 |
+
if (query) {
|
343 |
+
alert(`正在搜索: ${query}`);
|
344 |
+
// In a real implementation, this would redirect to search results
|
345 |
+
// window.location.href = `https://www.baidu.com/s?wd=${encodeURIComponent(query)}`;
|
346 |
+
}
|
347 |
+
});
|
348 |
+
|
349 |
+
// Search input enter key event
|
350 |
+
document.querySelector('.search-input').addEventListener('keypress', function(e) {
|
351 |
+
if (e.key === 'Enter') {
|
352 |
+
document.querySelector('.search-btn').click();
|
353 |
+
}
|
354 |
+
});
|
355 |
+
|
356 |
+
// Search option selection
|
357 |
+
const searchOptions = document.querySelectorAll('.search-option');
|
358 |
+
searchOptions.forEach(option => {
|
359 |
+
option.addEventListener('click', function() {
|
360 |
+
searchOptions.forEach(opt => opt.classList.remove('active'));
|
361 |
+
this.classList.add('active');
|
362 |
+
});
|
363 |
+
});
|
364 |
+
|
365 |
+
// Quick links functionality
|
366 |
+
const quickLinks = document.querySelectorAll('.quick-link');
|
367 |
+
quickLinks.forEach(link => {
|
368 |
+
link.addEventListener('click', function() {
|
369 |
+
const serviceName = this.querySelector('span').textContent;
|
370 |
+
alert(`即将跳转到${serviceName}`);
|
371 |
+
// In a real implementation, this would redirect to the specific service
|
372 |
+
});
|
373 |
+
});
|
374 |
+
</script>
|
375 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
|
376 |
+
</html>
|