cooperative.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. .banner {
  2. width: 100%;
  3. height: 530px;
  4. img {
  5. width: 100%;
  6. height: 100%;
  7. display: block;
  8. }
  9. }
  10. .main {
  11. height: auto;
  12. -webkit-box-sizing: border-box;
  13. box-sizing: border-box;
  14. .cooperative-tab {
  15. width: 100%;
  16. height: 100px;
  17. background-color: #f7f7f7;
  18. .tab-item-last {
  19. display: block;
  20. width: 300px;
  21. float: left;
  22. height: 100%;
  23. -webkit-box-sizing: border-box;
  24. box-sizing: border-box;
  25. padding: 25px 0;
  26. position: relative;
  27. h1 {
  28. font-size: 24px;
  29. color: #272727;
  30. line-height: 30px;
  31. text-align: center;
  32. }
  33. p {
  34. font-size: 12px;
  35. color: #272727;
  36. line-height: 20px;
  37. text-align: center;
  38. }
  39. }
  40. .tab-item {
  41. display: block;
  42. width: 300px;
  43. float: left;
  44. height: 100%;
  45. -webkit-box-sizing: border-box;
  46. box-sizing: border-box;
  47. padding: 25px 0;
  48. position: relative;
  49. &.select {
  50. h1 {
  51. color: #0688d2;
  52. }
  53. p {
  54. color: #0688d2;
  55. }
  56. &::before {
  57. content: '';
  58. width: 0;
  59. height: 0;
  60. border-left: 9px solid transparent;
  61. border-right: 9px solid transparent;
  62. border-bottom: 9px solid #0688d2;
  63. position: absolute;
  64. bottom: 0;
  65. left: 50%;
  66. margin-left: -5px;
  67. }
  68. }
  69. .line {
  70. display: block;
  71. width: 1px;
  72. height: 32px;
  73. background-color: #dbdbdb;
  74. position: absolute;
  75. right: 0;
  76. top: 35px;
  77. }
  78. h1 {
  79. font-size: 24px;
  80. color: #272727;
  81. line-height: 30px;
  82. text-align: center;
  83. }
  84. p {
  85. font-size: 12px;
  86. color: #272727;
  87. line-height: 20px;
  88. text-align: center;
  89. }
  90. }
  91. }
  92. .cooperative-main {
  93. width: 100%;
  94. min-width: 1000px;
  95. -webkit-box-sizing: border-box;
  96. box-sizing: border-box;
  97. padding: 60px 0;
  98. .cooperative-main-item {
  99. display: none;
  100. &.select {
  101. display: block;
  102. }
  103. .main-title {
  104. width: 400px;
  105. margin: 0 auto;
  106. position: relative;
  107. img {
  108. margin: 0 auto;
  109. display: block;
  110. height: 50px;
  111. }
  112. p {
  113. width: 100%;
  114. height: 30px;
  115. line-height: 30px;
  116. font-size: 34px;
  117. color: #272727;
  118. text-align: center;
  119. position: absolute;
  120. bottom: -12px;
  121. left: 0;
  122. }
  123. }
  124. .main-content {
  125. width: 100%;
  126. height: auto;
  127. margin-top: 100px;
  128. .main-content-item {
  129. width: 286px;
  130. height: 592px;
  131. float: left;
  132. .item {
  133. width: 286px;
  134. height: 286px;
  135. overflow: hidden;
  136. &:hover {
  137. img {
  138. -webkit-transform: scale(1.2);
  139. transform: scale(1.2);
  140. }
  141. }
  142. img {
  143. width: 286px;
  144. height: 286px;
  145. display: block;
  146. -webkit-transition: all 0.4s;
  147. transition: all 0.4s;
  148. }
  149. &.first {
  150. margin-bottom: 18px;
  151. }
  152. }
  153. }
  154. .main-content-mids {
  155. width: 592px;
  156. height: 592px;
  157. float: left;
  158. margin: 0 18px;
  159. .item {
  160. width: 592px;
  161. height: 592px;
  162. overflow: hidden;
  163. &:hover {
  164. img {
  165. -webkit-transform: scale(1.2);
  166. transform: scale(1.2);
  167. }
  168. }
  169. img {
  170. width: 592px;
  171. height: 592px;
  172. display: block;
  173. -webkit-transition: all 0.4s;
  174. transition: all 0.4s;
  175. }
  176. }
  177. }
  178. .main-content-serve {
  179. width: 400px;
  180. height: auto;
  181. padding: 30px 32px;
  182. -webkit-box-sizing: border-box;
  183. box-sizing: border-box;
  184. -webkit-transition: all 0.4s;
  185. transition: all 0.4s;
  186. cursor: pointer;
  187. float: left;
  188. &:hover {
  189. background-color: #fff;
  190. -webkit-transform: translateY(-10px);
  191. transform: translateY(-10px);
  192. -webkit-box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  193. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  194. }
  195. .server-title {
  196. width: 336px;
  197. height: 216px;
  198. -webkit-box-sizing: border-box;
  199. box-sizing: border-box;
  200. padding: 40px 0;
  201. background: url(/img/cooperative_server@2x.png);
  202. background-size: cover;
  203. .title {
  204. width: 100%;
  205. line-height: 45px;
  206. margin-top: 20px;
  207. position: relative;
  208. font-size: 34px;
  209. color: #ffffff;
  210. text-align: center;
  211. &::before {
  212. content: '';
  213. width: 16px;
  214. height: 2px;
  215. background-color: #fff;
  216. position: absolute;
  217. top: -8px;
  218. left: 50%;
  219. margin-left: -8px;
  220. }
  221. }
  222. img {
  223. width: 40px;
  224. height: 40px;
  225. display: block;
  226. margin: 0 auto;
  227. }
  228. }
  229. .server-text {
  230. width: 100%;
  231. height: auto;
  232. -webkit-box-sizing: border-box;
  233. box-sizing: border-box;
  234. padding-top: 24px;
  235. p {
  236. line-height: 30px;
  237. font-size: 16px;
  238. color: #505050;
  239. &.max {
  240. display: none;
  241. }
  242. }
  243. .btn-show {
  244. display: block;
  245. width: 100px;
  246. height: 28px;
  247. text-align: center;
  248. -webkit-box-sizing: border-box;
  249. box-sizing: border-box;
  250. border: 1px solid #e8e8e8;
  251. color: #999999;
  252. font-size: 12px;
  253. line-height: 28px;
  254. float: left;
  255. margin-top: 20px;
  256. }
  257. }
  258. }
  259. .main-content-mode {
  260. width: 580px;
  261. height: 180px;
  262. -webkit-box-sizing: border-box;
  263. box-sizing: border-box;
  264. padding: 24px 12px;
  265. border: 1px solid #e8e8e8;
  266. margin-right: 40px;
  267. margin-bottom: 40px;
  268. -webkit-transition: all 0.5s;
  269. transition: all 0.5s;
  270. float: left;
  271. &:hover {
  272. -webkit-transform: translateY(-10px);
  273. transform: translateY(-10px);
  274. -webkit-box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  275. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  276. }
  277. &:nth-child(2n) {
  278. margin-right: 0;
  279. }
  280. .mode-label {
  281. width: 56px;
  282. height: 100%;
  283. float: left;
  284. img {
  285. width: 56px;
  286. height: 56px;
  287. float: left;
  288. }
  289. }
  290. .mode-content {
  291. width: 500px;
  292. height: 100%;
  293. margin-left: 12px;
  294. h1 {
  295. font-size: 24px;
  296. color: #272727;
  297. line-height: 32px;
  298. text-align: left;
  299. margin-bottom: 10px;
  300. }
  301. p {
  302. font-size: 16px;
  303. color: #505050;
  304. line-height: 25px;
  305. text-align: justify;
  306. }
  307. }
  308. }
  309. }
  310. }
  311. }
  312. }