home.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. .home-wrap {
  2. background-color: #F2F2F2;
  3. flex-direction: column;
  4. // padding: 0px 10px;
  5. .home_title {
  6. height: 112px;
  7. background-color: #BD8757;
  8. text {
  9. padding: 0 30px;
  10. font-size: 36px;
  11. color: white;
  12. }
  13. }
  14. .feebar-text{
  15. color: #fff;
  16. margin-left: 40px;
  17. }
  18. .type-wrap_content {
  19. // background-color: #61A9C0;
  20. padding: 0px 30px;
  21. .type-wrap {
  22. // background-color: #61A9C0;;
  23. margin: 20px 0px 0px 0px;
  24. flex-direction: row;
  25. .type-item {
  26. padding: 0 15px;
  27. justify-content: center;
  28. align-items: center;
  29. flex-direction: column;
  30. position: relative;
  31. text {
  32. font-size: 30px;
  33. color: #999999;
  34. }
  35. .cur {
  36. color: #BD8757;
  37. font-size: 36px;
  38. font-weight: bold;
  39. }
  40. .choose-bar {
  41. width: 38px;
  42. height: 4px;
  43. background-color: #BD8757;
  44. border-radius: 2px;
  45. margin-top: 10px;
  46. }
  47. }
  48. }
  49. }
  50. .free {
  51. background-color: #ffffff;
  52. width: 100%;
  53. padding-top: 10px;
  54. .free_warp {
  55. margin: 0 auto;
  56. }
  57. }
  58. .entrance_block {
  59. background-color: #ffffff;
  60. width: 100%;
  61. padding: 30px;
  62. display: flex;
  63. justify-content: space-around;
  64. text-align: center;
  65. div {
  66. image {
  67. margin: 0 auto;
  68. height: 106px;
  69. }
  70. }
  71. }
  72. .type-bar {
  73. background-color: #ffffff;
  74. padding: 20px;
  75. .search-bar__wrap {
  76. flex: 1;
  77. // background-color: #f7f7f7;
  78. background-color: #ffffff;
  79. height: 62px;
  80. padding: 0 14px;
  81. border-radius: 30px;
  82. align-items: center;
  83. image {
  84. margin-right: 20px;
  85. width: 36px;
  86. height: 36px;
  87. }
  88. text {
  89. flex: 1;
  90. font-size: 24px;
  91. color: #999;
  92. }
  93. }
  94. }
  95. .search-bar {
  96. padding: 24px;
  97. margin-left: 100px;
  98. .search-bar__wrap {
  99. flex: 1;
  100. background-color: #FFFFFF;
  101. // height: 62px;
  102. width: 350px;
  103. height: 75px;
  104. padding: 0 14px;
  105. border-radius: 30px;
  106. align-items: center;
  107. image {
  108. margin-right: 20px;
  109. width: 36px;
  110. height: 36px;
  111. }
  112. text {
  113. flex: 1;
  114. font-size: 24px;
  115. color: #999;
  116. }
  117. }
  118. }
  119. .swipe-bar {
  120. height: 290px;
  121. // background: linear-gradient(to bottom, #61A9C0 50%, #fff 50%);
  122. .swipe-item {
  123. // padding: 30px 24px 0px;
  124. padding: 0px 30px;
  125. .swipe-item__info {
  126. flex: 1;
  127. flex-direction: column;
  128. // padding-right: 32px;
  129. // border-radius: 20px;
  130. .name {
  131. font-size: 32px;
  132. color: #333;
  133. }
  134. .intro {
  135. font-size: 26px;
  136. color: #666;
  137. margin-top: 36px;
  138. lines: 4;
  139. text-overflow: ellipsis;
  140. }
  141. .category {
  142. font-size: 24px;
  143. color: #32a1ff;
  144. margin-top: 10px;
  145. }
  146. }
  147. .cover {
  148. border-radius: 30px;
  149. width: 100%;
  150. height: 260px;
  151. // flex-basis: 180px;
  152. // flex-shrink: 0;
  153. // height: 240px;
  154. // border-radius: 6px;
  155. }
  156. }
  157. }
  158. .book-list__wrap {
  159. // padding: 0 24px;
  160. padding: 0px 30px;
  161. flex-direction: column;
  162. .book-list_content {
  163. border-radius: 20px;
  164. padding: 0 24px;
  165. flex-direction: column;
  166. background-color: white;
  167. .book-list__title {
  168. background-color: #fff;
  169. padding: 40px 0 30px 0;
  170. align-items: center;
  171. font-size: 30px;
  172. text {
  173. color: #333;
  174. font-size: 32px;
  175. font-weight: 900;
  176. }
  177. }
  178. }
  179. }
  180. .book-list {
  181. flex: 1;
  182. flex-direction: row;
  183. flex-wrap: wrap;
  184. justify-content: space-between;
  185. }
  186. .book-list__multi {
  187. flex-direction: column;
  188. .book-item {
  189. margin-bottom: 30px;
  190. }
  191. .book-info__multi {
  192. flex: 1;
  193. flex-direction: column;
  194. justify-content: flex-start;
  195. align-items: flex-start;
  196. margin-left: 38px;
  197. // margin-bottom: 40px;
  198. .name {
  199. font-size: 32px;
  200. color: #333;
  201. lines: 1;
  202. text-overflow: ellipsis;
  203. }
  204. .intro {
  205. font-size: 24px;
  206. color: #666;
  207. lines: 3;
  208. text-overflow: ellipsis;
  209. margin-top: 36px;
  210. line-height: 36px;
  211. }
  212. }
  213. }
  214. .book-list__line {
  215. justify-content: space-between;
  216. align-items: flex-start;
  217. border-bottom: 2px solid #f7f7f7;
  218. }
  219. }