product-mesobiolift.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. .about {
  4. .cover {
  5. img {
  6. display: block;
  7. width: 470px;
  8. height: 480px;
  9. }
  10. }
  11. .info {
  12. width: 660px;
  13. padding-top: 65px;
  14. .name {
  15. font-size: 50px;
  16. color: #5daf32;
  17. font-weight: bold;
  18. }
  19. .subname {
  20. font-size: 30px;
  21. margin-top: 15px;
  22. }
  23. .line {
  24. width: 36px;
  25. height: 7px;
  26. background: #5daf32;
  27. margin: 20px 0 30px;
  28. }
  29. .description {
  30. font-size: 20px;
  31. text-align: justify;
  32. word-break: break-all;
  33. line-height: 36px;
  34. }
  35. .tags {
  36. display: -webkit-box;
  37. display: -ms-flexbox;
  38. display: flex;
  39. -webkit-box-align: center;
  40. -ms-flex-align: center;
  41. align-items: center;
  42. -webkit-box-pack: justify;
  43. -ms-flex-pack: justify;
  44. justify-content: space-between;
  45. margin-top: 40px;
  46. }
  47. }
  48. }
  49. .technology {
  50. .content {
  51. .section {
  52. display: -webkit-box;
  53. display: -ms-flexbox;
  54. display: flex;
  55. -webkit-box-pack: justify;
  56. -ms-flex-pack: justify;
  57. justify-content: space-between;
  58. -webkit-box-align: center;
  59. -ms-flex-align: center;
  60. align-items: center;
  61. padding: 10px 30px;
  62. background: #eee;
  63. margin-top: 40px;
  64. &:first-child {
  65. margin-top: 0;
  66. }
  67. .cover {
  68. -ms-flex-negative: 0;
  69. flex-shrink: 0;
  70. img {
  71. display: block;
  72. width: 374px;
  73. }
  74. }
  75. &:nth-child(2n-1) {
  76. .info {
  77. margin-left: 40px;
  78. }
  79. }
  80. &:nth-child(2n) {
  81. .info {
  82. margin-right: 40px;
  83. }
  84. }
  85. .info {
  86. -webkit-box-flex: 1;
  87. -ms-flex: 1;
  88. flex: 1;
  89. -ms-flex-negative: 0;
  90. flex-shrink: 0;
  91. .title {
  92. font-size: 34px;
  93. color: #5daf33;
  94. font-weight: bold;
  95. }
  96. .subtitle {
  97. font-size: 16px;
  98. color: #434343;
  99. font-weight: lighter;
  100. margin-top: 12px;
  101. }
  102. .description {
  103. font-size: 27px;
  104. color: #434343;
  105. margin-top: 24px;
  106. line-height: 40px;
  107. text-align: justify;
  108. word-break: break-all;
  109. }
  110. }
  111. }
  112. }
  113. }
  114. .care {
  115. .content {
  116. .section {
  117. float: left;
  118. width: 390px;
  119. height: 340px;
  120. position: relative;
  121. margin-right: 15px;
  122. margin-top: 15px;
  123. background: #eee;
  124. overflow: hidden;
  125. &:nth-child(2),
  126. &:nth-child(5),
  127. &:nth-child(8) {
  128. margin-right: 0;
  129. }
  130. &:nth-child(1),
  131. &:nth-child(2) {
  132. margin-top: 0;
  133. }
  134. &:first-child {
  135. width: 795px;
  136. }
  137. &:nth-child(1),
  138. &:nth-child(6) {
  139. background: #5daf32;
  140. }
  141. &:hover {
  142. img {
  143. -webkit-transform: scale(1.2);
  144. transform: scale(1.2);
  145. }
  146. }
  147. .cover {
  148. position: absolute;
  149. width: 100%;
  150. height: 100%;
  151. img {
  152. display: block;
  153. width: 100%;
  154. height: 100%;
  155. -webkit-transition: all 0.4s;
  156. transition: all 0.4s;
  157. }
  158. }
  159. .info {
  160. position: absolute;
  161. z-index: 2;
  162. width: 100%;
  163. height: 100%;
  164. background: rgba(0, 0, 0, 0.3);
  165. display: -webkit-box;
  166. display: -ms-flexbox;
  167. display: flex;
  168. -webkit-box-pack: center;
  169. -ms-flex-pack: center;
  170. justify-content: center;
  171. -webkit-box-align: center;
  172. -ms-flex-align: center;
  173. align-items: center;
  174. -webkit-box-orient: vertical;
  175. -webkit-box-direction: normal;
  176. -ms-flex-direction: column;
  177. flex-direction: column;
  178. color: #fff;
  179. text-align: center;
  180. -webkit-box-sizing: border-box;
  181. box-sizing: border-box;
  182. padding: 0 32px;
  183. line-height: 1.5;
  184. .title {
  185. font-size: 28px;
  186. font-weight: bold;
  187. &.big {
  188. font-size: 41px;
  189. }
  190. }
  191. .subtitle {
  192. font-size: 24px;
  193. margin-top: 8px;
  194. }
  195. .description {
  196. font-size: 20px;
  197. font-weight: lighter;
  198. margin-top: 20px;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. .device {
  205. .content {
  206. .swiper-container {
  207. width: 100%;
  208. img {
  209. display: block;
  210. width: 100%;
  211. }
  212. }
  213. }
  214. }
  215. }
  216. }
  217. @media screen and (max-width: 768px) {
  218. .main {
  219. .about {
  220. .content {
  221. display: -webkit-box;
  222. display: -ms-flexbox;
  223. display: flex;
  224. -webkit-box-orient: vertical;
  225. -webkit-box-direction: reverse;
  226. -ms-flex-direction: column-reverse;
  227. flex-direction: column-reverse;
  228. -webkit-box-align: center;
  229. -ms-flex-align: center;
  230. align-items: center;
  231. .cover {
  232. margin-top: 0.4rem;
  233. img {
  234. display: block;
  235. width: 5.46rem;
  236. height: 5.57rem;
  237. }
  238. }
  239. .tags {
  240. display: -webkit-box;
  241. display: -ms-flexbox;
  242. display: flex;
  243. -webkit-box-align: center;
  244. -ms-flex-align: center;
  245. align-items: center;
  246. -webkit-box-pack: justify;
  247. -ms-flex-pack: justify;
  248. justify-content: space-between;
  249. margin-top: 0.16rem;
  250. img {
  251. display: block;
  252. width: 1.76rem;
  253. height: 1.12rem;
  254. margin: 0 0.06rem;
  255. }
  256. }
  257. .info {
  258. width: 6.5rem;
  259. margin: 0 auto;
  260. .name {
  261. font-size: 0.34rem;
  262. color: #5daf32;
  263. text-align: center;
  264. font-weight: bold;
  265. }
  266. .subname {
  267. font-size: 0.26rem;
  268. margin-top: 0.16rem;
  269. text-align: center;
  270. }
  271. .line {
  272. width: 0.4rem;
  273. height: 0.06rem;
  274. background: #5daf32;
  275. margin: 0.32rem auto;
  276. }
  277. .description {
  278. text-align: justify;
  279. word-break: break-all;
  280. color: #333333;
  281. text-align: center;
  282. font-size: 0.26rem;
  283. line-height: 0.48rem;
  284. }
  285. }
  286. }
  287. }
  288. .technology {
  289. .content {
  290. .section {
  291. width: 6.86rem;
  292. margin: 0 auto;
  293. padding: 0.4rem 0.7rem;
  294. background: #eee;
  295. margin-top: 0.32rem;
  296. -webkit-box-sizing: border-box;
  297. box-sizing: border-box;
  298. &:first-child {
  299. margin-top: 0;
  300. }
  301. .cover {
  302. img {
  303. display: block;
  304. width: 3.74rem;
  305. margin: 0 auto;
  306. }
  307. }
  308. .info {
  309. .title {
  310. font-size: 0.3rem;
  311. color: #5daf33;
  312. font-weight: bold;
  313. text-align: center;
  314. margin-top: 0.26rem;
  315. }
  316. .subtitle {
  317. font-size: 0.24rem;
  318. color: #333;
  319. margin-top: 0.16rem;
  320. text-align: center;
  321. }
  322. .description {
  323. font-size: 0.26rem;
  324. color: #333;
  325. margin-top: 0.4rem;
  326. line-height: 0.48rem;
  327. text-align: justify;
  328. word-break: break-all;
  329. text-align: center;
  330. }
  331. }
  332. }
  333. }
  334. }
  335. .care {
  336. .content {
  337. width: 6.86rem;
  338. margin: 0 auto;
  339. .section {
  340. float: left;
  341. width: 3.34rem;
  342. height: 3.4rem;
  343. position: relative;
  344. margin-right: 0.18rem;
  345. margin-top: 0.18rem;
  346. background: #eee;
  347. &:first-child {
  348. width: 6.86rem;
  349. margin-top: 0;
  350. margin-right: 0;
  351. }
  352. &:nth-child(3),
  353. &:nth-child(5),
  354. &:nth-child(7),
  355. &:nth-child(9) {
  356. margin-right: 0;
  357. }
  358. &:nth-child(1),
  359. &:nth-child(6) {
  360. background: #5daf32;
  361. }
  362. .cover {
  363. position: absolute;
  364. width: 100%;
  365. height: 100%;
  366. img {
  367. display: block;
  368. width: 100%;
  369. height: 100%;
  370. }
  371. }
  372. .info {
  373. position: absolute;
  374. z-index: 2;
  375. width: 100%;
  376. height: 100%;
  377. background: rgba(0, 0, 0, 0.3);
  378. display: -webkit-box;
  379. display: -ms-flexbox;
  380. display: flex;
  381. -webkit-box-pack: center;
  382. -ms-flex-pack: center;
  383. justify-content: center;
  384. -webkit-box-align: center;
  385. -ms-flex-align: center;
  386. align-items: center;
  387. -webkit-box-orient: vertical;
  388. -webkit-box-direction: normal;
  389. -ms-flex-direction: column;
  390. flex-direction: column;
  391. color: #fff;
  392. text-align: center;
  393. -webkit-box-sizing: border-box;
  394. box-sizing: border-box;
  395. padding: 0 0.32rem;
  396. line-height: 1.5;
  397. .title {
  398. font-size: 0.32rem;
  399. &.big {
  400. font-size: 0.32rem;
  401. }
  402. }
  403. .subtitle {
  404. font-size: 0.24rem;
  405. margin-top: 0.24rem;
  406. }
  407. .description {
  408. font-size: 0.24rem;
  409. font-weight: lighter;
  410. margin-top: 0.24rem;
  411. }
  412. }
  413. }
  414. }
  415. }
  416. .device {
  417. .scroll-box {
  418. img {
  419. width: 3.16rem;
  420. height: 3.06rem;
  421. margin-right: 0.24rem;
  422. &:first-child {
  423. margin-left: 0.32rem;
  424. }
  425. &:last-child {
  426. margin-right: 0.32rem;
  427. }
  428. }
  429. }
  430. }
  431. }
  432. }