new-books.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .container.data-v-167fe052 {
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #FFFFFF;
  5. display: flex;
  6. flex-direction: column;
  7. }
  8. /* 顶部导航栏 */
  9. .header.data-v-167fe052 {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. padding: 20rpx 30rpx;
  14. background-color: #FFFFFF;
  15. border-bottom: 1rpx solid #E5E5E5;
  16. }
  17. .back-btn.data-v-167fe052 {
  18. width: 60rpx;
  19. height: 60rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. }
  24. .back-icon.data-v-167fe052 {
  25. font-size: 40rpx;
  26. color: #000000;
  27. font-weight: bold;
  28. }
  29. .header-title.data-v-167fe052 {
  30. font-size: 36rpx;
  31. font-weight: bold;
  32. color: #000000;
  33. position: absolute;
  34. left: 50%;
  35. transform: translateX(-50%);
  36. }
  37. .search-btn.data-v-167fe052 {
  38. width: 60rpx;
  39. height: 60rpx;
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. }
  44. .search-icon.data-v-167fe052 {
  45. font-size: 36rpx;
  46. color: #000000;
  47. }
  48. /* 书籍列表容器 */
  49. .book-list-container.data-v-167fe052 {
  50. flex: 1;
  51. width: 100%;
  52. height: 0;
  53. overflow: hidden;
  54. background-color: #FFFFFF;
  55. }
  56. /* 书籍项 */
  57. .book-item.data-v-167fe052 {
  58. display: flex;
  59. padding: 30rpx;
  60. border-bottom: 1rpx solid #F0F0F0;
  61. }
  62. .book-item.data-v-167fe052:last-child {
  63. border-bottom: none;
  64. }
  65. /* 书籍封面 */
  66. .book-cover.data-v-167fe052 {
  67. width: 160rpx;
  68. height: 220rpx;
  69. border-radius: 8rpx;
  70. margin-right: 24rpx;
  71. flex-shrink: 0;
  72. background-color: #F5F5F5;
  73. }
  74. /* 书籍信息 */
  75. .book-info.data-v-167fe052 {
  76. flex: 1;
  77. display: flex;
  78. flex-direction: column;
  79. justify-content: flex-start;
  80. min-width: 0;
  81. }
  82. .book-title.data-v-167fe052 {
  83. font-size: 32rpx;
  84. font-weight: bold;
  85. color: #000000;
  86. margin-bottom: 16rpx;
  87. line-height: 1.4;
  88. display: -webkit-box;
  89. -webkit-box-orient: vertical;
  90. -webkit-line-clamp: 2;
  91. overflow: hidden;
  92. text-overflow: ellipsis;
  93. }
  94. .book-desc.data-v-167fe052 {
  95. font-size: 28rpx;
  96. color: #666666;
  97. line-height: 1.6;
  98. margin-bottom: 20rpx;
  99. display: -webkit-box;
  100. -webkit-box-orient: vertical;
  101. -webkit-line-clamp: 3;
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. }
  105. .book-author.data-v-167fe052 {
  106. font-size: 26rpx;
  107. color: #999999;
  108. margin-top: auto;
  109. }
  110. /* 加载更多 */
  111. .load-more.data-v-167fe052 {
  112. width: 100%;
  113. height: 80rpx;
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. margin-top: 20rpx;
  118. margin-bottom: 40rpx;
  119. }
  120. .load-more-text.data-v-167fe052 {
  121. font-size: 28rpx;
  122. color: #999999;
  123. }