cus-client-common.scss 34 KB

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