hot.wxss 9.3 KB

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