cus-client-common.scss 31 KB

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