cus-client-common.scss 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. @import "../base/utils";
  2. /************************ 通用class样式 author: TX date:2020-07-30 **********************/
  3. /* 页面样式 */
  4. body, html, #app {padding: 0;margin: 0;@include setFontStyle(0);}
  5. /* 内外边距通常让各个浏览器样式的表现位置不同 */
  6. 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;}
  7. /* HTML5 媒体文件跟 img 保持一致 */
  8. audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
  9. /* 默认不显示下划线,保持页面简洁 */
  10. ins,a{text-decoration:none;cursor:pointer;}
  11. /* 去掉列表前的标识, li 会继承 */
  12. ol,ul,dl,dt,dd{
  13. list-style:none;
  14. margin: 0;
  15. padding: 0;
  16. letter-spacing: 0;
  17. word-spacing: 0;
  18. font-size: 0;}
  19. /* 让标题都自定义, 适应多个系统应用 */
  20. h1,h2,h3,h4,h5,h6,p{font-weight:normal;margin: 0;}
  21. /* 外边距 */
  22. .m5{margin:5px;}
  23. .m10 {margin: 10px;}
  24. .m15 {margin: 15px;}
  25. .m20 {margin: 20px;}
  26. .m25 {margin: 25px;}
  27. .m30 {margin: 30px;}
  28. .m35 {margin: 35px;}
  29. .m40 {margin: 40px;}
  30. /* 外边距 上下边距 左右居中 */
  31. .ma0{margin:0 auto;}
  32. .ma5{margin:5px auto;}
  33. .ma10{margin:10px auto;}
  34. .ma15{margin:15px auto;}
  35. .ma20{margin:20px auto;}
  36. .ma25{margin:25px auto;}
  37. .ma30{margin:30px auto;}
  38. .ma35{margin:35px auto;}
  39. .ma40{margin:40px auto;}
  40. /* 上外边距 */
  41. .mt5 {margin-top: 5px;}
  42. .mt10 {margin-top: 10px;}
  43. .mt15 {margin-top: 15px;}
  44. .mt20 {margin-top: 20px;}
  45. .mt25 {margin-top: 25px;}
  46. .mt30 {margin-top: 30px;}
  47. .mt35 {margin-top: 35px;}
  48. .mt40 {margin-top: 40px;}
  49. .mt48 {margin-top: 48px;}
  50. /* 下外边距 */
  51. .mb5 {margin-bottom: 5px;}
  52. .mb10 {margin-bottom: 10px;}
  53. .mb15 {margin-bottom: 15px;}
  54. .mb20 {margin-bottom: 20px;}
  55. .mb25 {margin-bottom: 25px;}
  56. .mb30 {margin-bottom: 30px;}
  57. .mb35 {margin-bottom: 35px;}
  58. .mb40 {margin-bottom: 40px;}
  59. /* 左外边距 */
  60. .ml5 {margin-left: 5px;}
  61. .ml10 {margin-left: 10px;}
  62. .ml15 {margin-left: 15px;}
  63. .ml20 {margin-left: 20px;}
  64. .ml25 {margin-left: 25px;}
  65. .ml30 {margin-left: 30px;}
  66. .ml35 {margin-left: 35px;}
  67. .ml40 {margin-left: 40px;}
  68. /* 右外边距 */
  69. .mr5 {margin-right: 5px;}
  70. .mr10 {margin-right: 10px;}
  71. .mr15 {margin-right: 15px;}
  72. .mr20 {margin-right: 20px;}
  73. .mr25 {margin-right: 25px;}
  74. .mr30 {margin-right: 30px;}
  75. .mr35 {margin-right: 35px;}
  76. .mr40 {margin-right: 40px;}
  77. /* 内边距*/
  78. .ptb20{padding: 20px 0;}
  79. .ptb30{padding: 30px 0;}
  80. /*文字对齐方式*/
  81. .tl{text-align:left;}
  82. .tr{text-align:right;}
  83. .tc{text-align:center;}
  84. /*字体大小*/
  85. .fs_12{font-size:12px;}
  86. .fs_14{font-size:14px;}
  87. .fs_16{font-size:16px;}
  88. .fs_18{font-size:18px;}
  89. .fs_20{font-size:20px;}
  90. .fs_22{font-size:22px;}
  91. .fs_24{font-size:24px;}
  92. .fs_26{font-size:26px;}
  93. .fs_28{font-size:28px;}
  94. .fs_30{font-size:30px;}
  95. /* 清除浮动-父级使用 */
  96. .fn-clear:after{content:" ";height:0;display:block;font-size:0;visibility:hidden;clear:both;}
  97. /* 清除元素间隙 */
  98. .fn-clear-gap{font-size:0;list-style:none;margin: 0;padding: 0;letter-spacing: 0;word-spacing: 0;}
  99. /* 隐藏, 通常用来与 JS 配合 */
  100. .fn-hide{display:none;}
  101. /* 隐藏多余内容*/
  102. .fn-hidden{overflow: hidden}
  103. /* 文本超出省略号显示 (一行) ------ 使用方式:@include single-line-ellipsis; */
  104. @mixin single-line-ellipsis {text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;white-space: nowrap;word-break: break-all;}
  105. /* 文本超出省略号显示 (多行),括号里传行数 ------ 使用方式:@include multi-line-ellipsis(3); */
  106. @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;}
  107. /************************ 网站公共class样式 author: TX date:2020-07-30 **********************/
  108. /* 网站框架 */
  109. .website-frame{
  110. font-family: "Helvetica Neue", Helvetica, Arial, "微软雅黑", sans-serif;
  111. color: #2C3E50;
  112. min-width: 1240px;
  113. }
  114. /* 饿了么右侧生成的间距 */
  115. .el-popup-parent--hidden{
  116. padding-right:0 !important
  117. }
  118. /* 网站主体部分 */
  119. .client-container{
  120. width: 1200px;margin: 0 auto;
  121. @media (max-width: 768px){width: auto;padding: 0 15px;max-width: 100%;box-sizing: border-box;}
  122. }
  123. .client-container-middle{width: 960px;margin: 0 auto;}
  124. /* 网站头部导航栏 */
  125. .client-head{
  126. width: 100%;height: 90px;z-index: 999;
  127. background: #fff;position: fixed;top:0;
  128. .head-box{display: flex;align-items: center; justify-content: space-between;margin: 0 auto;}
  129. //头部图标
  130. .client-head-img{
  131. width: 368px;height: 68px;display: inline-block;margin-right: 40px;
  132. background-image: url("~static/images/website/common/website-logo.png");
  133. background-repeat: no-repeat;background-position: center;background-size: cover;}
  134. //头部导航
  135. .header-menu {
  136. > span, > a {
  137. height: 90px;line-height: 90px;font-size: 16px;display: inline-block;
  138. margin: 0 24px;color: #333333;cursor: pointer;
  139. }
  140. > a:last-child {margin-right: 0;}
  141. > a:visited {color: #333333;}
  142. > a.active {color: #328971;position: relative;}
  143. .active:before {
  144. content: '';background-color: #328971;display: block;
  145. bottom: 20px;left: -16px;right:-16px;height: 4px;position: absolute;
  146. }
  147. }
  148. }
  149. /* 网站头部导栏 - 面包屑 */
  150. .client-breadcrumb-box {
  151. width: 1200px;
  152. font-size: 16px;
  153. margin: 24px auto;
  154. .st-breadcrumb{
  155. margin-left: 24px;
  156. a:last-child{
  157. .breadcrumb-div::after{display: none;}
  158. }
  159. }
  160. .st-breadcrumb-item {display: inline-block;vertical-align: middle;color: #4a73fd;text-decoration: none;}
  161. .st-breadcrumb-item:hover {cursor: pointer;}
  162. .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);
  163. background-image: url("~static/images/client/component/breadcrumb-icon.svg");background-repeat: no-repeat;background-position: center;}
  164. .breadcrumb-div{display: inline-block;vertical-align: middle;}
  165. .st-breadcrumb-item-last {display: inline-block;text-decoration: none;color: #333;vertical-align: middle;}
  166. .st-breadcrumb-item-last:hover {cursor: default;}
  167. // IE11兼容写法
  168. @media all and (-ms-high-contrast:none) {
  169. *::-ms-backdrop, .st-breadcrumb-item-last { margin-left: -10px;}
  170. }
  171. // IE10兼容写法
  172. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  173. .st-breadcrumb-item-last { margin-left: -10px;}
  174. }
  175. }
  176. /* 网站标题 */
  177. .client-title{
  178. @include setFontStyle(10);color: rgba(0,0,0,0.85);letter-spacing: 0;padding-top: 80px;text-align: center;
  179. // head移动端响应式
  180. @media (max-width: 768px){@include setFontStyle(-4);padding-top: 20px;font-weight: 700;color: rgb(16, 16, 16);}
  181. }
  182. /* 网站标题多行 */
  183. .client-double-title{
  184. @include setFontStyle(10);color: rgba(0,0,0,0.85);letter-spacing: 0;
  185. padding-top: 80px;text-align: center;line-height: 2;margin-bottom: 24px;
  186. // head移动端响应式
  187. @media (max-width: 768px){@include setFontStyle(-4);padding-top: 20px;font-weight: 700;color: rgb(16, 16, 16);}
  188. }
  189. /* 网站副标题 */
  190. .client-subtitle-title{
  191. width: 650px;@include setFontStyle(-4);color: rgba(0,0,0,0.65);line-height: 30px;margin:0 auto;margin-top: 16px;text-align: center;
  192. @media (max-width: 768px){width: 100%;text-align: justify;@include setFontStyle(-6);line-height: 24px;}
  193. }
  194. .client-subtitle-title-big{
  195. 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;
  196. @media (max-width: 768px){width: 100%;text-align: justify;margin-top: 24px;padding: 0;@include setFontStyle(-6);line-height: 24px;}
  197. }
  198. /* 网站通用按钮 */
  199. .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;}
  200. .client-default-Btn:hover{background: #2249C9;cursor: pointer;}
  201. // 白色
  202. .client-default-white-Btn{display: block;@include setFontStyle(-4);background: #fff;color: #2B5CFD;border-radius: 4px;transition: .3s all linear;text-align: center;}
  203. .client-default-white-Btn:hover{background: #fff;cursor: pointer;}
  204. // 免费试用按钮
  205. .free-trial-default-btn{
  206. width: 238px;height: 40px;line-height: 40px;margin: 40px auto 0;display: block;@include setFontStyle(-4);background: #3e7ee7;
  207. color: rgba(255, 255, 255, 0.85);border-radius: 4px;transition: .3s all linear;text-align: center;
  208. @media (max-width: 768px){width: 122px;height: 35px;line-height: 35px;margin: 16px auto 28px;}
  209. }
  210. .free-trial-default-btn:hover{cursor: pointer;}
  211. /* 网站底部banner */
  212. .client-banner-box{
  213. width: 100%;height: 520px;background-color:#fff;background-position: center;background-repeat: no-repeat;
  214. }
  215. /* 网站底部footer */
  216. .client-footer{
  217. background: #0e7a5a;@include setFontStyle(-6);color: #b8e9e1;padding-top: 42px;
  218. //底部版权
  219. h5{text-align: center;padding: 16px 0;border-top: 1px solid #d2fff7;}
  220. .footer-content-box{
  221. display: flex;flex-wrap: wrap;
  222. p{width: 50%;margin-bottom: 16px;text-indent: 120px}
  223. }
  224. }
  225. // 产品和服务
  226. .products-services-box{
  227. width: 100%;display: flex;align-items: center;justify-content: space-between;margin-bottom: 36px;
  228. // 头部图片
  229. img{float: unset;height: auto;}
  230. // 内容区域
  231. .products-services-content{
  232. width: 410px;float: right;padding: 0;box-sizing: border-box;margin: 0 20px;flex-shrink: 0;
  233. @include setFontStyle(-6);
  234. h5{@include setFontStyle(4);color: #328971;margin-bottom: 10px;line-height: 1.6;}
  235. i{width:50px;height:5px;display: block;background: #3e7ce7;margin: 24px 0;}
  236. p{
  237. font-size: 16px;font-weight: 500;color: #333333;
  238. margin-bottom: 32px;text-align: justify;line-height: 1.8;}
  239. }
  240. }
  241. .products-contrary-box{
  242. // 头部图片
  243. img{float: left;}
  244. // 内容区域
  245. .products-services-content{float: right;}
  246. }
  247. /* 一行中内容逆向显示 */
  248. .website-row-reverse{flex-direction: row-reverse;}
  249. // 产品体验
  250. .client-cpty-box {
  251. display: flex;flex-wrap: wrap;justify-content: space-between;margin: 32px 0 46px;cursor: pointer;
  252. // 产品体验
  253. .cpty-card-box {
  254. width: 300px;text-align: center;background-color: white;border-radius: 12px;
  255. padding: 25px 25px 52px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  256. transition: transform 0.3s ease, box-shadow 0.2s ease;
  257. img{width: 180px;height: 180px}
  258. .title {font-size: 24px;color: #333;margin-bottom: 10px;position: relative;margin-top: 16px;}
  259. .title::after {
  260. content: '';position: absolute;bottom: -10px;left: 50%;
  261. transform: translateX(-50%);width: 60px;height: 3px;background-color: #21a38d;
  262. }
  263. .desc {font-size: 14px;color: #666;line-height: 1;margin-top: 24px;}
  264. }
  265. .cpty-card-box:hover {transform: translateY(-5px);box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);}
  266. }
  267. /* 网站分页 */
  268. .client-el-pagination{
  269. text-align: center;margin-top: 36px;
  270. .el-pagination.is-background .el-pager li:not(.disabled).active{background-color: #579E86;}
  271. }
  272. /* 网站通用详情页布局 */
  273. .client-details-page {
  274. width: 100%;padding: 24px 0;
  275. // 时间人数
  276. .details-visits-box {
  277. margin-bottom: 16px;display: flex;align-items: center;justify-content: center;
  278. i {
  279. width: 16px;height: 16px;margin-right: 8px;background-size: cover;
  280. background-image: url("~static/images/website/common/data-icon.svg");
  281. }
  282. span {@include setFontStyle(-4);color: #666;}
  283. }
  284. //行业资讯详情外层box
  285. .client-details-box {
  286. width: 100%;margin: 0 auto;padding: 32px 0;
  287. h1 {@include setFontStyle(2);color: #333;margin-bottom: 16px;text-align: center;line-height: 1.8;}
  288. //内容区域
  289. .client-content-box {
  290. min-height: calc(100vh - 587px);line-height: 1.8;color: #666;
  291. @include setFontStyle(-4);margin-bottom: 70px;
  292. img {max-width: 100%;}
  293. h1, h2, h3, h4, h5, h6, p {margin-bottom: 10px;}
  294. }
  295. // 上一篇下一篇
  296. .client-details-pagination {
  297. a {
  298. max-width: 45%;float: left;@include setFontStyle(-4);
  299. color: #25ac83;display: inline-block;@include single-line-ellipsis;
  300. }
  301. a:last-child {margin-left: 10%;float: right;}
  302. a:hover {color: #25ac83;cursor: pointer}
  303. }
  304. }
  305. }
  306. /**/
  307. .cpty-dialog{
  308. .el-dialog{width: 420px;border-radius: 8px;overflow: hidden;}
  309. .el-dialog__header{
  310. background-color: #1c9373;color: #fff;
  311. .el-dialog__title,.el-dialog__headerbtn .el-dialog__close{color: #fff;}
  312. }
  313. .el-form-item{
  314. margin-bottom: 16px;
  315. .el-form-item__label{line-height: 30px}
  316. }
  317. .cpty-submit-btn{
  318. margin: 30px auto 0;background-color: #1c9373;text-align: center;font-size: 16px;
  319. width: 120px;height:40px;line-height:40px;color: #fff;border-radius: 4px;
  320. }
  321. }
  322. /* 网站通用弹窗-申请方案 */
  323. .application-scheme-dialog{
  324. .el-dialog{width: 610px;border-radius: 8px;}
  325. .el-dialog__body{
  326. padding: 30px 120px 60px;
  327. >i{width:213px;height:92px;display: block;background-image: url("~static/images/client/course/course-dialog-img.png");margin: 0 auto;}
  328. p{@include setFontStyle(-2);color: rgba(0,0,0,0.85);text-align: center;margin:24px 0 36px;}
  329. span{@include setFontStyle(-6);color: rgba(0,0,0,0.65);}
  330. a{@include setFontStyle(-6);color: #2B5CFD;float: right;}
  331. // 申请注册按钮
  332. .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;}
  333. }
  334. // 输入框上下间距
  335. .el-form-item{margin-bottom: 24px}
  336. // 输入框左右间距
  337. .el-input .el-input__inner{padding: 0 15px 0 35px;}
  338. //输入框图标
  339. .dialog-input-tel:after,.dialog-input-code:after{width: 16px;height: 16px;content: "";display: inline-block;position: absolute;top: 12px;left: 12px;}
  340. .dialog-input-tel:after{background-image: url("~static/images/client/course/course-dialog-icon1.svg");}
  341. .dialog-input-code:after{background-image: url("~static/images/client/course/course-dialog-icon2.svg");}
  342. // 输入框-验证码
  343. .dialog-input-code{width: calc(100% - 132px);}
  344. .dialog-code-btn.el-button{width:120px;box-sizing:border-box;padding: 12px 15px;margin-left: 8px;}
  345. // 滑块px
  346. .nc-container{
  347. .nc_wrapper{width:100%!important;margin-bottom: 24px;border-radius: 4px;overflow: hidden;}
  348. .nc_scale{
  349. .btn_slide{color: #fff;}
  350. span{width:50px;background: #3893FE;border-radius: 0 4px 4px 0;border: 1px solid transparent;}
  351. }
  352. }
  353. }
  354. /* 网站通用弹窗-视频播放 */
  355. .course-video-dialog{
  356. .el-dialog{width: 940px;border-radius: 8px;}
  357. .el-dialog__body{padding: 14px 40px 80px;}
  358. // 标题
  359. .el-dialog__title{@include setFontStyle(-2);color: rgba(0,0,0,0.85);}
  360. // 视频
  361. .course-video-box{width: 100%;height: 480px;}
  362. p{@include setFontStyle(-4);color: rgba(0,0,0,0.65);margin-top: 16px;line-height: 22px}
  363. @media (max-width: 768px){
  364. .el-dialog{width: 90%;border-radius: 8px;margin: 0 5%;}
  365. .el-dialog__body{padding: 0 16px;}
  366. // 视频
  367. .course-video-box{height: 180px;}
  368. p{@include setFontStyle(-6);padding: 10px 0 16px;margin: 0}
  369. }
  370. }
  371. /* 首页行业学习详情页-通用部分 */
  372. // banner
  373. .industrydetails-banner{
  374. width: 100%;
  375. height: 400px;
  376. background-color:#042D85;
  377. position: relative;
  378. .industrydetails-banner-box{width:inherit;height:inherit;background-position-x: center;background-repeat: no-repeat;}
  379. .free-trial-default-btn{position: absolute;top:280px;left: 50%;margin-left: -119px;}
  380. @media (max-width: 768px){
  381. height: 150px;
  382. .industrydetails-banner-box{background-size: cover;}
  383. .free-trial-default-btn{top:95px;margin-left: -61px;}
  384. }
  385. }
  386. // 发展现状
  387. .industrydetails-develop-box{
  388. .client-container{padding: 48px 0 80px;text-align: center;}
  389. 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;}
  390. img{display: inline-block;vertical-align: middle;}
  391. @media (max-width: 768px){
  392. .client-container{padding: 16px 30px 48px;display: flex;flex-direction: column-reverse;}
  393. p{width: 100%;display: block;@include setFontStyle(-6);color: rgba(85, 85, 85, 1);line-height: 24px;margin-right: 0;}
  394. img{max-width: 100%;display: block;vertical-align:unset;margin-bottom: 16px;}
  395. }
  396. }
  397. // 考试平台和培训平台样式--多下边线
  398. .platform-products-services{
  399. li:not(:last-child){border-bottom:1px solid #eee; }
  400. }
  401. // 详情页内容
  402. .industrydetails-content{
  403. li{margin-bottom: 16px;}
  404. 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;}
  405. h5{@include setFontStyle(-2);color: rgba(0,0,0,0.85);margin-bottom: 24px;text-align: center;}
  406. p{@include setFontStyle(-5);color: rgba(0,0,0,0.65);line-height: 22px;text-align: left;}
  407. @media (max-width: 768px) {
  408. li{margin-bottom: 10px;}
  409. i{width: 10px;height: 10px;margin-right: 8px;margin-top: 8px;}
  410. h5{@include setFontStyle(-4);color: rgba(255, 255, 255, 1);margin-bottom: 16px;text-align: center;font-weight: 700;}
  411. p{@include setFontStyle(-6);color: rgba(255, 255, 255, 1);line-height: 24px;text-align: justify;}
  412. }
  413. }
  414. // 通用平台-新闻资讯样式
  415. .platform-news-information{
  416. padding-bottom: 80px;
  417. background: #f8f8f8;
  418. ul{margin-top: 48px;}
  419. li{
  420. width: 50%;display: inline-block;vertical-align: top;
  421. div{margin: 10px;padding:10px 10px 10px 0;border-bottom:1px dashed #666;}
  422. img{width: 190px;height: 118px;float: left;margin-right: 24px;}
  423. h4{@include setFontStyle(-2);color: rgba(0, 0, 0, 0.85);@include single-line-ellipsis;margin-bottom: 8px;}
  424. h4:hover{color: #3e7ce7;cursor: pointer;}
  425. span{display: block;@include setFontStyle(-6);color: rgba(0, 0, 0, 0.65);margin-bottom: 8px;}
  426. p{@include setFontStyle(-6);height: 66px;line-height: 22px;color: rgba(0, 0, 0, 0.65);@include multi-line-ellipsis(3);}
  427. }
  428. }
  429. // 页面内部导航菜单(课程开发和客户案例)
  430. .platform-menu-ul{
  431. display: block;
  432. margin: 0 auto;
  433. text-align: center;
  434. background: #F7F9FB;
  435. 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}
  436. li.active{color: #2B5CFD;background-image: linear-gradient(270deg, #FFFFFF 0%, #F4F6FF 100%);}
  437. li:hover{
  438. transform: scale(1.1);
  439. }
  440. @media (max-width: 768px){
  441. background: #fff;margin: 20px 0 0;
  442. li{width: 100px;height: 30px;line-height:30px;margin:0 10px;padding:0;border-radius:5px;border: 1px solid rgb(0, 102, 204);@include setFontStyle(-4);
  443. color: rgb(0, 102, 204);background: #fff;box-shadow: 0 2px 4px 0 rgba(43,92,253,0.16);box-sizing: border-box}
  444. li.active{color: #fff;background: rgb(0, 102, 204);}
  445. li:hover{transform: none;}
  446. }
  447. }
  448. /* 页面课程列表 */
  449. .course-learn-box{
  450. // video列表
  451. .learn-box-list{
  452. margin: 54px -16px 0;
  453. li{
  454. width: 33.33%;display: inline-block;text-align: center;
  455. a{display: none;}
  456. div{background: #fff;border-radius: 8px;margin: 0 16px 40px;}
  457. span{width:342px;height:192px;display: inline-block;margin-top: 16px;border-radius:4px;overflow: hidden;position: relative}
  458. i{width: 48px;height: 48px;cursor: pointer;background-image: url("~static/images/client/course/course-video-icon.svg");display: inline-block;position: absolute;
  459. left: 50%;margin-left: -24px;z-index: 5;top: 50%;margin-top: -24px;background-size: cover;background-position: bottom;transition: all 0.5s;}
  460. img{transition: all 0.5s;}
  461. p{@include setFontStyle(-4);color: rgba(0,0,0,0.65);padding: 24px 0 24px;}
  462. }
  463. li span:hover{img{transform: scale(1.1);}}
  464. li i:hover{background-image: url("~static/images/client/course/course-video-icon-a.svg");background-size: cover;background-position: bottom;}
  465. }
  466. @media (max-width: 768px){
  467. margin: 0 6%;
  468. // video列表
  469. .learn-box-list{
  470. margin: 12px 0;
  471. li{
  472. width: 100%;margin-bottom: 20px;
  473. div{margin: 0;padding: 0;box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px -1px;border-radius:0;}
  474. span{width: 100%;height: 180px;margin-top: 0;border-radius:0;}
  475. img{width: 100%;}
  476. p{padding: 20px 0 20px;@include setFontStyle(-6);color: #101010;}
  477. }
  478. }
  479. }
  480. }
  481. /* 底部跳转 */
  482. .bottom-btn-box{
  483. height: 50px;position: fixed;bottom: 0;left: 0;right: 0;font-size: 0;background: #fff;z-index: 99999;border-top: 1px solid #ccc;
  484. li{width: 25%;margin: 0;padding: 0;}
  485. a{width: 100%;height: 50px;line-height: 1;display: inline-block;text-align: center;font-size: 13px;color: #333;margin: 6px 0;}
  486. i{width:22px;height: 22px;background-size:cover;display: block;margin: 0 auto 3px;}
  487. span{color: #333;}
  488. li:nth-child(1) i{background-image: url("~static/images/icons/shouye.svg");}
  489. li:nth-child(2) i{background-image: url("~static/images/icons/tiyan.svg");}
  490. li:nth-child(3) i{background-image: url("~static/images/icons/dianhua.svg");}
  491. li:nth-child(4) i{background-image: url("~static/images/icons/zixun.svg");}
  492. li.is-active span{color: #2881db;}
  493. li.is-active:nth-child(1) i{background-image: url("~static/images/icons/shouye-a.svg");}
  494. li.is-active:nth-child(2) i{background-image: url("~static/images/icons/tiyan-a.svg");}
  495. li.is-active:nth-child(3) i{background-image: url("~static/images/icons/dianhua-a.svg");}
  496. li.is-active:nth-child(4) i{background-image: url("~static/images/icons/zixun-a.svg");}
  497. }
  498. // 课程开发图片展示行
  499. .website-course-services{
  500. li{margin-bottom: 36px;}
  501. @media (max-width: 768px){
  502. ul{margin-top: 32px;}
  503. li{margin-bottom: 12px;}
  504. }
  505. }
  506. .course-services-box{
  507. width: 100%;display: flex;align-items: center;
  508. // 头部图片
  509. img{ width: 620px;height: 437px;float: right;}
  510. // 内容区域
  511. .course-services-content{
  512. width: 570px;
  513. float: right;
  514. box-sizing: border-box;
  515. display: block;
  516. margin-right: 10px;
  517. @include setFontStyle(-6);
  518. h4{@include setFontStyle(28);color: #4069e7;margin-bottom: 24px;}
  519. h5{@include setFontStyle(10);color: #333;margin-bottom: 36px;}
  520. i{width:50px;height:5px;display: block;background: #3e7ce7;margin: 24px 0;}
  521. p{@include setFontStyle(-4);line-height: 32px;color: rgba(0,0,0,0.65);margin-bottom: 56px;text-align: justify;}
  522. .p-before-circle{margin-bottom: 6px!important;}
  523. .p-before-circle:before{
  524. content: '';
  525. width: 20px;
  526. height: 20px;
  527. display: inline-block;
  528. margin-right: 8px;
  529. background-image: url("~static/images/client/index/index-icon.png");
  530. vertical-align: middle;
  531. background-repeat: no-repeat;background-size: cover;
  532. }
  533. .client-btn-box{margin: 40px 0}
  534. .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;}
  535. .client-default-white-Btn{background: #fff;color: #3e7ce7;}
  536. a,div.client-default-Btn{margin-right: 24px}
  537. span.client-default-Btn{background: #fff;color: #3e7ce7;margin-right: 0;}
  538. }
  539. @media (max-width: 768px){
  540. flex-direction: column-reverse;
  541. // 头部图片
  542. img{width: 100%;height: auto;float: none;}
  543. // 内容区域
  544. .course-services-content{
  545. width: 100%;float: none;padding: 0 10px;margin: 0;
  546. @include setFontStyle(-6);
  547. h4{@include setFontStyle(4);display: inline-block;margin-bottom: 16px;margin-right: 6px;}
  548. h5{@include setFontStyle(-5);font-weight: 700;color: rgba(0, 0, 0, 1);display: inline-block;margin-bottom: 16px;}
  549. i{width:34px;height:3px;margin: 10px 0;}
  550. p{margin-bottom: 0;color: rgba(85, 85, 85, 1);line-height: 24px;font-size: 12px;}
  551. .p-before-circle:before{width: 16px;height: 16px;margin-right: 6px;}
  552. .client-btn-box{text-align: center;margin:40px 0;}
  553. .client-default-Btn,.client-default-white-Btn{width: 120px;height: 35px;line-height: 35px;}
  554. a,div.client-default-Btn{margin-right: 16px}
  555. }
  556. }
  557. }
  558. /* 为什么选择我们模块 */
  559. .website-chose-box{
  560. padding-bottom: 80px;
  561. .chose-img-box{
  562. margin: 48px -14px 0;
  563. li{
  564. width: 25%;display: inline-block;vertical-align: top;
  565. div{height: 260px;background: #f8f8f8;position:relative;text-align: center;margin: 0 14px;}
  566. span{width: 100%;height: 200px;display: inline-block;}
  567. img{margin: 50px auto 0;}
  568. h5{@include setFontStyle(-2);color: rgba(0,0,0,0.85);}
  569. }
  570. }
  571. .client-default-Btn {
  572. width: 238px;
  573. height: 40px;
  574. line-height: 40px;
  575. margin: 40px auto 0;
  576. }
  577. @media (max-width: 768px){
  578. padding: 0;
  579. .chose-img-box{
  580. margin: 20px 0 0;
  581. li{
  582. width: 50%;margin-bottom: 12px;
  583. div{height: 125px;margin: 0 7px;}
  584. span{height: 90px;}
  585. img{width:60px;margin: 16px auto 0;}
  586. h5{@include setFontStyle(-4);color: #101010;}
  587. }
  588. }
  589. .client-default-Btn {
  590. width: 238px;
  591. height: 40px;
  592. line-height: 40px;
  593. margin: 40px auto 0;
  594. }
  595. }
  596. }
  597. /* 课程开发通用-新闻资讯样式 */
  598. .website-synopsis-news-box{
  599. padding-bottom: 80px;
  600. background: #f7f7f7;
  601. ul{margin-top: 48px;}
  602. li{
  603. width: 50%;display: inline-block;vertical-align: top;
  604. div{margin: 10px;padding:10px 10px 10px 0;}
  605. img{width: 190px;height: 118px;float: left;margin-right: 24px;}
  606. h4{@include setFontStyle(-2);color: #333;@include single-line-ellipsis;margin-bottom: 8px;}
  607. h4:hover{color: #3e7ce7;cursor: pointer;}
  608. span{display: block;@include setFontStyle(-4);color: #666;margin-bottom: 8px;}
  609. p{@include setFontStyle(-6);height: 66px;line-height: 22px;color: #999;@include multi-line-ellipsis(3);}
  610. }
  611. @media (max-width: 768px){
  612. li{
  613. width: 100%;
  614. div{padding:0;margin: 0 0 32px 0;}
  615. img{width: 124px;height:78px;margin-right: 16px}
  616. h4{@include setFontStyle(-8);margin-bottom: 6px;}
  617. span{display: block;@include setFontStyle(-10);}
  618. p{@include setFontStyle(-9);@include multi-line-ellipsis(2);height: 40px;line-height: 18px;}
  619. }
  620. }
  621. }
  622. /**************** 课程开发-课程类型通用样式 ****************/
  623. .classification-items {
  624. display: flex;
  625. justify-content: space-between;
  626. align-items: center;
  627. li{
  628. width: 279px;height: 333px;position:relative;background-size: cover;
  629. background-repeat: no-repeat;cursor: pointer;
  630. p{font-size: 24px;color: #333;position: absolute;bottom: 65px;left:0;right:0;text-align: center;}
  631. }
  632. li.active{
  633. p{color: #2770FF;}
  634. }
  635. @media (max-width: 768px){
  636. flex-wrap: wrap;justify-content: space-evenly;
  637. .classification-item {
  638. width: 140px;
  639. height: 167px;
  640. margin: 10px;
  641. background-size: contain;
  642. background-repeat: no-repeat;
  643. background-position: center;
  644. p{font-size: 14px;bottom: 30px;}
  645. &:not(:nth-child(even)) {
  646. margin-right: 0;
  647. }
  648. &:nth-child(n+3) {
  649. margin-top: 0;
  650. }
  651. }
  652. }
  653. }
  654. /**************** 课程开发-视频通用样式 ****************/
  655. .classification__info-videos {
  656. display: flex;
  657. justify-content: space-between;
  658. align-items: center;
  659. margin: 122px 0 50px 0;
  660. .classification-video-item {
  661. width: 30%;
  662. img{width: 100%;}
  663. &:last-child {
  664. margin-right: 0;
  665. }
  666. }
  667. @media (max-width: 768px) {
  668. flex-wrap: wrap;
  669. flex-direction: column;
  670. margin: 30px 0 0 0;
  671. .classification-video-item {
  672. width: 100%;
  673. margin: 0 0 10px;
  674. img {
  675. width: 100%;
  676. }
  677. }
  678. }
  679. }
  680. /**************** 信息收集页面 ****************/
  681. .client-course-quotation {
  682. background-image: url("~static/images/client/course/btns/course-bg-b1.png");
  683. background-position-x: center;
  684. background-repeat: no-repeat;
  685. height: 637px;
  686. .quotation-wrap {
  687. display: flex;
  688. justify-content: space-between;
  689. .left-text {
  690. margin-top: 282px;
  691. h3 {
  692. font-size: 48px;
  693. font-weight: 700;
  694. text-align: left;
  695. color: #fefefe;
  696. letter-spacing: 1.2px;
  697. margin-bottom: 33px;
  698. width: 410px;
  699. height: 47px;
  700. }
  701. p {
  702. font-size: 20px;
  703. font-weight: 400;
  704. text-align: left;
  705. color: #ffffff;
  706. width: 364px;
  707. height: 20px;
  708. }
  709. }
  710. .baojia-form {
  711. margin-top: 82px;
  712. margin-right: 120px;
  713. }
  714. }
  715. @media (max-width: 768px) {
  716. margin-bottom: 200px;
  717. height: 400px;
  718. .quotation-wrap {
  719. flex-direction: column;
  720. .left-text {
  721. margin: 40px auto 0;
  722. h3 {
  723. text-align: center;
  724. font-size: 20px;
  725. margin-bottom: 10px;
  726. width: 100%;
  727. }
  728. p {
  729. text-align: center;
  730. width: 100%;
  731. font-size: 16px;
  732. margin: -10px 0 20px 0;
  733. }
  734. }
  735. .baojia-form {
  736. margin: 0 auto;
  737. }
  738. }
  739. }
  740. }
  741. /********************************* 麦塔栅格**********************************/
  742. /*
  743. 栅格说明:
  744. 1.网站内容区域1200px;
  745. 2.手机端<=768
  746. 3.pad-------------------(769---992---1200)
  747. pad768*1024(手机样式)
  748. pad1024*1366(pad样式)
  749. 4.pc---1200以上
  750. */
  751. // 大于768的隐藏
  752. @media screen and (min-width: 769px) {
  753. .mta-hidden-sm{display: none!important;}
  754. }
  755. // 小于769的隐藏
  756. @media screen and (max-width: 769px) {
  757. .mta-hidden-xs{display: none!important;}
  758. // 提示框
  759. .phone-message-box{
  760. width: 88%;min-width: unset;top: 35% !important;display: block;text-align: center;padding: 36px 0;
  761. .el-message__icon{margin-bottom: 20px;}
  762. .el-message__icon:before{font-size: 50px;}
  763. }
  764. }
  765. /********************************* 麦塔移动端组件**********************************/
  766. @media (max-width: 768px) {
  767. // swiper
  768. .experience-swiper-box {
  769. position: relative;
  770. // swiper--div
  771. .swiper-slide {width: 100%;}
  772. .swiper-pagination-style {
  773. width: 80px;position: absolute;bottom: 66px;left: 50%;margin-left: -30px;z-index: 99;
  774. // 小圆点
  775. .my-bullet-swiper {width: 10px;height: 10px;border-radius: 5px;display: inline-block;background: rgba(0, 102, 204, 0.2);margin-right: 14px;}
  776. // 分页active
  777. .my-bullet-active-swiper {background: rgb(0, 102, 204)}
  778. }
  779. // swiper 内容区
  780. .experience-content-box {
  781. height: 243px;display: flex;flex-direction: column;align-items: center;justify-content: center;
  782. margin: 5px 4% 40px;box-shadow: rgba(0, 0, 0, 0.4) 0 0 6px -1px;text-align: center;padding: 20px 0;
  783. i {width: 64px;height: 64px;background-repeat: no-repeat;background-size: contain;margin-bottom: 24px;display: inline-block;flex-shrink: 0;}
  784. h5 {font-weight: 700;font-size: 16px;color: rgb(16, 16, 16);margin-bottom: 30px;}
  785. p {font-weight: 400;font-size: 14px;color: rgb(16, 16, 16);margin: 6px 0;}
  786. a {width: 122px;height: 35px;line-height: 35px;background-color: rgb(0, 102, 204);color: rgb(255, 255, 255);border-radius: 5px;font-size: 14px;
  787. padding: 0;text-align: center;display: inline-block;margin-top: 16px;
  788. }
  789. }
  790. // swiper 提示
  791. .experience-swiper-tip {font-weight: 400;font-size: 14px;color: rgb(96, 96, 96);text-align: center;margin: 0 0 42px;}
  792. }
  793. // 移动端点击a标签背景变色bug修复
  794. a{-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  795. -webkit-user-select: none;
  796. -moz-user-focus: none;
  797. -moz-user-select: none;}
  798. }