hot.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. swiper {
  2. margin-top: 10rpx;
  3. background: #fff;
  4. display: block;
  5. width: 100%;
  6. height: 312rpx;
  7. }
  8. .slide-image {
  9. display: block;
  10. margin: 0 auto;
  11. width: 728rpx;
  12. height: 312rpx;
  13. border-radius: 20rpx;
  14. }
  15. .searchSection {
  16. width: 748rpx;
  17. height: 84rpx;
  18. display: flex;
  19. align-items: center;
  20. background: #fff
  21. }
  22. .searchSection input {
  23. display: flex;
  24. width: 536rpx;
  25. height: 56rpx;
  26. border-radius: 10rpx;
  27. background: #F0F1F5;
  28. color: #717171;
  29. font-size: 28rpx;
  30. margin-left: 14rpx;
  31. text-indent: 20rpx;
  32. }
  33. .searchSection .searchBtn {
  34. /* background: #fff; */
  35. position: absolute;
  36. z-index: 2;
  37. right: 200rpx;
  38. width: 56rpx;
  39. height: 56rpx;
  40. border: 1rpx solid rgba(255, 255, 255, 0);
  41. }
  42. .searchSection .searchBtn icon {
  43. position: absolute;
  44. top: 10rpx;
  45. right: 15rpx;
  46. }
  47. .searchSection .allBooks {
  48. font-size: 28rpx;
  49. color: #61ca54;
  50. font-family: PingFangSC-regular;
  51. width: 112rpx;
  52. margin-left: 56rpx;
  53. }
  54. .hotSection {
  55. width: 100%;
  56. /* height: 50rpx; */
  57. background: #fff;
  58. margin-top: 8rpx;
  59. }
  60. .hotSection .title {
  61. display: flex;
  62. align-items: center;
  63. margin: 20rpx 0 20rpx 20rpx;
  64. }
  65. .hotSection .title image {
  66. /* margin-left: 24rpx; */
  67. width: 34rpx;
  68. height: 38rpx;
  69. }
  70. .hotSection .title text {
  71. width: 112rpx;
  72. height: 40rpx;
  73. margin-left: 12rpx;
  74. font-size: 28rpx;
  75. line-height: 50rpx;
  76. font-family: PingFangSC-regular;
  77. color: #101010
  78. }
  79. .hotWares {
  80. display: flex;
  81. flex-wrap: wrap;
  82. }
  83. .hotSection .hotWares .hotWareCard {
  84. position: relative;
  85. overflow: hidden;
  86. width: 352rpx;
  87. height: 322rpx;
  88. margin: 0 0 18rpx 16rpx;
  89. box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
  90. }
  91. .hotWareCard .wareCardImg {
  92. width: 100%;
  93. height: 200rpx;
  94. }
  95. .hotWareCard .wareCardTitle {
  96. margin: 0 auto;
  97. width: 320rpx;
  98. height: 46rpx;
  99. display: block;
  100. text-align: center;
  101. color: rgba(16, 16, 16, 1);
  102. font-size: 32rpx;
  103. }
  104. .hotWareCard .wareCardTip {
  105. position: absolute;
  106. top: 10rpx;
  107. left: 4rpx;
  108. z-index: 2;
  109. width: 178rpx;
  110. height: 40rpx;
  111. display: block;
  112. text-align: center;
  113. color: rgba(16, 16, 16, 1);
  114. font-size: 28rpx;
  115. }
  116. .hotWareCard .bottomData {
  117. height: 34rpx;
  118. margin-top: 10rpx;
  119. display: flex;
  120. /* flex-direction: row; */
  121. justify-content: space-between;
  122. align-items: center;
  123. }
  124. .hotWareCard .wareCardPlays {
  125. width: 100rpx;
  126. margin-left: 18rpx;
  127. display: flex;
  128. flex-direction: row;
  129. align-items: center;
  130. }
  131. .hotWareCard .wareCardPlays .wareCardPlaysImg {
  132. width: 30rpx;
  133. height: 30rpx;
  134. }
  135. .hotWareCard .wareCardPlays text {
  136. margin-left: 4rpx;
  137. color: #61CA54;
  138. font-size: 24rpx;
  139. }
  140. .hotWareCard .wareCardLikes {
  141. width: 100rpx;
  142. margin-right: 18rpx;
  143. display: flex;
  144. flex-direction: row;
  145. align-items: center;
  146. }
  147. .hotWareCard .wareCardLikes .wareCardLikesImg {
  148. width: 30rpx;
  149. height: 30rpx;
  150. }
  151. .hotWareCard .wareCardLikes text {
  152. margin-left: 4rpx;
  153. color: #FF9800;
  154. font-size: 24rpx;
  155. }
  156. /** 第一个大图**/
  157. .hotSection .hotWares .hotWareCardFirst {
  158. position: relative;
  159. overflow: hidden;
  160. width: 740rpx;
  161. height: 342rpx;
  162. margin: 10rpx auto 20rpx;
  163. box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
  164. }
  165. .hotWareCardFirst .wareCardImg {
  166. width: 100%;
  167. height: 100%;
  168. }
  169. .hotWareCardFirst .wrapper {
  170. width: 100%;
  171. height: 100rpx;
  172. background: #fff;
  173. position: absolute;
  174. bottom: 0;
  175. }
  176. .hotWareCardFirst .wareCardTitle {
  177. margin: 10rpx 20rpx 0;
  178. display: block;
  179. /* text-align: center; */
  180. color: rgba(16, 16, 16, 1);
  181. font-size: 32rpx;
  182. }
  183. .hotWareCardFirst .wareCardTip {
  184. margin: 0 20rpx;
  185. width: 178rpx;
  186. height: 34rpx;
  187. display: block;
  188. text-align: center;
  189. color: rgba(16, 16, 16, 1);
  190. font-size: 28rpx;
  191. }
  192. .hotWareCardFirst .bottomData {
  193. width: 100%;
  194. height: 34rpx;
  195. margin-top: 5rpx;
  196. display: flex;
  197. flex-direction: row;
  198. justify-content: space-between;
  199. align-items: center;
  200. }
  201. .hotWareCardFirst .wareCardPlays {
  202. width: 100rpx;
  203. margin-left: 230rpx;
  204. display: flex;
  205. flex-direction: row;
  206. align-items: center;
  207. }
  208. .hotWareCardFirst .wareCardPlays .wareCardPlaysImg {
  209. width: 30rpx;
  210. height: 30rpx;
  211. }
  212. .hotWareCardFirst .wareCardPlays text {
  213. margin-left: 4rpx;
  214. color: #61CA54;
  215. font-size: 24rpx;
  216. }
  217. .hotWareCardFirst .wareCardLikes {
  218. width: 100rpx;
  219. margin-right: 18rpx;
  220. display: flex;
  221. flex-direction: row;
  222. align-items: center;
  223. }
  224. .hotWareCardFirst .wareCardLikes .wareCardLikesImg {
  225. width: 30rpx;
  226. height: 30rpx;
  227. }
  228. .hotWareCardFirst .wareCardLikes text {
  229. margin-left: 4rpx;
  230. color: #FF9800;
  231. font-size: 24rpx;
  232. }