cus-client-common.scss 32 KB

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