index.wxss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. .container.data-v-1cf27b2a {
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #F5F5F5;
  5. display: flex;
  6. flex-direction: column;
  7. padding-top: 60px;
  8. box-sizing: border-box;
  9. }
  10. .search-bar.data-v-1cf27b2a {
  11. position: relative;
  12. padding: 20rpx 30rpx;
  13. background-color: #FFFFFF;
  14. }
  15. .search-input.data-v-1cf27b2a {
  16. width: 100%;
  17. height: 70rpx;
  18. background-color: #F5F5F5;
  19. border-radius: 35rpx;
  20. padding: 0 80rpx 0 30rpx;
  21. font-size: 28rpx;
  22. color: #333333;
  23. }
  24. .search-icon.data-v-1cf27b2a {
  25. position: absolute;
  26. right: 50rpx;
  27. top: 50%;
  28. transform: translateY(-50%);
  29. font-size: 32rpx;
  30. }
  31. .scroll-content.data-v-1cf27b2a {
  32. flex: 1;
  33. width: 100%;
  34. height: 0;
  35. overflow: hidden;
  36. }
  37. .swiper-container.data-v-1cf27b2a {
  38. width: 100%;
  39. height: 360rpx;
  40. margin-bottom: 20rpx;
  41. background-color: #F5F5F5;
  42. border-radius: 0;
  43. overflow: hidden;
  44. }
  45. .swiper.data-v-1cf27b2a {
  46. width: 100%;
  47. height: 100%;
  48. }
  49. .swiper-item-wrapper.data-v-1cf27b2a {
  50. width: 100%;
  51. height: 100%;
  52. position: relative;
  53. }
  54. .swiper-image.data-v-1cf27b2a {
  55. width: 100%;
  56. height: 100%;
  57. display: block;
  58. object-fit: cover;
  59. }
  60. .swiper-overlay.data-v-1cf27b2a {
  61. position: absolute;
  62. bottom: 0;
  63. left: 0;
  64. right: 0;
  65. background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  66. padding: 60rpx 40rpx 30rpx;
  67. }
  68. .swiper-title.data-v-1cf27b2a {
  69. font-size: 36rpx;
  70. font-weight: bold;
  71. color: #FFFFFF;
  72. text-shadow: 0 2rpx 8rpx rgba(0,0,0,0.5);
  73. }
  74. .category-nav.data-v-1cf27b2a {
  75. display: flex;
  76. justify-content: space-around;
  77. padding: 40rpx 20rpx;
  78. background-color: #FFFFFF;
  79. margin-bottom: 20rpx;
  80. }
  81. .category-item.data-v-1cf27b2a {
  82. display: flex;
  83. flex-direction: column;
  84. align-items: center;
  85. }
  86. .category-icon.data-v-1cf27b2a {
  87. width: 90rpx;
  88. height: 90rpx;
  89. border-radius: 50%;
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. margin-bottom: 15rpx;
  94. }
  95. .icon-text.data-v-1cf27b2a {
  96. font-size: 44rpx;
  97. }
  98. .category-text.data-v-1cf27b2a {
  99. font-size: 24rpx;
  100. color: #333333;
  101. }
  102. .section.data-v-1cf27b2a {
  103. padding: 40rpx 30rpx;
  104. background-color: #FFFFFF;
  105. margin-bottom: 20rpx;
  106. }
  107. .section-header.data-v-1cf27b2a {
  108. display: flex;
  109. justify-content: space-between;
  110. align-items: center;
  111. margin-bottom: 30rpx;
  112. }
  113. .section-title.data-v-1cf27b2a {
  114. font-size: 36rpx;
  115. font-weight: bold;
  116. color: #333333;
  117. }
  118. .section-more.data-v-1cf27b2a {
  119. font-size: 28rpx;
  120. color: #999999;
  121. }
  122. .book-grid.data-v-1cf27b2a {
  123. display: flex;
  124. flex-wrap: wrap;
  125. justify-content: space-between;
  126. }
  127. .book-item.data-v-1cf27b2a {
  128. width: 160rpx;
  129. margin-bottom: 30rpx;
  130. }
  131. .book-cover.data-v-1cf27b2a {
  132. width: 160rpx;
  133. height: 220rpx;
  134. border-radius: 8rpx;
  135. margin-bottom: 15rpx;
  136. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  137. background-color: #F5F5F5;
  138. }
  139. .book-name.data-v-1cf27b2a {
  140. font-size: 24rpx;
  141. color: #333333;
  142. display: block;
  143. overflow: hidden;
  144. text-overflow: ellipsis;
  145. white-space: nowrap;
  146. }
  147. .book-list.data-v-1cf27b2a {
  148. display: flex;
  149. flex-direction: column;
  150. }
  151. .book-list-item.data-v-1cf27b2a {
  152. display: flex;
  153. margin-bottom: 30rpx;
  154. align-items: center;
  155. }
  156. .book-cover-small.data-v-1cf27b2a {
  157. width: 120rpx;
  158. height: 160rpx;
  159. border-radius: 8rpx;
  160. margin-right: 20rpx;
  161. flex-shrink: 0;
  162. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  163. background-color: #F5F5F5;
  164. }
  165. .book-info.data-v-1cf27b2a {
  166. flex: 1;
  167. display: flex;
  168. flex-direction: column;
  169. justify-content: space-between;
  170. min-width: 0;
  171. }
  172. .book-title.data-v-1cf27b2a {
  173. font-size: 32rpx;
  174. font-weight: bold;
  175. color: #333333;
  176. margin-bottom: 10rpx;
  177. overflow: hidden;
  178. text-overflow: ellipsis;
  179. white-space: nowrap;
  180. }
  181. .book-desc.data-v-1cf27b2a {
  182. font-size: 26rpx;
  183. color: #666666;
  184. line-height: 1.4;
  185. margin-bottom: 10rpx;
  186. display: -webkit-box;
  187. -webkit-box-orient: vertical;
  188. -webkit-line-clamp: 2;
  189. overflow: hidden;
  190. }
  191. .book-author.data-v-1cf27b2a {
  192. font-size: 24rpx;
  193. color: #999999;
  194. }
  195. .book-list-horizontal.data-v-1cf27b2a {
  196. white-space: nowrap;
  197. width: 100%;
  198. height: 280rpx;
  199. }
  200. .book-item-horizontal.data-v-1cf27b2a {
  201. display: inline-block;
  202. width: 160rpx;
  203. margin-right: 20rpx;
  204. vertical-align: top;
  205. }
  206. .book-cover-horizontal.data-v-1cf27b2a {
  207. width: 160rpx;
  208. height: 220rpx;
  209. border-radius: 8rpx;
  210. margin-bottom: 15rpx;
  211. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  212. background-color: #F5F5F5;
  213. }
  214. .book-name-horizontal.data-v-1cf27b2a {
  215. font-size: 24rpx;
  216. color: #333333;
  217. display: block;
  218. overflow: hidden;
  219. text-overflow: ellipsis;
  220. white-space: nowrap;
  221. }
  222. .book-grid-two.data-v-1cf27b2a {
  223. display: flex;
  224. flex-wrap: wrap;
  225. justify-content: space-between;
  226. }
  227. .book-item-two.data-v-1cf27b2a {
  228. width: calc(50% - 10rpx);
  229. margin-bottom: 30rpx;
  230. }
  231. .book-cover-two.data-v-1cf27b2a {
  232. width: 100%;
  233. height: 280rpx;
  234. border-radius: 8rpx;
  235. margin-bottom: 15rpx;
  236. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
  237. background-color: #F5F5F5;
  238. }
  239. .book-title-two.data-v-1cf27b2a {
  240. font-size: 28rpx;
  241. font-weight: bold;
  242. color: #333333;
  243. margin-bottom: 8rpx;
  244. display: block;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. white-space: nowrap;
  248. }
  249. .book-author-two.data-v-1cf27b2a {
  250. font-size: 24rpx;
  251. color: #999999;
  252. display: block;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. white-space: nowrap;
  256. }
  257. .empty-state.data-v-1cf27b2a {
  258. padding: 60rpx 0;
  259. text-align: center;
  260. }
  261. .empty-text.data-v-1cf27b2a {
  262. font-size: 28rpx;
  263. color: #999999;
  264. display: block;
  265. margin-bottom: 10rpx;
  266. }
  267. .empty-hint.data-v-1cf27b2a {
  268. font-size: 24rpx;
  269. color: #CCCCCC;
  270. display: block;
  271. }
  272. .loading-state.data-v-1cf27b2a {
  273. padding: 60rpx 0;
  274. text-align: center;
  275. }
  276. .loading-text.data-v-1cf27b2a {
  277. font-size: 28rpx;
  278. color: #999999;
  279. }