hot.wxss 9.1 KB

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