選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.less 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. //pc端样式
  2. .main {
  3. width: 100%;
  4. max-width: 1920px;
  5. min-height: 100vh;
  6. margin: 0 auto;
  7. padding-top: 71px;
  8. padding-bottom: 30px;
  9. }
  10. .product{
  11. width: 100%;
  12. text-align: center;
  13. padding: 80px 0px 110px;
  14. &>.title{
  15. text-align: left;
  16. width: 100%;
  17. max-width: 1300px;
  18. margin: 0 auto;
  19. }
  20. .productCon{
  21. margin: 60px auto 0px;
  22. width: 100%;
  23. .productTits{
  24. width: 100%;
  25. display: none;
  26. &>div{
  27. width: 100%;
  28. display: flex;
  29. justify-content: space-between;
  30. &>div{
  31. width: 144px;
  32. height: 146px;
  33. border-radius: 8px;
  34. color: #231F20;
  35. padding-top: 20px;
  36. box-sizing: border-box;
  37. cursor: pointer;
  38. transition: all .3s ease-in-out;
  39. div{
  40. margin-bottom: 30px;
  41. }
  42. }
  43. .productCk{
  44. color: #B81C25;
  45. font-weight: bold;
  46. }
  47. }
  48. }
  49. .productConBox{
  50. width: 100%;
  51. height: 542px;
  52. margin-top: 40px;
  53. overflow: hidden;
  54. &>div{
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .swiper-slide{
  59. width: 413px;
  60. transition: width .3s ease-in-out;
  61. overflow: hidden;
  62. transform-origin: center;
  63. img {
  64. display: block;
  65. width: auto;
  66. height: 100%;
  67. object-fit: cover;
  68. position: relative;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. }
  72. .slideZ{
  73. position: absolute;
  74. bottom: 0;
  75. left: 0;
  76. width: 100%;
  77. height: 100%;
  78. // background: url(./images/productz.png) no-repeat bottom;
  79. background-size: 100%;
  80. display: none;
  81. }
  82. .slideCon{
  83. position: absolute;
  84. width: 100%;
  85. bottom: 0px;
  86. left: 0;
  87. text-align: center;
  88. color: #fff;
  89. box-sizing: border-box;
  90. background-color: rgba(184, 28, 37, 0.8);
  91. height: 80px;
  92. transition: all .3s ease-in-out;
  93. .conTit{
  94. font-size: 24px;
  95. height: 80px;
  96. line-height: 80px;
  97. }
  98. .text{
  99. width: 100%;
  100. line-height: 40px;
  101. font-size: 20px;
  102. display: none;
  103. box-sizing: border-box;
  104. padding: 0px 30px;
  105. text-align: justify;
  106. }
  107. }
  108. &:hover{
  109. .slideCon{
  110. height: 465px;
  111. background-color: rgba(184, 28, 37, 0.8);
  112. .text{
  113. display: block;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. .swiper-page{
  120. width: 100%;
  121. max-width: 1300px;
  122. margin: 0px auto;
  123. margin-top: 80px;
  124. position: relative;
  125. height: 60px;
  126. display: flex;
  127. flex-direction: row;
  128. justify-content: flex-end;
  129. .btn-prev,.btn-next{
  130. width: 60px;
  131. height: 60px;
  132. text-align: center;
  133. color: #000;
  134. cursor: pointer;
  135. border-radius: 60px;
  136. line-height: 60px;
  137. box-sizing: border-box;
  138. border: 1px solid #000;
  139. transition: all .3s ease-in-out;
  140. span{
  141. font-size: 34px;
  142. display: inline-block;
  143. transform: rotate(90deg);
  144. }
  145. &:hover{
  146. color: #fff;
  147. background: #b81c25;
  148. border: 1px solid #b81c25;
  149. }
  150. }
  151. .btn-prev{
  152. margin-right: 30px;
  153. span{
  154. transform: rotate(-90deg);
  155. }
  156. }
  157. .btn-next{
  158. }
  159. .swiper-button-disabled{
  160. cursor: not-allowed;
  161. opacity: 0.6;
  162. &:hover{
  163. color: #000;
  164. background: #fff;
  165. border: 1px solid #000;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. .Industrial{
  172. width: 100%;
  173. position: relative;
  174. background: #f8f8f8;
  175. img{
  176. width: 100%;
  177. display: block;
  178. }
  179. &>div{
  180. position: absolute;
  181. width: 100%;
  182. height: 100%;
  183. top: 0px;
  184. left: 0px;
  185. img{
  186. position: absolute;
  187. width: 100%;
  188. top: 0px;
  189. left: 0px;
  190. }
  191. }
  192. }
  193. .member{
  194. width: 100%;
  195. text-align: center;
  196. margin: 0px auto;
  197. max-width: 1300px;
  198. padding: 125px 0px 110px;
  199. .memberCon{
  200. width: 100%;
  201. display: flex;
  202. flex-wrap: wrap;
  203. justify-content: space-between;
  204. margin-top: 40px;
  205. img{
  206. width: auto;
  207. height: 144px;
  208. }
  209. .memberLi{
  210. width: calc( 50% - 20px);
  211. margin-top: 40px;
  212. height: 300px;
  213. box-sizing: border-box;
  214. border: 1px solid #ebebeb;
  215. position: relative;
  216. display: flex;
  217. flex-wrap: wrap;
  218. justify-content: center;
  219. align-content: center;
  220. transition: all 0.4s ease 0s;
  221. .liImg{
  222. height: 144px;
  223. width: 100%;
  224. position: relative;
  225. transition: all 0.4s ease 0s;
  226. img{
  227. width: auto;
  228. height: auto;
  229. max-width: 100%;
  230. max-height: 100%;
  231. position: absolute;
  232. left: 50%;
  233. top: 50%;
  234. transform: translate(-50%, -50%);
  235. }
  236. }
  237. .liTit{
  238. width: 100%;
  239. font-size: 20px;
  240. color: #333333;
  241. transition: all 0.4s ease 0s;
  242. }
  243. // .text{
  244. // font-size: 16px;
  245. // line-height: 24px;
  246. // padding: 0px 20px;
  247. // display: none;
  248. // color: #fff;
  249. // margin-top: 20px;
  250. // }
  251. // a{
  252. // width: 54px;
  253. // height: 0px;
  254. // display: block;
  255. // position: absolute;
  256. // bottom: 40px;
  257. // left: 50%;
  258. // transform: translateX(-50%);
  259. // background: url(./images/aicon.png) no-repeat;
  260. // background-size: 100% 100%;
  261. // transition: all 0.4s ease 0s;
  262. // }
  263. .upDiv{
  264. position: absolute;
  265. width: 100%;
  266. height: 100%;
  267. background: url(./images/cymlbg.png) no-repeat;
  268. background-size: 100% 100%;
  269. color: #fff;
  270. box-sizing: border-box;
  271. padding:35px 40px;
  272. top: 0px;
  273. left: 0px;
  274. opacity: 0;
  275. transition: all 0.3s ease-in-out;
  276. .upDivTit{
  277. font-size: 20px;
  278. margin-bottom: 20px;
  279. transform: translateY(100%);
  280. transition: all 0.4s ease 0s;
  281. }
  282. .text{
  283. font-size: 16px;
  284. line-height: 24px;
  285. transform: translateY(70%);
  286. transition: all 0.4s ease 0s;
  287. text-align: justify;
  288. }
  289. a{
  290. width: 54px;
  291. height: 0px;
  292. display: block;
  293. position: absolute;
  294. bottom: 40px;
  295. left: 50%;
  296. transform: translateX(-50%);
  297. background: url(./images/aicon.png) no-repeat;
  298. background-size: 100% 100%;
  299. transition: all 0.4s ease 0s;
  300. }
  301. .a1{
  302. position: absolute;
  303. bottom: 40px;
  304. left: 58%;
  305. }
  306. .a2{
  307. position: absolute;
  308. bottom: 40px;
  309. left: 40%;
  310. background: url(./images/kfd.png) no-repeat;
  311. background-size: 100% 100%;
  312. }
  313. .hideA{
  314. display: none;
  315. }
  316. }
  317. &:hover{
  318. // .text{
  319. // display: block;
  320. // }
  321. .upDiv{
  322. opacity: 1;
  323. .upDivTit,.text{
  324. transform: translateY(0%);
  325. }
  326. a{
  327. height: 54px;
  328. }
  329. }
  330. }
  331. }
  332. }
  333. }
  334. @media screen and (min-width: 801px) and (max-width: 1400px) {
  335. }
  336. @media screen and (min-width:800px){
  337. }
  338. .mTxt{
  339. display: none;
  340. }
  341. //移动端样式
  342. @media screen and (max-width:800px) {
  343. .pcTxt{
  344. display: none;
  345. }
  346. .mTxt{
  347. display: block;
  348. }
  349. .main{
  350. padding-top: 61px;
  351. padding-bottom: 30px;
  352. }
  353. .product{
  354. padding: 50px 15px;
  355. box-sizing: border-box;
  356. &>.title{
  357. text-align: center;
  358. }
  359. .productCon{
  360. margin: 30px auto 0px;
  361. .productTits{
  362. width: 100%;
  363. overflow-x: scroll;
  364. display: block;
  365. &::-webkit-scrollbar{
  366. -webkit-appearance: none;
  367. width: 0px;
  368. height: 0px;
  369. }
  370. // &::-webkit-scrollbar:horizontal{
  371. // width: 2px;
  372. // height: 100%;
  373. // background: #fff;
  374. // }
  375. &::-webkit-scrollbar-thumb{
  376. width: 0px;
  377. height: 0px;
  378. background: #B81C25;
  379. }
  380. &>div{
  381. width: 540px;
  382. justify-content: flex-start;
  383. &>div{
  384. width: auto;
  385. height: auto;
  386. padding-top: 0px;
  387. padding-right: 20px;
  388. position: relative;
  389. margin-right: 20px;
  390. &:last-child{
  391. padding-right: 0px;
  392. margin-right: 0px;
  393. &::before{
  394. display: none;
  395. }
  396. }
  397. &::before{
  398. content: '';
  399. position: absolute;
  400. right: 0px;
  401. top: 4px;
  402. width: 1px;
  403. height: 13px;
  404. background: #999;
  405. transform: rotate(20deg);
  406. }
  407. div{
  408. margin-bottom: 0px;
  409. font-size: 14px;
  410. }
  411. }
  412. }
  413. }
  414. .productConBox{
  415. margin-top: 22px;
  416. height: auto;
  417. &>div{
  418. height: auto;
  419. }
  420. .swiper-slide{
  421. width: 100%;
  422. height: auto;
  423. &:hover{
  424. .slideCon{
  425. height: auto;
  426. background: #B81C25;
  427. }
  428. }
  429. img{
  430. width: 100%;
  431. height: auto;
  432. }
  433. .slideZ{
  434. display: none;
  435. }
  436. .slideCon{
  437. position: relative;
  438. color: #231F20;
  439. display: block;
  440. height: auto;
  441. background: #B81C25;
  442. color: #fff;
  443. opacity: 1;
  444. padding: 20px 0px;
  445. .conTit{
  446. display: none;
  447. }
  448. .text {
  449. display: block;
  450. line-height: 30px;
  451. font-size: 16px;
  452. padding: 0px 10px;
  453. }
  454. }
  455. }
  456. }
  457. .swiper-page{
  458. margin-top: 40px;
  459. height: 40px;
  460. justify-content: center;
  461. display: none;
  462. .btn-prev,.btn-next{
  463. width: 40px;
  464. height: 40px;
  465. border-radius: 40px;
  466. line-height: 40px;
  467. span{
  468. font-size: 26px;
  469. }
  470. }
  471. }
  472. }
  473. }
  474. .member{
  475. padding: 100px 0px 40px;
  476. .memberCon{
  477. margin-top: 20px;
  478. padding: 0px 15px;
  479. box-sizing: border-box;
  480. img{
  481. width: auto;
  482. height: 72px;
  483. }
  484. .memberLi{
  485. margin-top: 20px;
  486. width: 100%;
  487. height: 165px;
  488. .liImg{
  489. height: 72px;
  490. }
  491. .liTit{
  492. font-size: 16px;
  493. }
  494. .upDiv{
  495. padding: 15px 15px;
  496. .upDivTit{
  497. font-size: 16px;
  498. margin-bottom: 10px;
  499. }
  500. .text{
  501. font-size: 12px;
  502. line-height: 20px;
  503. padding: 0px 10px;
  504. }
  505. a{
  506. width: 32px;
  507. height: 0px;
  508. bottom: 15px;
  509. }
  510. }
  511. &:hover{
  512. .upDiv{
  513. a{
  514. height: 32px;
  515. }
  516. }
  517. }
  518. }
  519. }
  520. }
  521. }