hot.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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: 32rpx;
  49. color: #61ca54;
  50. font-family: PingFangSC-regular;
  51. width: 128rpx;
  52. margin-left: 56rpx;
  53. }
  54. .hotSection {
  55. width: 100%;
  56. /* height: 50rpx; */
  57. background: #fff;
  58. margin-top: 10rpx;
  59. }
  60. .hotSection .title {
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. padding: 30rpx 22rpx 20rpx;
  65. }
  66. .hotSection .leftWrapper {
  67. display: flex;
  68. align-items: center;
  69. }
  70. .hotSection .title image {
  71. width: 54rpx;
  72. height: 60rpx;
  73. margin-left: 14rpx;
  74. }
  75. .hotSection .title .recommendTag {
  76. width: 38rpx;
  77. height: 34rpx;
  78. }
  79. .hotSection .title text {
  80. width: 224rpx;
  81. letter-spacing: 4rpx;
  82. height: 40rpx;
  83. margin-left: 12rpx;
  84. font-size: 32rpx;
  85. line-height: 40rpx;
  86. font-family: PingFangSC-regular;
  87. color: #414141;
  88. }
  89. .hotSection .title .moreBtn {
  90. display: block;
  91. float: right;
  92. width: 80rpx;
  93. height: 38rpx;
  94. font-size: 28rpx;
  95. color: #6e6e6e;
  96. }
  97. .hotWares {
  98. display: flex;
  99. flex-wrap: wrap;
  100. }
  101. .hotSection .hotWares .hotWareCard {
  102. position: relative;
  103. overflow: hidden;
  104. width: 704rpx;
  105. height: 402rpx;
  106. /* margin: 0 0 18rpx 16rpx; */
  107. margin: 0 auto 20rpx;
  108. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  109. }
  110. .hotWareCard .wareCardImg {
  111. width: 100%;
  112. height: 290rpx;
  113. border-radius: 20rpx;
  114. }
  115. .hotWareCard .wareCardTitle {
  116. /* margin: 0 auto; */
  117. width: 100%;
  118. height: 46rpx;
  119. display: block;
  120. /* text-align: left; */
  121. color: #414141;
  122. font-size: 32rpx;
  123. letter-spacing: 4rpx;
  124. font-family: MicrosoftYaHei;
  125. }
  126. .hotWareCard .bottomData {
  127. height: 34rpx;
  128. margin-top: 10rpx;
  129. display: flex;
  130. /* flex-direction: row; */
  131. justify-content: space-between;
  132. align-items: center;
  133. }
  134. .hotWareCard .bottomData .wareCardPlays {
  135. width: 100rpx;
  136. margin-left: 270rpx;
  137. display: flex;
  138. flex-direction: row;
  139. align-items: center;
  140. }
  141. .hotWareCard .wareCardTip {
  142. width: 178rpx;
  143. height: 40rpx;
  144. display: block;
  145. text-align: left;
  146. color: #414141;
  147. font-size: 24rpx;
  148. }
  149. .hotWareCard .wareCardPlays .wareCardPlaysImg {
  150. width: 30rpx;
  151. height: 30rpx;
  152. }
  153. .hotWareCard .wareCardPlays text {
  154. margin-left: 4rpx;
  155. color: #61CA54;
  156. font-size: 24rpx;
  157. }
  158. .hotWareCard .wareCardLikes {
  159. width: 100rpx;
  160. margin-right: 18rpx;
  161. display: flex;
  162. flex-direction: row;
  163. align-items: center;
  164. }
  165. .hotWareCard .wareCardLikes .wareCardLikesImg {
  166. width: 30rpx;
  167. height: 30rpx;
  168. }
  169. .hotWareCard .wareCardLikes text {
  170. margin-left: 4rpx;
  171. color: #FF9800;
  172. font-size: 24rpx;
  173. }
  174. /** 第一个大图**/
  175. .hotSection .hotWares .hotWareCardFirst {
  176. position: relative;
  177. overflow: hidden;
  178. width: 740rpx;
  179. height: 342rpx;
  180. margin: 10rpx auto 20rpx;
  181. box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
  182. }
  183. .hotWareCardFirst .wareCardImg {
  184. width: 100%;
  185. height: 100%;
  186. }
  187. .hotWareCardFirst .wrapper {
  188. width: 100%;
  189. height: 100rpx;
  190. background: #fff;
  191. position: absolute;
  192. bottom: 0;
  193. }
  194. .hotWareCardFirst .wareCardTitle {
  195. margin: 10rpx 20rpx 0;
  196. display: block;
  197. /* text-align: center; */
  198. color: rgba(16, 16, 16, 1);
  199. font-size: 32rpx;
  200. }
  201. .hotWareCardFirst .wareCardTip {
  202. margin: 0 20rpx;
  203. width: 178rpx;
  204. height: 34rpx;
  205. display: block;
  206. text-align: center;
  207. color: rgba(16, 16, 16, 1);
  208. font-size: 28rpx;
  209. }
  210. .hotWareCardFirst .bottomData {
  211. width: 100%;
  212. height: 34rpx;
  213. margin-top: 5rpx;
  214. display: flex;
  215. flex-direction: row;
  216. justify-content: space-between;
  217. align-items: center;
  218. }
  219. .hotWareCardFirst .wareCardPlays {
  220. width: 100rpx;
  221. margin-left: 230rpx;
  222. display: flex;
  223. flex-direction: row;
  224. align-items: center;
  225. }
  226. .hotWareCardFirst .wareCardPlays .wareCardPlaysImg {
  227. width: 30rpx;
  228. height: 30rpx;
  229. }
  230. .hotWareCardFirst .wareCardPlays text {
  231. margin-left: 4rpx;
  232. color: #61CA54;
  233. font-size: 24rpx;
  234. }
  235. .hotWareCardFirst .wareCardLikes {
  236. width: 100rpx;
  237. margin-right: 18rpx;
  238. display: flex;
  239. flex-direction: row;
  240. align-items: center;
  241. }
  242. .hotWareCardFirst .wareCardLikes .wareCardLikesImg {
  243. width: 30rpx;
  244. height: 30rpx;
  245. }
  246. .hotWareCardFirst .wareCardLikes text {
  247. margin-left: 4rpx;
  248. color: #FF9800;
  249. font-size: 24rpx;
  250. }