@import "common.less"; //banner .banner{ //border-top: 4px solid @96c549; } .sub-banner{ width: 100%; height: 150px; margin: 0px auto; background-size: 100% auto; background-repeat: no-repeat; background-position: top center; } #swiper-banner { margin: 0 auto; a{ display: block; width: 100%; height: 100%; text-decoration: none; .banner_img{ width: 100%; overflow: hidden; display: flex; justify-content: center; align-items: center; img { max-width: none; height: 210px; } } } .swiper-pagination{ bottom: 3px; } .swiper-pagination .swiper-pagination-bullet { -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; background: @white; opacity: 1; width: 10px; height: 10px; margin: 0 4px; } .swiper-pagination .swiper-pagination-bullet-active { background: @96c549 !important; border-radius: 50%; } @media (min-width: @min_width) { position: relative; a{ .banner_img{ width: 100%; overflow: hidden; display: flex; justify-content: center; align-items: center; img { max-width: none; height: 468px; } } .banner_txt { position: absolute; left: 0; right: 0; z-index: 1; bottom: 0; background-color: rgba(0,0,0,0.8); height: 68px; line-height: 68px; padding-left: calc(~"(100% - 1140px)/2"); span{ color: @white; font-size: 26px; } } } .swiper-pagination{ bottom: 22px; width: auto; left: auto; right: calc(~"(100% - 1140px)/2"); display: none; span:last-child{ margin-right: 0; } } .swiper-pagination .swiper-pagination-bullet{ margin: 0 8px; width: 13px; height: 13px; } } } .wrap{ .head{ margin: 0px auto; padding: 25px 0; a{ display: flex; justify-content: center; flex-flow: column; align-items: center; h4{ font-size: 20px; color: @black; line-height: 100%; margin: 0; font-weight: normal; } h3{ font-size: 20px; color: @96c549; line-height: 100%; margin: 12px 0 0 0; letter-spacing: 1px; font-weight: 200; } i{ width: 100%; height: 1px; display: block; margin: 12px 0 0 0; position: relative; background-color: #e4e4e4; &::after{ position: absolute; content: ""; top: -1px; left: calc(~"(50% - 40px)");; height: 3px; width: 80px; background-color: @96c549; } } } } @media (min-width: @min_width) { .head{ margin: 0px auto; padding: 40px 0 30px 0; a{ h3{ margin: 16px 0 0 0; } i{ margin: 14px 0 0 0; } } } } } .btn-wrap { position: relative; z-index: 1; // top: 530px; width: 100%; margin: 0 auto; .con { margin: 0 auto; display: flex; flex-flow: column; } .btn-con1 { height: 75px; color: #fff; display: flex; justify-content: center; align-items: center; overflow: hidden; padding: 0 15px; background-color: @96c549; h3{ margin: 0; font-size: 20px; line-height: 25px; font-weight: bold; a{ color: @white; text-decoration: none; } } ul { flex:1; height: 25px; margin: 0; margin-left: 9px; padding-left: 9px; overflow: hidden; border-left: 1px solid @white; li { line-height: 25px; font-size: 14px; list-style: none; a { text-decoration: none; color: @white; } i { color: @white; margin-left: 8px; font-family: Arial; font-style: normal; } } } } .btn-con2 { margin-top: 1px; height: 75px; padding: 0 15px; background: url("@{images}/index/search.png") center right no-repeat #1a7d38; display: flex; justify-content: flex-end; align-items: center; a{ display: flex; align-items: center; text-decoration: none; } img{ height: 50px; } span{ margin-left: 5px; margin-right: 30px; color: @white; font-size: 20px; font-weight: bold; } } @media (min-width: @min_width) { position: absolute; z-index: 1; top: 580px; .con { margin: 0 auto; display: flex; flex-flow: row; } .btn-con1{ height: 80px; flex:1; padding: 0 24px; h3{ font-size: 18px; line-height: 36px; } ul{ height:36px; line-height: 36px; margin-left: 19px; padding-left: 19px; li{ line-height: 36px; font-size: 16px; } } } .btn-con2{ height: 80px; margin-top: 0; padding: 0 26px; img{ height: 56px; } span{ margin-left: 14px; margin-right: 30px; color: @white; font-size: 24px; line-height: 24px; font-weight: bold; } } } } .hr{ position: relative; display: flex; justify-content: center; align-items: center; margin-top: 25px; &:after{ position: absolute; top: calc(~"50% - 0.5px"); left: 0; width: 100%; height: 1px; background-color: @e8e8ea; content: ''; z-index: -1; } img{ height: 40px; } @media (min-width: @min_width) { margin-top: 40px; img{ height: 45px; } } } .index-01{ .con{ padding: 0 15px; .l{ #swiper-news { margin: 0 auto; a{ width: 100%; height: 100%; text-decoration: none; display: flex; justify-content: center; align-items: center; overflow: hidden; .img{ display: flex; justify-content: center; align-items: center; width: 100%; img { max-width: none; min-width: 100%; max-height: 215px; display: block; } } .txt{ position: absolute; height: 50px; left: 0; right: 0; bottom: 0; padding: 10px; z-index: 1; background-color: fade(@black,70%); h3{ font-size: 15px; line-height: 15px; margin: 0; padding: 0; font-weight: normal; color: @white; text-align: center; } } } .swiper-pagination{ bottom: 0px; } .swiper-pagination .swiper-pagination-bullet { -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; background: @white; opacity: 1; width: 10px; height: 10px; margin: 0 4px; } .swiper-pagination .swiper-pagination-bullet-active { background: @96c549 !important; width: 10px; border-radius: 50%; } @media (min-width: @min_width) { position: relative; a{ .img{ display: flex; justify-content: center; align-items: center; img { max-width: none; min-width: 100%; max-height: 338px; display: block; } } } .swiper-pagination{ bottom: 2px; } .swiper-pagination .swiper-pagination-bullet{ width: 10px; height: 10px; margin: 0 5px; } } } } .r{ ul{ padding: 5px 0; margin: 0; li{ line-height: 35px; list-style: none; height: 35px; position: relative; padding-left: 16px; display: flex; justify-content: flex-start; align-items: center; &:before{ position: absolute; content: ""; display: inline-block; width: 4px; height: 4px; left: 0; top: calc(~"50% - 3px"); border-radius: 50%; background-color: @96c549; } a{ color: @black; font-size: 15px; font-weight: @font_weight; text-overflow: ellipsis; -moz-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: block; -webkit-box-orient: vertical; text-decoration: none; } span{ color: @c7c7c7; font-size: 14px; margin-left: 25px; min-width: 140px; } img{ margin-left: 23px; width: 15px; } &:hover{ a{ color: @96c549; } } } } } } @media (max-width: 767px) { .con{ .r{ ul{ li{ &:nth-last-child(1),&:nth-last-child(2){ display: none; } } } } } } @media (min-width: @min_width) { margin-top: 50px; .con{ display: flex; justify-content: space-between; align-items: center; .l{ width: 470px; height: 294px; display: flex; justify-content: center; align-items: center; } .r{ width: calc(~"100% - 500px"); margin-left: 30px; ul{ padding: 0; li{ padding-left: 22px; height: 36px; line-height: 36px; display: flex; align-items: center; position: relative; &:after{ position: absolute; content: ""; left: 0; bottom: 0; right: 0; height: 1px; background-color: #f3f3f3; } a{ color: @gray3a; } span{ color: @gray3a; font-size: 15px; min-width: 90px; } } } } } } } .index-service{ margin-top: 20px; &>div{ } .l{ } .r{ margin: 0 15px; .li{ background-color: @96c549; height: 112px; padding: 0 15px; display: flex; align-items: center; img{ height: 60px; margin-left: 30px; } a{ text-decoration: none; color: @white; display: flex; flex-flow: column; align-items: flex-start; margin-left: 18px; width: 100%; } h3{ font-size: 21px; line-height: 21px; font-weight: normal; margin: 0; margin-top: 10px; } span{ display: block; font-size: 10px; line-height: 10px; margin-top: 9px; } i{ margin-top: 3px; font-family: '宋体'; font-size: 13px; display: block; font-style: normal; } } .li:last-child{ margin-top: 7px; } } @media (min-width: @min_width) { background: linear-gradient(to right, #fff 50%,#8fc13c 50%); margin-top: 50px; &>div{ display: flex; background: linear-gradient(to right, #abdc66 20%,#8fc13c 50%); position: relative; .index-service-bg{ background: url("@{images}/index/service_bg_01.png") center right; content: ""; left: 0; top:0; height: 160px; position: absolute; width: 0; } } .l{ display: flex; flex-flow: column; background-image: url("@{images}/index/service_bg_02.png"); background-position: center right; background-repeat: no-repeat; width: 358px; justify-content: center; padding: 0 46px; h2{ font-size: 33px; color: @white; margin: 0; margin-bottom: 5px; } p{ font-size: 15px; color: @white; line-height: 25px; margin: 0; } } .r{ display: flex; flex:1; margin: 0; .li{ background: none; height: 160px; flex: 1; img{ height: 80px; margin-left: 0; } a{ margin-left: 24px; justify-content: space-between; } h3{ font-size: 28px; line-height: 28px; margin-top: 15px; } span{ font-size: 14px; line-height: 14px; margin-top: 11px; } i{ margin-top: 7px; font-size: 18px; } } .li:last-child{ margin-top: 0; } } } @media (min-width: 1230px) { .r{ .li{ img{ margin-left: 25px; } } } } } .video-wrap{ .con{ padding-bottom: 9px; #swiper-video{ .swiper-slide{ width: 64%; margin-right: 25px; a{ text-decoration: none; .img{ display: flex; justify-content: center; align-items: center; position: relative; .transparent { position: absolute; left: 0; top: 0; bottom: 0; right: 0; background-color: fade(@black,30%); z-index: 1; transition: all .6s ease 0s; opacity: 1; } .icon { position: absolute; left: calc(~"50% - 23px"); top: calc(~"50% - 23px"); width: 46px; height: 46px; background: url("@{images}common/videos02.png") 0px 0px no-repeat; z-index: 2; transition: all .6s ease 0s; opacity: 1; } img{ height: 150px; min-width: 100%; max-width: none; transform: translateZ(0px); transition: transform 0.2s ease 0s; } } .text{ display: flex; justify-content: center; align-items: center; padding: 22px 0 0 0; img{ height: 12px; width: 20px; } h1{ margin: 0; margin-left: 10px; color: @0e0e0d; font-size: 16px; line-height: 16px; font-weight: normal; transition: all .3s; max-width: 75%; } } &:hover,&:active{ .img{ .transparent { opacity: 0; } .icon { opacity: 0; } img{ transform: scale(1.1, 1.1); transition: transform 0.6s ease 0s; } } .text{ h1{ color: @96c549; } } } } } } } @media (min-width: @min_width) { background-color: #f3f3f3; .maxW1140{ } .con{ padding-bottom: 0; #swiper-video{ .swiper-slide{ width: 253px; margin-right: 42px; &:last-child{ margin-right: 0; } a{ .img{ border: 3px solid @white; img{ height: 153px; } } .text{ padding: 13px 0; img{ height: 9px; width: 15px; } h1{ margin: 0; margin-left: 12px; color: @0e0e0d; font-size: 14px; line-height: 14px; } } } } } } } @media screen and (min-width:@min_width) and (max-width:1024px) { .con{ #swiper-video{ .swiper-slide{ width: 195px; margin-right: 10px; a{ .img{ img{ height: 110px; } } } } } } } } .index-02{ .head{ ul{ display: flex; margin: 0; justify-content: center; align-items: center; padding: 0 15px; border-bottom: 1px solid #e4e4e4; li{ list-style: none; position: relative; padding-bottom: 15px; a{ font-size: 20px; color:#020202; } margin-left: 32px; &:first-child::after{ position: absolute; content: ""; bottom: -2px; left: 0; right: 0; height: 3px; background-color: @96c549; } } li:hover{ &::after{ position: absolute; content: ""; bottom: -2px; left: 0; right: 0; height: 3px; background-color: @96c549; } } } } .con{ padding: 0; .swiper-slide{ padding: 0 15px; a{ text-decoration: none; .img2{ margin: 0 auto; border:1px solid @96c549; border-radius: 50%; height: 155px; width: 155px; display: flex; justify-content: center; align-items: center; img{ height: 150px; width: 150px; border-radius: 50%; } } .txt{ display: flex; justify-content: center; align-items: center; flex-flow: column; h3{ margin: 20px 0 0 0; font-size: 16px; color: @020202; line-height: 100%; } p{ margin: 18px 0 0 0; font-size: 14px; color: fade(@020202,70%); line-height: 20px; text-align: center; min-height: 40px; } .views{ margin-top: 15px; border-radius: 3px; background-color: @96c549; color: @white; font-size: 14px; padding: 0 23px; line-height: 35px; height: 35px; text-align: center; } } } } .swiper-button-next,.swiper-button-prev{ display: none; } } @media (min-width: @min_width) { .con { padding: 0; margin-top: 18px; .maxW1140{ position: relative; } .swiper-container{ max-width: 1008px; } .swiper-slide { padding: 0 28px; a { text-decoration: none; .img2{ border:1px solid @c7c7cf; transition: all .3s ease-in; } .txt{ p{ margin: 18px 0 0 0; line-height: 21px; } .views{ padding: 0 24px; background:none; color: @c7c7cf; border: 1px solid @c7c7cf; transition: all .3s ease-in; } } &:hover{ .img2{ border:1px solid @96c549; } .txt{ .views{ background-color: @96c549; color: @white; border: 1px solid @96c549; } } } } } .swiper-button-next{ display: block; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23e8e8ea'%2F%3E%3C%2Fsvg%3E"); top: 77px; } .swiper-button-prev{ display: block; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23e8e8ea'%2F%3E%3C%2Fsvg%3E"); top: 77px; } } } } .index-03{ .l{ .con{ margin: 0 15px; ul{ padding: 5px 0; margin: 0; li{ line-height: 35px; list-style: none; height: 35px; position: relative; padding-left: 16px; display: flex; justify-content: flex-start; align-items: center; &:before{ position: absolute; content: ""; display: inline-block; width: 4px; height: 4px; left: 0; top: calc(~"50% - 3px"); border-radius: 50%; background-color: @96c549; } a{ color: @black; font-size: 15px; font-weight: @font_weight; text-overflow: ellipsis; -moz-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: block; -webkit-box-orient: vertical; text-decoration: none; } span{ color: @c7c7c7; font-size: 14px; margin-left: 25px; min-width: 140px; } img{ margin-left: 23px; width: 15px; } &:hover{ a{ color: @96c549; } } } } } } .r{ .con{ margin: 0 15px; position: relative; .swiper-pagination{ bottom: 3px; } .swiper-pagination .swiper-pagination-bullet { -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; background: @white; opacity: 1; width: 10px; height: 10px; margin: 0 4px; } .swiper-pagination .swiper-pagination-bullet-active { background: #8cc63e !important; border-radius: 50%; } .swiper-slide{ a{ text-decoration: none; .img{ display: flex; justify-content: center; align-items: center; img{ height: 195px; min-width: 100%; max-width: none; width: auto; } } .text{ text-align: center; h1{ text-align: center; line-height: 50px; font-size: 20px; color: #020202; margin: 0; } } } } } } @media (min-width: @min_width) { background-color: #f2f8e7; margin-top: 40px; position: relative; &::after{ position: absolute; left: 0; right:0; height:18px; content:""; bottom: -18px; background-color: #f2f8e7; } &>div{ display: flex; justify-content: space-between; } .l{ width: 390px; .head{ a{ align-items: flex-start; h4{ margin-left: 46px; } i{ &::after{ left: 46px; } } h3{ margin-left: 46px; } } } .con{ margin: 0 15px 0 44px; ul{ padding: 0; } } } .r{ flex: 1; overflow: hidden; margin-left: 46px; .head{ a{ align-items: flex-start; h4{ margin-left: 46px; } i{ &::after{ left: 46px; } } h3{ margin-left: 46px; } } } .con{ margin: 0 0 0 44px; .swiper-slide{ a{ .img{ img{ height: 183px; min-width: 100%; max-width: none; width: auto; } } .text{ h1{ line-height: 46px; font-size: 16px; } } } } } } } } .box{ background-color: @white; margin: 7px 15px; @media only screen and (min-width: 1230px) { margin: 15px auto; } } .more{ padding: 15px; padding-top: 0; text-align: center; a{ display: flex; justify-content: center; align-items: center; height: 50px; background-color: @96c549; font-size: 20px; line-height: 20px; color: white; } } //pc版栏目 .sub_pc_title{ @media (min-width: @min_width) { //border-top: 5px solid @96c549; border-bottom: 1px solid @e7e7e7; &>div{ display: flex; justify-content: space-between; align-items: center; min-height: 90px; .l{ display: flex; justify-content: flex-start; align-items: flex-end; img{ margin-right: 10px; height: 26px; } h1{ padding: 0; margin: 0; font-size: 25px; font-weight: @font_weight; //font-family: "微软雅黑"; line-height: 25px; color: @black; } h3{ padding: 0; margin: 0; margin-left: 10px; font-size: 20px; font-weight: lighter; font-family: "微软雅黑"; line-height: 20px; color: #b6b6b6; } } .r2{ ul{ margin: 0; padding: 0; display: flex; justify-content: flex-start; align-items: center; position: relative; &:after{ position: absolute; content: ""; left: 0; height: 2px; width: 60px; background-color: @96c549; bottom: -1px; z-index: 1; } li{ height: 90px; line-height: 62px; list-style: none; padding: 0; position: relative; display: flex; justify-content: flex-end; align-items: flex-end; font-size: 14px; color: @black; a{ color: @black; display: block; width: auto; position: relative; padding-right: 20px; &:after{ position: absolute; content: ">"; display: flex; justify-content: center; align-items: center; right: 6px; height: 14px; top: calc(~"50% - 8px"); z-index: 1; } } &:last-child{ a{ padding-right: 0px; &:after{ display: none; } } } } } } .r{ ul{ margin: 0; padding: 0; display: flex; justify-content: flex-start; align-items: center; li{ height: 90px; list-style: none; padding: 0 25px; position: relative; display: flex; justify-content: flex-end; align-items: flex-end; &:last-child{ padding-right: 0; } &:after{ position: absolute; content: ""; left: 10px; bottom: 39px; width: 5px; height: 5px; line-height: 100%; z-index: 1; display: flex; justify-content: center; align-items: center; background-color: @96c549; border-radius: 50%; } a{ line-height: 85px; color: @black; font-size: 16px; display: block; width: auto; text-decoration: none; } &.active,&:hover{ a{ color: @96c549; } } } } } } } } //手机版栏目 .sub_m_title{ margin-top: 23px; a{ text-decoration: none; h3{ margin: 0; padding: 0; color: @96c549; text-align: center; font-size: 20px; font-weight: bold; } .border_bg{ margin-top: 10px; position: relative; display: flex; justify-content: center; align-items: center; &:after{ position: absolute; content: ""; background-color: #ededed; height: 1px; left: 0; right: 0; top: 50%; z-index: 1; } h4{ position: relative; z-index: 2; margin: 0; padding: 0 15px; font-size: 20px; line-height: 20px; background-color: white; color: fade(@96c549, 20%); } } } } //正文标题 .sub_show_title{ overflow: hidden; h1{ display: inline-block; line-height: 35px; font-size: 22px; margin: 0; margin-top: 10px; padding: 0; color: @black; font-weight: bold; } .line-ee-1{ margin-top: 20px; } ul{ padding: 0; margin: 0; margin-top: 18px; padding-bottom: 14px; display: flex; justify-content: flex-start; flex-wrap: wrap; position: relative; &:after{ position: absolute; bottom: 0; left: 0; content: ""; z-index: 1; width: 100%; height: 1px; background-color: #d4d4d4; transform: scaleY(0.5); @media (min-width: @min_width) { transform: scaleY(1); } } &:before{ position: absolute; top: 0; left: 0; content: ""; z-index: 1; width: 100%; height: 1px; background-color: #d4d4d4; transform: scaleY(0.5); @media (min-width: @min_width) { transform: scaleY(1); } } li{ list-style: none; line-height: 12px; font-size: 12px; margin-top: 12px; padding-right: 32px; position: relative; color: @gray3a; &:after{ position: absolute; content: ""; right: 16px; top: 0; bottom: 0; background-color: #d4d4d4; width: 1px; transform: rotateX(0.5); } &:last-child{ &:after{ display: none; } } a{ color: @blue; } &:hover, &.active{ a{ font-weight: bold; } } } } @media (min-width: @min_width) { padding: 0; text-align: center; h1{ margin: 0; margin-top: 24px; padding: 0; } .line-ee-1{ margin-top: 30px; } ul{ margin-top: 28px; padding: 0; padding-bottom: 16px; justify-content: center; li{ margin-top: 16px; line-height: 14px; font-size: 14px; color: @gray3a; a{ color: @gray3a; } } } } } //正文 .sub_show{ overflow: hidden; padding: 20px 0; margin: 0px 15px; @media only screen and (min-width: 1230px) { margin: 0px auto; } *{ color: @gray3a; font-size: 18px; line-height: 35px; text-align: justify; } @media (min-width: @min_width) { padding: 55px 55px 30px 55px; *{ font-size: 16px; line-height: 35px; } img{ max-width: 800px; } video{ width: 800px; height: 450px; text-align: center; margin: 0 auto; } } } .sub_show2{ padding-top: 20px; @media (min-width: @min_width) { padding-top: 41px; } } //列表 .sub_list{ .list{ padding: 0; overflow: hidden; padding: 0 15px; padding-bottom: 15px; ul{ padding: 0; margin: 0; li{ list-style: none; padding: 15px 0; position: relative; display: flex; justify-content: flex-start; align-items: flex-start; flex-flow: column; a{ font-size: 18px; line-height: 30px; color: @gray3a; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .date{ align-self: flex-end; span{ font-size: 15px; color: @grayc1; white-space: nowrap; img{ height: 15px; margin-right: 4px; } } } &:after{ position: absolute; bottom: 0; left: 0; content: ""; z-index: 1; width: 100%; height: 1px; background-color: #eeeeee; transform: scaleY(0.5); @media (min-width: @min_width) { transform: scaleY(1); } } } } } @media (min-width: @min_width) { .list{ padding: 0px; padding-top: 14px; ul{ li{ padding: 0; justify-content: flex-start; align-items: center; flex-flow: nowrap; line-height: 40px; position: relative; padding-left: 16px; &:before{ position: absolute; content: ""; display: inline-block; width: 5px; height: 5px; left: 0; top: calc(~"50% - 3px"); border-radius: 50%; background-color: @96c549; } a{ margin-left: 0px; font-size: 15px; color: @black; text-overflow: ellipsis; -moz-text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: block; max-width: calc(~"100% - 95px"); } .date{ align-self: flex-start; margin-left: 25px; span{ font-size: 13px; color: @grayc1; img{ height: 15px; margin-right: 4px; } } } &:after{ display: none; } &:nth-child(5n){ padding-bottom: 10px; margin-bottom: 36px; &:before{ top: calc(~"50% - 8px"); } &:after{ display: block; position: absolute; bottom: 0; left: 0; content: ""; z-index: 1; width: 100%; height: 1px; background-color: #eeeeee; transform: scaleY(0.5); @media (min-width: @min_width) { transform: scaleY(1); } } } } } } } } //图列表 .sub_pic_list{ .list{ ul{ margin: 0 15px; margin-top: 25px; padding: 0; padding-bottom: 5px; li{ list-style: none; margin-top: 20px; margin-bottom: 0; a{ display: flex; justify-content: center; align-items: center; flex-flow: column; .img{ display: flex; justify-content: center; align-items: center; width: 100%; img{ max-width: none; min-width: 100%; max-height: 215px; display: block; } } .txt{ width: 100%; font-size: 16px; color: @gray3a; line-height: 50px; height: 50px; text-align: center; border: 1px solid @grayee; } .text{ display: flex; justify-content: center; align-items: center; padding: 20px 0; padding-bottom: 15px; width: 100%; img{ height: 12px; width: 20px; } h1{ margin: 0; margin-left: 10px; color: @0e0e0d; font-size: 16px; line-height: 16px; font-weight: normal; transition: all .3s; max-width: calc(~"100% - 33px"); } } &:hover,&:active{ .text{ h1{ color: @96c549; } } } } } } } @media (min-width: @min_width) { .list{ ul{ display: flex; justify-content: flex-start; flex-wrap: wrap; margin: 0 0 0 0; li{ width: calc(~"33.333% - 33.3333px"); margin-top: 50px; margin-bottom: 0; a{ text-decoration: none; .txt{ margin-top: 1px; line-height: 40px; height: 40px; font-size: 16px; background-color: @f0f0f0; transition: all .3s; padding: 0 15px; border: 0; } .text{ padding: 20px 0; padding-bottom: 15px; img{ height: 13px; width: 22px; } h1{ margin: 0; margin-left: 12px; color: @0e0e0d; font-size: 16px; line-height: 16px; } } &:hover{ .txt{ background-color: @96c549; color: @white; } } } &:nth-child(3n-1){ margin: 0 50px; margin-top: 50px; } } } } } } //科室导航 .dep_list{ padding-bottom: 20px; ul{ margin: 0; padding: 0; li{ list-style: none; .dep_head{ line-height: 25px; padding: 20px 0 20px 0px; display: flex; justify-content: flex-start; align-items: center; .dep_title{ color: @96c549; font-size: 20px; font-weight: bold; height: 20px; line-height: 20px; padding-right: 15px; } .dep_tel{ float: left; height: 20px; line-height: 23px; font-size: 16px; background: url("@{images}common/registered.svg") 0px 2px no-repeat; text-indent: 25px; } } .dep_con{ line-height: 35px; font-size: 18px; color: @gray3a; text-indent: 2em; text-align: justify; img{ margin-left: -2em; } p{ margin: 0; } } } } @media (min-width: @min_width) { ul{ li{ .dep_head{ line-height: 25px; padding: 54px 0 10px 0px; .dep_title{ font-size: 25px; height: 25px; line-height: 25px; padding-right: 31px; } .dep_tel{ height: 25px; line-height: 28px; font-size: 16px; text-indent: 28px; background: url("@{images}common/registered.svg") 0px 5px no-repeat; } } .dep_con{ line-height: 36px; font-size: 15px; color: @7c7c7c; } } } } margin: 0 15px; @media only screen and (min-width: 1230px) { margin: 0 auto; } } //名医风采 .sub_demeanour{ ul{ margin: 0 15px; margin-top: 25px; padding: 0; padding-bottom: 5px; li{ list-style: none; margin-top: 25px; margin-bottom: 0; a{ display: flex; justify-content: flex-start; align-items: flex-end; text-decoration: none; .img{ display: flex; justify-content: center; align-items: center; img{ width: 124px; height: 124px; display: block; border-radius: 50%; border: 1px solid #f0f6db; padding: 2px; transform: none; } } .txt{ flex: 1; overflow: hidden; display: flex; justify-content: flex-start; align-items: flex-start; flex-flow: column; background: url("@{images}common/border-dotted.png") repeat-x bottom; margin-left: 25px; h3{ margin: 0 0 0 0; font-size: 18px; color: @gray3a; width: 100%; font-weight: normal; strong{ margin-right: 1em; font-weight: bold; } } p{ margin: 11px 0 0 0; min-height: 42px; font-size: 14px; color: @gray3a; line-height: 23px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .more{ padding: 0 0 6px 0; margin: 18px 0 0 0; color: @96c549; font-size: 14px; } } } } } @media (min-width: @min_width) { ul{ margin: 47px 0 0 0; li{ margin-top: 40px; a{ .img{ img{ width: 150px; height: 150px; } } .txt{ margin-left: 18px; h3{ } p{ margin: 22px 0 0 0; min-height: 60px; font-size: 15px; color: @7c7c7c; line-height: 30px; } .more{ padding: 0 0 13px 0; margin: 3px 0 0 0; color: @96c549; font-size: 15px; } } &:hover{ .txt{ .more{ text-decoration: underline; } } } } } } } } //出诊专家 .visits_experts{ /*出诊专家表格*/ .table-responsive{ border: 0; } .ve_table{ margin-top:22px; margin-bottom:71px; border-right:1px solid #e1e1e1; border-bottom:1px solid #e1e1e1; border-collapse: separate; border-spacing: 0; } .ve_table strong{ color:#666; } .ve_table .txt_ver{ line-height:21px; writing-mode:lr-tb; width:26px; padding:17px 11px 17px 13px; height:110px; } .ve_table th{ font-size:35px; height:84px; color:#8fc13c; font-weight:400; border-left:1px solid #e1e1e1; border-top:1px solid #e1e1e1; text-align: center; h5{ color: #ff511c; margin: 0; font-size: 12px; } } .ve_table td{ font-size:12px; color:#333333; border-left:1px solid #e1e1e1; border-top:1px solid #e1e1e1; } .ve_table td ul{ margin:17px 0; padding: 0; } .ve_table td li{ line-height:25px; padding:0 10px; list-style: none; a{ color: @black; } } .ve_table td .red-note{ color:#ff511c; padding-top:112px; } } //联系我们 .contact-us{ color: @gray3a; margin-bottom: 25px; #container{ height: 200px; margin-top: 25px; .amap-logo{ z-index: 1; } .amap-copyright{ z-index: 1; } } .amap-marker-label{ background-color: @96c549; color: @white; font-size: 12px; line-height: 20px; padding: 0 5px; border: 0; left: -46px!important; top: 40px!important; } h2{ margin: 0; margin-top: 23px; padding: 0 15px; font-size: 18px; line-height: 35px; font-weight: bold; } .txt{ padding: 0 15px; p{ margin: 0; padding: 0; font-size: 18px; line-height: 35px; } a{ text-decoration: none; color: #002244; } } ul{ margin: 0; padding: 0; padding-bottom: 40px; display: flex; justify-content: center; align-items: center; flex-flow: column; li{ margin-top: 40px; list-style: none; text-align: center; h5{ margin: 0; padding: 0; margin-top: 22px; color: #10196e; } } } @media (min-width: @min_width){ padding: 0; margin-bottom: 50px; color: @gray3a; #container{ height: 375px; margin-top: 40px; } .amap-marker-label{ font-size: 16px; line-height: 40px; left: -70px!important; top: 40px!important; } h1{ margin: 0; padding: 0; text-align: center; color: @gray3a; font-size: 25px; } h2{ margin: 0; margin-top: 50px; padding: 0; font-size: 16px; line-height: 40px; } .art{ display: flex; justify-content: space-between; } .txt{ margin-top: 0px; padding: 0; p{ margin: 0; padding: 0; font-size: 16px; line-height: 40px; } } ul{ flex: 1; margin: 0; padding: 0; display: flex; justify-content: flex-end; align-items: flex-end; flex-flow: nowrap; li{ margin:0; list-style: none; text-align: center; margin-left: 8%; h5{ margin: 0; padding: 0; margin-top: 22px; color: #10196e; } } } } }