@import "../base/utils"; /************************ 通用class样式 author: TX date:2020-07-30 **********************/ /* 页面样式 */ body, html, #app {padding: 0;margin: 0;@include setFontStyle(0);} /* 内外边距通常让各个浏览器样式的表现位置不同 */ div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0;} /* HTML5 媒体文件跟 img 保持一致 */ audio,canvas,video{display:inline-block;*display:inline;*zoom:1;} /* 默认不显示下划线,保持页面简洁 */ ins,a{text-decoration:none;cursor:pointer;} /* 去掉列表前的标识, li 会继承 */ ol,ul,dl,dt,dd{ list-style:none; margin: 0; padding: 0; letter-spacing: 0; word-spacing: 0; font-size: 0;} /* 让标题都自定义, 适应多个系统应用 */ h1,h2,h3,h4,h5,h6,p{font-weight:normal;margin: 0;} /* 外边距 */ .m5{margin:5px;} .m10 {margin: 10px;} .m15 {margin: 15px;} .m20 {margin: 20px;} .m25 {margin: 25px;} .m30 {margin: 30px;} .m35 {margin: 35px;} .m40 {margin: 40px;} /* 外边距 上下边距 左右居中 */ .ma0{margin:0 auto;} .ma5{margin:5px auto;} .ma10{margin:10px auto;} .ma15{margin:15px auto;} .ma20{margin:20px auto;} .ma25{margin:25px auto;} .ma30{margin:30px auto;} .ma35{margin:35px auto;} .ma40{margin:40px auto;} /* 上外边距 */ .mt5 {margin-top: 5px;} .mt10 {margin-top: 10px;} .mt15 {margin-top: 15px;} .mt20 {margin-top: 20px;} .mt25 {margin-top: 25px;} .mt30 {margin-top: 30px;} .mt35 {margin-top: 35px;} .mt40 {margin-top: 40px;} .mt48 {margin-top: 48px;} /* 下外边距 */ .mb5 {margin-bottom: 5px;} .mb10 {margin-bottom: 10px;} .mb15 {margin-bottom: 15px;} .mb20 {margin-bottom: 20px;} .mb25 {margin-bottom: 25px;} .mb30 {margin-bottom: 30px;} .mb35 {margin-bottom: 35px;} .mb40 {margin-bottom: 40px;} /* 左外边距 */ .ml5 {margin-left: 5px;} .ml10 {margin-left: 10px;} .ml15 {margin-left: 15px;} .ml20 {margin-left: 20px;} .ml25 {margin-left: 25px;} .ml30 {margin-left: 30px;} .ml35 {margin-left: 35px;} .ml40 {margin-left: 40px;} /* 右外边距 */ .mr5 {margin-right: 5px;} .mr10 {margin-right: 10px;} .mr15 {margin-right: 15px;} .mr20 {margin-right: 20px;} .mr25 {margin-right: 25px;} .mr30 {margin-right: 30px;} .mr35 {margin-right: 35px;} .mr40 {margin-right: 40px;} /*文字对齐方式*/ .tl{text-align:left;} .tr{text-align:right;} .tc{text-align:center;} /*字体大小*/ .fs_12{font-size:12px;} .fs_14{font-size:14px;} .fs_16{font-size:16px;} .fs_18{font-size:18px;} .fs_20{font-size:20px;} .fs_22{font-size:22px;} .fs_24{font-size:24px;} .fs_26{font-size:26px;} .fs_28{font-size:28px;} .fs_30{font-size:30px;} /* 清除浮动-父级使用 */ .fn-clear:after{content:" ";height:0;display:block;font-size:0;visibility:hidden;clear:both;} /* 清除元素间隙 */ .fn-clear-gap{font-size:0;list-style:none;margin: 0;padding: 0;letter-spacing: 0;word-spacing: 0;} /* 隐藏, 通常用来与 JS 配合 */ .fn-hide{display:none;} /* 隐藏多余内容*/ .fn-hidden{overflow: hidden} /* 文本超出省略号显示 (一行) ------ 使用方式:@include single-line-ellipsis; */ @mixin single-line-ellipsis {text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;white-space: nowrap;word-break: break-all;} /* 文本超出省略号显示 (多行),括号里传行数 ------ 使用方式:@include multi-line-ellipsis(3); */ @mixin multi-line-ellipsis($rows){-webkit-line-clamp:$rows;text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;display: -webkit-box;white-space: normal !important;-webkit-box-orient: vertical;} /************************ 网站公共class样式 author: TX date:2020-07-30 **********************/ /**************** 网站框架 ****************/ .website-frame{ font-family: "PingFang SC","微软雅黑", Arial, sans-serif; color: #2C3E50; min-width: 1240px; // head移动端响应式 @media (max-width: 768px){min-width: unset;} } /* 饿了么右侧生成的间距 */ .el-popup-parent--hidden{ padding-right:0 !important } /* 网站主体部分 */ .client-container{ width: 1260px;margin: 0 auto; @media (max-width: 768px){width: auto;padding: 0 15px;max-width: 100%;box-sizing: border-box;} } .client-container-middle{width: 960px;margin: 0 auto;} /**************** 网站头部 ****************/ /* 网站头部导航栏 */ .client-head{ width: 100%; height: 72px; z-index: 999; background: #fff; position: fixed; top:0; box-shadow: -6px 0px 16px 6px #d6d6d6; //头部布局 .head-layout{height:72px;display: flex;justify-content: space-between;@include setFontStyle(-4);} //头部导航 .header-nav{ >span,>a{margin: 0 30px;color: #333333;} >a:last-child{margin-right: 0;} >a:visited{color: #333333;} >a.active {color: #00B96B;position: relative;} .active:before{ content: '';width: 88%;height: 2px;background-color:#00B96B; display: block;position: absolute;bottom: -6px;left: 6%; } // 导航按钮 .head-nav-btn.active{position: relative;} .head-nav-btn.active:before{width: 70%;bottom: -10px;left: 4%;} } //头部左侧区域 .head-container-box{ display: flex; width: 100%; justify-content: space-between; align-items: center; //头部图标 .client-head-img{width: 112px;height:51px;display: inline-block;background-image: url("~static/images/client/component/nav-logo.png");background-repeat: no-repeat;background-position: center;background-size: cover;margin-right: 40px;} } //头部右侧区域 .head-right{ display: flex;align-items:center;position: relative;border: 1px solid #00B96B;border-radius: 18px; >a,.right-tel-btn{width:85px;padding: 8px 0;@include setFontStyle(-7);display: inline-block;color:#00B96B; text-align: center;cursor: pointer;} .right-tel-btn{color: #fff;background: #00B96B;position: relative;border-radius: 0 18px 18px 0;cursor: default;} >a:hover{cursor: pointer;} } // head移动端响应式 @media (max-width: 768px){ // head height: 60px;box-shadow: unset;border-bottom: 1px solid #e7e7e7; //头部布局 .head-layout{height:60px;} //头部左侧区域 logo .head-container-box{ justify-content: space-between;height: 60px;align-items: center;padding:0; .client-head-img{width: 92px;height: 46px;background-size: contain;margin:0;} } // 手机菜单关闭 .head-nav-up{height: 0;display:none;opacity: 0;} // 手机菜单开启 .head-nav-down{height: 100vh;display:block;opacity: 1;} // 咨询电话 .phone-tel-box{color: rgb(0, 84, 145);font-size: 14px;font-weight: bold;line-height: 60px;} // 按钮 .phone-nav-btn{width:30px;height:30px;background-image: url("~static/images/client/component/head-btn-icon.svg");} // 布局 .head-layout{display: block} } } /* 导航二级菜单 */ .head-popper-box{ width: 920px;display: flex;align-items: center; // 箭头 .popper__arrow::after { content: ' ';width: 0;height: 0;overflow: hidden;position: absolute; border-width: 6px;border-style: dashed dashed solid ; border-color: transparent transparent #00B96B !important; top:-12px; } // 列表 .head-popper-item{ width: 23%;display: flex;margin: 16px 1%;align-items: center; i{width: 34px;height: 34px;background-size: contain;display: inline-block;margin-right: 16px;background-repeat:no-repeat;background-position: center;} .head-popper-title{@include setFontStyle(-6);color: #333;margin-bottom: 4px;display: inline-block;} .head-popper-des{display:block;@include setFontStyle(-8);color: #9c9c9c;} } } .head-popper-box:before{ content: ' ';width: 100%;height: 2px;position: absolute; left: 0;top: 0;background-color: #00b96b;border-radius: 4px 4px 0 0; } /* 产品 二级菜单 */ .cp-popper-box{ margin-top: 24px!important; // 列表 .head-popper-item:nth-child(1){i{background-image:url("~static/images/client/component/head-cp-icon1.png");} } .head-popper-item:nth-child(2){i{background-image:url("~static/images/client/component/head-cp-icon2.png");} } .head-popper-item:nth-child(3){i{background-image:url("~static/images/client/component/head-cp-icon3.png");} } .head-popper-item:nth-child(4){i{background-image:url("~static/images/client/component/head-cp-icon4.png");} } } /* 解决方案 二级菜单 */ .jj-popper-box{ padding: 24px 42px;box-sizing: border-box;margin-top: 24px!important; // head-popper-content .head-popper-content{width: 100%;} // 横线 em{width: 800px;height: 1px;display: block;margin:10px auto 24px;background: #f2f2f2;} // 标题 h3{font-size: 16px;font-weight: 700;text-align: left;color: #333333;margin-left: 12px;} // 列表行 .head-popper-cj-row,.head-popper-hy-row{display: flex;align-items: center;flex-wrap: wrap;} // 场景解决方案 - icon .head-popper-cj-row{ .head-popper-item:nth-child(1){i{background-image:url("~static/images/client/component/head-jj-icon1.png");} } .head-popper-item:nth-child(2){i{background-image:url("~static/images/client/component/head-jj-icon2.png");} } .head-popper-item:nth-child(3){i{background-image:url("~static/images/client/component/head-jj-icon3.png");} } .head-popper-item:nth-child(4){i{background-image:url("~static/images/client/component/head-jj-icon4.png");} } } // 行业解决方案 - icon .head-popper-hy-row{ .head-popper-item:nth-child(1){i{background-image:url("~static/images/client/component/head-jj-icon5.png");} } .head-popper-item:nth-child(2){i{background-image:url("~static/images/client/component/head-jj-icon6.png");} } .head-popper-item:nth-child(3){i{background-image:url("~static/images/client/component/head-jj-icon7.png");} } .head-popper-item:nth-child(4){i{background-image:url("~static/images/client/component/head-jj-icon8.png");} } .head-popper-item:nth-child(5){i{background-image:url("~static/images/client/component/head-jj-icon9.png");} } .head-popper-item:nth-child(6){i{background-image:url("~static/images/client/component/head-jj-icon10.png");} } .head-popper-item:nth-child(7){i{background-image:url("~static/images/client/component/head-jj-icon11.png");} } } } /* 免费注册 二级菜单 */ .system-popper-box{ width: 450px;margin-top: 12px!important; .head-popper-item{width: 50%;margin: 16px auto;} .head-popper-item:nth-child(1){i{background-image:url("~static/images/client/component/head-exam-icon.png");} } .head-popper-item:nth-child(2){i{background-image:url("~static/images/client/component/head-train-icon.png");} } } /* 网站头部导栏 - 面包屑 */ .client-breadcrumb-box { width: 1260px; font-size: 16px; margin: 24px auto; .st-breadcrumb{ margin-left: 24px; a:last-child{ .breadcrumb-div::after{display: none;} } } .st-breadcrumb-item {display: inline-block;vertical-align: middle;color: #4a73fd;text-decoration: none;} .st-breadcrumb-item:hover {cursor: pointer;} .st-breadcrumb-item:after {width: 11px;height: 16px;content: '';display: inline-block;padding: 0 16px;vertical-align: middle;zoom:0.8;-moz-transform:scale(0.8,0.8); background-image: url("~static/images/client/component/breadcrumb-icon.svg");background-repeat: no-repeat;background-position: center;} .breadcrumb-div{display: inline-block;vertical-align: middle;} .st-breadcrumb-item-last {display: inline-block;text-decoration: none;color: #333;vertical-align: middle;} .st-breadcrumb-item-last:hover {cursor: default;} // IE11兼容写法 @media all and (-ms-high-contrast:none) { *::-ms-backdrop, .st-breadcrumb-item-last { margin-left: -10px;} } // IE10兼容写法 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .st-breadcrumb-item-last { margin-left: -10px;} } } /**************** 网站内容 ****************/ /* 网站标题 */ .client-title{ @include setFontStyle(10);color: #333;letter-spacing: 0;padding-top: 80px;text-align: center; // head移动端响应式 @media (max-width: 768px){@include setFontStyle(-4);padding-top: 20px;font-weight: 700;color: rgb(16, 16, 16);} } /* 网站副标题 */ .client-subtitle-title{ width: 650px;@include setFontStyle(-4);color: rgba(0,0,0,0.65);line-height: 30px;margin:0 auto;margin-top: 16px;text-align: center; @media (max-width: 768px){width: 100%;text-align: justify;@include setFontStyle(-6);line-height: 24px;} } // 一行副标题 .client-subtitle-one-row{ @include setFontStyle(-2);color: #565656;margin: 40px 0 ;text-align: center; } .client-subtitle-title-big{ width: 1000px;padding:0 100px;@include setFontStyle(-4);color: rgba(0,0,0,0.65);line-height: 30px;margin:0 auto;margin-top: 48px;text-align: center; @media (max-width: 768px){width: 100%;text-align: justify;margin-top: 24px;padding: 0;@include setFontStyle(-6);line-height: 24px;} } /* 网站通用按钮 */ .client-default-Btn{display: block;@include setFontStyle(-4);background: #2B5CFD;color: rgba(255, 255, 255, 0.85);border-radius: 4px;transition: .3s all linear;text-align: center;} .client-default-Btn:hover{background: #2249C9;cursor: pointer;} // 白色 .client-default-white-Btn{display: block;@include setFontStyle(-4);background: #fff;color: #2B5CFD;border-radius: 4px;transition: .3s all linear;text-align: center;} .client-default-white-Btn:hover{background: #fff;cursor: pointer;} // 免费试用按钮 .free-trial-default-btn{ width: 238px;height: 40px;line-height: 40px;margin: 40px auto 0;display: block;@include setFontStyle(-4);background: #3e7ee7; color: rgba(255, 255, 255, 0.85);border-radius: 4px;transition: .3s all linear;text-align: center; @media (max-width: 768px){width: 122px;height: 35px;line-height: 35px;margin: 16px auto 28px;} } .free-trial-default-btn:hover{cursor: pointer;} /* 网站底部footer */ .client-footer{ background: #1E2534;padding-bottom: 50px; //footer内容区域 .contact-box{ padding-top: 40px; .contact-left-box{ display: inline-block; dl{display: inline-block;margin-right: 48px;margin-bottom: 40px;vertical-align: top;} dt{@include setFontStyle(-4);color: #FFFFFF;margin-bottom: 24px;} dd,dd a{@include setFontStyle(-6);color: rgba(255,255,255,0.64);margin-bottom: 8px;} dd:hover,dd a:hover{color: rgba(255,255,255,0.85);cursor: pointer} // 二维码 .two-code-box{position: relative;} .two-dimensional-code{width: 110px;height: 110px;background-color: #fff;background-image: url("~static/images/client/component/two-dimensional-code.jpg");display: none;position: absolute;left: 85px;top:-40px;background-size: cover;border-radius: 4px;transition: .5s; } .two-dimensional-code:before{width: 0;height: 0;content: "";display: none;margin-left: -20px;margin-top: 40px;border-width: 10px;border-style: solid;border-color: transparent #fff transparent transparent;transition: .5s; } .two-code-box:hover{ cursor: default; .two-dimensional-code{display: block;} .two-dimensional-code:before{display: block;} } } .contact-right-box{ //width: 170px; float: right; .right-sw-box{ margin-right: 24px; h4{@include setFontStyle(-4);color: #FFFFFF;margin-bottom: 16px;text-align: center} img{width: 100px} } div{display: inline-block} h3{@include setFontStyle(4);color: #FFF;margin-bottom: 16px;} p{@include setFontStyle(-6);color: rgba(255,255,255,0.64);margin-bottom: 8px;} a{@include setFontStyle(-6);color: #2B5CFD;} a:hover{cursor: pointer;} } } //友情链接区域 .link-box{ border-top: 1px solid #333B4C; border-right: 0; border-left: 0; padding: 32px 0; h4{@include setFontStyle(-4);color: #FFF;float: left;margin-right: 48px;line-height: 22px;} .link-a-box{ margin-left: 114px; line-height: 22px; a{@include setFontStyle(-6);color: rgba(255,255,255,0.54);display:inline-block;margin-right: 32px;white-space: nowrap;} a:hover{color: rgba(255,255,255,0.85);cursor: pointer;} } } //底部版权 h5{@include setFontStyle(-8);color: #B8B8B8;text-align: center;padding: 16px 0 24px;border-top: 1px solid #333B4C;} @media (max-width: 768px) { .phone-footer-box { margin-bottom: 70px; text-align: center;padding: 20px 0; a,p{@include setFontStyle(-10);color: #fff;padding: 6px 0} a{display: block} } } } /* 网站分页 */ .client-el-pagination{text-align: center;margin-top: 36px} /* 网站通用详情页布局 */ .client-details-page{ background: #f9faff; width: 100%; padding: 24px 0; // 时间人数 .details-visits-box{ margin-bottom: 16px; i{width: 20px;height: 20px;display: inline-block;margin-right: 14px;vertical-align: middle;background-image: url("~static/images/client/newsInfor/newsInfor-details-time.svg");} i[type="visits"]{background-image: url("~static/images/client/newsInfor/newsInfor-details-visits.svg");} span{@include setFontStyle(-6);display:inline-block;color: #666;margin-right: 60px;vertical-align: middle;} } //行业资讯详情外层box .client-details-box{ width: 1260px; margin: 0 auto; padding: 24px; box-sizing: border-box; background: #FFFFFF; border-radius: 8px; } // 行业资讯详情 .client-details-wrap{ width: 820px; display: inline-block; padding-right: 24px; border-right:1px solid #DCE0E8; box-sizing: border-box; vertical-align: top; >h1{@include setFontStyle(-2);color: rgba(0,0,0,0.85);margin-bottom: 16px;} //内容区域 .client-content-box{ min-height: calc(100vh - 587px); line-height: 24px; color: rgba(0,0,0,0.64); @include setFontStyle(-6); margin-bottom: 70px; p{line-height: 22px;} img{max-width: 100%;} h1,h2,h3,h4,h5,h6,p{margin-bottom: 10px;} } // 上一篇下一篇 .client-details-pagination{ a{max-width: 45%;float: left;@include setFontStyle(-4);color: rgba(43,92,253,0.85);display: inline-block;@include single-line-ellipsis;} a:last-child{margin-left: 10%;float: right;} a:hover{color: #1648EE;cursor: pointer} } } // 最新新闻 .latest-news-box{ width: 300px; padding-left: 24px; display: inline-block; vertical-align: top; h4{@include setFontStyle(-4);color: rgba(0,0,0,0.85);margin-bottom: 16px;} .latest-news-list{ li{margin-bottom: 24px} a{width: 100%;@include setFontStyle(-4);display:inline-block;color: rgba(43,92,253,0.65);margin-bottom: 8px;@include single-line-ellipsis;} a:hover{color: rgba(43,92,253,0.85);cursor: pointer} } // 时间人数 .details-visits-box span{margin-right: 24px;} } @media (max-width: 768px) { padding: 0; // 时间人数 .details-visits-box{ margin-bottom: 36px;text-align: center; i{width: 16px;height: 16px;margin-right: 6px;background-size: cover;} span{@include setFontStyle(-8);margin-right: 24px;line-height: 12px;} } //行业资讯详情外层box .client-details-box{width: 100%;} // 行业资讯详情 .client-details-wrap{ width: 100%;border: 0;padding-right:0; >h1{@include setFontStyle(-4);margin: 16px 0;text-align: center;font-weight: bolder;} //内容区域 .client-content-box{ min-height:unset; } // 上一篇下一篇按钮 .client-details-pagination a{border: 1px solid rgba(43, 92, 253, 0.85);padding: 4px 12px;border-radius: 4px;} } } } /* 网站通用轮播 */ /*.client-industry-information{ background-image: url("~static/images/client/index/index-industry-bg.png"); background-position: center; padding-bottom: 80px; // 标题 .client-title{ color: #fff; } // 轮播 .information-carousel-box{ width: 100%; overflow: hidden; } // 轮播组件 .el-carousel--horizontal{ overflow: visible; } .el-carousel{ width: 1000px; margin: 0 auto; margin-top: 48px; .el-carousel__container{width: 640px;height: 320px;margin: 0 auto;position: relative;} } .el-carousel__item{ width: 640px; background: #FFFFFF; border-radius: 8px; .industry-img-box{width: 50%;height: 320px;float: left;background-repeat: no-repeat;background-size: cover;} .industry-content-box{ height: inherit;margin-left: 50%;padding:32px;box-sizing: border-box;position: relative; h5{@include setFontStyle(2);color: rgba(0,0,0,0.85);margin-bottom: 16px;@include multi-line-ellipsis(2);line-height: 30px;max-height: 60px;} p{@include setFontStyle(-4);color: rgba(0,0,0,0.64);line-height: 24px;@include multi-line-ellipsis(6);margin-bottom: 24px;max-height: 144px;} a{width: 132px;height: 32px;line-height:32px;position: absolute;bottom: 32px;} } } !*.el-carousel__item.is-active{ .industry-img-box{width: 50%;} .industry-content-box{margin-left: 50%;} }*! // 左右按钮 .el-carousel__arrow{width: 50px;height: 50px;background-color: rgba(43, 92, 253, 0.22);@include setFontStyle(16);color: rgba(255,255,255,0.8);} // 左箭头 .el-carousel__arrow--left{left:-200px;} // 右箭头 .el-carousel__arrow--right{right:-200px;} // 指示器 .el-carousel__indicators{display: none} }*/ /* 网站通用弹窗-申请方案 */ .application-scheme-dialog{ .el-dialog{width: 610px;border-radius: 8px;} .el-dialog__body{ padding: 30px 120px 60px; >i{width:213px;height:92px;display: block;background-image: url("~static/images/client/course/course-dialog-img.png");margin: 0 auto;} p{@include setFontStyle(-2);color: rgba(0,0,0,0.85);text-align: center;margin:24px 0 36px;} span{@include setFontStyle(-6);color: rgba(0,0,0,0.65);} a{@include setFontStyle(-6);color: #2B5CFD;float: right;} // 申请注册按钮 .application-scheme-btn{height: 40px;line-height: 40px;@include setFontStyle(-4);background: #1890FF;border-radius: 4px;color: #FFFFFF;text-align: center;margin-bottom: 16px;cursor: pointer;} } // 输入框上下间距 .el-form-item{margin-bottom: 24px} // 输入框左右间距 .el-input .el-input__inner{padding: 0 15px 0 35px;} //输入框图标 .dialog-input-tel:after,.dialog-input-code:after{width: 16px;height: 16px;content: "";display: inline-block;position: absolute;top: 12px;left: 12px;} .dialog-input-tel:after{background-image: url("~static/images/client/course/course-dialog-icon1.svg");} .dialog-input-code:after{background-image: url("~static/images/client/course/course-dialog-icon2.svg");} // 输入框-验证码 .dialog-input-code{width: calc(100% - 132px);} .dialog-code-btn.el-button{width:120px;box-sizing:border-box;padding: 12px 15px;margin-left: 8px;} // 滑块px .nc-container{ .nc_wrapper{width:100%!important;margin-bottom: 24px;border-radius: 4px;overflow: hidden;} .nc_scale{ .btn_slide{color: #fff;} span{width:50px;background: #3893FE;border-radius: 0 4px 4px 0;border: 1px solid transparent;} } } } /* 网站通用弹窗-视频播放 */ .course-video-dialog{ .el-dialog{width: 940px;border-radius: 8px;} .el-dialog__body{padding: 14px 40px 80px;} // 标题 .el-dialog__title{@include setFontStyle(-2);color: rgba(0,0,0,0.85);} // 视频 .course-video-box{width: 100%;height: 480px;} p{@include setFontStyle(-4);color: rgba(0,0,0,0.65);margin-top: 16px;line-height: 22px} @media (max-width: 768px){ .el-dialog{width: 90%;border-radius: 8px;margin: 0 5%;} .el-dialog__body{padding: 0 16px;} // 视频 .course-video-box{height: 180px;} p{@include setFontStyle(-6);padding: 10px 0 16px;margin: 0} } } /* 首页行业学习详情页-通用部分 */ // banner .industrydetails-banner{ width: 100%; height: 400px; background-color:#042D85; position: relative; .industrydetails-banner-box{width:inherit;height:inherit;background-position-x: center;background-repeat: no-repeat;} .free-trial-default-btn{position: absolute;top:280px;left: 50%;margin-left: -119px;} @media (max-width: 768px){ height: 150px; .industrydetails-banner-box{background-size: cover;} .free-trial-default-btn{top:95px;margin-left: -61px;} } } // 发展现状 .industrydetails-develop-box{ .client-container{padding: 48px 0 80px;text-align: center;} p{width: 480px;display: inline-block;@include setFontStyle(-5);color: rgba(0,0,0,0.65);line-height: 30px;vertical-align: middle;margin-right: 120px;text-align: justify;} img{display: inline-block;vertical-align: middle;} @media (max-width: 768px){ .client-container{padding: 16px 30px 48px;display: flex;flex-direction: column-reverse;} p{width: 100%;display: block;@include setFontStyle(-6);color: rgba(85, 85, 85, 1);line-height: 24px;margin-right: 0;} img{max-width: 100%;display: block;vertical-align:unset;margin-bottom: 16px;} } } // 产品和服务 .products-services-box{ width: 100%;display: inline-block; // 头部图片 img{width: 640px;height: 485px;float: right;} // 内容区域 .products-services-content{ width: 520px; float: right; padding: 110px 12px 0; box-sizing: border-box; margin: 0 20px; @include setFontStyle(-6); h5{@include setFontStyle(4);color: rgba(0,0,0,0.85);} i{width:50px;height:5px;display: block;background: #3e7ce7;margin: 24px 0;} p{line-height: 24px;color: rgba(0,0,0,0.65);margin-bottom: 56px;text-align: justify;} .p-before-circle{margin-bottom: 6px;} .p-before-circle:before{ content: ''; width: 6px; height: 6px; display: inline-block; border-radius: 3px; margin-right: 8px; background: #3e7ce7; vertical-align: middle; } .client-btn-box{margin: 40px 0} .client-default-Btn,.client-default-white-Btn{width: 150px;height: 40px;line-height: 40px;display:inline-block;background: #3e7ce7;border: 1px solid #3e7ce7;box-sizing: border-box;} .client-default-white-Btn{background: #fff;color: #3e7ce7;} a,div.client-default-Btn{margin-right: 24px} span.client-default-Btn{background: #fff;color: #3e7ce7;margin-right: 0;} } @media (max-width: 768px){ // 头部图片 img{width: 100%;height: auto;float: none;} // 内容区域 .products-services-content{ width: 100%;float: none;padding: 0 10px;margin: 0; @include setFontStyle(-6); h5{@include setFontStyle(-6);font-weight: 700;color: rgba(0, 0, 0, 1);} i{width:34px;height:3px;margin: 10px 0;} p{margin-bottom: 30px;color: rgba(85, 85, 85, 1);} .client-btn-box{text-align: center;margin:40px 0;} .client-default-Btn,.client-default-white-Btn{width: 120px;height: 35px;line-height: 35px;} a,div.client-default-Btn{margin-right: 16px} } } } .products-contrary-box{ // 头部图片 img{float: left;} // 内容区域 .products-services-content{float: right;} } // 考试平台和培训平台样式--多下边线 .platform-products-services{ li:not(:last-child){border-bottom:1px solid #eee; } } // 详情页内容 .industrydetails-content{ li{margin-bottom: 16px;} i{width: 14px;height: 14px;float:left;box-sizing: border-box;opacity: 0.8;display: block;border: 1px solid #13192D;transform: rotate(45deg);margin-right: 16px;margin-top: 4px;} h5{@include setFontStyle(-2);color: rgba(0,0,0,0.85);margin-bottom: 24px;text-align: center;} p{@include setFontStyle(-5);color: rgba(0,0,0,0.65);line-height: 22px;text-align: left;} @media (max-width: 768px) { li{margin-bottom: 10px;} i{width: 10px;height: 10px;margin-right: 8px;margin-top: 8px;} h5{@include setFontStyle(-4);color: rgba(255, 255, 255, 1);margin-bottom: 16px;text-align: center;font-weight: 700;} p{@include setFontStyle(-6);color: rgba(255, 255, 255, 1);line-height: 24px;text-align: justify;} } } // 通用平台-新闻资讯样式 .platform-news-information{ padding-bottom: 80px; background: #f8f8f8; ul{margin-top: 48px;} li{ width: 50%;display: inline-block;vertical-align: top; div{margin: 10px;padding:10px 10px 10px 0;border-bottom:1px dashed #666;} img{width: 190px;height: 118px;float: left;margin-right: 24px;} h4{@include setFontStyle(-2);color: rgba(0, 0, 0, 0.85);@include single-line-ellipsis;margin-bottom: 8px;} h4:hover{color: #3e7ce7;cursor: pointer;} span{display: block;@include setFontStyle(-6);color: rgba(0, 0, 0, 0.65);margin-bottom: 8px;} p{@include setFontStyle(-6);height: 66px;line-height: 22px;color: rgba(0, 0, 0, 0.65);@include multi-line-ellipsis(3);} } } // 页面内部导航菜单(课程开发和客户案例) .platform-menu-ul{ display: block; margin: 0 auto; text-align: center; background: #F7F9FB; li{display: inline-block;@include setFontStyle(-2);padding:24px 32px;color: rgba(0,0,0,0.64);background: #F7F9FB;transition: all .3s;box-shadow: 0 2px 4px 0 rgba(43,92,253,0.16);border-bottom: 1px solid rgba(52, 99, 253, 0.08);@include single-line-ellipsis;cursor: pointer} li.active{color: #2B5CFD;background-image: linear-gradient(270deg, #FFFFFF 0%, #F4F6FF 100%);} li:hover{ transform: scale(1.1); } @media (max-width: 768px){ background: #fff;margin: 20px 0 0; li{width: 100px;height: 30px;line-height:30px;margin:0 10px;padding:0;border-radius:5px;border: 1px solid #00b96b;@include setFontStyle(-4); color: #00b96b;background: #fff;box-shadow: 0 2px 4px 0 rgba(43,92,253,0.16);box-sizing: border-box} li.active{color: #fff;background: #00b96b;} li:hover{transform: none;} } } /* 页面课程列表 */ .course-learn-box{ // video列表 .learn-box-list{ margin: 54px -16px 0; li{ width: 33.33%;display: inline-block;text-align: center; a{display: none;} div{background: #fff;border-radius: 8px;margin: 0 16px 40px;} span{width:342px;height:192px;display: inline-block;margin-top: 16px;border-radius:4px;overflow: hidden;position: relative} i{width: 48px;height: 48px;cursor: pointer;background-image: url("~static/images/client/course/course-video-icon.svg");display: inline-block;position: absolute; left: 50%;margin-left: -24px;z-index: 5;top: 50%;margin-top: -24px;background-size: cover;background-position: bottom;transition: all 0.5s;} img{transition: all 0.5s;} p{@include setFontStyle(-4);color: rgba(0,0,0,0.65);padding: 24px 0 24px;} } li span:hover{img{transform: scale(1.1);}} li i:hover{background-image: url("~static/images/client/course/course-video-icon-a.svg");background-size: cover;background-position: bottom;} } @media (max-width: 768px){ margin: 0 6%; // video列表 .learn-box-list{ margin: 12px 0; li{ width: 100%;margin-bottom: 20px; div{margin: 0;padding: 0;box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px -1px;border-radius:0;} span{width: 100%;height: 180px;margin-top: 0;border-radius:0;} img{width: 100%;} p{padding: 20px 0 20px;@include setFontStyle(-6);color: #101010;} } } } } /* 底部跳转 */ .bottom-btn-box{ height: 80px;position: fixed;bottom: 0;left: 0;right: 0;font-size: 0;background: #fff;z-index: 99999;border-top: 1px solid #ccc; li{width: 50%;margin: 0;padding: 0;} .el-menu { box-sizing: border-box; padding: 10px; height: 80px; display: flex; justify-content: space-between; } .el-menu-item { a{width: 100%;height: 40px;line-height: 40px;display: inline-block;text-align: center;font-size: 13px;color: #333; border: 1px solid #00b96b;border-radius: 8px ;} } li:nth-child(1){ margin-right: 20px; } li:nth-child(2) a {color:#fff;background: #00b96b; span{color: #fff;}} i{width:22px;height: 22px;background-size:cover;display: inline-block;margin: 0 auto 3px;} span{color: #333;} li:nth-child(1) i{background-image: url("~static/gangweiIcon/z140.png");} li:nth-child(2) i{background-image: url("~static/gangweiIcon/z141.png");} li.is-active span{color: #2881db;} li.is-active:nth-child(1) i{background-image: url("~static/gangweiIcon/z140.png");} li.is-active:nth-child(2) i{background-image: url("~static/gangweiIcon/z141.png");} } /********************************* 麦塔栅格**********************************/ /* 栅格说明: 1.网站内容区域1200px; 2.手机端<=768 3.pad-------------------(769---992---1200) pad768*1024(手机样式) pad1024*1366(pad样式) 4.pc---1200以上 */ // 大于768的隐藏 @media screen and (min-width: 769px) { .mta-hidden-sm{display: none!important;} } // 小于769的隐藏 @media screen and (max-width: 769px) { .mta-hidden-xs{display: none!important;} // 提示框 .phone-message-box{ width: 88%;min-width: unset;top: 35% !important;display: block;text-align: center;padding: 36px 0; .el-message__icon{margin-bottom: 20px;} .el-message__icon:before{font-size: 50px;} } } /********************************* 麦塔移动端组件**********************************/ @media (max-width: 768px) { // 移动端点击a标签背景变色bug修复 a{-webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-user-select: none; -moz-user-focus: none; -moz-user-select: none;} } /*************************** banner img *******************************/ // 首页 client-banner-box.client-banner-index { height: 810px; } // 其他 .client-banner-box { height: 730px; width: 100%; .client-container { position: relative; } div.client-platform-banner { height: 730px; background-repeat: no-repeat; background-position: center; background-size: cover; .banner-btn-groups { position: absolute; width: auto; height: auto; left: 50%; top: 460px; transform: translate(-50%); } } @media (max-width: 768px) { width: 100%; height: auto; >div.client-platform-banner { width: 100%; height: 200px; background-size: cover; background-position: center; background-repeat: no-repeat; } } } /***************************** 解决方案 子页面 三个 video *************/ .client-anli-box { height: 600px; h4 { font-size: 30px; color: #333; margin-top: 80px; margin-bottom: 40px; font-weight: 800; text-align: center; } p { font-size: 18px; font-weight: 500; text-align: center; line-height: 36px; width: 1000px; margin: 0 auto 78px; } ul { display: flex; li { width: 33%; >div { margin-right: 80px; } &:last-child { >div { margin-right: 0; } } } } } @media (max-width: 768px) { .client-anli-box { height: 50%; margin-bottom: 10%; h4 { font-size: 18px; color: #333; margin-top: 8%; margin-bottom: 4%; font-weight: 800; text-align: center; } p { font-size: 14px; font-weight: 500; text-align: center; line-height: 1.5; width: 100%; margin: 0 auto 5%; } ul { display: flex; flex-direction: column; li { width: 100%; >div { margin-right: 0; margin-bottom: 5%; } &:last-child { >div { margin-bottom: 0; } } } } } } /**************************** 解决方案 现状 *************************/ .client-xianzhuang-box { background-image: url("~static/gangweiIcon/z90.png"); width: 100%; height: 560px; margin-top: 150px; background-position: center; background-repeat: no-repeat; background-size: contain; h4 { font-size: 30px; color: #333; margin-top: 120px; margin-bottom: 40px; font-weight: 800; text-align: center; } p { font-size: 18px; font-weight: 500; text-align: center; line-height: 36px; width: 1000px; margin: 0 auto; } } @media (max-width: 768px) { .client-xianzhuang-box { margin-top: 50px; background-image: none; width: 100%; height: 30%; background-position: center; background-repeat: no-repeat; background-size: contain; h4 { font-size: 18px; color: #333; margin-top: 10%; margin-bottom: 40px; font-weight: 800; text-align: center; } p { font-size: 14px; font-weight: 500; text-align: center; line-height: 1.5; width: 100%; margin: 0 auto; } } } /**************************** 解决方案 痛点 ************************/ .client-tongdian-box { h4 { font-size: 30px; color: #333; margin-top: 80px; margin-bottom: 40px; font-weight: 800; text-align: center; } ul { display: flex; justify-content: center; li { div { margin: 0 51px 0 0; width: 380px; height: 280px; background-size: contain; background-repeat: no-repeat; background-position: center; text-align: center; i { width: 110px; height: 88px; margin-top: 50px; display: inline-block; background-size: contain; background-repeat: no-repeat; background-position: center; } p { text-align: center; color: #fffefe; font-size: 18px; font-weight: 800; line-height: 30px; width: 220px; margin: 20px auto 0; } } } } } @media (max-width: 768px) { .client-tongdian-box { h4 { font-size: 18px; color: #333; margin-top: 10%; margin-bottom: 40px; font-weight: 800; text-align: center; } ul { display: flex; flex-direction: column; li { padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 10px; div { margin: 0 20px 0 0; width: 100%; height: auto; background-size: contain; background-repeat: no-repeat; background-position: center; text-align: center; display: flex; justify-content: flex-start; i { width: 90px; height: 90px; margin-top: 3%; background-color: #ccc; display: inline-block; background-size: contain; background-repeat: no-repeat; background-position: center; } p { text-align: left; color: #333; font-size: 14px; font-weight: 500; line-height: 1.5; width: 80%; margin: 20px 0 0 20px; } } } } } } /**************************** 按钮组 申请方案+在线咨询、免费使用+在线咨询 **************************/ .btn-groups.center { margin-top: 60px; text-align: center; margin-bottom: 120px; .btn-item { margin-right: 20px; } } @media (max-width: 768px) { .btn-groups.center { margin-top: 10%; margin-bottom: 10%; } } /******************************* 万人高并发 客户案例 **************************************/ .client-kehuanli-box.experience-swiper-box{ margin-top: 16px; margin-bottom: 20px; .experience-content-box{ height: 295px;box-shadow:none;padding: 16px;box-sizing: border-box;margin: 0 4% 40px; .anli-content { h3{ text-align: center; font-weight: 800; font-size: 18px;margin-top: 10px;} p{font-weight: 400;color: #333; font-size: 14px; -webkit-line-clamp:3; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; word-wrap: break-word; display: -webkit-box; white-space: normal !important; -webkit-box-orient: vertical;} img { width: 100%; height: 200px; } } } // 分页 .swiper-pagination-style {width: 76px;margin-left: -30px;bottom:25px;} // 左右滑动 .experience-swiper-tip{margin: 0 auto; font-size: 14px; font-weight: 400; text-align: center} } .client-kehuanli-box { position: relative; .anli-box-wrap { width: 1100px; height: 320px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; } .anli-box { width: 1100px; height: 320px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; z-index: 1; } h4 { text-align: center; font-weight: 800; font-size: 30px; color: #333; line-height: 50px; } .left-bg { width: 353px; height: 293px; background: #46C37B; position: absolute; top: 0; left: 0; z-index: 0; opacity: 0.33; } .right-bg { width: 270px; height: 150px; background: #A9D49C; position: absolute; right: 0; bottom: -80px; z-index: 0; opacity: 0.33; } .center-bg { width: 160px; height: 150px; background: #A9D49C; position: absolute; left: 600px; bottom: -80px; z-index: 0; opacity: 0.33; } .el-carousel__container { height: 100% !important; } .el-carousel__item { background: #fff; border-radius: 8px; } } /****************************** 青谷解决方案 ******************************************/ .client-fangan-box { h4 { font-size: 30px; color: #333; margin-top: 80px; margin-bottom: 40px; font-weight: 800; text-align: center; } .btn-groups { margin-top: 50px; } @media (max-width: 768px){ h4 { font-size: 18px; color: #333; margin-top: 30px; margin-bottom: 40px; font-weight: 800; text-align: center; } .btn-groups { margin-top: 30px; } } }