本人以贫薄的前端知识,使用原生js、css、html历时两天半,无框架的仿写了赶集网主页,总共写了1296行css,1565行html和222行原生js,自认为相似度可达八成,不过因知识薄弱,所以代码的复用性不是很好,css样式重复也很高,不再多言了,围观一下这个过程吧!
由于是仿写“赶集网”的主页,所以不需要设计,但是我从主页上找到的图片全是合成的(数张图片放在一起的),所以用ps稍微的裁剪,扣一下背景,这个过程是在编写的途中进行的,即用到哪些图片,就去处理哪些。
然后就是疯狂的撸代码!!!
先看一下原版
再看一下本人写的
这里由于要求上传的文件大小不大于5m,所以动图展示尽显仓促,抱歉!
往下很长,有兴趣的朋友可以看一下,无兴趣的童鞋
请点击此浏览本博客其他文章
*{
padding: 0;margin: 0;}
body{
width: 100vw;
height: 100vh;
background: #F5F5F5;
min-width: 1198px;
display: flex;
justify-content: center;
}
a{
text-decoration: none;
}
ul{
list-style: none;
}
span.hr{
color: #f5f5f5;
margin: 0px 0px 5px 5px;
}
span.small-title{
color: #999999;
font-size: 12px;
}
/**
* 头部导航
*/
div.header{
width: 100vw;
height: 33px;
min-width: 1198px;
background: #FFFFFF;
display: flex;
justify-content: center;
border: solid 1px #dfe6e9;
border-top: 0px;
}
div.header-body{
position: absolute;
width: 78vw;
min-width: 1198px;
height: 33px;
font-size: 12px;
display: flex;
align-items: center;
z-index: 10;
border: solid 1px #dfe6e9;
border-left: 0px;
border-right: 0px;
}
div.city,div.weather{
float: left;
}
div.city span:nth-child(1) a{
color: #FF7234;
font-weight: bold;
}
div.city span:nth-child(2) a{
padding-left: 0;
color: #636e72;
}
div.city span:hover a{
color: #FF7234;
text-decoration: underline;
}
div.weather{
margin-left: 10px;
padding-left: 10px;
padding-right: 10px;
height: 33px;
display: flex;
justify-content: center;
align-items:center;
cursor: pointer;
}
div.weather span{
margin-left: 10px;
color: #636e72;
font-size: 13px;
}
div.weather-hover-box{
position: absolute;
top: 33px;
left: 93.5px;
width: 510px;
height: 240px;
background: #FFFFFF;
border: solid 1px #dfe6e9;
z-index: 1;
display: none;
}
div.weather-hover-box-header{
height: 25px;
}
div.weather-hover-box-header span:nth-child(1){
position: absolute;
font-size: 12px;
color: #999999;
top: 17px;
}
div.weather-hover-box-header span:nth-child(2){
position: absolute;
font-size: 14px;
color: #39bc30;
top: 15px;
left: 109px;
}
div.weather-hover-box-header a{
position: absolute;
font-size: 12px;
color: #ff7200;
top: 17px;
right: 10px;
}
div.weather-hover-box-header a:hover{
text-decoration: underline;
}
div.weather-hover-box-body{
height: calc(100% - 25px);
}
div.weather-hover-box-body ul.t{
margin-top: 30px;
display: grid;
grid-template: 1fr/repeat(3,1fr);
justify-items: center;
text-align: center;
color: #666666;
}
div.weather-hover-box-body ul.t li{
width: 100%;
border-right: solid 1px #dfe6e9;
}
div.weather-hover-box-body ul.t li:nth-child(3){
border-right: 0px;
}
div.weather:hover{
border: solid 1px #dfe6e9;
border-top: 0px;
}
div.weather:hover div.weather-hover-box{
display: block;
}
div.info {
position: absolute;
display: flex;
align-items: center;
right: 0px;
}
div.info div.info-el{
float: left;
width: 80px;
text-align: center;
line-height: 33px;
cursor: pointer;
}
div.info div.info-el a{
color: #636e72;
}
div.info div.info-el a:hover{
color: #FF7234;
text-decoration: underline;
}
div.info div.info-el ul.t:hover{
border-style: solid;
border-width: 1px;
border-color: #dfe6e9;
border-top: 0px;
}
div.info div.info-el ul.t:hover li{
display: block;
}
div.info-user{
height: 33px;
}
div.info-user ul.t li{
height: 25px;
background: #FFFFFF;
line-height: 25px;
display: none;
}
div.info-user ul.t li:hover{
background: #F5F5F5;
}
div.info-nav:hover ul.t{
border-style: solid;
border-width: 1px;
border-color: #dfe6e9;
border-top: 0px;
}
div.info-nav:hover div.info-nav-down{
display: block;
}
a.lpx{
margin-left: 8px;
}
div.info-nav-down{
position: absolute;
display: none;
top: 33px;
right: 0px;
width: 78vw;
height: 160px;
min-width: 1198px;
background-color: #FFFFFF;
border-style: solid;
border-width: 1px;
border-color: #dfe6e9;
border-top: 0px;
padding: 20px 15px;
}
span.hot{
position: absolute;
top: 10px;
left: 50px;
background: url(../images/hot_back.png) no-repeat;
width: 16px;
height: 18px;
color: #FFFFFF;
font-size: 10px;
line-height: 16px;
padding-left: 3px;
padding-right: 3px;
}
div.info-nav-down-left{
float: left;
width: calc(100% - 273px);
height: 100%;
}
div.info-nav-down-left ul.lb{
width: 100%;
height: 100%;
text-align: left;
}
div.info-nav-down-left ul.lb li{
width: 90px;
height: 100%;
}
div.info-nav-down-left ul.lb li a{
display: inline-block;
}
div.info-nav-down-left ul.lb li a.lh{
color: #39BC30;
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
margin-left: 8px;
margin-right: 8px;
}
div.info-nav-down-left ul.lb li a.lh:hover{
text-decoration: underline;
}
div.info-nav-down-left ul.lb li a.lp{
color: #666;
font-size: 12px;
margin-bottom: 0px;
margin-left: 8px;
margin-right: 8px;
}
div.info-nav-down-left ul.lb li a.lp:hover{
text-decoration: underline;
color: #FF7234;
}
div.info-nav-down-left ul.lb li:nth-child(9){
width: 145px;
height: 100%;
}
div.info-nav-down-left ul.lb li{
float: left;
}
div.info-nav-down-right{
float: right;
width: 273px;
height: 100%;
text-align: center;
}
div.info-nav-down-right p.h{
font-size: 14px;
color: #666;
font-weight: bold;
}
div.info-nav-down-right ul.b{
display: grid;
grid-template:1fr/repeat(3,1fr);
margin-top: 15px;
}
div.info-nav-down-right ul:hover{
border: none;
}
div.info-nav-down-right ul.b p{
font-size: 12px;
color: #666;
line-height: 5px;
}
/**
* body部分
*/
div.body{
position: absolute;
width: 78vw;
min-width: 1198px;
}
div.search-box{
position: absolute;
background: #FFFFFF;
top: 33px;
width: 100%;
height: 100px;
}
div.search-box img.logo{
position: absolute;
top: 15px;
left: 20px;
width: 280px;
height: 70px;
}
form.search{
position: absolute;
top: 0px;
left: 300px;
width: calc(100% - 530px);
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
form.search div.input{
position: absolute;
left: 0;
width: calc(100% - 10px);
height: 40px;
border-style: solid;
border-color: #4DC245;
border-width: 3px;
float: left;
display: flex;
align-items: center;
}
form.search img.search-ico{
width: 30px;
display: flex;
align-self: center;
float: left;
}
input.search-input{
width: calc(100% - 150px);
height: 40px;
border: none;
float: right;
font-size: 14px;
}
input.search-button{
position: absolute;
right: 0;
width: 120px;
height: 46px;
background: #4DC245;
color: #FFFFFF;
font-size: 15px;
border-width: 0;
cursor: pointer;
}
ul.search-links{
position: absolute;
width: 480px;
bottom: 5px;
left: 0;
}
ul.search-links a{
color: #636e72;
font-size: 12px;
}
ul.search-links a:hover{
color: #FF7234;
text-decoration: underline;
}
ul.search-links a:nth-child(3){
color: #FF8726;
}
div.search-fixed{
position: fixed;
top: 0px;
left: 0px;
width: 100vw;
height: 50px;
background: #45C03C;
opacity: 0.94;
z-index: 11;
display: none;
justify-content: center;
}
div.search-fixed div.search-fixed-body{
width: 78vw;
height: 50px;
min-width: 1198px;
display: flex;
align-items: center;
}
div.search-fixed-form{
position: relative;
float: left;
width: 700px;
height: 33px;
margin-left: 26px;
background: #FFFFFF;
display: flex;
align-items: center;
}
div.search-fixed-form input:nth-child(2){
width: 600px;
height: 33px;
border: none;
font-size: 14px;
}
div.search-fixed-form input:nth-child(3){
width: 100px;
height: 33px;
border: none;
background: #14910a;
color: #FFFFFF;
font-size: 16px;
}
div.search-fixed-bdiv{
width: calc(100% - 813px);
height: 33px;
}
div.search-fixed-bdiv button.search-fixed-button{
float: right;
width: 130px;
height: 32px;
color: #45C03C;
background: #FFFFFF;
font-size: 16px;
border: none;
}
div.free-input{
width: 230px;
height: 100%;
float: right;
display: flex;
justify-content: center;
align-items: center;
}
div.free-input-button button{
width: 140px;
height: 46px;
border: none;
background: #FF8726;
font-size: 15px;
color: #FFFFFF;
cursor: pointer;
}
div.free-input a{
position: absolute;
bottom: 5px;
color: #636e72;
font-size: 12px;
}
div.free-input a:hover{
color: #FF7234;
text-decoration: underline;
}
div.body-right{
width: 330px;
height: auto !important;
min-height: 900px;
float: right;
margin-bottom: 10px;
}
div.body-left{
width: calc(100% - 330px);
height: auto !important;
min-height: 900px;
float: left;
}
div.body-left-el1{
position: absolute;
top: 142px;
width: calc(100% - 335px);
height: 130px;
background: #FFFFFF;
display: grid;
grid-template:1fr/repeat(7,1fr);
justify-items:center;
align-items: center;
}
div.body-left-el1 div{
text-align: center;
}
div.body-left-el1 div div{
cursor: pointer;
}
div.body-left-el1 div div h4{
text-align: center;
color: #2f3640;
margin-bottom: 10px;
}
div.el1-box{
width: 100px;
height: 48px;
background: #F5F5F5;
border-radius: 5px;
margin-bottom: 10px;
}
div.el1-box img{
margin-top: 8px;
height: 40px;
width: 50px;
}
div.body-left-el1 div div:hover h4{
color: #FF8726;
}
div.body-left-el1 div div:hover div.el1-box.c1{
background: #FFF5E8;
}
div.body-left-el1 div div:hover div.el1-box.c2{
background: #E8FFEC;
}
div.body-left-el1 div div:hover div.el1-box.c3{
background: #EAF8FF;
}
div.body-left-el1 div div:hover div.el1-box img{
margin-top: 4px;
height: 44px;
}
div.body-left-el1 div span{
background: #EAF4F9;
padding: 0px 6px;
margin: 0px 3px;
border-radius: 15px;
}
div.body-left-el1 div span:hover{
background: #39BC30;
}
div.body-left-el1 div span a{
color: #666666;
font-size: 12px;
}
div.body-left-el1 div span:hover a{
color: #FFFFFF;
}
div.body-left-el2{
position: absolute;
top: 280px;
width: 235px;
height: 310px;
background: #FFFFFF;
}
div.el-body{
margin: 0px 0px 13px 13px;
}
div.el-body p.float-left{
float: left;
}
div.el-body p{
margin-top: 10px;
}
div.el-body p.single-pic{
width: 62px;
text-align: center;
}
div.el-body p a{
font-size: 14px;
color: #0481E4;
}
div.el-body p a:hover{
color: #FF7200;
text-decoration: underline;
}
div.el-body.long-pic{
margin-left: 5px;
margin-top: 8px;
width: 620px;
transition-duration: 0.5s;
}
div.download-app{
height: 60px;
font-size: 14px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
color: #39BC30;
}
div.download-app div{
display: flex;
justify-content: center;
align-items: center;
}
div.download-app:hover{
color: #FFFFFF;
background: #39BC30;
}
div.body-left-el3{
position: absolute;
top: 280px;
left: 245px;
width: calc(100% - 245px - 335px);
height: 900px;
background: #FFFFFF;
}
div.el-top a:hover{
color: #FF7200;
text-decoration: underline;
}
div.body-left-el4{
position: absolute;
top: 600px;
width: 235px;
height: 410px;
background: #FFFFFF;
}
div.body-left-el5{
position: absolute;
top: 1020px;
width: 235px;
height: 220px;
background: #FFFFFF;
}
div.body-left-el6{
position: absolute;
top: 1190px;
left: 245px;
width: calc(100% - 245px - 335px);
height: 530px;
background: #FFFFFF;
}
div.body-left-el7{
position: absolute;
top: 1250px;
width: 235px;
height: 220px;
background: #FFFFFF;
}
div.body-left-el8{
position: absolute;
top: 1480px;
width: 235px;
height: 470px;
background: #FFFFFF;
}
div.body-left-el9{
position: absolute;
top: 1730px;
left: 245px;
width: 330px;
height: 220px;
background: #FFFFFF;
}
div.body-left-el10{
position: absolute;
top: 1730px;
left: 585px;
width: calc(100% - 920px);
height: 220px;
background: #FFFFFF;
}
div.body-right-el1{
position: absolute;
top: 142px;
right: 0;
width: 325px;
height: 130px;
background: #FFFFFF;
overflow: hidden;
cursor: pointer;
}
div.el-top{
height: 50px;
line-height: 50px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: #ecf0f1;
}
div.el-top a:nth-child(1){
margin-left: 13px;
float: left;
font-size: 16px;
color: #333333;
font-weight: bold;
}
div.el-top a:nth-child(2){
margin-right: 13px;
float: right;
font-size: 12px;
color: #FF7200;
font-weight: bold;
}
div.el-top a:hover{
color: #FF7200;
text-decoration: underline;
}
div.r-el1-top{
display: flex;
justify-content: center;
align-items: center;
color: #39BC30;
background: #F8FCF4;
height: 40px;
}
p.el3-h.float-left{
float: left;
}
p.el3-h.float-right{
float: right;
}
p.el3-h a:nth-child(1){
font-size: 16px;
color: #333333;
font-weight: bold;
}
p.el3-h a:nth-child(2){
font-size: 12px;
color: #FF7200;
font-weight: bold;
}
p.el3-h a:hover{
color: #FF7200;
text-decoration: underline;
}
div.body-right-el1:hover div.r-el1-top{
background: #39BC30;
color: #F8FCF4;
}
div.body-right-el1:hover span{
display: flex;
}
div.r-el1-scroll{
width: 1240px;
height: calc(100% - 40px);
display: flex;
justify-content: center;
align-items: center;
animation: r-el-scroll 4s infinite;
animation-timing-function: cubic-bezier(0,1.22,.1,.97);
}
div.body-right-el1:hover div.r-el1-scroll{
animation-play-state: paused;
}
@keyframes r-el-scroll{
50%{
transform: translateX(-300px);
}
100%{
transform: translateX(-600px);
}
}
span.pre,span.next{
position: absolute;
display: flex;
justify-content: center;
align-items: center;
bottom: 30px;
height: 30px;
width: 15px;
background: #636e72;
opacity: .5;
cursor: pointer;
display: none;
}
span.pre{
left: 0;
}
span.next{
right: 0;
}
span.pre:hover,span.next:hover{
background: #39BC30;
opacity: 1;
}
div.r-el1-scroll div{
width: 300px;
}
div.r-el1-scroll div div:nth-child(1){
height: 100%;
float: left;
width: 50px;
}
div.r-el1-scroll div div:nth-child(2){
height: 100%;
float: right;
width: calc(100% - 90px);
}
div.r-el1-scroll div div:nth-child(1) img{
height: 44px;
border-right-style: solid;
border-right-color: #ecf0f1;
border-right-width: 1px;
margin: 2px 16px 0px 0px;
padding: 0px 14px 0px 16px;
}
div.r-el1-scroll div div:nth-child(2) p{
height: 29px;
display: flex;
align-items: center;
}
div.r-el1-scroll div div:nth-child(2) img{
height: 29px;
margin-right: 5px;
}
div.r-el1-scroll div div:nth-child(2) span{
font-size: 12px;
color: #FF7200;
}
div.r-el1-scroll div div:nth-child(2) p:nth-child(2){
font-size: 14px;
color: #161616;
margin-top: 2px;
margin-bottom: 2px;
}
div.r-el-top{
height: 50px;
line-height: 50px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: #ecf0f1;
}
div.r-el-top a{
margin-left: 13px;
float: left;
font-size: 16px;
color: #333333;
font-weight: bold;
}
div.r-el-top a:hover{
color: #FF7200;
text-decoration: underline;
}
div.r-el-top a.no-change:hover{
color: #333333;
text-decoration: none;
}
div.body-right-el2{
position: absolute;
top: 280px;
right: 0;
width: 325px;
height: 160px;
background: #FFFFFF;
overflow: hidden;
cursor: pointer;
}
div.body-right-el2 span.nohover:hover{
background: #636e72;
opacity: .5;
}
ul.page{
float: right;
margin-right: 15px;
}
ul.page li.page-item{
float: left;
margin-left: 5px;
width: 8px;
}
div.body-right-el2:hover span{
display: flex;
}
div.body-right-el3{
position: absolute;
top: 450px;
right: 0;
width: 325px;
height: 870px;
background: #FFFFFF;
}
div.body-right-el4{
position: absolute;
top: 1330px;
right: 0;
width: 325px;
height: 280px;
background: #FFFFFF;
}
div.body-right-el5{
position: absolute;
top: 1620px;
right: 0;
width: 325px;
height: 330px;
background: #FFFFFF;
}
div.footer{
position: absolute;
top: 1960px;
width: 100vw;
min-width: 1198px;
display: flex;
justify-content: center;
height: 530px;
}
div.footer-el1{
position: absolute;
width: 78vw;
min-width: 1198px;
height: 230px;
background: #FFFFFF;
}
div.footer-el1 div.r-el-top a,
div.footer-el1-body ul{
margin-left: 13px;
margin-right: 13px;
}
div.footer-el1 div.r-el-top a:nth-child(1),
div.footer-el1-body ul:nth-child(1){
width: 420px;
}
div.footer-el1 div.r-el-top a:nth-child(2),
div.footer-el1-body ul:nth-child(2){
width: 350px;
}
div.footer-el1 div.r-el-top a:nth-child(3),
div.footer-el1-body ul:nth-child(3){
width: calc(100% - 848px);
}
div.footer-el1-body ul{
margin-top: 15px;
}
div.footer-el1-body ul li{
height: 70px;
width: 70px;
text-align: center;
cursor: pointer;
}
div.footer-el1-body ul li:hover{
background: #F6F6F6;
}
div.footer-el1-body ul li img{
margin-top: 22px;
}
div.footer-el1-body ul li a{
font-size: 12px;
color: #666;
}
div.footer-el1-body ul li:hover a{
text-decoration: underline;
}
div.footer-el1-body ul:nth-child(1){
float: left;
display: grid;
grid-template: repeat(2,1fr)/repeat(6,1fr);
}
div.footer-el1-body ul:nth-child(2){
float: left;
display: grid;
grid-template: repeat(2,1fr)/repeat(5,1fr);
}
div.footer-el1-body ul:nth-child(3){
float: left;
display: grid;
grid-template: repeat(2,1fr)/repeat(4,1fr);
}
div.footer-el2{
position: absolute;
top: 240px;
width: 78vw;
min-width: 1198px;
height: 300px;
background: #FFFFFF;
}
div.footer-el2-line1{
height: 200px;
}
div.footer-el2-line2{
height: 100px;
display: flex;
justify-content: center;
}
img.footer-logo{
position: absolute;
top: 30px;
left: 30px;
width: 160px;
height: 60px;
}
div.footer-grid{
position: absolute;
display: grid;
width: calc(100% - 190px);
height: 200px;
right: 0;
grid-template: 1fr/repeat(5,1fr);
justify-content: center;
align-items: center;
}
div.footer-grid ul{
text-align: center;
}
div.footer-grid ul li{
height: 30px;
line-height: 30px;
font-size: 12px;
}
div.footer-grid ul a{
color: #636e72;
}
div.footer-grid ul a:hover{
text-decoration: underline;
}
div.footer-grid ul a.no-underline:hover{
text-decoration: none;
}
div.footer-grid ul li:nth-child(1){
font-size: 16px;
font-weight: bold;
height: 50px;
line-height: 50px;
color:#636e72;
}
div.footer-grid ul:nth-child(4) li:nth-child(4) a{
color: #FF7234;
}
div.footer-el2-line2 img{
height: 20px;
}
div.footer-el2-line2 a{
color: #636e72;
font-size: 12px;
}
div.footer-el2-line2 a:hover{
color: #FF7234;
}
div.right-side-bar{
position: fixed;
right: 0;
top: 33px;
background: #FFFFFF;
height: calc(100% - 33px);
width: 40px;
z-index: 10;
box-shadow: 0 1px 10px rgba(0,0,0,0.2);
display: flex;
align-items: center;
}
div.right-side-bar ul{
cursor: pointer;
}
div.right-side-bar ul.return-top{
position: absolute;
bottom: 0;
display: none;
}
div.app_qr_code{
position: absolute;
right: 40px;
transform: translateY(-44px);
width: 140px;
height: 167px;
background: #555;
color: #FFFFFF;
text-align: center;
font-size: 12px;
display: none;
}
div.app_qr_code img{
margin-top: 20px;
margin-bottom: 12px;
}
div.right-side-bar ul li.app:hover div.app_qr_code{
display: block;
}
div.rt-div{
position: absolute;
right: 40px;
transform: translateY(-44px);
font-size: 12px;
line-height: 40px;
text-align: center;
color: #FFFFFF;
width: 90px;
height: 40px;
background: #555;
display: none;
}
ul.return-top:hover div.rt-div{
display: block;
}
div.left-fixed-footer{
position: fixed;
left: 0;
bottom: 0;
width: 100px;
height: 100px;
background: url(../images/footer-l.png) no-repeat;
cursor: pointer;
transform: translateX(-100px);
}
div.bottom-fixed-footer{
position: fixed;
left: 0;
bottom: 0;
text-align: center;
width: 100vw;
height: 160px;
background-color: rgba(0,0,0,.7);
cursor: pointer;
}
div.bottom-fixed-footer::before{
content: url(../images/footer-b.png);
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 0px;
height: 192px;
}
<html lang="en">
<head>
<meta charset="UTF-8">
<title>仿制赶集网主页title>
<link rel="stylesheet" href="./resources/css/index.css">
<script type="text/javascript" src="./resources/js/index.js">script>
head>
<body>
<div class="header">
<div class="header-body">
<div class="city">
<span><a href="#">北京a>span>
<span><a href="#">[切换城市]a>span>
div>
<div class="weather">
<img src="./resources/images/晴.png" alt="">
<span>晴span>
<span>18 ~ 29℃span>
<span>良span>
<div class="weather-hover-box">
<div class="weather-hover-box-header">
<span>今天北京空气指数:span>
<span>62span>
<a href="#">查看一周天气情况 >a>
div>
<div class="weather-hover-box-body">
<ul class="t">
<li>
<p>今天(周二)p>
<p>
<img src="./resources/images/晴_big.png" alt="">
<br>18 ~ 30℃<br>
<br>晴
<br>南风3级
<br>不限行
p>
li>
<li>
<p>明天(周三)p>
<p>
<img src="./resources/images/多云.png" alt="">
<br>17 ~ 29℃<br>
<br>多云
<br>微风3级
<br>不限行
p>
li>
<li>
<p>后天(周四)p>
<p>
<img src="./resources/images/小雨.png" alt="">
<br>13 ~ 29℃<br>
<br>小雨
<br>东风3-4级
<br>不限行
p>
li>
ul>
div>
div>
div>
<div class="info">
<div class="info-el info-login"><a href="#">登录a>/<a href="#">注册a>div>
<div class="info-el info-user">
<ul class="t">
<a href="#">个人中心a>
<img src="./resources/images/arrow-down.png" alt="">
<li><a href="#">我的发布a>li>
<li><a href="#">我的收藏a>li>
<li><a href="#">我的求职a>li>
<li><a href="#">我的招聘a>li>
<li><a href="#">账户余额a>li>
ul>
div>
<div class="info-el info-mobile"><a href="#">手机上赶集a>div>
<div class="info-el info-help"><a href="#">帮助中心a>div>
<div class="info-el info-nav">
<ul class="t">
<a href="#">网站导航a>
<img src="./resources/images/arrow-down.png" alt="">
ul>
<div class="info-nav-down">
<div class="info-nav-down-left">
<ul class="lb">
<span class="hot">热span>
<li>
<a class="lh" href="#">房产a><br>
<a class="lp" href="#">租房a>
<a class="lp" href="#">二手房a>
<a class="lp" href="#">商铺a>
<a class="lp" href="#">写字楼a>
li>
<li>
<a href="#" class="lh">招聘a><br>
<a class="lp" href="#">全职a><br>
<a class="lp" href="#">兼职a><br>
<a class="lp" href="#">高薪a><br>
<a class="lp" href="#">简历库a><br>
li>
<li>
<a href="#" class="lh">二手物品a>
<a class="lp" href="#">手机a><br>
<a class="lp" href="#">笔记本a><br>
<a class="lp" href="#">家具a><br>
<a class="lp" href="#">家电a><br>
li>
<li>
<a href="#" class="lh">车辆买卖a>
<a class="lp" href="#">二手车a><br>
<a class="lp" href="#">新车a><br>
<a class="lp" href="#">工程车a><br>
<a class="lp" href="#">摩托车a><br>
li>
<li>
<a href="#" class="lh">宠物a>
<a class="lp" href="#">宠物狗a><br>
<a class="lp" href="#">宠物猫a><br>
<a class="lp" href="#">花鸟鱼虫a><br>
<a class="lp" href="#">宠物服务a><br>
li>
<li>
<a href="#" class="lh">票务a><br>
<a class="lp" href="#">门票a><br>
<a class="lp" href="#">电影票a><br>
<a class="lp" href="#">演出票a><br>
li>
<li>
<a href="#" class="lh">生活服务a><br>
<a class="lpx" href="#">保姆a><span class="hr">|span>
<a class="lpx" href="#">快递a><br>
<a class="lpx" href="#">月嫂a><span class="hr">|span>
<a class="lpx" href="#">维修a><br>
<a class="lpx" href="#">保洁a><span class="hr">|span>
<a class="lpx" href="#">开锁a><br>
<a class="lpx" href="#">搬家a><span class="hr">|span>
<a class="lpx" href="#">装修a><br>
li>
<li>
<a href="#" class="lh">商务服务a><br>
<a class="lpx" href="#">公司注册a><span class="hr">|span>
<a class="lpx" href="#">投资理财a><br>
<a class="lpx" href="#">网站建设a><span class="hr">|span>
<a class="lpx" href="#">网络维护a><br>
<a class="lpx" href="#">设备租赁a><span class="hr">|span>
<a class="lpx" href="#">设计策划a><br>
<a class="lpx" href="#">印刷包装a><span class="hr">|span>
<a class="lpx" href="#">数码快印a><br>
li>
<li>
<a href="#" class="lh">教育培训a>
<a class="lp" href="#">职业培训a><br>
<a class="lp" href="#">外语培训a><br>
<a class="lp" href="#">学历培训a><br>
li>
ul>
div>
<div class="info-nav-down-right">
<p class="h">精彩推荐p>
<ul class="b">
<li>
<img src="./resources/images/qr_1.png" alt="">
<p>赶集网Appp>
li>
<li>
<img src="./resources/images/qr_2.png" alt="">
<p>赶集小程序p>
li>
<li>
<img src="./resources/images/qr_3.png" alt="">
<p>赶集公众号p>
li>
ul>
div>
div>
div>
div>
div>
div>
<div class="right-side-bar">
<ul>
<li><a href="#"><img src="./resources/images/sideBar_ico_1_normal.png" alt="">a>li>
<li class="app">
<img src="./resources/images/sideBar_ico_2_normal.png" alt="">
<div class="app_qr_code">
<img src="./resources/images/qrcode_100.png" alt="">
<p>下载赶集APPp>
div>
li>
ul>
<ul class="return-top">
<a href="#">
<li><img src="./resources/images/sideBar_ico_3_normal.png" alt="">li>
<div class="rt-div">返回顶部div>
a>
ul>
div>
<div class="body">
<div class="search-box">
<a href="#">
<img class="logo" src="./resources/images/logo.png" alt="">
a>
<form class="search" action="#" method="post">
<div class="input">
<img class="search-ico" src="./resources/images/search-ico.png" alt="">
<input class="search-input" placeholder="搜索房子 / 工作 / 二手物品" type="text" name="param">
div>
<input class="search-button" type="submit" value="搜 索">
<ul class="search-links">
<a href="#">高新工作a>
<a href="#">二手好车a>
<a href="#">赶集APPa>
<a href="#">特价房源a>
<a href="#">小本创业a>
ul>
form>
<div class="free-input">
<div class="free-input-button">
<button onclick="location.href='#'">免费发布信息button>
div>
<a href="#">修改/删除信息a>
div>
div>
<div class="search-fixed">
<div class="search-fixed-body">
<img class="ganji_white" src="./resources/images/ganji_white_ico.png" alt="">
<div class="search-fixed-form">
<img src="./resources/images/search-ico.png" alt="">
<input type="text" placeholder="搜索房子 / 工作 / 二手物品">
<input type="submit" value="搜 索">
div>
<div class="search-fixed-bdiv">
<button class="search-fixed-button">免费发布信息button>
div>
div>
div>
<div class="body-left">
<div class="body-left-el1">
<div>
<div>
<a href="#">
<h4>工作h4>
<div class="el1-box c1">
<img class="el1-img" src="./resources/images/work-normal.png" alt="">
div>
a>
div>
<span><a href="#">全职a>span>
<span><a href="#">兼职a>span>
div>
<div>
<div>
<a href="#">
<h4>房产h4>
<div class="el1-box c2">
<img class="el1-img" src="./resources/images/house-normal.png" alt="">
div>
a>
div>
<span><a href="#">租房a>span>
<span><a href="#">二手房a>span>
div>
<div>
<div>
<a href="#">
<h4>二手物品h4>
<div class="el1-box c3">
<img class="el1-img" src="./resources/images/phone-normal.png" alt="">
div>
a>
div>
<span><a href="#">手机a>span>
<span><a href="#">电脑a>span>
div>
<div>
<div>
<a href="#">
<h4>二手车h4>
<div class="el1-box c1">
<img class="el1-img" src="./resources/images/car-normal.png" alt="">
div>
a>
div>
<span><a href="#">准新车a>span>
<span><a href="#">万元车a>span>
div>
<div>
<div>
<a href="#">
<h4>宠物h4>
<div class="el1-box c1">
<img class="el1-img" src="./resources/images/pat-normal.png" alt="">
div>
a>
div>
<span><a href="#">猫a>span>
<span><a href="#">狗a>span>
<span><a href="#">用品a>span>
div>
<div>
<div>
<a href="#">
<h4>商务服务h4>
<div class="el1-box c3">
<img class="el1-img" src="./resources/images/money-normal.png" alt="">
div>
a>
div>
<span><a href="#">工商a>span>
<span><a href="#">贷款a>span>
div>
<div>
<div>
<a href="#">
<h4>生活服务h4>
<div class="el1-box c2">
<img class="el1-img" src="./resources/images/life-normal.png" alt="">
div>
a>
div>
<span><a href="#">搬家a>span>
<span><a href="#">家政a>span>
div>
div>
<div class="body-left-el2">
<div class="el-top">
<a href="#">北京房产a>
<a href="#">个人房源a>
div>
<div class="el-body">
<p>
<a href="#">租房a> <a href="#">整租a><span class="hr">|span>
<a href="#">合租a><span class="hr">|span>
<a href="#">房东直租a>
p>
<p>
<a href="#">二手房出售a><span class="hr">|span>
<a href="#">小户型a>
p>
<p>
<a href="#">商铺出租a><span class="hr">|span>
<a href="#">商铺出售a>
p>
<p>
<a href="#">写字楼出租a><span class="hr">|span>
<a href="#">写字楼出售a>
p>
<p>
<a href="#">厂房a> <a href="#">仓库a><span class="hr">|span>
<a href="#">土地a><span class="hr">|span>
<a href="#">车位a>
p>
<p>
<a href="#">品牌公寓a>
p>
div>
<div class="download-app">
<div>
<img src="./resources/images/app_ico.png" alt="">
下载赶集App,找房更便捷
div>
div>
div>
<div class="body-left-el3">
<div class="el-top">
<a href="#">北京招聘a>
<a href="#">非你莫属a>
div>
<div class="el-body">
<p>
<a href="#">包吃包住a>
<a href="#">周末双休a>
<a href="#">五险一金a>
<a href="#">放心企业a>
<a href="#">毕业专区a>
<a href="#">福利诱惑a>
p>
<p>
<span class="small-title">热门职位span>
<span class="small-title">手艺巧 工资高span>
p>
<p>
<a href="#">销售a>
<a href="#">技工a>
<a href="#">快递员a>
<a href="#">行政后勤a>
<a href="#">电工a>
<a href="#">组装工a>
<a href="#">汽车服务a>
p>
<p>
<a href="#">司机a>
<a href="#">普工a>
<a href="#">营业员a>
<a href="#">人力资源a>
<a href="#">焊工a>
<a href="#">搬运工a>
<a href="#">生产制造a>
p>
<p>
<a href="#">导购a>
<a href="#">客服a>
<a href="#">收银员a>
<a href="#">财务审计a>
<a href="#">木工a>
<a href="#">建筑工a>
<a href="#">按摩保健a>
p>
<p>
<a href="#">保安a>
<a href="#">保洁a>
<a href="#">服务员a>
<a href="#">货运司机a>
<a href="#">汽修a>
<a href="#">施工员a>
<a href="#">美容美发a>
p>
<p>
<a href="#">餐饮a>
<a href="#">教师a>
<a href="#">送餐员a>
<a href="#">电话销售a>
<a href="#">叉车工a>
<a href="#">造价员a>
<a href="#">美术设计a>
p>
<p>
<a href="#">财务a>
<a href="#">库管a>
<a href="#">跟单员a>
<a href="#">房产中介a>
<a href="#">操作工a>
<a href="#">材料员a>
<a href="#">装潢设计a>
p>
<p>
<span class="small-title">入门快 挣钱快span>
<span class="small-title">电商IT 技术宅span>
p>
<p>
<a href="#">销售代表a>
<a href="#">渠道销售a>
<a href="#">销售主管a>
<a href="#">房产经理a>
<a href="#">淘宝客服a>
<a href="#">店铺运营a>
<a href="#">网络管理a>
p>
<p>
<a href="#">网络销售a>
<a href="#">医药代表a>
<a href="#">电话销售a>
<a href="#">房产开发a>
<a href="#">淘宝美工a>
<a href="#">店铺管理a>
<a href="#">技术支持a>
p>
<p>
<a href="#">销售助理a>
<a href="#">汽车销售a>
<a href="#">房产销售a>
<a href="#">房产经纪a>
<a href="#">平面设计a>
<a href="#">网络推广a>
<a href="#">软件工程a>
p>
<p>
<span class="small-title">轻白领 办公族span>
<span class="small-title">美食多 服务好span>
p>
<p>
<a href="#">后勤a>
<a href="#">人事专员a>
<a href="#">招聘主管a>
<a href="#">客服专员a>
<a href="#">洗碗工a>
<a href="#">配菜/打荷a>
<a href="#">保姆a>
p>
<p>
<a href="#">前台a>
<a href="#">招聘专员a>
<a href="#">人事主管a>
<a href="#">客服主管a>
<a href="#">面点师a>
<a href="#">食堂厨师a>
<a href="#">小时工a>
p>
<p>
<a href="#">行政a>
<a href="#">行政助理a>
<a href="#">客户关系a>
<a href="#">呼叫中心a>
<a href="#">后厨杂工a>
<a href="#">川菜厨师a>
<a href="#">采购员a>
p>
<p>
<span class="small-title">财会 教师 司机span>
<span class="small-title">金融 媒体 物流span>
p>
<p>
<a href="#">会计a>
<a href="#">助教a>
<a href="#">出租司机a>
<a href="#">驾校教练a>
<a href="#">金融/证券a>
<a href="#">物流专员a>
<a href="#">课堂顾问a>
p>
<p>
<a href="#">出纳a>
<a href="#">幼师a>
<a href="#">班车司机a>
<a href="#">客运司机a>
<a href="#">媒体/影视a>
<a href="#">物业管理a>
<a href="#">家居设计a>
p>
<p>
<a href="#">统计a>
<a href="#">代驾a>
<a href="#">商务司机a>
<a href="#">特种车司机a>
<a href="#">医院/医疗a>
<a href="#">市场/公关a>
<a href="#">CAD设计a>
p>
<br>
<p class="el3-h float-left">
<a href="#">兼职工作a>
<a href="#">放心兼职a>
p>
<p class="el3-h float-right">
<a href="#">求职简历a>
<a href="#">简历搜索a>
p>
<br><br>
<p>
<a href="#">家教a>
<a href="#">小时工a>
<a href="#">学生兼职a>
<a href="#">手工制作a>
<a href="#">销售a>
<a href="#">餐饮酒店a>
<a href="#">人力资源a>
p>
<p>
<a href="#">翻译a>
<a href="#">促销员a>
<a href="#">调查问卷a>
<a href="#">设计制作a>
<a href="#">技工a>
<a href="#">超市百货a>
<a href="#">通信网络a>
p>
<p>
<a href="#">模特a>
<a href="#">服务员a>
<a href="#">传单派发a>
<a href="#">网站建设a>
<a href="#">客服a>
<a href="#">贸易运输a>
<a href="#">生产制作a>
p>
<p>
<a href="#">销售a>
<a href="#">摄影师a>
<a href="#">礼仪小姐a>
<a href="#">其他兼职a>
<a href="#">行政a>
<a href="#">家政安保a>
<a href="#">金融投资a>
p>
<p>
<a href="#">会计a>
<a href="#">实习生a>
<a href="#">酒吧KTVa>
<a href="#">更多兼职a>
<a href="#">财务a>
<a href="#">市场公关a>
<a href="#">更多简历a>
p>
div>
div>
<div class="body-left-el4">
<div class="el-top">
<a href="#">二手车a>
<a href="#">免费估价a>
div>
<div class="el-body">
<p>
<a href="#">我要买车a>
<a href="#">车检延保a>
<a href="#">靠谱放心车a>
p>
<p>
<a href="#">个人车a><span class="hr">|span>
<a href="#">货车a><span class="hr">|span>
<a href="#">工程车a><span class="hr">|span>
<a href="#">SUVa>
p>
<p>
<a href="#">练手车a><span class="hr">|span>
<a href="#">准新车a><span class="hr">|span>
<a href="#">面包车a><span class="hr">|span>
<a href="#">MPVa>
p>
<p>
<a href="#">跑车a><span class="hr">|span>
<a href="#">小轿车a><span class="hr">|span>
<a href="#">拖拉机a><span class="hr">|span>
<a href="#">摩托车a>
p>
<p>
<a href="#">3万以下a><span class="hr">|span>
<a href="#">3-5万a><span class="hr">|span>
<a href="#">5-10万a><span class="hr">|span>
<a href="#">10万a>
p>
<p>
<a href="#">大众a><span class="hr">|span>
<a href="#">奥迪a><span class="hr">|span>
<a href="#">本田a><span class="hr">|span>
<a href="#">丰田a><span class="hr">|span>
<a href="#">宝马a>
p>
<p>
<a href="#">奔驰a><span class="hr">|span>
<a href="#">宾利a><span class="hr">|span>
<a href="#">别克a><span class="hr">|span>
<a href="#">标致a><span class="hr">|span>
<a href="#">福特a>
p>
<p>
<a href="#">比亚迪a><span class="hr">|span>
<a href="#">讴歌a><span class="hr">|span>
<a href="#">日产a><span class="hr">|span>
<a href="#">现代a><span class="hr">|span>
<a href="#">起亚a>
p>
<p>
<a href="#">布加迪a><span class="hr">|span>
<a href="#">捷豹a><span class="hr">|span>
<a href="#">三菱a><span class="hr">|span>
<a href="#">铃木a><span class="hr">|span>
<a href="#">宝骏a>
p>
<p>
<a href="#">迈巴赫a><span class="hr">|span>
<a href="#">红旗a><span class="hr">|span>
<a href="#">长安a><span class="hr">|span>
<a href="#">长城a><span class="hr">|span>
<a href="#">五菱a>
p>
<p>
<a href="#">斯巴鲁a><span class="hr">|span>
<a href="#">众泰a><span class="hr">|span>
<a href="#">奇瑞a><span class="hr">|span>
<a href="#">荣威a><span class="hr">|span>
<a href="#">金杯a>
p>
div>
div>
<div class="body-left-el5">
<div class="el-top">
<a href="#">新车a>
<a href="#">品牌选车a>
div>
<div class="el-body">
<p>
<a href="#">CX-5/大众a>
<a href="#">阿特兹/CR-Va>
p>
<p>
<a href="#">天籁/TIDAa>
<a href="#">斯柯达/Q5a>
p>
<p>
<a href="#">本田/哈弗H6a>
<a href="#">途观/丰田a>
p>
<p>
<a href="#">奔驰/福克斯a>
<a href="#">宝马/速腾a>
p>
<p>
<a href="#">奥迪/朗逸a>
<a href="#">别克/宝来a>
p>
div>
div>
<div class="body-left-el6">
<div class="el-top">
<a href="#">二手市场a>
<a href="#">摩托车卖场a>
div>
<div class="el-body">
<p>
<a href="#">家用电器a>
<a href="#">闲置换钱a>
<a href="#">质保iPhonea>
<a href="#">健康出行a>
<a href="#">换季淘衣a>
<a href="#">宜家家居a>
p>
<p>
<a href="#">小家电a>
p>
<p>
<span class="small-title">数码通讯span>
<span class="small-title">车辆span>
p>
<p>
<a href="#">二手手机a>
<a href="#">苹果a>
<a href="#">三星a>
<a href="#">小米a>
<a href="#">自行车a>
<a href="#">捷安特a>
<a href="#">美利达a>
p>
<p>
<a href="#">笔记本a>
<a href="#">联想a>
<a href="#">苹果a>
<a href="#">平板电脑a>
<a href="#">电动车a>
<a href="#">爱玛a>
<a href="#">雅迪a>
p>
<p>
<a href="#">台式电脑a>
<a href="#">外设a>
<a href="#">一体机a>
<a href="#">网络设备a>
<a href="#">摩托车a>
<a href="#">本田a>
<a href="#">踏板a>
p>
<p>
<a href="#">电子数码a>
<a href="#">相机a>
<a href="#">摄像机a>
<a href="#">游戏机a>
<span class="small-title">办公/设备span>
p>
<p>
<a href="#">影音娱乐a>
<a href="#">音响a>
<a href="#">MP3a>
<a href="#">电子书a>
<a href="#">商用办公a>
<a href="#">打印机a>
<a href="#">投影仪a>
p>
<p>
<span class="small-title">家具/家电/百货/礼品span>
<a href="#">设备办公a>
<a href="#">展柜货架a>
<a href="#">五金机械a>
p>
<p>
<a href="#">二手家具a>
<a href="#">床a>
<a href="#">沙发a>
<a href="#">桌子a>
<a href="#">农业产品a>
<a href="#">苗木/水产a>
<a href="#">农用机械a>
p>
<p>
<a href="#">二手家电a>
<a href="#">电视a>
<a href="#">空调a>
<a href="#">洗衣机a>
<a href="#">老年用品a>
<a href="#">按摩保健a>
<a href="#">美容化妆a>
p>
<p style="float: left;">
<a href="#">服饰箱包a>
<a href="#">包包a>
<a href="#">手表a>
<a href="#">首饰a>
p>
<p class="el3-h">
<a href="#">物品回收a>
p>
<p>
<a href="#">家具百货a>
<a href="#">床上用品a>
<a href="#">个人用品a>
<a href="#">洗衣熨烫a>
<a href="#">热门推荐a>
<a href="#">手机a>
<a href="#">电脑a>
<a href="#">金银a>
p>
<p>
<a href="#">母婴儿童a>
<a href="#">婴儿车a>
<a href="#">学步车a>
<a href="#">玩具a>
<a href="#">家用回收a>
<a href="#">家具a>
<a href="#">电器a>
<a href="#">礼品a>
p>
<p>
<a href="#">闲置礼品a>
<a href="#">工艺品a>
<a href="#">艺术收藏a>
<a href="#">把玩物件a>
<a href="#">商用回收a>
<a href="#">办公a>
<a href="#">数码a>
<a href="#">设备a>
p>
div>
div>
<div class="body-left-el7">
<div class="el-top">
<a href="#">汽车服务a>
<a href="#">免费办进京证a>
div>
<div class="el-body">
<p>
<a href="#">租车轿车a><span class="hr">|span>
<a href="#">商务车a><span class="hr">|span>
<a href="#">大巴a><span class="hr">|span>
<a href="#">中巴a>
p>
<p>
<a href="#">代驾酒后a><span class="hr">|span>
<a href="#">旅游a><span class="hr">|span>
<a href="#">商务a><span class="hr">|span>
<a href="#">长途a>
p>
<p>
<a href="#">驾校海淀a><span class="hr">|span>
<a href="#">朝阳a><span class="hr">|span>
<a href="#">昌平a><span class="hr">|span>
<a href="#">大兴a>
p>
<p>
<a href="#">保养汽修a><span class="hr">|span>
<a href="#">保养a><span class="hr">|span>
<a href="#">装饰a><span class="hr">|span>
<a href="#">年检a>
p>
<p>
<a href="#">改装外观a><span class="hr">|span>
<a href="#">内饰a><span class="hr">|span>
<a href="#">性能a><span class="hr">|span>
<a href="#">隔音a>
p>
div>
div>
<div class="body-left-el8">
<div class="el-top">
<a href="#">招商加盟a>
<a href="#">开小店赚大钱a>
div>
<div class="el-body">
<p>
<a href="#">餐饮加盟a>
<a href="#">小吃a><span class="hr">|span>
<a href="#">冷饮a><span class="hr">|span>
<a href="#">甜品a>
p>
<p>
<a href="#">快餐a><span class="hr">|span>
<a href="#">熟食a><span class="hr">|span>
<a href="#">面包店a>
p>
<p>
<a href="#">服装加盟a>
<a href="#">女装a><span class="hr">|span>
<a href="#">男装a><span class="hr">|span>
<a href="#">母婴a>
p>
<p>
<a href="#">家居建材a>
<a href="#">建材a><span class="hr">|span>
<a href="#">家纺a><span class="hr">|span>
<a href="#">涂料a>
p>
<p>
<a href="#">美容保健a>
<a href="#">美容院a><span class="hr">|span>
<a href="#">化妆品a><span class="hr">|span>
<a href="#">保健a>
p>
<p>
<a href="#">生活服务a>
<a href="#">快递a><span class="hr">|span>
<a href="#">干洗a><span class="hr">|span>
<a href="#">礼品a>
p>
<p>
<a href="#">特色加盟a>
<a href="#">网店a><span class="hr">|span>
<a href="#">教育a><span class="hr">|span>
<a href="#">车服务a>
p>
<p>
<a href="#">小本创业a>
<a href="#">零售a><span class="hr">|span>
<a href="#">养殖a><span class="hr">|span>
<a href="#">代理a>
p>
div>
div>
<div class="body-left-el9">
<div class="el-top">
<a href="#">宠物a>
<a href="#">买狗防骗指南a>
div>
<div class="el-body">
<p>
<a href="#">宠物狗a>
<a href="#">泰迪a><span class="hr">|span>
<a href="#">柯基a><span class="hr">|span>
<a href="#">金毛a><span class="hr">|span>
<a href="#">拉布拉多a>
p>
<p>
<a href="#">宠物猫a>
<a href="#">波斯a><span class="hr">|span>
<a href="#">折耳a><span class="hr">|span>
<a href="#">加菲a><span class="hr">|span>
<a href="#">短毛猫a>
p>
<p>
<a href="#">小宠a>
<a href="#">鸟a><span class="hr">|span>
<a href="#">鱼a><span class="hr">|span>
<a href="#">龟a><span class="hr">|span>
<a href="#">猪a><span class="hr">|span>
<a href="#">仓鼠a>
p>
<p>
<a href="#">服务a>
<a href="#">用品a><span class="hr">|span>
<a href="#">寄养a><span class="hr">|span>
<a href="#">美容a>
p>
<p>
<a href="#">救助a>
<a href="#">医院a><span class="hr">|span>
<a href="#">赠送a><span class="hr">|span>
<a href="#">领养a>
p>
div>
div>
<div class="body-left-el10">
<div class="el-top">
<a href="#">票务卡券a>
<a href="#">火车票查询a>
div>
<div class="el-body">
<p>
<a href="#">门票a>
<a href="#">电影a><span class="hr">|span>
<a href="#">演唱会a><span class="hr">|span>
<a href="#">展览a>
p>
<p>
<a href="#">体育赛事a><span class="hr">|span>
<a href="#">景区景点a>
p>
<p>
<a href="#">卡券a>
<a href="#">购物卡a><span class="hr">|span>
<a href="#">健身卡a><span class="hr">|span>
<a href="#">美发卡a>
p>
<p>
<a href="#">加油卡a><span class="hr">|span>
<a href="#">电话卡a><span class="hr">|span>
<a href="#">代金券a>
p>
<p>
<a href="#">游泳卡a><span class="hr">|span>
<a href="#">折扣卡a>
p>
div>
div>
div>
<div class="body-right">
<div class="body-right-el1">
<div class="r-el1-top">
更多精彩尽在赶集App
<img src="resources/images/mobile_ico.gif" alt="">
div>
<div class="r-el1-scroll">
<div>
<div><img src="./resources/images/quan_ico.png" alt="">div>
<div>
<p><img src="./resources/images/g_img1.png" alt=""><span>6749人热议中span>p>
<p>不吹不黑3天找到工作,经验...p>
div>
div>
<div>
<div><img src="./resources/images/zixun_ico.png" alt="">div>
<div>
<p><img src="./resources/images/g_img2.png" alt=""><span>5745人热议中span>p>
<p>大家都在看,羞羞哒小漫画p>
div>
div>
<div>
<div><img src="./resources/images/quan_ico.png" alt="">div>
<div>
<p><img src="./resources/images/g_img1.png" alt=""><span>6749人热议中span>p>
<p>不吹不黑3天找到工作,经验...p>
div>
div>
<div>
<div><img src="./resources/images/zixun_ico.png" alt="">div>
<div>
<p><img src="./resources/images/g_img2.png" alt=""><span>5745人热议中span>p>
<p>大家都在看,羞羞哒小漫画p>
div>
div>
div>
<span class="pre"><img src="./resources/images/arrow-left.png" alt="">span>
<span class="next"><img src="./resources/images/arrow-right.png" alt="">span>
div>
<div class="body-right-el2">
<div class="r-el-top">
<a href="#">家庭上门服务a>
<ul class="page">
<li class="page-item">
<img src="./resources/images/index_green_ico.png" alt="">
li>
<li class="page-item">
<img src="./resources/images/index_white_ico.png" alt="">
li>
ul>
div>
<div class="el-body long-pic">
<p class="float-left single-pic">
<img src="./resources/images/banjia.png" alt=""><br>
<a href="#">搬家a>
p>
<p class="float-left single-pic">
<img src="./resources/images/lahuoyundongxi_che_1554901812758.png" alt=""><br>
<a href="#">拉货快运a>
p>
<p class="float-left single-pic">
<img src="./resources/images/shouji.png" alt=""><br>
<a href="#">手机维修a>
p>
<p class="float-left single-pic">
<img src="./resources/images/guandao.png" alt=""><br>
<a href="#">管道疏通a>
p>
<p class="float-left single-pic">
<img src="./resources/images/shuiguan.png" alt=""><br>
<a href="#">水管龙头a>
p>
<p class="float-left single-pic">
<img src="./resources/images/baojie.png" alt=""><br>
<a href="#">保洁a>
p>
<p class="float-left single-pic">
<img src="./resources/images/yuesao.png" alt=""><br>
<a href="#">保姆月嫂a>
p>
<p class="float-left single-pic">
<img src="./resources/images/yuersao.png" alt=""><br>
<a href="#">育儿嫂a>
p>
<p class="float-left single-pic">
<img src="./resources/images/lahuoyundongxi_che_1554901812758.png" alt=""><br>
<a href="#">企业货运a>
p>
<p class="float-left single-pic">
<img src="./resources/images/quanbu.png" alt=""><br>
<a href="#">全部a>
p>
div>
<span class="pre nohover" data-role="0"><img src="./resources/images/arrow-left.png" alt="">span>
<span class="next" data-role="1"><img src="./resources/images/arrow-right.png" alt="">span>
div>
<div class="body-right-el3">
<div class="r-el-top">
<a href="#">本地生活服务a>
div>
<div class="el-body">
<p>
<a href="#">搬家估价a>
<a href="#">无忧装修a><span class="hr">|span>
<a href="#">金牌商家a>
p>
<p>
<a href="#">搬家a>
<a href="#">住宅a><span class="hr">|span>
<a href="#">金杯a><span class="hr">|span>
<a href="#">长途a><span class="hr">|span>
<a href="#">办公室a>
p>
<p>
<a href="#">家政a>
<a href="#">保洁a><span class="hr">|span>
<a href="#">保姆a><span class="hr">|span>
<a href="#">月嫂a><span class="hr">|span>
<a href="#">小时工a>
p>
<p>
<a href="#">物流a>
<a href="#">快递a><span class="hr">|span>
<a href="#">国际a><span class="hr">|span>
<a href="#">国内a><span class="hr">|span>
<a href="#">货运a>
p>
<p>
<a href="#">家电维修a>
<a href="#">空调a><span class="hr">|span>
<a href="#">移机a><span class="hr">|span>
<a href="#">冰箱a><span class="hr">|span>
<a href="#">电视a>
p>
<p>
<a href="#">房屋维修a>
<a href="#">门窗a><span class="hr">|span>
<a href="#">卫浴a><span class="hr">|span>
<a href="#">防水补漏a>
p>
<p>
<a href="#">便民a>
<a href="#">开锁a><span class="hr">|span>
<a href="#">干洗a><span class="hr">|span>
<a href="#">修鞋a><span class="hr">|span>
<a href="#">改衣a>
p>
<p>
<a href="#">风水a>
<a href="#">起名a><span class="hr">|span>
<a href="#">测字a><span class="hr">|span>
<a href="#">转运a><span class="hr">|span>
<a href="#">算命a><span class="hr">|span>
<a href="#">殉葬a>
p>
div>
<div class="r-el-top">
<a href="#">装修建材a>
div>
<div class="el-body">
<p>
<a href="#">装修a>
<a href="#">家装a><span class="hr">|span>
<a href="#">工装a><span class="hr">|span>
<a href="#">设计a><span class="hr">|span>
<a href="#">翻新a>
p>
<p>
<a href="#">建材a>
<a href="#">门窗a><span class="hr">|span>
<a href="#">家具a><span class="hr">|span>
<a href="#">窗帘a><span class="hr">|span>
<a href="#">地板a>
p>
<p>
<a href="#">服务a>
<a href="#">装修公司a><span class="hr">|span>
<a href="#">监工a><span class="hr">|span>
<a href="#">效果图a>
p>
div>
<div class="r-el-top">
<a href="#">婚庆摄影a>
div>
<div class="el-body">
<p>
<a href="#">婚庆a>
<a href="#">策划a><span class="hr">|span>
<a href="#">婚车a><span class="hr">|span>
<a href="#">主持a><span class="hr">|span>
<a href="#">鲜花a>
p>
<p>
<a href="#">摄影a>
<a href="#">婚纱a><span class="hr">|span>
<a href="#">儿童a><span class="hr">|span>
<a href="#">商业a><span class="hr">|span>
<a href="#">摄像a>
p>
div>
<div class="r-el-top">
<a href="#">旅游休闲a>
div>
<div class="el-body">
<p>
<a href="#">旅游a>
<a href="#">旅行社a><span class="hr">|span>
<a href="#">自助游a><span class="hr">|span>
<a href="#">郊区游a><span class="hr">|span>
<a href="#">农家乐a>
p>
<p>
<a href="#">国内旅游a>
<a href="#">出国旅游a><span class="hr">|span>
<a href="#">港澳游a><span class="hr">|span>
<a href="#">台湾游a><span class="hr">|span>
<a href="#">度假村a>
p>
<p>
<a href="#">餐饮美食a>
<a href="#">中餐a><span class="hr">|span>
<a href="#">西餐a><span class="hr">|span>
<a href="#">自助餐a><span class="hr">|span>
<a href="#">烧烤a>
p>
<p>
<a href="#">运动休闲a>
<a href="#">瑜伽a><span class="hr">|span>
<a href="#">健身a><span class="hr">|span>
<a href="#">游泳a><span class="hr">|span>
<a href="#">滑雪a>
p>
<p>
<a href="#">美容美发a>
<a href="#">美发a><span class="hr">|span>
<a href="#">瘦脸a><span class="hr">|span>
<a href="#">祛痘a><span class="hr">|span>
<a href="#">隆鼻a>
p>
div>
<div class="download-app">
<div style="position: absolute;left: 15px;">
<img src="./resources/images/app_ico.png" alt="">
下载赶集App,服务一键到家
div>
div>
div>
<div class="body-right-el4">
<div class="r-el-top">
<a href="#">本地商务服务a>
div>
<div class="el-body">
<p>
<a href="#">担保贷款a>
<a href="#">投资理财a><span class="hr">|span>
<a href="#">保险a><span class="hr">|span>
<a href="#">典当融资a>
p>
<p>
<a href="#">公司注册a>
<a href="#">专项审批a><span class="hr">|span>
<a href="#">专利注册a><span class="hr">|span>
<a href="#">企业变更a>
p>
<p>
<a href="#">网络建站a>
<a href="#">网络维护a><span class="hr">|span>
<a href="#">网站优化a><span class="hr">|span>
<a href="#">服务器a>
p>
<p>
<a href="#">设计策划a>
<a href="#">礼仪庆典a><span class="hr">|span>
<a href="#">展览会展a><span class="hr">|span>
<a href="#">喷绘招牌a>
p>
<p>
<a href="#">律师a>
<a href="#">翻译a><span class="hr">|span>
<a href="#">会计a><span class="hr">|span>
<a href="#">app开发a>
p>
<p>
<a href="#">设备维修a>
<a href="#">设备租赁a><span class="hr">|span>
<a href="#">食品批发a><span class="hr">|span>
<a href="#">节日礼品a>
p>
<p>
<a href="#">印刷a>
<a href="#">礼品定制a><span class="hr">|span>
<a href="#">资质认证a><span class="hr">|span>
<a href="#">网站推广a>
p>
div>
div>
<div class="body-right-el5">
<div class="r-el-top">
<a href="#">教育培训a>
div>
<div class="el-body">
<p>
<a href="#">特长爱好a>
<a href="#">舞蹈a><span class="hr">|span>
<a href="#">乐器a><span class="hr">|span>
<a href="#">书画a><span class="hr">|span>
<a href="#">声乐a>
p>
<p>
<a href="#">职业培训a>
<a href="#">会计a><span class="hr">|span>
<a href="#">设计a><span class="hr">|span>
<a href="#">技工a><span class="hr">|span>
<a href="#">厨师a>
p>
<p>
<a href="#">家教a>
<a href="#">小学a><span class="hr">|span>
<a href="#">初中a><span class="hr">|span>
<a href="#">高中a><span class="hr">|span>
<a href="#">奥数a>
p>
<p>
<a href="#">育儿a>
<a href="#">托管a><span class="hr">|span>
<a href="#">亲子a><span class="hr">|span>
<a href="#">智力开发a><span class="hr">|span>
<a href="#">学前教育a>
p>
<p>
<a href="#">留学a>
<a href="#">日本a><span class="hr">|span>
<a href="#">美国a><span class="hr">|span>
<a href="#">加拿大a><span class="hr">|span>
<a href="#">新加坡a>
p>
<p>
<a href="#">IT培训a>
<a href="#">网站设计a><span class="hr">|span>
<a href="#">软件开发a><span class="hr">|span>
<a href="#">思科认证a>
p>
<p>
<a href="#">高等教育a>
<a href="#">考研培训a><span class="hr">|span>
<a href="#">在职研究生a><span class="hr">|span>
<a href="#">MBAa>
p>
<p>
<a href="#">其他课程a>
<a href="#">股票期货a><span class="hr">|span>
<a href="#">拓展培训a>
p>
div>
div>
div>
div>
<div class="footer">
<div class="footer-el1">
<div class="r-el-top">
<a class="no-change">赶集招标a>
<a class="no-change">生活助手a>
<a class="no-change">应用中心a>
div>
<div class="footer-el1-body">
<ul>
<li>
<img src="./resources/images/gjbbs_ico_1.png" alt=""><br/>
<a href="#">家庭保洁a>
li>
<li>
<img src="./resources/images/gjbbs_ico_2.png" alt=""><br/>
<a href="#">企业保洁a>
li>
<li>
<img src="./resources/images/gjbbs_ico_3.png" alt=""><br/>
<a href="#">育儿嫂a>
li>
<li>
<img src="./resources/images/gjbbs_ico_4.png" alt=""><br/>
<a href="#">月嫂a>
li>
<li>
<img src="./resources/images/gjbbs_ico_5.png" alt=""><br/>
<a href="#">保姆a>
li>
<li>
<img src="./resources/images/gjbbs_ico_6.png" alt=""><br/>
<a href="#">搬家a>
li>
<li>
<img src="./resources/images/gjbbs_ico_16.png" alt=""><br/>
<a href="#">装修装饰a>
li>
<li>
<img src="./resources/images/gjbbs_ico_17.png" alt=""><br/>
<a href="#">租车服务a>
li>
<li>
<img src="./resources/images/gjbbs_ico_18.png" alt=""><br/>
<a href="#">担保贷款a>
li>
<li>
<img src="./resources/images/gjbbs_ico_19.png" alt=""><br/>
<a href="#">物流货运a>
li>
<li>
<img src="./resources/images/gjbbs_ico_20.png" alt=""><br/>
<a href="#">网站建设a>
li>
<li>
<img src="./resources/images/gjbbs_ico_21.png" alt=""><br/>
<a href="#">工商注册a>
li>
ul>
<ul>
<li>
<img src="./resources/images/gjbbs_ico_7.png" alt=""><br/>
<a href="#">天气预报a>
li>
<li>
<img src="./resources/images/gjbbs_ico_8.png" alt=""><br/>
<a href="#">快递查询a>
li>
<li>
<img src="./resources/images/gjbbs_ico_9.png" alt=""><br/>
<a href="#">手机充值a>
li>
<li>
<img src="./resources/images/gjbbs_ico_10.png" alt=""><br/>
<a href="#">商务租车a>
li>
<li>
<img src="./resources/images/gjbbs_ico_11.png" alt=""><br/>
<a href="#">火车票a>
li>
<li>
<img src="./resources/images/gjbbs_ico_22.png" alt=""><br/>
<a href="#">日历a>
li>
<li>
<img src="./resources/images/gjbbs_ico_23.png" alt=""><br/>
<a href="#">水电煤a>
li>
<li>
<img src="./resources/images/gjbbs_ico_24.png" alt=""><br/>
<a href="#">在线地图a>
li>
<li>
<img src="./resources/images/gjbbs_ico_25.png" alt=""><br/>
<a href="#">查违章a>
li>
<li>
<img src="./resources/images/gjbbs_ico_26.png" alt=""><br/>
<a href="#">外卖订餐a>
li>
ul>
<ul>
<li>
<img src="./resources/images/gjbbs_ico_12.png" alt=""><br/>
<a href="#">赶集网a>
li>
<li>
<img src="./resources/images/gjbbs_ico_13.png" alt=""><br/>
<a href="#">招财猫直聘a>
li>
<li>
<img src="./resources/images/gjbbs_ico_14.png" alt=""><br/>
<a href="#">58到家a>
li>
<li>
<img src="./resources/images/gjbbs_ico_15.png" alt=""><br/>
<a href="#">转转a>
li>
<li>
<img src="./resources/images/gjbbs_ico_27.png" alt=""><br/>
<a href="#">中华英才a>
li>
<li>
<img src="./resources/images/gjbbs_ico_28.png" alt=""><br/>
<a href="#">瓜子二手车a>
li>
<li>
<img src="./resources/images/gjbbs_ico_29.png" alt=""><br/>
<a href="#">斗米兼职a>
li>
<li>
<img src="./resources/images/gjbbs_ico_30.png" alt=""><br/>
<a href="#">驾校一点通a>
li>
ul>
div>
div>
<div class="footer-el2">
<div class="footer-el2-line1">
<img src="./resources/images/footer-logo.png" alt="" class="footer-logo">
<div class="footer-grid">
<ul>
<li><a href="#">关于赶集a>li>
<li><a href="#">公司简介a>li>
<li><a href="#">企业文化a>li>
<li><a href="#">隐私政策a>li>
ul>
<ul>
<li><a href="#">网站合作a>li>
<li><a href="#">赶集推广a>li>
<li><a href="#">渠道招商a>li>
<li><a href="#">a>li>
ul>
<ul>
<li><a href="#">帮助中心a>li>
<li><a href="#">常见问题a>li>
<li><a href="#">求职指南a>li>
<li><a href="#">防骗指南a>li>
ul>
<ul>
<li><a class="no-underline">安全中心a>li>
<li><a href="#">账号登录a>li>
<li><a href="#">安全设置a>li>
<li><a href="#">手机号冒用a>li>
ul>
<ul>
<li><a class="no-underline">关注我们a>li>
<li><a href="#">新浪微博a>li>
<li><a href="#">官网微信a>li>
<li><a href="#">a>li>
ul>
div>
div>
<div class="left-fixed-footer">div>
<div class="bottom-fixed-footer">div>
<div class="footer-el2-line2">
<img src="./resources/images/footer-jgw-beian.png" alt="">
<a href="#">京公网备案信息:xxxxxxxxxxxxxxa>
<a href="#">京ICP证xxxxxx号a>
<a href="#">京ICP备xxxxxxxxa>
<a href="#">乙测资字xxxxxxxa>
<a href="#">人力资源服务许可证及备案凭证a>
<a href="#">违法信息举报xxxxxxxxxxa>
<a href="#">[email protected]a>
div>
div>
div>
body>
html>
window.onload = function() {
window.onscroll = function () {
if(document.documentElement.scrollTop >= 204){
document.querySelector('div.search-fixed').style.display = 'flex'
}else{
document.querySelector('div.search-fixed').style.display = 'none'
}
if (document.documentElement.scrollTop >= 450) {
document.querySelector('ul.return-top').style.display = 'block'
}else{
document.querySelector('ul.return-top').style.display = 'none'
}
}
/**
* 改变r-el1-top动图
*/
var body_right_el1_obj = document.querySelector('div.body-right-el1')
body_right_el1_obj.onmouseover = function(){
var r_el1_top_img_obj = document.querySelector('div.r-el1-top>img')
r_el1_top_img_obj.src = r_el1_top_img_obj.src.replace('mobile_ico.gif','mobile_ico_hover.gif')
}
body_right_el1_obj.onmouseleave = function(){
var r_el1_top_img_obj = document.querySelector('div.r-el1-top>img')
r_el1_top_img_obj.src = r_el1_top_img_obj.src.replace('mobile_ico_hover.gif','mobile_ico.gif')
}
/**
* 改变app_ico
*/
var download_app_obj = document.querySelectorAll('div.download-app')
download_app_obj.forEach( function(element, index) {
element.onmouseover = function () {
var img = element.querySelector('div>img')
img.src = img.src.replace('app_ico.png', 'app_hover_ico.png')
}
element.onmouseleave = function () {
var img = element.querySelector('div>img')
img.src = img.src.replace('app_hover_ico.png', 'app_ico.png')
}
});
/**
* 处理点按切换轮播
*/
var body_right_el1_obj = document.querySelector('div.body-right-el1')
var r_el1_scroll_pre = body_right_el1_obj.querySelector('span.pre')
var r_el1_scroll_next = body_right_el1_obj.querySelector('span.next')
r_el1_scroll_pre.onclick = function () {
var r_el1_scroll_obj = document.querySelector('div.r-el1-scroll')
//把r_el_scroll_obj的最后一个元素拿到最前面
element4 = r_el1_scroll_obj.querySelector('div:nth-child(4)')
r_el1_scroll_obj.removeChild(element4)
r_el1_scroll_obj.prepend(element4)
}
r_el1_scroll_next.onclick = function () {
var r_el1_scroll_obj = document.querySelector('div.r-el1-scroll')
var r_el1_scroll_pre = body_right_el1_obj.querySelector('span.pre')
var r_el1_scroll_next = body_right_el1_obj.querySelector('span.next')
//把r_el_scroll_obj的第一个元素拿到最后面
element1 = r_el1_scroll_obj.querySelector('div:nth-child(1)')
r_el1_scroll_obj.removeChild(element1)
r_el1_scroll_obj.append(element1)
}
/**
* 处理点按向左向右切换图片
*/
//获取整体元素对象
var body_right_el2_obj = document.querySelector('div.body-right-el2')
//获得按钮对象
var r_el2_scroll_pre = body_right_el2_obj.querySelector('span.pre')
var r_el2_scroll_next = body_right_el2_obj.querySelector('span.next')
//获取page对象的页码图片
var page_obj_img_arr = body_right_el2_obj.querySelectorAll('ul.page>li.page-item>img')
//定义全局变量
var data_role_pre,data_role_next
//上一个 绑定点击事件
r_el2_scroll_pre.onclick = function () {
//获取数据
data_role_pre = r_el2_scroll_pre.getAttribute('data-role')
data_role_next = r_el2_scroll_next.getAttribute('data-role')
//翻到上一个
if (data_role_pre > 0) {
var el2_body = document.querySelector('div.el-body.long-pic')
el2_body.style.transform = 'translateX(' + -62*(data_role_pre-1) + 'px)'
//更新按钮属性数据
r_el2_scroll_pre.setAttribute('data-role', parseInt(data_role_pre, 10) - 1)
r_el2_scroll_next.setAttribute('data-role', parseInt(data_role_next, 10) - 1)
}
//第一页全部展示 要切到第一页的样式
if(data_role_pre <= 1) {
page_obj_img_arr[0].src = './resources/images/index_green_ico.png'
page_obj_img_arr[1].src = './resources/images/index_white_ico.png'
}
if (data_role_pre < 1) {
//禁用pre
if(!r_el2_scroll_pre.classList.contains('nohover')){
r_el2_scroll_pre.classList += ' nohover'
}
}
//启用next
if (r_el2_scroll_next.classList.contains('nohover')) {
r_el2_scroll_next.classList = 'next'
}
}
//下一个 绑定点击事件
r_el2_scroll_next.onclick = function () {
//获取数据
data_role_pre = r_el2_scroll_pre.getAttribute('data-role')
data_role_next = r_el2_scroll_next.getAttribute('data-role')
//翻到下一个
if(data_role_next < 6){
var el2_body = document.querySelector('div.el-body.long-pic')
el2_body.style.transform = 'translateX('+ -62*data_role_next +'px)'
//更新按钮属性数据
r_el2_scroll_next.setAttribute('data-role', parseInt(data_role_next, 10) + 1)
r_el2_scroll_pre.setAttribute('data-role', parseInt(data_role_pre, 10) + 1)
}
//第一页展示不全或未 要切到第二页的样式
if(data_role_next >= 1) {
page_obj_img_arr[0].src = './resources/images/index_white_ico.png'
page_obj_img_arr[1].src = './resources/images/index_green_ico.png'
}
if (data_role_next > 5) {
//禁用next
if(!r_el2_scroll_next.classList.contains('nohover')){
r_el2_scroll_next.classList += ' nohover'
}
}
//启用pre
if (r_el2_scroll_pre.classList.contains('nohover')) {
r_el2_scroll_pre.classList = 'pre'
}
}
/**
* 改变sidebar上的样式
*/
var right_side_bar_obj = document.querySelector('div.right-side-bar')
var sideBar_ico_1_obj = right_side_bar_obj.querySelector('ul>li:nth-child(1)')
sideBar_ico_1_obj.onmouseover = function () {
images = sideBar_ico_1_obj.querySelector('img')
images.src = images.src.replace('normal', 'active')
}
sideBar_ico_1_obj.onmouseleave = function () {
images = sideBar_ico_1_obj.querySelector('img')
images.src = images.src.replace('active', 'normal')
}
var sideBar_ico_2_obj = right_side_bar_obj.querySelector('ul>li.app')
sideBar_ico_2_obj.onmouseover = function () {
images = sideBar_ico_2_obj.querySelector('img')
images.src = images.src.replace('normal', 'active')
}
sideBar_ico_2_obj.onmouseleave = function () {
images = sideBar_ico_2_obj.querySelector('img')
images.src = images.src.replace('active', 'normal')
}
var sideBar_ico_3_obj = right_side_bar_obj.querySelector('ul.return-top')
sideBar_ico_3_obj.onmouseover = function () {
images = sideBar_ico_3_obj.querySelector('img')
images.src = images.src.replace('normal', 'active')
}
sideBar_ico_3_obj.onmouseleave = function () {
images = sideBar_ico_3_obj.querySelector('img')
images.src = images.src.replace('active', 'normal')
}
/**
* 底部点击弹出和收回
*/
var bottom_fixed_footer_obj = document.querySelector('div.bottom-fixed-footer')
var left_fixed_footer_obj = document.querySelector('div.left-fixed-footer')
bottom_fixed_footer_obj.onclick = function () {
bottom_fixed_footer_obj.style.transform = 'translateX(-100vw)'
bottom_fixed_footer_obj.style.transitionDuration = '.5s'
left_fixed_footer_obj.style.transitionDelay = '.5s'
left_fixed_footer_obj.style.transform = 'translateX(0)'
left_fixed_footer_obj.style.transitionDuration = '.5s'
}
left_fixed_footer_obj.onclick = function () {
left_fixed_footer_obj.style.transform = 'translateX(-100px)'
left_fixed_footer_obj.style.transitionDuration = '.5s'
bottom_fixed_footer_obj.style.transitionDelay = '.5s'
bottom_fixed_footer_obj.style.transform = 'translateX(0)'
bottom_fixed_footer_obj.style.transitionDuration = '.5s'
}
}
css实现下拉菜单
只用CSS的轮播图?快来看一看!
原生js获取css伪类元素并设置属性
模仿一个球落地效果,最终停在地面上(仿真效果,CSS实现)
让一个小球无限的弹弹弹~(CSS实现球无限弹动)
如果有一屏幕的爱心,你愿意送给谁?(简单实现原生js、css随机生成521个心)