-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
477 lines (434 loc) · 20.6 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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
<link rel="stylesheet" href="css/common.css"/>
<link rel="stylesheet" href="css/index.css"/>
<link rel="stylesheet" href="css/About-Me.css"/>
<link rel="stylesheet" href="css/my-honor.css"/>
<link rel="stylesheet" href="css/my-project.css"/>
<link rel="stylesheet" href="css/animate.css"/>
<link rel="stylesheet" href="css/contact-me.css"/>
<link rel="stylesheet" href="js/bootstrap-3.3.7-dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/font-awesome.min.css"/>
<link rel="stylesheet" href="css/mass-texting.css"/>
<link rel="stylesheet" href="css/total.css"/>
<link rel="stylesheet" href="css/style1.css">
<link rel="stylesheet" href="css/my-photos.css">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="stylesheet" media="screen" href="css/style.css">
<title>Personnal-Web</title>
<style>
.onError {
background: url(img/error.png) no-repeat 0 center;
padding-left: 25px;
}
.onSuccess {
background: url(img/c.png) no-repeat 0 center;
padding-left: 25px;
}
</style>
</head>
<body>
<div id="arrowTop">
<img src="img/arrow.png" alt=""/>
</div>
<div class="arrLeft">
<img src="img/music.png" alt="" style="position: relative;left: 4px;top: -16px;"/>
<audio src="DelaceyDreamItPossible.mp3" controls></audio>
</div>
<header class="head">
<div id="particles-js">
</div>
<div id="head-logo">
<img src="img/logo-white.png" alt="" id="img1"/>
<img src="img/logo.png" alt="" id="img2"/>
</div>
<!-- 响应式的菜单栏-->
<ul class="toggle About-me" id="slide-Menu">
<li><a href="#ME-title" class="a-color">我的资料</a></li>
<li><a href="" class="a-color">我的项目</a></li>
<li><a href="" class="a-color">我的荣誉</a></li>
<li><a href="" class="a-color">小游戏</a></li>
<li><a href="" class="a-color">联系我</a></li>
</ul>
<div id="header-content">
<span class="My-name">
I AM CAO RU!
</span>
</div>
<div id="header-nav">
<!--<div class="menu"></div>-->
<ul class="menu About-me">
<li><a href="#contact-me">联系我</a></li>
<li><a href="">小游戏</a></li>
<li><a href="#my-project">我的项目</a></li>
<li><a href="#my-honor">我的荣誉</a></li>
<li><a href="#ME-title">我的资料</a></li>
</ul>
</div>
<div id="header-nav-Sicon">
<img src="img/menu-press.png" alt="" id="s-logo-min"/>
</div>
</header>
<section id="About-ME">
<div class="wrapper">
<div id="ME-title">
<div class="svg-wrapper">
<svg height="60" width="320" xmlns="http://www.w3.org/2000/svg">
<rect class="shape" height="60" width="320" />
</svg>
<div class="text"><h2>MY <span>STORY</span></h2></div>
</div>
</div>
<div id="Me-pic">
<div id="container">
<div id="img">
<img src="img/me1.jpg" alt="" class="selected"/>
<img src="img/me2.jpg" alt=""/>
<img src="img/me3.jpg" alt=""/>
<img src="img/me4.jpeg" alt=""/>
</div>
<div id="nav">
<ul>
<li class="selected"></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div id="arrow">
<div id="left"><</div>
<div id="right">></div>
</div>
</div>
</div>
<div id="Me-direction">
<h3 class="small-title">About <span class="s-title-span">Me</span></h3>
<div class="dir-detail">性别:女</div>
<div class="dir-detail">姓名:曹茹</div>
<div class="dir-detail">民族:汉族</div>
<div class="dir-detail">血型:AB型</div>
<div class="dir-detail">星座:天秤座</div>
<div class="dir-detail">qq:1461719319</div>
<div class="dir-detail">出生年月:1996年2月</div>
<div class="dir-detail">E-mail:[email protected]</div>
<div class="dir-detail">地址:黑龙省七台河市</div>
<p class="dir-detail"> 个人简介:来自黑龙江大学计算机科学与技术专业的2015级的学生。性格活泼开朗,勤劳可爱,热爱前端,一直坚信阳光总在风雨后。我的人生格言是:Where there is
will,there is a way!有志者事竟成!</p>
</div>
</div>
</section>
<div class="my-honor">
<div class="wrapper">
<div class="honor-title">
<h3 class="small-title">My<span class="s-title-span"> honor</span></h3>
</div>
<div class="all-honor-content">
<div class="honor-content">
<h3>2015-2016学年</h3>
<h4>本科一年级</h4>
<div> 2015年被黑龙江大学计算机科学与技术专业录取。开学时被选为为宣委员,经过一年的努力,没有任何挂科违纪行为,并获得了黑龙江大学二等奖学金。在学校举办的英语大咖秀中,由我组织的小组获得了三等奖。
</div>
</div>
<div class="honor-content">
<h3>2016-2017学年</h3>
<h4>本科二年级</h4>
<div> 经过我的不懈努力,没有任何挂科违纪行为,再次获得黑龙江大学综合奖学金,同时获得贫困生奖学金,并被评为优秀团干部。在这一学年,我又参加了学校组织的数据结构大赛,我所在团队获得三等奖。</div>
</div>
<div class="honor-content">
<h3>2017-2018学年</h3>
<h4>本科三年级</h4>
<div> 如今大三学年刚刚开始,我依然会不懈努力,朝着自己的目标不断前进,热爱前端的我会更加刻苦,争取获得更多的荣誉。在这一学年,我又参加了学校组织的数据结构大赛,我所在团队获得三等奖。</div>
</div>
</div>
</div>
</div>
<div class="my-honor">
<div class="wrapper">
<div class="honor-title">
<h3 class="small-title">My<span class="s-title-span"> education</span></h3>
</div>
<div class="all-honor-content">
<div class="honor-content">
<h3>2015-2019</h3>
<h4>本科 黑龙江大学</h4>
<div> 2015年被黑龙江大学计算机科学与技术专业录取。开学时被选为为宣委员,带领并组织班级同学参加学校很多活动,如英语大咖秀、“手绘心灵”大赛等,具有较强的组织能力。
</div>
</div>
<div class="honor-content">
<h3>2012-2015</h3>
<h4>高中 七台河市实验高中</h4>
<div>在高三年级时,通过自己的认真努力,开朗热心,被选为学习委员。并辅佐班长老师多次组织各种活动 </div>
</div>
<div class="honor-content">
<h3>2008-2012</h3>
<h4>初中 龙阳中学</h4>
<div> </div>
</div>
</div>
</div>
</div>
<div class="my-photos">
<div class="wrapper ">
<div class="photos-header">
<!--<div id="ME-title">-->
<div class="svg-wrapper">
<svg height="60" width="320" xmlns="http://www.w3.org/2000/svg">
<rect class="shape" height="60" width="320" />
</svg>
<div class="text"><h2>MY <span>photos</span></h2></div>
</div>
<!--</div>-->
<p class="project-content marginB40 marginT20">这是我的收藏图片集,鼠标划入试试看~</p>
<div class="photos-direction"></div>
</div>
<div class="photos-content ">
<div class="img_father "><img src="img/p_bg1%20(3).jpg" alt=""><div class="ss seing"><span class="P_direc">但</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(5).jpg" alt=""><div class="ss seing"><span class="P_direc">行</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(15).jpg" alt=""><div class="ss seing"><span class="P_direc">好</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(6).jpg" alt="" ><div class="ss seing"><span class="P_direc">事</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(10).jpg" alt=""><div class="ss seing"><span class="P_direc">莫</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(7).jpg" alt=""><div class="ss seing"><span class="P_direc">问</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(13).jpg" alt=""><div class="ss seing"><span class="P_direc">前</span></div></div>
<div class="img_father"><img src="img/p_bg1%20(14).jpg" alt=""><div class="ss seing"><span class="P_direc">程</span></div></div>
</div>
</div>
</div>
<div id="small-effect">
<div class="wrapper">
<div id="effect-direction">
<div id="effect-title">
<h2 class="center-block">Small<span> Watch</span></h2>
<p>这是一块调皮的小钟表,鼠标划入有可爱的效果哦~不信你就试试呗!</p>
</div>
</div>
<div id="effect-animate">
<div id="watch-container">
<ul id="ul">
</ul>
<div id="hour"></div>
<div id="minute"></div>
<div id="second"></div>
</div>
</div>
</div>
</div>
<div id="my-project">
<div class="wrapper pro-center">
<div id="project-title">
<h2 class="center-block">My<span> Project</span></h2>
</div>
<p class="project-content">这是我做的一些小项目,有旋转的照片墙,我的商店,一些小广告,未完待续...</p>
<div class="project-classify">
<div class="project-detail">
<h3>旋转的照片墙</h3>
<p>
照片墙:使用事件冒泡给包裹在外的container添加事件,通过target判断当前对象,图片采用预加载方式进行加载,用js和css3相结合实现效果,用到了css3的transform的rotate,同时利用css3中的transition实现动画效果。用定时器通过随机函数随机设置span背景图片实现马赛克。</p>
<a href="pictures-wall/index.html" id="project-one">点我看看吧</a>
</div>
<div class="project-detail">
<h3>旋转立方体</h3>
<p> 利用css3的效果,只用css3实现两个立方体旋转,一个正向一个反向</p>
<a href="rotate-cube/index.html" id="project-two">点我看看吧</a>
</div>
<div class="project-detail">
<h3>旋转木马</h3>
<p> 利用css3的语法,实现多个照片的展开,延筒行一次展开,点击每一张图片整体像旋转木马一样转动一定角度。</p>
<a href="whirligig/index.html" id="project-three">点我看看吧</a>
</div>
</div>
<div class="project-classify">
<div class="project-detail">
<h3>星巴克首页</h3>
<p> 用媒体查询的方法实现星巴克首页的响应式</p>
<a href="star/index.html" id="project-four">点我看看吧</a>
</div>
<div class="project-detail">
<h3>轮播图</h3>
<p>用jQuery实现轮播图轮播效果</p>
<a href="slideshow/index.html" id="project-five">点我看看吧</a>
</div>
<div class="project-detail">
<h3>放大镜</h3>
<p>
由于事件冒泡,会导致drag和下面的小图片框一闪一闪的,给遮罩层mask添加事件,有一个drag,移动到哪里哪里就放大,drag划过,获取到鼠标的位置就是drag的中心位置,要判断drag不能越界,将drag在小图片的位置和大图片在大图片的框里的位置建立一定的关系。</p>
<a href="magnifying-lens/index.html" id="project-six">点我看看吧</a>
</div>
</div>
</div>
</div>
<div id="contact-me">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="contact-me-header">
<h2 class="center-block">Contact<span> Me</span></h2>
</div>
<div class="control-text text-center contact-me-direction">如果喜欢我,就赶快联系我吧!</div>
</div>
</div>
<div class="row">
<div class="contact-ME">
<form class="form-inline text-left ">
<div class="con_form">
<div class="input-group col-md-3 marginT20 marginL88 con_username" id="username">
<div class="input-group-addon bgBlue"><i class="glyphicon glyphicon-user"></i></div>
<input type="text" class="form-control" placeholder="Name" id="Usernamea"/>
</div>
<div class="email_bro"></div>
<span></span>
<div class="input-group col-md-3 marginT20 con_email" id="email">
<div class="input-group-addon bgBlue height35"><i class="glyphicon glyphicon-envelope"></i>
</div>
<input type="text" class="form-control" placeholder="E-mail" id="Eamail"/>
</div>
<span> </span>
</div>
<div class="input-group col-md-3 marginT20 marginR0 contel">
<div class="input-group-addon bgBlue height35"><i class="glyphicon glyphicon-phone"></i></div>
<input type="text" class="form-control " id="conTel" placeholder="Tel"/>
</div>
<span></span>
<br>
<br>
<div class="input-group col-md-10 marginT20 con_tex">
<div class="input-group-addon bgBlue"><i class=" glyphicon glyphicon-pencil"></i></div>
<textarea name="" id="" cols="30" rows="10" class="form-control"
placeholder="Description"></textarea>
</div>
<br/>
<div class="col-md-12 text-right ">
<a href="#" class="btn btn-default btn-primary bgBlue width100 marginT20">发送</a>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="js/particles.js"></script>
<script src="js/app.js"></script>
<script src="js/jquery-1.12.4.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/me.js"></script>
<script src="js/index.js"></script>
<script src="js/my_photos.js"></script>
<script src="js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<!--<script src="js/message.js"></script>-->
<script>
$(function () {
var $username = $("#username");
var $Username = $("#Usernamea");
var $email = $("#email");
var $Eamail = $("#Eamail");
var $tel = $(".contel");
var $Tel = $("#conTel");
var $star = $("<span class='high'> </span>");
$star.insertAfter($username);
var $star2 = $("<span class='high'> </span>");
$star2.insertAfter($email);
var $star3 = $("<span class='high'> </span>");
$star3.insertAfter($tel);
$Username.focus(function () {
var $wrong = $("<span class='onError'> 请输入至少6位的用户名 </span>");
var $right = $("<span class='onSuccess'> 输入正确 </span>");
// 没keyup时,刚获取焦点就提示
if (this.value == "") {
if ($star.next().length == 0) {
$wrong.insertAfter($star);
}
}
$(this).keyup(function () {
console.log(this.value);
// 往*后边增加提示框,保证有兄弟就不要重复添加提示框了
// 删除字符的时候,小于6的时候,this.value.length<6,保证显示错误提示框回来,每次监听input里的字符
if ($star.next().length == 0 || this.value.length < 6) {
// console.log($star.next());
console.log("<60");
$star.next().remove();
$wrong.insertAfter($star);
} else {
$star.next().remove();
$right.insertAfter($star);
console.log(">6");
}
});
}).on("blur",function(){
$(this).triggerHandler("keyup")
});
$Eamail.focus(function () {
var $wrong1 = $("<span class='onError'> 请输入正确的邮箱号 </span>");
var $right1 = $("<span class='onSuccess'> 输入正确 </span>");
if (this.value == "") {
if ($star2.next().length == 0) {
$wrong1.insertAfter($star2);
}
}
$(this).keyup(function () {
console.log(this.value);
// 往*后边增加提示框,保证有兄弟就不要重复添加提示框了
// 删除字符的时候,小于6的时候,this.value.length<6,保证显示错误提示框回来,每次监听input里的字符
if ($star2.next().length == 0 || !/.+@.+\.[a-zA-Z]{2,4}$/.test(this.value)) {
// console.log($star.next());
console.log("<60");
$star2.next().remove();
$wrong1.insertAfter($star2);
} else {
$star2.next().remove();
$right1.insertAfter($star2);
console.log(">6");
}
})
}).on("blur",function(){
$(this).triggerHandler("keyup")
});
$Tel.focus(function () {
var $wrong = $("<span class='onError'> 请输入正确的手机号码 </span>");
var $right = $("<span class='onSuccess'> 输入正确 </span>");
// 没keyup时,刚获取焦点就提示
if (this.value == "") {
if ($star3.next().length == 0) {
$wrong.insertAfter($star3);
}
}
$(this).keyup(function () {
console.log(this.value);
// 往*后边增加提示框,保证有兄弟就不要重复添加提示框了
// 删除字符的时候,小于6的时候,this.value.length<6,保证显示错误提示框回来,每次监听input里的字符
if ($star3.next().length == 0 || this.value.length < 11) {
// console.log($star.next());
// console.log(typeof (this.value-=1));
// console.log("<60");
$star3.next().remove();
$wrong.insertAfter($star3);
} else {
$star3.next().remove();
$right.insertAfter($star3);
console.log(">6");
}
});
}).on("blur",function(){
$(this).triggerHandler("keyup")
});
$("#send").on("click", function () {
console.log($star.next().attr("class"));
if ($star.next().attr("class") == "onSuccess" && $star2.next().attr("class") == "onSuccess") {
alert("注册成功,密码已发到你的邮箱,请查收");
} else {
alert("验证失败禁止提交");
}
$username.trigger("blur");
$email.trigger("blur");
});
$("#res").on("click", function () {
$username.empty();
$star.next().remove();
$email.empty();
$star2.next().remove();
})
})
</script>
</body>
</html>