@charset"utf-8"; //娣峰悎 @rel:relative; @abs:absolute; @fix:fixed; .border(top,@w:1px,@c:#f5f5f5){ border-top: @w solid @c; } .border(bottom,@w:1px,@c:#f5f5f5){ border-bottom: @w solid @c; } .border(left,@w:1px,@c:#f5f5f5){ border-left: @w solid @c; } .border(right,@w:1px,@c:#f5f5f5){ border-right: @w solid @c; } .bor(@w:.05rem,@c:#f5f5f5){ border: @w solid @c; } .border_radius(@ra:50%){ -webkit-border-radius: @ra; -moz-border-radius: @ra; border-radius: @ra; } .bc(@c:#fff){ background-color: @c; } .img(@bp:center,@bs:cover,@br:no-repeat){ background-position: @bp; background-size: @bs; background-repeat: @br; } .tran(@s:.5s){ -webkit-transition:all @s linear; -moz-transition:all @s linear; -o-transition:all @s linear; transition:all @s linear; } body{min-width: 1280px;} .flex(@fl:1,@fld:column,@al:center,@ju:center){ display: flex; flex: @fl; flex-direction: @fld; align-content: @al; justify-content: @ju; } .pos(@po){ position:@po; } .tl(@t:0px,@l:0px){ top: @t; left: @l; } .br(@b:0,@r:0){ bottom: @b; right: @r; } .c(@c:#333){ color: @c; } .txt(@ws:nowrap,@tf:ellipsis,@ov:hidden){ white-space: @ws; text-overflow: @tf; overflow: @ov; } .fl(@fl:left){ float: @fl; } .po(@po:relative,@vo:hidden){ position: @po; overflow: @vo; } .dis(@dis:block){ display: @dis; } .mar(@y:0,@x:auto){ margin: @y @x; } .pad(@y:0,@x:auto){ padding: @y @x; } //缂栧啓 //Head .header{ .bc(#8d000c); .c(#c7787f); font-size: 12px; height: 30px; line-height: 30px; a{ .dis(inline); padding: 0 10px; .c(#c7787f); } } .headBanner{ .pos(@rel); width: 100%; height: 210px; .bc(#ce1919); .img(center,contain); background-image: url(../img/headImg.jpg); .innerWidth{ .pos(@rel); } .text,.code{ .pos(@abs); } .text{ .dis(); .tl(45px); width: 355px; } .code{ top: 65px; right: 0; width: 120px; height: auto; img{ .dis(); .mar(); width: 90px; } p{ .c(#fff); font-size: 12px; line-height: 1; margin-top: 10px; text-align: center; font-family: "瀹嬩綋"; } } } //瀵艰埅 .nav{ width: 100%; .bc(); height: 60px; line-height: 60px; font-size: 16px; position: fixed; left: 0; top: 240px; z-index: 1111; text-align: center; box-shadow: 0 1px 10px rgba(144, 143, 143, 0.2); ul{ .dis(inline-block); width: auto; .mar(); height: 100%; overflow: hidden; li{ .fl(); .pad(0,40px); } } a{ .c(#444); &:hover{ .c(#ce1919); cursor: pointer; } } .active{ a{.c(#ce1919);} } } //搴曢儴 .footer{ height: 60px; text-align: center; .c(#ee0a02); line-height: 60px; font-size: 14px; .bc(#dedede); a{.c(#ee0a02);} } //鍏充簬鎴戜滑 .indexAbout{ margin-top: 60px; width: 100%; height: auto; min-height: 550px; .img(left,contain,repeat-x); background-image: url(../img/aboutBg.jpg); .border(bottom,1px,#d9dee5); &_tit{ padding: 40px 0 20px; height: auto; margin-bottom: 25px; text-align: center; .border(bottom,1px,#cfd8e5); .tit{ margin-bottom: 18px; color: #15408f; font-size: 36px; line-height: 46px; font-weight: bold; max-height: 90px; } .intro{ width: 935px; .mar(); .c(#444); font-size: 14px; line-height: 24px; max-height: 48px; } } &_swiper{ height: 320px; overflow: hidden; } .fr{ .dis(); width: 365px; margin-left: 25px; } .swiper-container{ .po(); height: 320px; .text{ padding:15px 25px 0 0; line-height: 28px; .c(#818181); font-size: 14px; max-height: 320px; overflow: hidden; } .tit{ margin-bottom: 15px; font-size: 24px; line-height: 36px; max-height: 72px; overflow: hidden; .c(#444); } } .img{ .fl(); margin-right: 25px; width: 485px; height: 320px; overflow: hidden; } .swiper-slide{ .bc(); } .swiper-pagination-bullet{ .bc()!important; } .swiper-pagination-bullets{ width: 485px !important; } .swiper-pagination-bullet-active{ .bc(#15408f)!important; } } //鍐呭 .indexCont{ a:hover{.c(#ce1919);} .bc(); margin-top: 45px; &_right{ .fl(right); width: 365px; margin-left:25px; height: auto; } &_imgHref{ .dis(); margin-bottom: 10px; width: 100%; height: auto; } &_po{ .po(); } .indexNew{ .fl(); width: 435px; height: 415px; margin-right: 20px; &:nth-child(even){ margin-right: 0; } &_tit{ .pos(@rel); width: 100%; height: 30px; line-height: 1; .c(#ce1919); font-size: 18px; font-weight: bold; .border(bottom,1px,#2968cc); margin-bottom: 20px; &:after{ content: ""; .pos(@abs); left: 0; bottom: -1px; width: 40px; height: 3px; .bc(#ce1919); } } .more{ .fl(right); .c(#ce1919); font-size: 14px; font-weight: normal; } &_item{ .dis(); .c(#333); width: 100%; height: 130px; margin-bottom: 5px; } .img{ .fl(); width: 190px; height: 100%; overflow: hidden; margin-right: 10px; } .text{ .po(); padding-top: 5px; h3{ font-size: 16px; line-height: 21px; max-height: 42px; overflow: hidden; } p{ line-height: 22px; .c(#818181); font-size: 14px; max-height: 66px; overflow: hidden; } } &_itemTwo{ .dis(); .pos(@rel); padding-left: 20px; height: 50px; line-height: 50px; .c(#444); cursor: pointer; font-size: 14px; .txt(); &:before{ content: ""; .pos(@abs); width: 4px; height: 4px; .border_radius(); .bc(#cacaca); .tl(50%); margin-top: -2px; } } } &_banner{ height: 120px; } &_show{ width: 100%; height: auto; padding-bottom: 75px; li{ .fl(); width: 410px; height: auto; margin-right: 25px; margin-top: 20px; &:nth-child(3n){margin-right: 0;} } } &_item{ .dis(); width: 100%; height: auto; .bc(#dedede); p{ height: 40px; text-align: center; .c(#ce1919); font-size: 14px; line-height: 40px; .txt(); } &:hover{ .bc(#feca38); } .tran(.3s); } .img{ width: 100%; height: 240px; overflow: hidden; } } //鏂伴椈鍒楄〃 .news{ &_titles{ .border(bottom,1px,#ccc); } &_ttl{ width: 160px; height: 60px; line-height: 60px; text-align: center; .dis(inline-block); font-size: 18px; .c(#818181); cursor: pointer; .pos(@rel); &:hover:after{ content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; .border(bottom,2px,#ce1919); .c(#ce1919); } } .active{ font-size: 20px; .c(#ce1919); &:after{ content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; .border(bottom,2px,#ce1919); .c(#ce1919); } } &_li{ .border(bottom,1px,#ccc); .dis(); padding-bottom: 32px; padding-top: 32px; &:last-child{ border-bottom: none; } &:hover{ .title{.c(#ce1919);} } } .img{ width: 260px; height: 176px; .fl(); margin-right: 15px; } &_liCon{ .po(); .title{ font-size: 22px; .c(#444); height: 50px; line-height: 50px; .txt(); } .text{ height: auto; .c(#818181); font-size:14px; line-height: 24px; max-height: 120px; } .date{ .c(#b0b0b0); line-height: 1.5; .txt(); } } //璇︽儏椤 &_Detail{ min-height: 800px; } &DetailTitle{ font-size: 30px; .c(#444); line-height: 40px; font-weight: bold; margin-bottom: 20px; } &DetailBottom{ .border(bottom,1px,#ccc); } &DetailDate{ line-height: 28px; .c(#848484); } &DetailContent{ padding: 25px 0; font-size: 16px; color: #444444; line-height: 32px; img{ .dis(); margin: 0 auto; width: auto; max-width: 100%; } } .back{ font-size: 16px; text-decoration:underline; :hover{ .c(#ce1919); } } } //鍒嗛〉 .pages{ margin-bottom: 20px; &_item{ .dis(); .fl(); height: 40px; text-align: center; line-height: 40px; padding: 0 15px; font-size: 14px; } .active{ font-weight: bold; .c(#ce1919); font-size: 14px; } input{ border: 1px solid #ddd; height: 25px; width: 40px; margin-top: 7px; margin-right: 10px; text-align: center; } } //鍏充簬鎴戜滑璇︽儏椤 .conts{ .bor(1px,#bbb); height: auto; margin-bottom: 50px; .menuList{ .fl(); width: 235px; height: auto; a{ .tran(.2s); .dis(); width: 100%; height: 50px; line-height: 50px; .border(bottom,1px,#bbb); text-align: center; } .tabTitle{ .bc(#ce1919); .c(#fff); .border(bottom,1px,#fff); } .active,a:hover{ .bc(#cfa95e); .c(#fff); .border(bottom,1px,#fff); } } .introCont{ height: auto; min-height: 800px; .po(); .border(left,1px,#bbb); padding: 45px; font-size: 14px; line-height: 2; } }