product-rollaction.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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: #b62d1a;
  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: #b62d1a;
  27. margin: 20px 0 30px;
  28. }
  29. .description {
  30. text-align: justify;
  31. word-break: break-all;
  32. line-height: 36px;
  33. p {
  34. margin-top: 24px;
  35. font-size: 20px;
  36. }
  37. }
  38. }
  39. }
  40. .difference {
  41. .content {
  42. .section {
  43. display: -webkit-box;
  44. display: -ms-flexbox;
  45. display: flex;
  46. -webkit-box-pack: justify;
  47. -ms-flex-pack: justify;
  48. justify-content: space-between;
  49. -webkit-box-align: center;
  50. -ms-flex-align: center;
  51. align-items: center;
  52. background-color: #eeeeee;
  53. padding: 20px;
  54. -webkit-box-sizing: border-box;
  55. box-sizing: border-box;
  56. margin-top: 44px;
  57. &:first-child {
  58. margin-top: 0;
  59. }
  60. .cover {
  61. -ms-flex-negative: 0;
  62. flex-shrink: 0;
  63. img {
  64. display: -webkit-box;
  65. display: -ms-flexbox;
  66. display: flex;
  67. width: 450px;
  68. }
  69. }
  70. &:nth-child(2n-1) {
  71. .info {
  72. margin-left: 60px;
  73. margin-right: 30px;
  74. }
  75. }
  76. &:nth-child(2n) {
  77. .info {
  78. margin-right: 60px;
  79. margin-left: 30px;
  80. }
  81. }
  82. .info {
  83. -webkit-box-flex: 1;
  84. -ms-flex: 1;
  85. flex: 1;
  86. -ms-flex-negative: 0;
  87. flex-shrink: 0;
  88. .title {
  89. color: #b62d1a;
  90. font-size: 37px;
  91. font-weight: bold;
  92. }
  93. .description {
  94. font-size: 27px;
  95. color: #434343;
  96. line-height: 38px;
  97. margin-top: 38px;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .effect {
  104. .content {
  105. .section {
  106. display: -webkit-box;
  107. display: -ms-flexbox;
  108. display: flex;
  109. -webkit-box-pack: justify;
  110. -ms-flex-pack: justify;
  111. justify-content: space-between;
  112. -webkit-box-align: center;
  113. -ms-flex-align: center;
  114. align-items: center;
  115. -webkit-box-sizing: border-box;
  116. box-sizing: border-box;
  117. margin-top: 24px;
  118. &:first-child {
  119. margin-top: 0;
  120. }
  121. .cover {
  122. -ms-flex-negative: 0;
  123. flex-shrink: 0;
  124. img {
  125. display: -webkit-box;
  126. display: -ms-flexbox;
  127. display: flex;
  128. width: 388px;
  129. }
  130. }
  131. .info {
  132. -webkit-box-flex: 1;
  133. -ms-flex: 1;
  134. flex: 1;
  135. -ms-flex-negative: 0;
  136. flex-shrink: 0;
  137. margin: 0 60px;
  138. .title {
  139. color: #b62d1a;
  140. font-size: 34px;
  141. font-weight: bold;
  142. }
  143. .description {
  144. font-size: 27px;
  145. color: #434343;
  146. line-height: 40px;
  147. margin-top: 38px;
  148. }
  149. }
  150. }
  151. }
  152. }
  153. }
  154. }
  155. @media screen and (max-width: 768px) {
  156. .main {
  157. .about {
  158. .content {
  159. display: -webkit-box;
  160. display: -ms-flexbox;
  161. display: flex;
  162. -webkit-box-orient: vertical;
  163. -webkit-box-direction: reverse;
  164. -ms-flex-direction: column-reverse;
  165. flex-direction: column-reverse;
  166. -webkit-box-align: center;
  167. -ms-flex-align: center;
  168. align-items: center;
  169. .cover {
  170. margin-top: 0.4rem;
  171. img {
  172. display: block;
  173. width: 5.46rem;
  174. height: 5.57rem;
  175. }
  176. }
  177. .info {
  178. width: 6.5rem;
  179. margin: 0 auto;
  180. .name {
  181. font-size: 0.34rem;
  182. color: #b62d1a;
  183. text-align: center;
  184. font-weight: bold;
  185. }
  186. .subname {
  187. font-size: 0.26rem;
  188. margin-top: 0.16rem;
  189. text-align: center;
  190. }
  191. .line {
  192. width: 0.4rem;
  193. height: 0.06rem;
  194. background: #b62d1a;
  195. margin: 0.32rem auto;
  196. }
  197. .description {
  198. text-align: justify;
  199. word-break: break-all;
  200. color: #333333;
  201. text-align: center;
  202. p {
  203. font-size: 0.26rem;
  204. line-height: 0.48rem;
  205. }
  206. }
  207. }
  208. }
  209. }
  210. .difference {
  211. .content {
  212. .section {
  213. width: 6.86rem;
  214. background-color: #eeeeee;
  215. padding: 0.4rem 0.7rem;
  216. -webkit-box-sizing: border-box;
  217. box-sizing: border-box;
  218. margin: 0 auto;
  219. margin-top: 0.32rem;
  220. &:first-child {
  221. margin-top: 0;
  222. }
  223. .cover {
  224. img {
  225. display: block;
  226. width: 4.5rem;
  227. margin: 0 auto;
  228. }
  229. }
  230. .info {
  231. .title {
  232. color: #b62d1a;
  233. font-size: 0.3rem;
  234. font-weight: bold;
  235. margin: 0.4rem 0 0.32rem;
  236. text-align: center;
  237. }
  238. .description {
  239. font-size: 0.26rem;
  240. color: #333;
  241. line-height: 0.48rem;
  242. text-align: center;
  243. }
  244. }
  245. }
  246. }
  247. }
  248. .effect {
  249. .content {
  250. .section {
  251. display: -webkit-box;
  252. display: -ms-flexbox;
  253. display: flex;
  254. -webkit-box-orient: vertical;
  255. -webkit-box-direction: reverse;
  256. -ms-flex-direction: column-reverse;
  257. flex-direction: column-reverse;
  258. -webkit-box-align: center;
  259. -ms-flex-align: center;
  260. align-items: center;
  261. width: 5.98rem;
  262. margin: 0 auto;
  263. text-align: center;
  264. margin-top: 0.8rem;
  265. &:first-child {
  266. margin-top: 0;
  267. }
  268. .cover {
  269. img {
  270. width: 3.88rem;
  271. }
  272. }
  273. .info {
  274. .title {
  275. color: #b62d1a;
  276. font-size: 0.3rem;
  277. font-weight: bold;
  278. margin: 0.24rem 0 0.16rem;
  279. }
  280. .description {
  281. font-size: 0.26rem;
  282. color: #333;
  283. line-height: 0.48rem;
  284. }
  285. }
  286. }
  287. }
  288. }
  289. }
  290. }