cooperative.scss 5.3 KB

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