1 Unstar Star 0 Fork 0

View、 / resume

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
index.html 15.38 KB
Copy Edit Web IDE Raw Blame History
View、 authored 2017-11-19 15:03 . Upload index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>简历</title>
<link rel="stylesheet" href="https://at.alicdn.com/t/font_479435_h4jym6x7096bt9.css">
<style>
body {
margin: 0;
background-color: #333;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
* {
box-sizing: border-box;
}
img {
max-width: 100%;
}
p {
margin: 0;
}
ul, li {
list-style: none;
margin: 0;
padding: 0;
}
a {
color: #2057d9;
font-family: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.font-gray {
color: #777;
}
.desc {
line-height: 1.5;
}
.small {
font-size: 13px;
}
.container {
width: 800px;
height: 1120px;
margin: 0 auto;
background-color: #fff;
overflow: hidden;
}
/* 侧边 start */
.container-side {
width: 270px;
height: 100%;
border-right: 1px solid #eee;
background-color: #f5f5f5;
float: left;
position: relative;
}
.contianer-side-avatar {
width: 100%;
height: 270px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.contianer-side-avatar img {
width: 80%;
height: 80%;
border: 5px solid #eee;
border-radius: 50%;
}
.basic-name {
font-size: 20px;
text-align: center;
}
.basic-sub {
font-size: 14px;
color: #777;
text-align: center;
}
.basic-contact {
padding: 20px 0 0px 70px;
}
.basic-contact li {
margin: 7px 0;
position: relative;
}
.basic-contact .expand {
top: -10px;
left: 80%;
width: 300px;
height: 300px;
padding: 10px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, .5);
z-index: 2;
display: none;
position: absolute;
opacity: 0;
transform: translateX(100px);
transition: 500ms;
}
.basic-contact .expand::after {
content: '';
top: 6px;
left: -15px;
width: 30px;
height: 30px;
z-index: 0;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, .8);
position: absolute;
transform: rotate(45deg);
}
.basic-contact .expand::before {
content: '';
top: 0;
left: 0;
width: 100px;
height: 100px;
z-index: 1;
background-color: #fff;
position: absolute;
}
.basic-contact img {
z-index: 2;
position: relative;
}
.basic-contact .expand.show {
opacity: 1;
transform: translateX(0);
}
.basic .iconfont {
font-size: 25px;
vertical-align: middle;
}
/* .iconfont {
color: #777;
} */
.iconfont.icon-weixin {
color: #35c635;
}
.iconfont.icon-qq {
color: rgb(19, 121, 168);
}
.iconfont.icon-tel {
color: orange;
}
.other .title {
margin-top: 40px;
font-size: 20px;
text-align: center;
position: relative;
}
.other .title::before,
.other .title::after {
content: "";
top: 50%;
width: 30%;
height: 1px;
background-color: #ddd;
position: absolute;
}
.other .title::before {
left: 20px;
}
.other .title::after {
right: 20px;
}
.other li {
padding: 0 10px;
margin: 10px 0;
word-break:break-all;
display: flex;
}
.other .label {
min-width: 5em;
text-align: right;
}
/* 侧边 end */
/* 主体 start */
.container-main {
width: calc(100% - 270px);
height: 100%;
padding: 10px;
float: right;
}
.container-title {
padding: 10px;
font-size: 20px;
border-bottom: 1px solid #ddd;
}
.experience {
position: relative;
overflow: hidden;
}
.experience::after {
content: "";
top: 0;
left: 25px;
width: 1px;
height: 100%;
background-color: #ddd;
position: absolute;
}
.experience li {
margin: 10px 0;
padding-left: 50px;
font-size: 14px;
position: relative;
overflow: hidden;
}
.experience p {
margin: 5px 0;
}
.experience .title {
margin: 5px 0;
font-size: 16px;
}
.experience-number {
top: 3px;
left: 10px;
width: 30px;
height: 30px;
border-radius: 50%;
z-index: 1;
color: #fff;
background-color: #2057d9;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
}
.job {
font-size: 16px;
position: relative;
overflow: hidden;
}
.job::after {
content: "";
top: 0;
left: 25px;
width: 1px;
height: 100%;
background-color: #ddd;
position: absolute;
}
.time-line li {
margin: 20px 0;
padding-left: 50px;
position: relative;
}
.time-line li::after {
content: "";
top: 20%;
left: 17px;
width: 10px;
height: 10px;
border-radius: 50%;
border: 3px solid #2057d9;
background-color: #fff;
z-index: 1;
position: absolute;
}
.time-line .date-range {
color: #777;
font-size: 13px;
}
.education {
padding: 10px 10px 10px 20px;
}
/* 主体 end */
</style>
</head>
<body>
<div class="container">
<div class="container-side">
<div class="contianer-side-avatar">
<img src="https://img.knowpage.cn/upload/images/201601/14529411371430153629_square_cut.jpg" alt="">
</div>
<div class="container-info">
<div class="basic">
<p class="basic-name">王威</p>
<p class="small basic-sub">1994-12</p>
<!-- <p>放在这里应该没人会看的吧,其实我喜欢喝可乐,可乐+泡面赛高</p> -->
<p class="basic-sub">web前端开发工程师</p>
<ul class="basic-contact">
<li>
<i class="iconfont icon-weixin2"></i>
<div class="expand">
<img src="http://misc.hzzcckj.cn/upload/image/201711/54b742d46800000.jpg" alt="">
</div>
viewweiwu
</li>
<li>
<i class="iconfont icon-qq2"></i>
<div class="expand">
<img src="http://misc.hzzcckj.cn/upload/image/201711/54b74128ec00000.jpg" alt="">
</div>
648764190
</li>
<li>
<i class="iconfont icon-tel2"></i>
15257157169
</li>
</ul>
</div>
<div class="other">
<div class="title">其他</div>
<ul>
<li>
<span class="label">github:</span>
<a href="https://github.com/viewweiwu">https://github.com/viewweiwu</a>
</li>
<li>
<span class="label">sf:</span>
<a href="https://segmentfault.com/u/viewweiwu">https://segmentfault.com/u/viewweiwu</a>
</li>
</ul>
</div>
</div>
</div>
<div class="container-main">
<div class="container-title">项目经历</div>
<div class="experience">
<ul>
<li>
<span class="experience-number">1</span>
<div class="title">可视化排序</div>
<div class="info">
<p class="font-gray">预览地址:<a href="https://viewweiwu.github.io/visualSort/" target="_blank">https://viewweiwu.github.io/visualSort/</a></p>
<p class="font-gray">相关技术:原生 js、less</p>
<p class="desc">个人小项目,纯 js 实现的可视化排序,动画用的 css3,可以切换到任意一个步骤。</p>
</div>
</li>
<li>
<span class="experience-number">2</span>
<div class="title">zepto 组件库</div>
<div class="info">
<p class="font-gray">预览地址:<a href="https://viewweiwu.github.io/view-ui/" target="_blank">https://viewweiwu.github.io/view-ui/</a></p>
<p class="font-gray">相关技术:zepto、less</p>
<p class="desc">个人小项目,给予 zepto 实现的一个组件库,封装了一些常用的移动端组件库,也可以在移动端预览。</p>
</div>
</li>
<li>
<span class="experience-number">3</span>
<div class="title">无聊的农场</div>
<div class="info">
<p class="font-gray">预览地址:<a href="https://viewweiwu.github.io" target="_blank">https://viewweiwu.github.io</a></p>
<p class="font-gray">项目介绍:<a href="https://segmentfault.com/a/1190000011326251" target="_blank">https://segmentfault.com/a/1190000011326251</a></p>
<p class="font-gray">相关技术:iView、vue 全家桶、less</p>
<p class="desc"><b>有声音的!</b>个人小项目,使用 vue 全家桶 + iView 实现的,托管在 github 上可能声音和图片加载的比较慢。</p>
</div>
</li>
<li>
<span class="experience-number">4</span>
<div class="title">店掌柜三端</div>
<div class="info">
<p class="font-gray">微信端:<a href="http://zcxsd.dgj.zcckj.com" target="_blank">http://zcxsd.dgj.zcckj.com</a></p>
<p class="font-gray">移动端:<a href="http://m.dzg.zcckj.com" target="_blank">http://m.dzg.zcckj.com</a></p>
<p class="font-gray">PC&nbsp;&nbsp;端:<span class="font-gray">尚未上线</span></p>
<p class="font-gray">相关技术:iView、mint-ui、vue 全家桶、less</p>
<!-- <p>ios 支付是个坑</p> -->
<p class="desc">一共有三个端,踩的坑东西也比较多,例如富文本编辑器,图片上传,微信支付,数据可视化,跨页面存取数据之类的。配合小组开发完成的,自己主要承担项目前端的架构和技术选型,调查组件的使用。</p>
</div>
</li>
</ul>
</div>
<div class="container-title">工作经历</div>
<div class="job">
<div class="time-line">
<ul>
<li>
<p class="date-range">2016-08 - 至今</p>
<p>杭州中策车空间</p>
</li>
<li>
<p class="date-range">2015-03 - 2016-07</p>
<p>杭州网新新思软件有限公司</p>
</li>
</ul>
</div>
</div>
<div class="container-title">教育经历</div>
<ul class="education">
<li>杭州职业技术学院 <span class="font-gray small">(2012.09 - 2015.07)</span></li>
<li class="font-gray small">软件技术 | 大专</li>
</ul>
</div>
</div>
<script>
class main {
constructor() {
this.$contact = document.querySelectorAll('.basic-contact li');
this.init();
}
init() {
this.bindEvent();
}
bindEvent() {
this.$contact.forEach(obj => obj.addEventListener('mouseenter', this.onContactEnter));
this.$contact.forEach(obj => obj.addEventListener('mouseleave', this.onContactLeave));
}
onContactEnter(e) {
this.timer && clearTimeout(this.timer);
let $target = e.target;
let $expand = $target.querySelector('.expand');
if ($expand) {
$expand.style.display = 'block';
this.timer = setTimeout(() => $expand.classList.add('show'), 0);
}
}
onContactLeave(e) {
this.timer && clearTimeout(this.timer);
let $target = e.target;
let $expand = $target.querySelector('.expand');
if ($expand) {
$expand.classList.remove('show');
this.timer = setTimeout(() => $expand.style.display = 'none', 500);
}
}
}
new main();
</script>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/viewweiwu/resume.git
git@gitee.com:viewweiwu/resume.git
viewweiwu
resume
resume
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542