cus-client-common.scss 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  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%;
  126. height: 80px;
  127. z-index: 999;
  128. background: #fff;
  129. position: fixed;
  130. top:0;
  131. //头部布局
  132. .head-layout{display: flex;justify-content: space-between;}
  133. //头部导航
  134. .el-menu--horizontal{
  135. border: 0;
  136. >.el-menu-item {
  137. color: rgba(0,0,0,0.85);
  138. @include setFontStyle(-2);
  139. height: 80px;
  140. line-height: 80px;
  141. margin: 0 10px;
  142. padding: 0!important;
  143. a{height: inherit;display: inline-block;padding: 0 6px;}
  144. }
  145. >.el-menu-item.is-active{
  146. @include setThemeColorBase("color", 0);
  147. @include setThemeColorBase("border-color", 0);
  148. border-width:4px;
  149. }
  150. }
  151. //头部左侧区域
  152. .head-left{
  153. display: flex;
  154. //头部图标
  155. .client-head-img{width: 200px;height:79px;display: inline-block;background-image: url("~static/images/client/component/nav-logo.jpg");background-repeat: no-repeat;background-position: center;background-size: cover;margin-right: 40px;}
  156. }
  157. //头部右侧区域
  158. .head-right{
  159. line-height: 80px;position: relative;
  160. >a{height: 40px;line-height: 40px;@include setFontStyle(-4);padding: 0 30px;border-radius: 4px;display: inline-block;border: 1px solid #0366cd;color:#0064cc;box-sizing: border-box;text-align: center;}
  161. >a.right-tel-btn{width: 130px;color: #fff;background: #3e7ce7;border: 1px solid #3e7ce7;padding: 0 8px;margin-right:10px;position: relative;}
  162. >a:hover{cursor: pointer;}
  163. .system-box{width: 130px;height: 60px;position: absolute;top: 20px;}
  164. .system-box{
  165. div{
  166. display: none;min-width:260px;height:120px;position: absolute;background: #fff;border: 1px solid #b5b5b5;border-radius: 4px;padding: 10px 8px;left: 0;top:57px;transition: 5s;
  167. a{
  168. display: inline-block;
  169. i{width: 110px;height: 84px;display: block;background-size: cover;}
  170. }
  171. a:nth-child(1){i{background-image:url("~static/images/client/exam/product-function-icon3.png");} }
  172. a:nth-child(3){i{background-image:url("~static/images/client/train/product-function-icon6.png");} }
  173. span{width: 1px;min-height: 88px;display:inline-block;background:#e8e8e8;@include setFontStyle(-4);margin: 10px;}
  174. p{@include setFontStyle(-4);color: rgba(0,0,0,0.85);line-height: 24px;text-align: center;}
  175. }
  176. // 伪类气泡箭头
  177. div:after,div:before {
  178. width: 0;
  179. height: 0;
  180. font-size: 0;
  181. overflow: hidden;
  182. position: absolute;
  183. content: ' ';
  184. left: 60px;
  185. }
  186. div:after{
  187. border-width: 10px;
  188. border-style: dashed dashed solid ;
  189. border-color: transparent transparent #ffffff;
  190. top: -19px;
  191. }
  192. div:before{
  193. border-width: 10px;
  194. border-style: dashed dashed solid ;
  195. border-color: transparent transparent #666 ;
  196. top:-20px;
  197. }
  198. }
  199. .system-box:hover{
  200. >div{
  201. display: block;
  202. }
  203. }
  204. }
  205. // head移动端响应式
  206. @media (max-width: 768px){
  207. // head
  208. height: 60px;border-bottom: 1px solid #e7e7e7;
  209. //头部左侧区域 logo
  210. .head-left{
  211. justify-content: space-between;height: 60px;align-items: center;padding:0;
  212. .client-head-img{width: 92px;height: 46px;background-size: contain;margin:0;}
  213. }
  214. //头部导航
  215. .el-menu{position: absolute;margin: 0;left: 0;right: 0;height: 100vh;transition: 0.5s;top: 61px;}
  216. // 手机菜单关闭
  217. .head-nav-up{height: 0;display:none;opacity: 0;}
  218. // 手机菜单开启
  219. .head-nav-down{height: 100vh;display:block;opacity: 1;}
  220. // li
  221. .el-menu--horizontal>.el-menu-item{float: none;height: 60px;line-height: 60px;border-bottom: 1px solid #e9e9e9;margin:0 18px;
  222. border-bottom-color:#e9e9e9!important;font-weight: 700;font-size: 16px;color: rgb(16, 16, 16);}
  223. .el-menu--horizontal>.el-menu-item a{width: 100%}
  224. .el-menu--horizontal>.el-menu-item:last-child{border: 0;}
  225. .el-menu--horizontal > .el-menu-item.is-active{border-bottom: 1px solid #e9e9e9;border-bottom-color: #e9e9e9 !important;}
  226. // 咨询电话
  227. .phone-tel-box{color: rgb(0, 84, 145);font-size: 14px;font-weight: bold;line-height: 60px;}
  228. // 按钮
  229. .phone-nav-btn{width:30px;height:30px;background-image: url("~static/images/client/component/head-btn-icon.svg");}
  230. // 布局
  231. .head-layout{display: block}
  232. }
  233. }
  234. /* 网站头部导栏 - 面包屑 */
  235. .client-breadcrumb-box {
  236. width: 1200px;
  237. font-size: 16px;
  238. margin: 24px auto;
  239. .st-breadcrumb{
  240. margin-left: 24px;
  241. a:last-child{
  242. .breadcrumb-div::after{display: none;}
  243. }
  244. }
  245. .st-breadcrumb-item {display: inline-block;vertical-align: middle;color: #4a73fd;text-decoration: none;}
  246. .st-breadcrumb-item:hover {cursor: pointer;}
  247. .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);
  248. background-image: url("~static/images/client/component/breadcrumb-icon.svg");background-repeat: no-repeat;background-position: center;}
  249. .breadcrumb-div{display: inline-block;vertical-align: middle;}
  250. .st-breadcrumb-item-last {display: inline-block;text-decoration: none;color: #333;vertical-align: middle;}
  251. .st-breadcrumb-item-last:hover {cursor: default;}
  252. // IE11兼容写法
  253. @media all and (-ms-high-contrast:none) {
  254. *::-ms-backdrop, .st-breadcrumb-item-last { margin-left: -10px;}
  255. }
  256. // IE10兼容写法
  257. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  258. .st-breadcrumb-item-last { margin-left: -10px;}
  259. }
  260. }
  261. /* 网站标题 */
  262. .client-title{
  263. @include setFontStyle(10);color: rgba(0,0,0,0.85);letter-spacing: 0;padding-top: 80px;text-align: center;
  264. // head移动端响应式
  265. @media (max-width: 768px){@include setFontStyle(-2);padding-top: 20px;font-weight: 700;color: rgb(16, 16, 16);}
  266. }
  267. /* 网站副标题 */
  268. .client-subtitle-title{width: 650px;@include setFontStyle(-4);color: rgba(0,0,0,0.65);line-height: 30px;margin:0 auto;margin-top: 16px;text-align: center}
  269. .client-subtitle-title-big{width: 1000px;padding:0 100px;@include setFontStyle(-4);color: rgba(0,0,0,0.65);line-height: 30px;margin:0 auto;margin-top: 48px;text-align: center}
  270. /* 网站通用按钮 */
  271. .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;}
  272. .client-default-Btn:hover{background: #2249C9;cursor: pointer;}
  273. // 白色
  274. .client-default-white-Btn{display: block;@include setFontStyle(-4);background: #fff;color: #2B5CFD;border-radius: 4px;transition: .3s all linear;text-align: center;}
  275. .client-default-white-Btn:hover{background: #fff;cursor: pointer;}
  276. // 免费试用按钮
  277. .free-trial-default-btn{
  278. width: 238px;height: 40px;line-height: 40px;margin: 40px auto 0;display: block;@include setFontStyle(-4);background: #3e7ee7;
  279. color: rgba(255, 255, 255, 0.85);border-radius: 4px;transition: .3s all linear;text-align: center;
  280. @media (max-width: 768px){width: 122px;height: 35px;line-height: 35px;margin: 16px auto 28px;}
  281. }
  282. .free-trial-default-btn:hover{cursor: pointer;}
  283. /* 网站底部footer */
  284. .client-footer{
  285. background: #1E2534;
  286. //footer内容区域
  287. .contact-box{
  288. padding-top: 40px;
  289. .contact-left-box{
  290. display: inline-block;
  291. dl{display: inline-block;margin-right: 48px;margin-bottom: 40px;vertical-align: top;}
  292. dt{@include setFontStyle(-4);color: #FFFFFF;margin-bottom: 24px;}
  293. dd,dd a{@include setFontStyle(-6);color: rgba(255,255,255,0.64);margin-bottom: 8px;}
  294. dd:hover,dd a:hover{color: rgba(255,255,255,0.85);cursor: pointer}
  295. // 二维码
  296. .two-code-box{position: relative;}
  297. .two-dimensional-code{width: 110px;height: 110px;background-color: #fff;background-image: url("~static/images/client/component/two-dimensional-code.jpg");display: none;position: absolute;left: 85px;top:-40px;background-size: cover;border-radius: 4px;transition: .5s; }
  298. .two-dimensional-code:before{width: 0;height: 0;content: "";display: none;margin-left: -20px;margin-top: 40px;border-width: 10px;border-style: solid;border-color: transparent #fff transparent transparent;transition: .5s; }
  299. .two-code-box:hover{
  300. cursor: default;
  301. .two-dimensional-code{display: block;}
  302. .two-dimensional-code:before{display: block;}
  303. }
  304. }
  305. .contact-right-box{
  306. //width: 170px;
  307. float: right;
  308. .right-sw-box{
  309. margin-right: 24px;
  310. h4{@include setFontStyle(-4);color: #FFFFFF;margin-bottom: 16px;text-align: center}
  311. img{width: 100px}
  312. }
  313. div{display: inline-block}
  314. h3{@include setFontStyle(4);color: #FFF;margin-bottom: 16px;}
  315. p{@include setFontStyle(-6);color: rgba(255,255,255,0.64);margin-bottom: 8px;}
  316. a{@include setFontStyle(-6);color: #2B5CFD;}
  317. a:hover{cursor: pointer;}
  318. }
  319. }
  320. //友情链接区域
  321. .link-box{
  322. border-top: 1px solid #333B4C;
  323. border-right: 0;
  324. border-left: 0;
  325. padding: 32px 0;
  326. h4{@include setFontStyle(-4);color: #FFF;float: left;margin-right: 48px;line-height: 22px;}
  327. .link-a-box{
  328. margin-left: 114px;
  329. line-height: 22px;
  330. a{@include setFontStyle(-6);color: rgba(255,255,255,0.54);display:inline-block;margin-right: 32px;white-space: nowrap;}
  331. a:hover{color: rgba(255,255,255,0.85);cursor: pointer;}
  332. }
  333. }
  334. //底部版权
  335. h5{@include setFontStyle(-8);color: #B8B8B8;text-align: center;padding: 16px 0 24px;border-top: 1px solid #333B4C;}
  336. @media (max-width: 768px) {
  337. .phone-footer-box {
  338. text-align: center;padding: 20px 0;
  339. a,p{@include setFontStyle(-10);color: #fff;padding: 6px 0}
  340. a{display: block}
  341. }
  342. }
  343. }
  344. /* 网站分页 */
  345. .client-el-pagination{text-align: center;margin-top: 36px}
  346. /* 网站通用详情页布局 */
  347. .client-details-page{
  348. background: #f9faff;
  349. width: 100%;
  350. padding: 24px 0;
  351. // 时间人数
  352. .details-visits-box{
  353. margin-bottom: 16px;
  354. 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");}
  355. i[type="visits"]{background-image: url("~static/images/client/newsInfor/newsInfor-details-visits.svg");}
  356. span{@include setFontStyle(-6);display:inline-block;color: #666;margin-right: 60px;vertical-align: middle;}
  357. }
  358. //行业资讯详情外层box
  359. .client-details-box{
  360. width: 1200px;
  361. margin: 0 auto;
  362. padding: 24px;
  363. box-sizing: border-box;
  364. background: #FFFFFF;
  365. border-radius: 8px;
  366. }
  367. // 行业资讯详情
  368. .client-details-wrap{
  369. width: 820px;
  370. display: inline-block;
  371. padding-right: 24px;
  372. border-right:1px solid #DCE0E8;
  373. box-sizing: border-box;
  374. vertical-align: top;
  375. >h1{@include setFontStyle(-2);color: rgba(0,0,0,0.85);margin-bottom: 16px;}
  376. //内容区域
  377. .client-content-box{
  378. min-height: calc(100vh - 587px);
  379. line-height: 24px;
  380. color: rgba(0,0,0,0.64);
  381. @include setFontStyle(-6);
  382. margin-bottom: 70px;
  383. p{line-height: 22px;}
  384. img{max-width: 100%;}
  385. h1,h2,h3,h4,h5,h6,p{margin-bottom: 10px;}
  386. }
  387. // 上一篇下一篇
  388. .client-details-pagination{
  389. a{max-width: 45%;float: left;@include setFontStyle(-4);color: rgba(43,92,253,0.85);display: inline-block;@include single-line-ellipsis;}
  390. a:last-child{margin-left: 10%;float: right;}
  391. a:hover{color: #1648EE;cursor: pointer}
  392. }
  393. }
  394. // 最新新闻
  395. .latest-news-box{
  396. width: 300px;
  397. padding-left: 24px;
  398. display: inline-block;
  399. vertical-align: top;
  400. h4{@include setFontStyle(-4);color: rgba(0,0,0,0.85);margin-bottom: 16px;}
  401. .latest-news-list{
  402. li{margin-bottom: 24px}
  403. a{width: 100%;@include setFontStyle(-4);display:inline-block;color: rgba(43,92,253,0.65);margin-bottom: 8px;@include single-line-ellipsis;}
  404. a:hover{color: rgba(43,92,253,0.85);cursor: pointer}
  405. }
  406. }
  407. }
  408. /* 网站通用轮播 */
  409. /*.client-industry-information{
  410. background-image: url("~static/images/client/index/index-industry-bg.png");
  411. background-position: center;
  412. padding-bottom: 80px;
  413. // 标题
  414. .client-title{
  415. color: #fff;
  416. }
  417. // 轮播
  418. .information-carousel-box{
  419. width: 100%;
  420. overflow: hidden;
  421. }
  422. // 轮播组件
  423. .el-carousel--horizontal{
  424. overflow: visible;
  425. }
  426. .el-carousel{
  427. width: 1000px;
  428. margin: 0 auto;
  429. margin-top: 48px;
  430. .el-carousel__container{width: 640px;height: 320px;margin: 0 auto;position: relative;}
  431. }
  432. .el-carousel__item{
  433. width: 640px;
  434. background: #FFFFFF;
  435. border-radius: 8px;
  436. .industry-img-box{width: 50%;height: 320px;float: left;background-repeat: no-repeat;background-size: cover;}
  437. .industry-content-box{
  438. height: inherit;margin-left: 50%;padding:32px;box-sizing: border-box;position: relative;
  439. h5{@include setFontStyle(2);color: rgba(0,0,0,0.85);margin-bottom: 16px;@include multi-line-ellipsis(2);line-height: 30px;max-height: 60px;}
  440. p{@include setFontStyle(-4);color: rgba(0,0,0,0.64);line-height: 24px;@include multi-line-ellipsis(6);margin-bottom: 24px;max-height: 144px;}
  441. a{width: 132px;height: 32px;line-height:32px;position: absolute;bottom: 32px;}
  442. }
  443. }
  444. !*.el-carousel__item.is-active{
  445. .industry-img-box{width: 50%;}
  446. .industry-content-box{margin-left: 50%;}
  447. }*!
  448. // 左右按钮
  449. .el-carousel__arrow{width: 50px;height: 50px;background-color: rgba(43, 92, 253, 0.22);@include setFontStyle(16);color: rgba(255,255,255,0.8);}
  450. // 左箭头
  451. .el-carousel__arrow--left{left:-200px;}
  452. // 右箭头
  453. .el-carousel__arrow--right{right:-200px;}
  454. // 指示器
  455. .el-carousel__indicators{display: none}
  456. }*/
  457. /* 网站通用弹窗-申请方案 */
  458. .application-scheme-dialog{
  459. .el-dialog{width: 610px;border-radius: 8px;}
  460. .el-dialog__body{
  461. padding: 30px 120px 60px;
  462. >i{width:213px;height:92px;display: block;background-image: url("~static/images/client/course/course-dialog-img.png");margin: 0 auto;}
  463. p{@include setFontStyle(-2);color: rgba(0,0,0,0.85);text-align: center;margin:24px 0 36px;}
  464. span{@include setFontStyle(-6);color: rgba(0,0,0,0.65);}
  465. a{@include setFontStyle(-6);color: #2B5CFD;float: right;}
  466. // 申请注册按钮
  467. .application-scheme-btn{height: 40px;line-height: 40px;@include setFontStyle(-4);background: #1890FF;border-radius: 4px;color: #FFFFFF;text-align: center;margin-bottom: 16px;}
  468. }
  469. // 输入框上下间距
  470. .el-form-item{margin-bottom: 24px}
  471. // 输入框左右间距
  472. .el-input .el-input__inner{padding: 0 15px 0 35px;}
  473. //输入框图标
  474. .dialog-input-tel:after,.dialog-input-code:after{width: 16px;height: 16px;content: "";display: inline-block;position: absolute;top: 12px;left: 12px;}
  475. .dialog-input-tel:after{background-image: url("~static/images/client/course/course-dialog-icon1.svg");}
  476. .dialog-input-code:after{background-image: url("~static/images/client/course/course-dialog-icon2.svg");}
  477. // 输入框-验证码
  478. .dialog-input-code{width: calc(100% - 132px);}
  479. .dialog-code-btn.el-button{width:120px;box-sizing:border-box;padding: 12px 15px;margin-left: 8px;}
  480. // 滑块px
  481. .nc-container{
  482. .nc_wrapper{width:100%!important;margin-bottom: 24px;border-radius: 4px;overflow: hidden;}
  483. .nc_scale{
  484. .btn_slide{color: #fff;}
  485. span{width:50px;background: #3893FE;border-radius: 0 4px 4px 0;border: 1px solid transparent;}
  486. }
  487. }
  488. }
  489. /* 网站通用弹窗-视频播放 */
  490. .course-video-dialog{
  491. .el-dialog{width: 940px;border-radius: 8px;}
  492. .el-dialog__body{padding: 14px 40px 80px;}
  493. // 标题
  494. .el-dialog__title{@include setFontStyle(-2);color: rgba(0,0,0,0.85);}
  495. // 视频
  496. .course-video-box{width: 100%;height: 480px;}
  497. p{@include setFontStyle(-4);color: rgba(0,0,0,0.65);margin-top: 16px;line-height: 22px}
  498. }
  499. /* 首页行业学习详情页-通用部分 */
  500. // banner
  501. .industrydetails-banner{
  502. width: 100%;
  503. height: 400px;
  504. background-color:#042D85;
  505. position: relative;
  506. .industrydetails-banner-box{width:inherit;height:inherit;background-position-x: center;background-repeat: no-repeat;}
  507. .free-trial-default-btn{position: absolute;top:280px;left: 50%;margin-left: -119px;}
  508. }
  509. // 发展现状
  510. .industrydetails-develop-box{
  511. .client-container{padding: 48px 0 80px;text-align: center;}
  512. 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;}
  513. img{display: inline-block;vertical-align: middle;}
  514. }
  515. // 产品和服务
  516. .products-services-box{
  517. width: 100%;display: inline-block;
  518. // 头部图片
  519. img{width: 640px;height: 485px;float: right;}
  520. // 内容区域
  521. .products-services-content{
  522. width: 500px;
  523. float: right;
  524. padding: 110px 60px 0;
  525. box-sizing: border-box;
  526. margin: 0 24px;
  527. @include setFontStyle(-6);
  528. h5{@include setFontStyle(4);color: rgba(0,0,0,0.85);}
  529. i{width:50px;height:5px;display: block;background: #3e7ce7;margin: 24px 0;}
  530. p{line-height: 24px;color: rgba(0,0,0,0.65);margin-bottom: 56px;text-align: justify;}
  531. .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;}
  532. .client-default-white-Btn{background: #fff;color: #3e7ce7;}
  533. a,div.client-default-Btn{margin-right: 24px}
  534. span.client-default-Btn{background: #fff;color: #3e7ce7;margin-right: 0;}
  535. }
  536. @media (max-width: 768px){
  537. // 头部图片
  538. img{width: 100%;height: auto;float: none;}
  539. // 内容区域
  540. .products-services-content{
  541. width: 100%;float: none;padding: 0 10px;margin: 0;
  542. @include setFontStyle(-6);
  543. h5{@include setFontStyle(-6);font-weight: 700;color: rgba(0, 0, 0, 1);}
  544. i{width:34px;height:3px;margin: 10px 0;}
  545. p{margin-bottom: 30px;color: rgba(85, 85, 85, 1);}
  546. .client-btn-box{text-align: center;margin-bottom: 40px;}
  547. .client-default-Btn,.client-default-white-Btn{width: 120px;height: 35px;line-height: 35px;}
  548. a,div.client-default-Btn{margin-right: 16px}
  549. }
  550. }
  551. }
  552. .products-contrary-box{
  553. // 头部图片
  554. img{float: left;}
  555. // 内容区域
  556. .products-services-content{float: right;}
  557. }
  558. // 考试平台和培训平台样式--多下边线
  559. .platform-products-services{
  560. li:not(:last-child){border-bottom:1px solid #eee; }
  561. }
  562. // 详情页内容
  563. .industrydetails-content{
  564. li{margin-bottom: 16px;}
  565. 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;}
  566. h5{@include setFontStyle(-2);color: rgba(0,0,0,0.85);margin-bottom: 24px;text-align: center;}
  567. p{@include setFontStyle(-5);color: rgba(0,0,0,0.65);line-height: 22px;text-align: left;}
  568. }
  569. // 通用平台-新闻资讯样式
  570. .platform-news-information{
  571. padding-bottom: 80px;
  572. background: #f8f8f8;
  573. ul{margin-top: 48px;}
  574. li{
  575. width: 50%;display: inline-block;vertical-align: top;
  576. div{margin: 10px;padding:10px 10px 10px 0;border-bottom:1px dashed #666;}
  577. img{width: 190px;height: 118px;float: left;margin-right: 24px;}
  578. h4{@include setFontStyle(-2);color: rgba(0, 0, 0, 0.85);@include single-line-ellipsis;margin-bottom: 8px;}
  579. h4:hover{color: #3e7ce7;cursor: pointer;}
  580. span{display: block;@include setFontStyle(-6);color: rgba(0, 0, 0, 0.65);margin-bottom: 8px;}
  581. p{@include setFontStyle(-6);height: 66px;line-height: 22px;color: rgba(0, 0, 0, 0.65);@include multi-line-ellipsis(3);}
  582. }
  583. }
  584. /********************************* 麦塔栅格**********************************/
  585. // 大于768的隐藏
  586. @media screen and (min-width: 769px) {
  587. .mta-hidden-sm{display: none!important;}
  588. }
  589. // 小于769的隐藏
  590. @media screen and (max-width: 769px) {
  591. .mta-hidden-xs{display: none!important;}
  592. // 提示框
  593. .phone-message-box{
  594. width: 88%;min-width: unset;top: 35% !important;display: block;text-align: center;padding: 36px 0;
  595. .el-message__icon{margin-bottom: 20px;}
  596. .el-message__icon:before{font-size: 50px;}
  597. }
  598. }
  599. /********************************* 麦塔移动端组件**********************************/
  600. @media (max-width: 768px) {
  601. // swiper
  602. .experience-swiper-box {
  603. position: relative;
  604. // swiper--div
  605. .swiper-slide {width: 100%;}
  606. .swiper-pagination-style {
  607. width: 100px;position: absolute;bottom: 66px;left: 50%;margin-left: -42px;z-index: 99;
  608. // 小圆点
  609. .my-bullet-swiper {width: 10px;height: 10px;border-radius: 5px;display: inline-block;background: rgba(0, 102, 204, 0.2);margin-right: 14px;}
  610. // 分页active
  611. .my-bullet-active-swiper {background: rgb(0, 102, 204)}
  612. }
  613. // swiper 内容区
  614. .experience-content-box {
  615. height: 243px;display: flex;flex-direction: column;align-items: center;justify-content: center;
  616. margin: 5px 4% 40px;box-shadow: rgba(0, 0, 0, 0.4) 0 0 6px -1px;text-align: center;padding: 20px 0;
  617. i {width: 64px;height: 64px;background-repeat: no-repeat;background-size: contain;margin-bottom: 24px;display: inline-block;flex-shrink: 0;}
  618. h5 {font-weight: 700;font-size: 16px;color: rgb(16, 16, 16);margin-bottom: 30px;}
  619. p {font-weight: 400;font-size: 14px;color: rgb(16, 16, 16);margin: 6px 0;}
  620. 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;
  621. padding: 0;text-align: center;display: inline-block;margin-top: 16px;
  622. }
  623. }
  624. // swiper 提示
  625. .experience-swiper-tip {font-weight: 400;font-size: 14px;color: rgb(96, 96, 96);text-align: center;margin: 0 0 42px;}
  626. }
  627. }