发表于: 2019-11-21 22:35:50

1 1007


今天完成的事情:修改前面任务的bug 
明天计划的事情、;继续任务
遇到的问题:修改尺寸之后的页面调整起来异常麻烦,但是还是严格按照ui图来修改
收获:重构了任务八的部分代码,效果如图

页面变得很大,具体代码如下

body{
    margin0;
    padding0;
    width1920px;
}
.d1{
    displayflex;
    justify-contentspace-between;
    padding0 360px 0 360px;
    height40px;
    align-itemscenter;
}
.x1{
    displaynone;
}
.box2{
    background#29b078;
     
}
.d2{
    padding0 360px;
    background-color#29b078;
    displayflex;
    flex-directionrow-reverse;
    align-itemscenter;
    height100px;
}
.rr{
    positionabsolute;
    left0px;
    top65px;
    margin-left360px;
}
.d2 a{
    displayinline-block;
    line-height100px;
    width100px;
    text-aligncenter;
    positionrelative;
}
#menu{
    displaynone;
}
#menu1{
    displaynone;
    margin0;
}
.y1{
    height2px;
    width100%;
    positionabsolute;
    background-colorwhite;
    bottom0;
    visibility:hidden;
}
.y2{
    height2px;
    width100%;
    positionabsolute;
    background-colorwhite;
    bottom0;
    visibility:hidden;
}
.y3{
    height2px;
    width100%;
    positionabsolute;
    background-colorwhite;
    bottom0;
    visibility:hidden;
}
.y4{
    height2px;
    width100%;
    positionabsolute;
    background-colorwhite;
    bottom0;
    visibility:hidden;
}
.d2 a:link {   
    font-size12px;   
    color#fff;   
    text-decorationnone;   
}   
.d2 a:visited {   
    font-size12px;   
    color#fff;   
    text-decorationnone;   
}   
.d2 a:hover {   
    font-size12px;   
    color#fff;   
    text-decorationnone;   
}   
.a1:hover .y1{
    visibilityvisible;
}
.a2:hover .y2{
    visibilityvisible;
}
.a3:hover .y3{
    visibilityvisible;
}
.a4:hover .y4{
    visibilityvisible;
}

.d3{
    displayflex;
    justify-content:center;
    align-itemscenter;

}
.item img{
    width100%;
}

后面的部分基本把尺寸全改了,响应式方面也出了较大问题,一并做了修改,修改部分如下

body{
    width100%;
}

.d1{
    displaynone;
}
.x1{
    displayblock;
    cursorpointer;
    height40px;
    line-height40px;
}
.d2{
    displaynone;
    height160px;
    padding0;
}
.d2 a{
    width100%;
    displayblock;
    margin0 auto;
    height40px;
    line-height40px;
}

#menu1{
    height50px;
    width50px;
    backgroundurl(./8/QQ20191113144045.png);
    displayblock;
    cursorpointer;
}
#menu:checked ~ .d2{
    displayblock;
}
.m1{
    displayflex;
    flex-directionrow-reverse;
}
.d6{
    height800px;
    flex-directioncolumn;
    align-itemscenter;
}
.d61{
    width40%;
}
.dd6{
    flex-directioncolumn;
    align-itemscenter;
    height500px;
    bordernone;
    width100%;
}
.d8{
    flex-directioncolumn;
    align-itemscenter;
    height350px;
    justify-contentspace-around;
}
.d11{
    flex-directioncolumn;
    align-itemscenter;
}
.d111{
    margin-right0;
    width80%;
    margin-bottom10px;
}
.d12{
    displaynone;
}
.d14{
    flex-directioncolumn;
    align-itemscenter;
    width100%;
    height875px;
}
.d14 img{
   
}
.db{
    flex-directioncolumn;
    padding20px 0 0 10px;
    height100%;
}
.zb{
    padding-left0px;
}
.db .yb p{
    text-alignleft!important;
}
.dbz{
    padding0;
}
.c0{
    height1000px;
}
.t1{
    height301.94px;
}
.b2{
    padding-right0px;
}
.d62{
    padding55px 0 0 0;
}
.d4{
    padding0;
}
.d4 .l1{
    padding-left0px;
    flex-wrapwrap;
}
.d4 .l1 li{
    list-stylenone;
    padding-right4px;
    width20%;
    text-aligncenter;
}
.rr{
    positionabsolute;
    left0px;
    top40px;
    margin-left0px;
}
.n1{
    font-size14px;
    font-family:"SimSun";
    margin-bottom0;
}
.n2{
    font-size20px;
    font-family:"SimSun";
}
.n3{
    font-size14px;
    font-weight900;
    letter-spacing2px;  
}
.zj{
    positionrelative;
    right0;
}
.g2{
    height100%;
}
.container-fluid{
    padding10vw;
}

基本重新写了响应式,后面的部分如图

为合作伙伴图片添加了阴影特效,明天再继续改剩余的部分


返回列表 返回列表
评论

    分享到