cooperative.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. @media screen and (min-width: 768px) {
  2. .banner {
  3. width: 100%;
  4. height: 530px;
  5. img {
  6. width: 100%;
  7. height: 100%;
  8. display: block;
  9. }
  10. }
  11. .main {
  12. height: auto;
  13. -webkit-box-sizing: border-box;
  14. box-sizing: border-box;
  15. .cooperative-tab {
  16. width: 100%;
  17. height: 100px;
  18. background-color: #f7f7f7;
  19. .tab-item-last {
  20. display: block;
  21. width: 300px;
  22. float: left;
  23. height: 100%;
  24. -webkit-box-sizing: border-box;
  25. box-sizing: border-box;
  26. padding: 25px 0;
  27. position: relative;
  28. h1 {
  29. font-size: 24px;
  30. color: #272727;
  31. line-height: 30px;
  32. text-align: center;
  33. }
  34. p {
  35. font-size: 12px;
  36. color: #272727;
  37. line-height: 20px;
  38. text-align: center;
  39. }
  40. }
  41. .tab-item {
  42. display: block;
  43. width: 300px;
  44. float: left;
  45. height: 100%;
  46. -webkit-box-sizing: border-box;
  47. box-sizing: border-box;
  48. padding: 25px 0;
  49. position: relative;
  50. &.select {
  51. h1 {
  52. color: #0688d2;
  53. }
  54. p {
  55. color: #0688d2;
  56. }
  57. &::before {
  58. content: '';
  59. width: 0;
  60. height: 0;
  61. border-left: 9px solid transparent;
  62. border-right: 9px solid transparent;
  63. border-bottom: 9px solid #0688d2;
  64. position: absolute;
  65. bottom: 0;
  66. left: 50%;
  67. margin-left: -5px;
  68. }
  69. }
  70. .line {
  71. display: block;
  72. width: 1px;
  73. height: 32px;
  74. background-color: #dbdbdb;
  75. position: absolute;
  76. right: 0;
  77. top: 35px;
  78. }
  79. h1 {
  80. font-size: 24px;
  81. color: #272727;
  82. line-height: 30px;
  83. text-align: center;
  84. }
  85. p {
  86. font-size: 12px;
  87. color: #272727;
  88. line-height: 20px;
  89. text-align: center;
  90. }
  91. }
  92. }
  93. .cooperative-main {
  94. width: 100%;
  95. min-width: 1000px;
  96. -webkit-box-sizing: border-box;
  97. box-sizing: border-box;
  98. padding: 60px 0;
  99. .cooperative-main-item {
  100. display: none;
  101. &.select {
  102. display: block;
  103. }
  104. .main-title {
  105. width: 400px;
  106. margin: 0 auto;
  107. position: relative;
  108. img {
  109. margin: 0 auto;
  110. display: block;
  111. height: 50px;
  112. }
  113. p {
  114. width: 100%;
  115. height: 30px;
  116. line-height: 30px;
  117. font-size: 34px;
  118. color: #272727;
  119. text-align: center;
  120. position: absolute;
  121. bottom: -12px;
  122. left: 0;
  123. }
  124. }
  125. .main-content {
  126. width: 100%;
  127. height: auto;
  128. margin-top: 100px;
  129. .main-content-item {
  130. width: 286px;
  131. height: 592px;
  132. float: left;
  133. .item {
  134. width: 286px;
  135. height: 286px;
  136. overflow: hidden;
  137. &:hover {
  138. img {
  139. -webkit-transform: scale(1.2);
  140. transform: scale(1.2);
  141. }
  142. }
  143. img {
  144. width: 286px;
  145. height: 286px;
  146. display: block;
  147. -webkit-transition: all 0.4s;
  148. transition: all 0.4s;
  149. }
  150. &.first {
  151. margin-bottom: 18px;
  152. }
  153. }
  154. }
  155. .main-content-mids {
  156. width: 592px;
  157. height: 592px;
  158. float: left;
  159. margin: 0 18px;
  160. .item {
  161. width: 592px;
  162. height: 592px;
  163. overflow: hidden;
  164. &:hover {
  165. img {
  166. -webkit-transform: scale(1.2);
  167. transform: scale(1.2);
  168. }
  169. }
  170. img {
  171. width: 592px;
  172. height: 592px;
  173. display: block;
  174. -webkit-transition: all 0.4s;
  175. transition: all 0.4s;
  176. }
  177. }
  178. }
  179. .main-content-serve {
  180. width: 400px;
  181. height: auto;
  182. padding: 30px 32px;
  183. -webkit-box-sizing: border-box;
  184. box-sizing: border-box;
  185. -webkit-transition: all 0.4s;
  186. transition: all 0.4s;
  187. cursor: pointer;
  188. float: left;
  189. &:hover {
  190. background-color: #fff;
  191. -webkit-transform: translateY(-10px);
  192. transform: translateY(-10px);
  193. -webkit-box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  194. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  195. }
  196. .server-title {
  197. width: 336px;
  198. height: 216px;
  199. -webkit-box-sizing: border-box;
  200. box-sizing: border-box;
  201. padding: 40px 0;
  202. background: url(/img/cooperative_server@2x.png);
  203. background-size: cover;
  204. .title {
  205. width: 100%;
  206. line-height: 45px;
  207. margin-top: 20px;
  208. position: relative;
  209. font-size: 34px;
  210. color: #ffffff;
  211. text-align: center;
  212. &::before {
  213. content: '';
  214. width: 16px;
  215. height: 2px;
  216. background-color: #fff;
  217. position: absolute;
  218. top: -8px;
  219. left: 50%;
  220. margin-left: -8px;
  221. }
  222. }
  223. img {
  224. width: 40px;
  225. height: 40px;
  226. display: block;
  227. margin: 0 auto;
  228. }
  229. }
  230. .server-text {
  231. width: 100%;
  232. height: auto;
  233. -webkit-box-sizing: border-box;
  234. box-sizing: border-box;
  235. padding-top: 24px;
  236. p {
  237. line-height: 30px;
  238. font-size: 16px;
  239. color: #505050;
  240. &.max {
  241. display: none;
  242. }
  243. }
  244. .btn-show {
  245. display: block;
  246. width: 100px;
  247. height: 28px;
  248. text-align: center;
  249. -webkit-box-sizing: border-box;
  250. box-sizing: border-box;
  251. border: 1px solid #e8e8e8;
  252. color: #999999;
  253. font-size: 12px;
  254. line-height: 28px;
  255. float: left;
  256. margin-top: 20px;
  257. }
  258. }
  259. }
  260. .main-content-mode {
  261. width: 580px;
  262. height: 180px;
  263. -webkit-box-sizing: border-box;
  264. box-sizing: border-box;
  265. padding: 24px 12px;
  266. border: 1px solid #e8e8e8;
  267. margin-right: 40px;
  268. margin-bottom: 40px;
  269. -webkit-transition: all 0.5s;
  270. transition: all 0.5s;
  271. float: left;
  272. &:hover {
  273. -webkit-transform: translateY(-10px);
  274. transform: translateY(-10px);
  275. -webkit-box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  276. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  277. }
  278. &:nth-child(2n) {
  279. margin-right: 0;
  280. }
  281. .mode-label {
  282. width: 56px;
  283. height: 100%;
  284. float: left;
  285. img {
  286. width: 56px;
  287. height: 56px;
  288. float: left;
  289. }
  290. }
  291. .mode-content {
  292. width: 500px;
  293. height: 100%;
  294. margin-left: 12px;
  295. h1 {
  296. font-size: 24px;
  297. color: #272727;
  298. line-height: 32px;
  299. text-align: left;
  300. margin-bottom: 10px;
  301. }
  302. p {
  303. font-size: 16px;
  304. color: #505050;
  305. line-height: 25px;
  306. text-align: justify;
  307. }
  308. }
  309. }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. @media screen and (max-width: 768px) {
  316. .banner {
  317. width: 100%;
  318. height: 2.08rem;
  319. img {
  320. width: 100%;
  321. height: 100%;
  322. display: block;
  323. }
  324. }
  325. .main {
  326. height: auto;
  327. -webkit-box-sizing: border-box;
  328. box-sizing: border-box;
  329. .cooperative-tab {
  330. display: none;
  331. }
  332. .cooperative-main {
  333. width: 100%;
  334. -webkit-box-sizing: border-box;
  335. box-sizing: border-box;
  336. .cooperative-main-item {
  337. display: block !important;
  338. .main-title {
  339. margin: 1.2rem auto 0.4rem;
  340. position: relative;
  341. img {
  342. margin: 0 auto;
  343. display: block;
  344. height: 0.5rem;
  345. }
  346. p {
  347. width: 100%;
  348. font-size: 0.34rem;
  349. color: #272727;
  350. text-align: center;
  351. -webkit-transform: translateY(-50%);
  352. transform: translateY(-50%);
  353. }
  354. }
  355. .main-content {
  356. width: 100%;
  357. -webkit-box-sizing: border-box;
  358. box-sizing: border-box;
  359. padding: 0 0.32rem;
  360. .main-content-item {
  361. width: 1.64rem;
  362. float: left;
  363. .item {
  364. width: 1.64rem;
  365. height: 1.64rem;
  366. overflow: hidden;
  367. img {
  368. width: 1.64rem;
  369. height: 1.64rem;
  370. display: block;
  371. }
  372. &.first {
  373. margin-bottom: 0.1rem;
  374. }
  375. }
  376. }
  377. .main-content-mids {
  378. width: 3.36rem;
  379. height: 3.36rem;
  380. float: left;
  381. margin: 0 0.1rem;
  382. .item {
  383. width: 3.36rem;
  384. height: 3.36rem;
  385. overflow: hidden;
  386. img {
  387. width: 3.36rem;
  388. height: 3.36rem;
  389. display: block;
  390. }
  391. }
  392. }
  393. .main-content-serve {
  394. width: 5.12rem;
  395. margin: 0.4rem auto;
  396. height: auto;
  397. -webkit-box-sizing: border-box;
  398. box-sizing: border-box;
  399. padding: 0.4rem;
  400. border: 0.01rem solid #e8e8e8;
  401. .server-title {
  402. -webkit-box-sizing: border-box;
  403. box-sizing: border-box;
  404. background: url(/img/cooperative_server@2x.png);
  405. background-size: cover;
  406. height: 4.32rem;
  407. display: -webkit-box;
  408. display: -ms-flexbox;
  409. display: flex;
  410. -webkit-box-pack: center;
  411. -ms-flex-pack: center;
  412. justify-content: center;
  413. -webkit-box-align: center;
  414. -ms-flex-align: center;
  415. align-items: center;
  416. -webkit-box-orient: vertical;
  417. -webkit-box-direction: normal;
  418. -ms-flex-direction: column;
  419. flex-direction: column;
  420. .title {
  421. width: 100%;
  422. position: relative;
  423. font-size: 0.34rem;
  424. color: #ffffff;
  425. text-align: center;
  426. &::before {
  427. content: '';
  428. display: block;
  429. width: 0.32rem;
  430. height: 0.03rem;
  431. background-color: #fff;
  432. margin: 0.24rem auto;
  433. }
  434. }
  435. img {
  436. width: 0.56rem;
  437. height: 0.56rem;
  438. display: block;
  439. margin: 0 auto;
  440. }
  441. }
  442. .server-text {
  443. width: 100%;
  444. height: auto;
  445. -webkit-box-sizing: border-box;
  446. box-sizing: border-box;
  447. padding-top: 0.32rem;
  448. text-align: center;
  449. p {
  450. line-height: 0.42rem;
  451. font-size: 0.24rem;
  452. color: #505050;
  453. }
  454. .min {
  455. display: none;
  456. }
  457. .btn-show {
  458. display: none;
  459. }
  460. }
  461. }
  462. .main-content-mode {
  463. -webkit-box-sizing: border-box;
  464. box-sizing: border-box;
  465. border: 0.01rem solid #e8e8e8;
  466. padding: 0.24rem;
  467. margin-bottom: 0.32rem;
  468. .mode-label {
  469. width: 0.66rem;
  470. float: left;
  471. img {
  472. width: 0.66rem;
  473. height: 0.66rem;
  474. }
  475. }
  476. .mode-content {
  477. float: left;
  478. width: 5.52rem;
  479. height: 100%;
  480. margin-left: 0.16rem;
  481. h1 {
  482. font-size: 0.3rem;
  483. color: #272727;
  484. line-height: 32px;
  485. }
  486. p {
  487. font-size: 0.24rem;
  488. color: #505050;
  489. line-height: 0.4rem;
  490. text-align: justify;
  491. }
  492. }
  493. }
  494. }
  495. }
  496. }
  497. }
  498. }