/*布局*/ body{ /*font:14px "宋体",Arial,Helvetica,sans-serif;*/ /*font-family: FZY3JW--GB1-0;*/ font-family: '思源宋体 CN Medium'; /*这里是说明调用来的字体名字*/ src: url('../../../../data/font/SourceHanSerifCN-Medium.otf'); /*这里是字体文件路径*/ color:#A1A1A1; margin:0; padding:0; /* background-image:linear-gradient(to top,#282828 0,#101010 100%); */ min-width: 1280px; } ul,li,p,h1,h2,h3,h4,h5,h6,dl,dd{ margin:0; padding:0; list-style:none; } .lf{float:left;} .rt{float:right;} .clear{clear:both;} img{ /*width:1920px;*/ /*height:568px;*/ vertical-align:bottom; } a{ color:#9A9A96; text-decoration:none!important; } a:hover{ color:#D9D9D9; text-decoration:none!important; } /****整体布局****/ /*header�����Ѿ�����*/ .img{ width: 100%; /*max-height: 544px;*/ height: auto; } .img img{ /*width: 100%;*/ /*height: 544px;*/ height: auto; width: 100%; max-width: 100%; max-height: 100%; } .company_text{ width: 80%; height: 30px; /*background: yellow;*/ margin-left: 10%; margin-top: 60px; font-size: 18px; letter-spacing: 3px; } .company_text p{ font-size: 24px; } .company_dynamics{ width: 80%; height: 39px; margin: 30px auto; border-bottom: 1px solid #DDDBDB; } .dynamics{ width: 100px; height: 38px; line-height: 35px; text-align: center; font-size: 24px!important; font-weight: 500; border-bottom: 2px solid #989EEF; /*background: lightcoral;*/ } .dynamics_img{ width: 80%; height: 100%; margin: 0 auto; /*background: yellow;*/ overflow: hidden; display: flex; display: -webkit-flex; /*justify-content: space-between;*/ justify-content: flex-start; flex-wrap:wrap; } .dynamics_img div{ width: 22%; height: 30%; float: left; /*position: relative;*/ /*background: red;*/ margin-bottom: 4%; margin-right: 4%; } .dynamics_img div:nth-child(4n){ margin-right: 0; } .dynamics_img div img{ width: 100%; max-width: 100%; max-height: 100%; border-radius: 8px; overflow: hidden; position: relative; z-index: 2; } .dynamics_img div p{ width: 100%; height: 38px; line-height: 34px; /*position: absolute;*/ /*top: 90%;*/ /*left: 0;*/ border-radius: 0 0 8px 8px; display: none; transition: all 2s linear; color: #fff; font-weight: bold; font-size: 14px; text-align: center; background: rgba(255,255,255,0.3); letter-spacing: 2px; position: relative; z-index: 5; margin-top: -38px; } .dynamics_img div:hover p{ display: block; transition: all 2s linear; } .num{ width:100%; height: 30px; /*background: orangered;*/ margin: 40px auto } .num_btn{ width: 360px; height: 30px; /*background: #000;*/ margin: 0 auto; } .num_contain{ width:80%; height: 30px; /*background: aqua;*/ margin: 0 auto; } .num_contain>div{ width: 350px; height: 30px; /*background: red;*/ margin: 0 auto; } .num li{ float: left; } .num li a{ display: block; width: 30px; height: 30px; line-height: 30px; /*background: #000;*/ margin: auto 10px; text-align: center; /*background: #F8F9FD;*/ } .num li:nth-child(2) a{ color: #757DEA; font-size: 24px; }