more-books.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .container.data-v-a14ffe9d {
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #FFFFFF;
  5. display: flex;
  6. flex-direction: column;
  7. }
  8. /* 顶部导航栏 */
  9. .header.data-v-a14ffe9d {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. padding: 20rpx 30rpx;
  14. background-color: #FFFFFF;
  15. position: relative;
  16. }
  17. .back-btn.data-v-a14ffe9d {
  18. width: 60rpx;
  19. height: 60rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. }
  24. .back-icon.data-v-a14ffe9d {
  25. font-size: 40rpx;
  26. color: #000000;
  27. font-weight: bold;
  28. }
  29. .header-title.data-v-a14ffe9d {
  30. font-size: 36rpx;
  31. font-weight: bold;
  32. color: #000000;
  33. position: absolute;
  34. left: 50%;
  35. transform: translateX(-50%);
  36. }
  37. .placeholder.data-v-a14ffe9d {
  38. width: 60rpx;
  39. }
  40. /* 分隔线 */
  41. .divider.data-v-a14ffe9d {
  42. width: 100%;
  43. height: 1rpx;
  44. background-color: #E5E5E5;
  45. }
  46. /* 滚动内容 */
  47. .scroll-content.data-v-a14ffe9d {
  48. flex: 1;
  49. width: 100%;
  50. height: 0;
  51. overflow: hidden;
  52. padding: 20rpx 30rpx;
  53. box-sizing: border-box;
  54. }
  55. /* 书籍列表 */
  56. .book-list.data-v-a14ffe9d {
  57. display: flex;
  58. flex-direction: column;
  59. }
  60. /* 书籍项 */
  61. .book-item.data-v-a14ffe9d {
  62. display: flex;
  63. flex-direction: row;
  64. align-items: center;
  65. padding: 20rpx 0;
  66. border-bottom: 1rpx solid #F0F0F0;
  67. }
  68. .book-item.data-v-a14ffe9d:last-child {
  69. border-bottom: none;
  70. }
  71. /* 书籍封面 */
  72. .book-cover.data-v-a14ffe9d {
  73. width: 120rpx;
  74. height: 160rpx;
  75. border-radius: 8rpx;
  76. margin-right: 20rpx;
  77. flex-shrink: 0;
  78. background-color: #E0E0E0;
  79. }
  80. /* 书籍信息 */
  81. .book-info.data-v-a14ffe9d {
  82. flex: 1;
  83. display: flex;
  84. flex-direction: column;
  85. justify-content: center;
  86. min-width: 0;
  87. }
  88. .book-title.data-v-a14ffe9d {
  89. font-size: 32rpx;
  90. font-weight: bold;
  91. color: #000000;
  92. margin-bottom: 12rpx;
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. white-space: nowrap;
  96. }
  97. .book-author.data-v-a14ffe9d {
  98. font-size: 26rpx;
  99. color: #999999;
  100. margin-bottom: 12rpx;
  101. overflow: hidden;
  102. text-overflow: ellipsis;
  103. white-space: nowrap;
  104. }
  105. .book-desc.data-v-a14ffe9d {
  106. font-size: 24rpx;
  107. color: #666666;
  108. line-height: 1.5;
  109. overflow: hidden;
  110. text-overflow: ellipsis;
  111. display: -webkit-box;
  112. -webkit-line-clamp: 2;
  113. -webkit-box-orient: vertical;
  114. }
  115. /* 加载中 */
  116. .loading-container.data-v-a14ffe9d {
  117. width: 100%;
  118. height: 400rpx;
  119. display: flex;
  120. align-items: center;
  121. justify-content: center;
  122. }
  123. .loading-text.data-v-a14ffe9d {
  124. font-size: 28rpx;
  125. color: #999999;
  126. }
  127. /* 空状态 */
  128. .empty-container.data-v-a14ffe9d {
  129. width: 100%;
  130. height: 400rpx;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. }
  135. .empty-text.data-v-a14ffe9d {
  136. font-size: 28rpx;
  137. color: #999999;
  138. }
  139. /* 加载更多 */
  140. .load-more.data-v-a14ffe9d {
  141. width: 100%;
  142. height: 80rpx;
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. margin-top: 20rpx;
  147. margin-bottom: 40rpx;
  148. }
  149. .load-more-text.data-v-a14ffe9d {
  150. font-size: 28rpx;
  151. color: #999999;
  152. }