hot.wxss 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. swiper {
  2. /* margin-top: 10rpx; */
  3. padding-top: 20rpx;
  4. background: #fff;
  5. display: block;
  6. width: 100%;
  7. height: 312rpx;
  8. }
  9. .slide-image {
  10. display: block;
  11. margin: 0 auto;
  12. width: 728rpx;
  13. height: 312rpx;
  14. border-radius: 20rpx;
  15. }
  16. .searchSection {
  17. width: 748rpx;
  18. height: 84rpx;
  19. display: flex;
  20. align-items: center;
  21. background: #fff
  22. }
  23. .searchSection input {
  24. display: flex;
  25. width: 518rpx;
  26. height: 56rpx;
  27. border-radius: 10rpx;
  28. background: #F0F1F5;
  29. color: #717171;
  30. font-size: 28rpx;
  31. margin-left: 14rpx;
  32. text-indent: 20rpx;
  33. }
  34. .searchSection .searchBtn {
  35. /* background: #fff; */
  36. position: absolute;
  37. z-index: 2;
  38. right: 220rpx;
  39. width: 56rpx;
  40. height: 56rpx;
  41. border: 1rpx solid rgba(255, 255, 255, 0);
  42. }
  43. .searchSection .searchBtn image {
  44. display: block;
  45. width: 34rpx;
  46. height: 34rpx;
  47. margin: 10rpx auto;
  48. }
  49. .searchSection .allBooks {
  50. font-size: 32rpx;
  51. color: #41bb32;
  52. font-family: PingFangSC-regular;
  53. width: 128rpx;
  54. margin-left: 56rpx;
  55. }
  56. .hotSection {
  57. width: 100%;
  58. /* height: 50rpx; */
  59. /* background: #fff; */
  60. background: rgba(240, 241, 245, 1);
  61. margin-top: 10rpx;
  62. }
  63. .hotSection .title {
  64. display: flex;
  65. align-items: center;
  66. justify-content: space-between;
  67. padding: 10rpx 22rpx 20rpx;
  68. }
  69. .hotSection .leftWrapper {
  70. display: flex;
  71. align-items: center;
  72. }
  73. .hotSection .title image {
  74. width: 54rpx;
  75. height: 60rpx;
  76. margin-left: 14rpx;
  77. }
  78. .hotSection .title .recommendTag {
  79. width: 38rpx;
  80. height: 34rpx;
  81. }
  82. .hotSection .title text {
  83. width: 224rpx;
  84. letter-spacing: 4rpx;
  85. height: 40rpx;
  86. margin-left: 16rpx;
  87. font-size: 32rpx;
  88. line-height: 40rpx;
  89. font-family: PingFangSC-regular;
  90. color: #444;
  91. }
  92. .hotSection .title .moreBtn {
  93. display: block;
  94. float: right;
  95. width: 80rpx;
  96. height: 38rpx;
  97. font-size: 28rpx;
  98. color: #444;
  99. }
  100. .hotWares {
  101. display: flex;
  102. flex-wrap: wrap;
  103. /* background: #e8e8e8; */
  104. }
  105. .hotSection .hotWares .hotWareCard {
  106. position: relative;
  107. overflow: hidden;
  108. width: 720rpx;
  109. height: 374rpx;
  110. background: #fff;
  111. /* padding: 26rpx; */
  112. border-radius: 12rpx;
  113. /* margin: 0 0 18rpx 16rpx; */
  114. margin: 0 auto 20rpx;
  115. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  116. }
  117. .hotWareCard .wareCardImg {
  118. display: block;
  119. width: 662rpx;
  120. height: 272rpx;
  121. margin: 26rpx auto 0;
  122. border-radius: 20rpx;
  123. }
  124. .hotWareCard .titleSummary {
  125. display: flex;
  126. justify-content: space-between;
  127. margin-top: 12rpx;
  128. }
  129. .hotWareCard .wareCardTitle {
  130. /* margin: 0 auto; */
  131. width: 100%;
  132. height: 46rpx;
  133. display: block;
  134. /* text-align: left; */
  135. color: #414141;
  136. font-size: 32rpx;
  137. letter-spacing: 4rpx;
  138. margin-left: 28rpx;
  139. font-family: MicrosoftYaHei;
  140. }
  141. .hotWareCard .bottomData {
  142. height: 34rpx;
  143. margin-top: 10rpx;
  144. display: flex;
  145. /* flex-direction: row; */
  146. justify-content: space-between;
  147. align-items: center;
  148. }
  149. .hotWareCard .bottomData .wareCardPlays {
  150. width: 100rpx;
  151. margin-left: 270rpx;
  152. display: flex;
  153. flex-direction: row;
  154. align-items: center;
  155. }
  156. .hotWareCard .wareCardTip {
  157. width: 178rpx;
  158. height: 40rpx;
  159. display: block;
  160. text-align: left;
  161. color: #444;
  162. font-size: 24rpx;
  163. }
  164. .hotWareCard .wareCardPlays .wareCardPlaysImg {
  165. width: 30rpx;
  166. height: 30rpx;
  167. }
  168. .hotWareCard .wareCardPlays text {
  169. margin-left: 4rpx;
  170. color: #61CA54;
  171. font-size: 24rpx;
  172. }
  173. .hotWareCard .wareCardLikes {
  174. width: 100rpx;
  175. margin-right: 18rpx;
  176. display: flex;
  177. flex-direction: row;
  178. align-items: center;
  179. }
  180. .hotWareCard .wareCardLikes .wareCardLikesImg {
  181. width: 30rpx;
  182. height: 30rpx;
  183. }
  184. .hotWareCard .wareCardLikes text {
  185. margin-left: 4rpx;
  186. color: #FF9800;
  187. font-size: 24rpx;
  188. }
  189. /** 第一个大图**/
  190. .hotSection .hotWares .hotWareCardFirst {
  191. position: relative;
  192. overflow: hidden;
  193. width: 740rpx;
  194. height: 342rpx;
  195. margin: 10rpx auto 20rpx;
  196. box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
  197. }
  198. .hotWareCardFirst .wareCardImg {
  199. width: 100%;
  200. height: 100%;
  201. }
  202. .hotWareCardFirst .wrapper {
  203. width: 100%;
  204. height: 100rpx;
  205. background: #fff;
  206. position: absolute;
  207. bottom: 0;
  208. }
  209. .hotWareCardFirst .wareCardTitle {
  210. margin: 10rpx 20rpx 0;
  211. display: block;
  212. /* text-align: center; */
  213. color: rgba(16, 16, 16, 1);
  214. font-size: 32rpx;
  215. }
  216. .hotWareCardFirst .wareCardTip {
  217. margin: 0 20rpx;
  218. width: 178rpx;
  219. height: 34rpx;
  220. display: block;
  221. text-align: center;
  222. color: rgba(16, 16, 16, 1);
  223. font-size: 28rpx;
  224. }
  225. .hotWareCardFirst .bottomData {
  226. width: 100%;
  227. height: 34rpx;
  228. margin-top: 5rpx;
  229. display: flex;
  230. flex-direction: row;
  231. justify-content: space-between;
  232. align-items: center;
  233. }
  234. .hotWareCardFirst .wareCardPlays {
  235. width: 100rpx;
  236. margin-left: 230rpx;
  237. display: flex;
  238. flex-direction: row;
  239. align-items: center;
  240. }
  241. .hotWareCardFirst .wareCardPlays .wareCardPlaysImg {
  242. width: 30rpx;
  243. height: 30rpx;
  244. }
  245. .hotWareCardFirst .wareCardPlays text {
  246. margin-left: 4rpx;
  247. color: #61CA54;
  248. font-size: 24rpx;
  249. }
  250. .hotWareCardFirst .wareCardLikes {
  251. width: 100rpx;
  252. margin-right: 18rpx;
  253. display: flex;
  254. flex-direction: row;
  255. align-items: center;
  256. }
  257. .hotWareCardFirst .wareCardLikes .wareCardLikesImg {
  258. width: 30rpx;
  259. height: 30rpx;
  260. }
  261. .hotWareCardFirst .wareCardLikes text {
  262. margin-left: 4rpx;
  263. color: #FF9800;
  264. font-size: 24rpx;
  265. }
  266. /* // 热门推荐 */
  267. .recommdSection {
  268. width: 100%;
  269. /* height: 50rpx; */
  270. /* background: #fff; */
  271. background: rgba(240, 241, 245, 1);
  272. /* margin-top: 10rpx; */
  273. }
  274. .recommdSection .title {
  275. display: flex;
  276. align-items: center;
  277. justify-content: space-between;
  278. padding: 0 22rpx 20rpx;
  279. }
  280. .recommdSection .leftWrapper {
  281. display: flex;
  282. align-items: center;
  283. }
  284. .recommdSection .title image {
  285. width: 54rpx;
  286. height: 60rpx;
  287. margin-left: 14rpx;
  288. }
  289. .recommdSection .title .recommendTag {
  290. width: 38rpx;
  291. height: 34rpx;
  292. }
  293. .recommdSection .title text {
  294. width: 224rpx;
  295. letter-spacing: 4rpx;
  296. height: 40rpx;
  297. margin-left: 16rpx;
  298. font-size: 32rpx;
  299. line-height: 40rpx;
  300. font-family: PingFangSC-regular;
  301. color: #444;
  302. }
  303. .recommdSection .title .moreBtn {
  304. display: block;
  305. float: right;
  306. width: 80rpx;
  307. height: 38rpx;
  308. font-size: 28rpx;
  309. color: #6e6e6e;
  310. }
  311. .hotWares {
  312. display: flex;
  313. flex-wrap: wrap;
  314. /* background: #e8e8e8; */
  315. }
  316. .recommdSection .hotWares .worksCard {
  317. position: relative;
  318. overflow: hidden;
  319. width: 720rpx;
  320. height: 476rpx;
  321. background: #fff;
  322. /* padding: 26rpx; */
  323. border-radius: 12rpx;
  324. /* margin: 0 0 18rpx 16rpx; */
  325. margin: 0 auto 20rpx;
  326. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  327. }
  328. .worksCard .wareCardImg {
  329. display: block;
  330. width: 662rpx;
  331. height: 272rpx;
  332. margin: 12rpx auto 0;
  333. border-radius: 20rpx;
  334. }
  335. .worksCard .titleSummary {
  336. display: flex;
  337. justify-content: space-between;
  338. margin-top: 12rpx;
  339. }
  340. .worksCard .wareCardTitle {
  341. /* margin: 0 auto; */
  342. width: 100%;
  343. height: 46rpx;
  344. display: block;
  345. /* text-align: left; */
  346. color: #414141;
  347. font-size: 32rpx;
  348. letter-spacing: 4rpx;
  349. margin-left: 28rpx;
  350. font-family: MicrosoftYaHei;
  351. }
  352. .worksCard .topData {
  353. height: 92rpx;
  354. margin-top: 14rpx;
  355. display: flex;
  356. flex-direction: row;
  357. /* justify-content: space-between; */
  358. align-items: center;
  359. }
  360. .worksLeft {
  361. display: flex;
  362. flex-direction: row;
  363. flex:1;
  364. }
  365. .worksLeft .worksInfo .authorName {
  366. color: #444444;
  367. font-size: 32rpx;
  368. margin-top: 8rpx;
  369. }
  370. .worksLeft .worksInfo .time {
  371. color: #686868;
  372. font-size: 28rpx;
  373. }
  374. .worksCard .topData .wareCardPlays {
  375. width: 100rpx;
  376. /* margin-left: 270rpx; */
  377. display: flex;
  378. flex-direction: row;
  379. align-items: center;
  380. }
  381. .worksCard .topData .authorAvatar {
  382. width: 92rpx;
  383. height: 92rpx;
  384. margin: 0 22rpx 0 22rpx;
  385. display: block;
  386. border-radius: 50%;
  387. }
  388. .topData .numberInfo{
  389. display: flex;
  390. flex-direction: column;
  391. }
  392. .worksCard .wareCardTip {
  393. width: 178rpx;
  394. height: 40rpx;
  395. display: block;
  396. text-align: left;
  397. color: #444;
  398. font-size: 24rpx;
  399. }
  400. .worksCard .wareCardPlays .wareCardPlaysImg {
  401. width:20rpx;
  402. height:22rpx;
  403. margin-right: 6rpx;
  404. }
  405. .worksCard .wareCardPlays text {
  406. margin-left: 4rpx;
  407. color: #5e5e5e;
  408. font-size: 22rpx;
  409. }
  410. .worksCard .wareCardLikes {
  411. width: 100rpx;
  412. margin-right: 18rpx;
  413. display: flex;
  414. flex-direction: row;
  415. align-items: center;
  416. }
  417. .worksCard .wareCardLikes .wareCardLikesImg {
  418. width:26rpx;
  419. height:24rpx;
  420. margin-right: 6rpx;
  421. }
  422. .worksCard .wareCardLikes text {
  423. margin-left: 4rpx;
  424. color: #FF9800;
  425. font-size: 24rpx;
  426. }