cus-client-page.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. @import "../base/utils";
  2. @import "cus-client-common";
  3. @mixin setClientPage() {
  4. /******** describe: 网站首页 author: TX date:2020-07-30 ********/
  5. .client-index-page{
  6. width: 100%;
  7. /* 网站banner */
  8. .client-banner{
  9. width: 100%;
  10. height: 480px;
  11. background-image: url("~@/assets/images/client/index/" + "index-banner-background.png");
  12. background-position-x: center;
  13. .banner-left{
  14. width:500px;
  15. display: inline-block;
  16. h1{@include setFontStyle(40);color: #FFF;letter-spacing: 0;padding-top: 150px;}
  17. p{@include setFontStyle(4);display: inline-block;background: #6D4FFF;border-radius: 24px;color: #FFF;margin: 24px 5px;padding: 6px 40px;}
  18. }
  19. .banner-right{
  20. width: 611px;
  21. height: 432px;
  22. float: right;
  23. margin-top: 48px;
  24. background-image: url("~@/assets/images/client/index/" + "index-banner-img.png");
  25. position: relative;
  26. .banner-tel-box{
  27. width: 284px;
  28. height: 328px;
  29. background-image: url("~@/assets/images/client/index/" + "index-banner-tel.png");
  30. position: absolute;
  31. top: -10px;
  32. left: 140px;
  33. //电视屏幕
  34. img{position: absolute;top: 25px;left: 98px;animation: 5s bannerTel ease infinite;-webkit-animation: 5s bannerTel ease infinite;-moz-animation: 5s bannerTel ease infinite;-o-animation: 5s bannerTel ease infinite;}
  35. //电视屏幕动画效果
  36. @keyframes bannerTel{
  37. from {top: 25px;left: 98px;opacity: 1;}
  38. to {top: 35px;left: 65px;opacity: 0.1;}
  39. }
  40. }
  41. //饼图
  42. .banner-pie{
  43. width: 35px;
  44. height: 31px;
  45. display: block;
  46. position: absolute;
  47. top: 86px;
  48. right: 62px;
  49. background-image: url("~@/assets/images/client/index/" + "index-banner-pie.png");
  50. animation: 5s webPie ease infinite;-webkit-animation: 5s webPie ease infinite;-moz-animation: 5s webPie ease infinite;-o-animation: 5s webPie ease infinite;
  51. }
  52. //饼图动画效果
  53. @keyframes webPie {
  54. from {top: 86px;opacity: 1;}
  55. to {top: 50px;opacity: 0;transform: scale(1.3);}
  56. }
  57. //漂浮小圆点
  58. .banner-i-run i{
  59. width: 16px;
  60. height: 16px;
  61. display: block;
  62. position: absolute;
  63. background:#51E2F4;
  64. border-radius: 50%;
  65. bottom: 150px;
  66. left: 80px;
  67. opacity: 0;
  68. }
  69. .banner-i-run i:nth-child(1){animation: 5s bannerRunI1 ease infinite;-webkit-animation: 5s bannerRunI1 ease infinite;-moz-animation: 10s bannerRunI1 ease infinite;-o-animation: 5s bannerRunI1 ease infinite;}
  70. .banner-i-run i:nth-child(2){width:8px;height:8px;bottom: 240px;left: 50px;opacity: 0;animation: 5s bannerRunI2 ease 2s infinite;-webkit-animation: 5s bannerRunI2 ease 2s infinite;-moz-animation: 5s bannerRunI2 ease infinite;-o-animation: 5s bannerRunI2 ease infinite;}
  71. .banner-i-run i:nth-child(3){width:7px;height:7px;bottom: 220px;left: 110px;opacity: 0;animation: 5s bannerRunI3 ease 3s infinite;-webkit-animation: 5s bannerRunI3 ease 3s infinite;-moz-animation: 5s bannerRunI3 ease infinite;-o-animation: 5s bannerRunI3 ease infinite;}
  72. .banner-i-run i:nth-child(4){width:9px;height:9px;bottom: 300px;left: 130px;opacity: 0;animation: 5s bannerRunI4 ease 4s infinite;-webkit-animation: 5s bannerRunI4 ease 4s infinite;-moz-animation: 5s bannerRunI4 ease infinite;-o-animation: 5s bannerRunI4 ease infinite;}
  73. .banner-i-run i:nth-child(5){width:6px;height:6px;bottom: 310px;left: 70px;opacity: 0;animation: 5s bannerRunI5 ease 5s infinite;-webkit-animation: 5s bannerRunI5 ease 5s infinite;-moz-animation: 5s bannerRunI5 ease infinite;-o-animation: 5s bannerRunI5 ease infinite;}
  74. @keyframes bannerRunI1 {
  75. 0%{bottom: 150px;opacity: 1;}
  76. 100%{bottom: 240px;opacity: 0;left: 70px;}
  77. }
  78. @keyframes bannerRunI2 {
  79. //0%{opacity: 0.5;}
  80. 0%{opacity: 0;}
  81. 5%{bottom: 240px;opacity: 0.7;}
  82. 100%{bottom: 410px;opacity: 0;left: 40px;}
  83. }
  84. @keyframes bannerRunI3 {
  85. 0%{opacity: 0;}
  86. 5%{bottom: 220px;opacity: 0.8;}
  87. 100%{bottom: 380px;opacity: 0;left: 130px}
  88. }
  89. @keyframes bannerRunI4 {
  90. 0%{opacity: 0;}
  91. 5%{bottom: 300px;opacity: 0.8;}
  92. 70%{bottom: 400px;opacity: 0;left: 160px}
  93. }
  94. @keyframes bannerRunI5 {
  95. 0%{opacity: 0;}
  96. 5%{bottom: 310px;opacity: 0.6;}
  97. 100%{bottom: 420px;opacity: 0;left: 110px}
  98. }
  99. }
  100. }
  101. /* 网站标题 */
  102. .client-index-title{ @include setFontStyle(14);color: rgba(0,0,0,0.85);letter-spacing: 0;padding-top: 80px;text-align: center;}
  103. /* 产品和服务 */
  104. .products-services-box{
  105. padding: 116px 0 30px;
  106. li{
  107. width: 33.33%;
  108. display: inline-block;
  109. vertical-align: top;
  110. position: relative;
  111. //头部图片
  112. .products-services-img{
  113. height: 173px;
  114. position: absolute;
  115. top: -80px;
  116. left: 50%;
  117. transition: .3s all linear;
  118. i{
  119. display: block;
  120. position: absolute;
  121. }
  122. }
  123. //内容区域
  124. .products-services-content{
  125. padding: 110px 32px 48px 32px;
  126. transition: .3s all linear;
  127. @include setFontStyle(-6);
  128. h2{@include setFontStyle(2);color: rgba(0,0,0,0.85);text-align: center;margin-bottom: 16px;}
  129. p{line-height: 22px;color: rgba(0,0,0,0.65);margin-bottom: 32px;text-align: justify;min-height: 136px;@include multi-line-ellipsis(6);max-height: 136px}
  130. a{background: #2B5CFD;border-radius: 4px;color: rgba(255, 255, 255, 0.85);cursor: pointer;width: 120px;height: 32px;line-height: 32px;display: block;text-align: center;margin: 0 auto;}
  131. }
  132. }
  133. li:nth-child(1){
  134. .products-services-img{
  135. width: 148px;
  136. margin-left: -74px;
  137. background-image: url("~@/assets/images/client/index/" + "index-products-kaoshi.png");
  138. i{width:57px;height:41px;top: 28px;left: 50px;background-image: url("~@/assets/images/client/index/" + "index-products-kaoshi-icon.png");animation: 3s servicesImgUpDown linear infinite;}
  139. }
  140. }
  141. li:nth-child(2){
  142. .products-services-img{
  143. width: 138px;
  144. margin-left: -69px;
  145. background-image: url("~@/assets/images/client/index/" + "index-products-peixun.png");
  146. i{width:31px;height:45px;top: 28px;left: 60px;background-image: url("~@/assets/images/client/index/" + "index-products-peixun-icon.png");animation: 3s servicesImgUpDown linear infinite;}
  147. }
  148. }
  149. li:nth-child(3){
  150. .products-services-img{
  151. width: 155px;
  152. margin-left: -77px;
  153. background-image: url("~@/assets/images/client/index/" + "index-products-kejian.png");
  154. i{width:48px;height:48px;top: 35px;left: 45px;background-image: url("~@/assets/images/client/index/" + "index-products-kejian-icon.png");transform:rotate(0);animation: 4s servicesImgRotate linear infinite;}
  155. }
  156. }
  157. //小图标动画效果
  158. //饼图动画效果
  159. @keyframes servicesImgUpDown {
  160. 0%, to {top: 28px}
  161. 50% {top: 40px;}
  162. }
  163. @keyframes servicesImgRotate{
  164. from {transform:rotate(0);}
  165. to {transform:rotate(360deg);}
  166. }
  167. // li-鼠标悬浮效果
  168. li:hover{
  169. //头部图片
  170. .products-services-img{top: -100px;}
  171. //内容区域
  172. .products-services-content{
  173. cursor: default;
  174. box-shadow: 0 4px 8px 0 rgba(214,214,214,0.76);
  175. border-radius: 8px;
  176. }
  177. }
  178. }
  179. /* 行业学习需求 */
  180. .client-demand-box{
  181. background: #F9FAFF;
  182. padding-bottom: 80px;
  183. // 行业ul
  184. .industry-box{
  185. margin-top: 8px;
  186. li{
  187. width: 25%;display: inline-block;margin-top: 32px;height: 147px;overflow: hidden;
  188. img{margin: 0 auto;display: block;transition: all .2s linear;}
  189. div{transition: all .25s linear;text-align: center;}
  190. h2{@include setFontStyle(2);color: rgba(0,0,0,0.85);text-align: center;margin: 24px 0 16px;}
  191. p{@include setFontStyle(-6);color: rgba(0,0,0,0.65);line-height: 22px;margin: 0 8px 8px;min-height: 48px;@include multi-line-ellipsis(2);max-height: 48px;}
  192. a{@include setFontStyle(-6);display: block;color: #2B5CFD;line-height: 24px;margin: 0 auto;}
  193. }
  194. li:hover:not(:last-child) {
  195. img{opacity: 0;transform: translateY(10px);}
  196. div{margin-top: -147px}
  197. h2{@include setFontStyle(-2);margin-top: 80px;}
  198. a{cursor: pointer;}
  199. }
  200. li:last-child:hover{
  201. cursor: pointer;
  202. }
  203. }
  204. }
  205. /* 超过10万家客户的信任之选 */
  206. .client-customer-box{
  207. .customer-img-box{
  208. margin: 40px 0 80px;
  209. li{
  210. width: 20%;
  211. display: inline-block;
  212. }
  213. img{margin: 16px auto;transition: all 0.5s;}
  214. li:hover{
  215. img{transform: scale(1.1);box-shadow: 0 4px 8px 0 rgba(214, 214, 214, 0.76);border-radius: 8px}
  216. }
  217. }
  218. }
  219. /* 我们始终专注教育系统研发更懂用户需求 */
  220. .client-cert-box{
  221. background: #F9FAFF;
  222. padding-bottom: 80px;
  223. .client-index-title{padding-bottom: 8px;}
  224. .cert-img-box{
  225. display: flex;
  226. justify-content: space-between;
  227. margin: 32px 0;
  228. span{display:block;background: #E8ECFF;border-radius: 8px;padding:10px;overflow: hidden;}
  229. img{width: 180px;height:260px;transition: all 0.5s;}
  230. img:hover{transform: scale(1.14);}
  231. }
  232. a{width:238px;height:40px;line-height: 40px;margin: 40px auto 0;text-align: center;@include setFontStyle(-4);display:block;background: #2B5CFD;border-radius: 4px;color: rgba(255,255,255,0.85);}
  233. a:hover{cursor: pointer}
  234. }
  235. /* 为什么选择我们 */
  236. .client-chose-box{
  237. padding-bottom: 80px;
  238. .chose-img-box{
  239. li{
  240. width: 25%;display: inline-block;
  241. div{width: 190px;height: 190px;border-radius:50%;position:relative;margin: 40px auto 24px;transition: all 0.3s;background-size: cover}
  242. i{width: 62px;height: 62px;position: absolute;top: 65px;left: 45px;background-size: cover;}
  243. h2{@include setFontStyle(2);text-align: center;color: rgba(0,0,0,0.85);}
  244. }
  245. li:nth-child(1){
  246. div{background-image: url("~@/assets/images/client/index/" + "index-chose-service.png");}
  247. i{background-image: url("~@/assets/images/client/index/" + "index-chose-service-icon.png");animation: 3s choseImgUpDown1 linear infinite;}
  248. }
  249. li:nth-child(2){
  250. div{background-image: url("~@/assets/images/client/index/" + "index-chose-system.png");}
  251. i{background-image: url("~@/assets/images/client/index/" + "index-chose-system-icon.png");top: 30px;left: 55px;animation: 3s choseImgUpDown2 linear infinite;}
  252. }
  253. li:nth-child(3){
  254. div{background-image: url("~@/assets/images/client/index/" + "index-chose-tech.png");}
  255. i{background-image: url("~@/assets/images/client/index/" + "index-chose-tech-icon.png");animation: 3s choseImgUpDown1 linear infinite;}
  256. }
  257. li:nth-child(4){
  258. div{background-image: url("~@/assets/images/client/index/" + "index-chose-operate.png");}
  259. i{background-image: url("~@/assets/images/client/index/" + "index-chose-operate-icon.png");top: 50px;animation: 3s choseImgUpDown3 linear infinite;}
  260. }
  261. li:hover{
  262. div{box-shadow: 0 3px 9px rgba(43, 92, 253,0.25);transform: translateY(-10px);cursor: pointer;}
  263. h2{color: #2B5CFD;}
  264. }
  265. //选择我们动画效果
  266. @keyframes choseImgUpDown1 {
  267. 0%, to {top: 65px;}
  268. 50% {top: 55px;}
  269. }
  270. @keyframes choseImgUpDown2 {
  271. 0%, to {top: 30px;}
  272. 50% {top: 40px;}
  273. }
  274. @keyframes choseImgUpDown3 {
  275. 0%, to {top: 40px;}
  276. 50% {top: 50px;}
  277. }
  278. }
  279. }
  280. /* 行业资讯 */
  281. .client-industry-information{
  282. background: #F9FAFF;
  283. padding-bottom: 80px;
  284. // 轮播组件
  285. .el-carousel{
  286. margin-top: 40px;
  287. .el-carousel__container{
  288. height: 360px;
  289. }
  290. }
  291. .el-carousel__item{
  292. background: #FFFFFF;
  293. border-radius: 8px;
  294. .client-img-box{
  295. width: 25%;
  296. height: 360px;
  297. background-repeat: no-repeat;
  298. background-size: cover;
  299. background-position: center;
  300. transition: 0.3s;
  301. float: left;
  302. }
  303. .client-content-box{
  304. margin-left: 25%;
  305. padding:32px;
  306. height: inherit;
  307. box-sizing: border-box;
  308. position: relative;
  309. h1{@include setFontStyle(2);color: rgba(0,0,0,0.85);margin-bottom: 16px;@include multi-line-ellipsis(2);line-height: 30px;max-height: 60px;}
  310. 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;}
  311. a{width: 132px;height: 32px;line-height:32px;display: inline-block;@include setFontStyle(-4);background: #2B5CFD;border-radius: 4px;color: rgba(255,255,255,0.85);text-align: center;
  312. position: absolute;bottom: 32px;}
  313. }
  314. }
  315. .el-carousel__item.is-active{
  316. height: 350px;
  317. box-shadow: 0 4px 8px 0 rgba(214, 214, 214, 0.76);
  318. .client-img-box{width: 50%;}
  319. .client-content-box{
  320. margin-left: 50%;
  321. }
  322. }
  323. //指示器
  324. .el-carousel__indicators{display: none}
  325. }
  326. }
  327. /******** describe: 网站行业资讯详情页 author: TX date:2020-08-06 ********/
  328. }