thirdPartyContent.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. /* pages/thirdPartyContent/thirdPartyContent.wxss */
  2. .container {
  3. padding: 20rpx;
  4. background-color: #f5f5f5;
  5. min-height: 100vh;
  6. }
  7. /* 统计信息 */
  8. .statistics-section {
  9. display: flex;
  10. justify-content: space-around;
  11. background: white;
  12. border-radius: 16rpx;
  13. padding: 30rpx 20rpx;
  14. margin-bottom: 20rpx;
  15. }
  16. .stat-item {
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. }
  21. .stat-value {
  22. font-size: 36rpx;
  23. font-weight: bold;
  24. color: #667eea;
  25. margin-bottom: 10rpx;
  26. }
  27. .stat-label {
  28. font-size: 24rpx;
  29. color: #666;
  30. }
  31. /* 工具栏 */
  32. .toolbar {
  33. margin-bottom: 20rpx;
  34. }
  35. .search-box {
  36. display: flex;
  37. background: white;
  38. border-radius: 16rpx;
  39. padding: 20rpx;
  40. margin-bottom: 20rpx;
  41. }
  42. .search-input {
  43. flex: 1;
  44. height: 60rpx;
  45. padding: 0 20rpx;
  46. background: #f5f5f5;
  47. border-radius: 30rpx;
  48. font-size: 28rpx;
  49. }
  50. .search-btn {
  51. margin-left: 20rpx;
  52. padding: 0 30rpx;
  53. height: 60rpx;
  54. line-height: 60rpx;
  55. background: #667eea;
  56. color: white;
  57. border-radius: 30rpx;
  58. font-size: 28rpx;
  59. }
  60. .upload-btn {
  61. width: 100%;
  62. height: 80rpx;
  63. line-height: 80rpx;
  64. background: #667eea;
  65. color: white;
  66. border-radius: 16rpx;
  67. font-size: 32rpx;
  68. border: none;
  69. }
  70. /* 书籍列表 */
  71. .content-list {
  72. background: white;
  73. border-radius: 16rpx;
  74. overflow: hidden;
  75. }
  76. .content-item {
  77. display: flex;
  78. padding: 30rpx;
  79. border-bottom: 1rpx solid #eee;
  80. }
  81. .content-item:last-child {
  82. border-bottom: none;
  83. }
  84. .cover {
  85. width: 160rpx;
  86. height: 220rpx;
  87. border-radius: 8rpx;
  88. margin-right: 20rpx;
  89. flex-shrink: 0;
  90. }
  91. .content-info {
  92. flex: 1;
  93. display: flex;
  94. flex-direction: column;
  95. }
  96. .title-row {
  97. display: flex;
  98. align-items: center;
  99. margin-bottom: 10rpx;
  100. }
  101. .title {
  102. font-size: 32rpx;
  103. font-weight: bold;
  104. color: #333;
  105. flex: 1;
  106. margin-right: 10rpx;
  107. }
  108. .status-badge {
  109. padding: 4rpx 12rpx;
  110. border-radius: 8rpx;
  111. font-size: 20rpx;
  112. color: white;
  113. }
  114. .author {
  115. font-size: 26rpx;
  116. color: #666;
  117. margin-bottom: 8rpx;
  118. }
  119. .info {
  120. font-size: 24rpx;
  121. color: #999;
  122. margin-bottom: 8rpx;
  123. }
  124. .actions {
  125. display: flex;
  126. flex-wrap: wrap;
  127. gap: 10rpx;
  128. margin-top: 20rpx;
  129. }
  130. .action-btn {
  131. padding: 8rpx 20rpx;
  132. background: #667eea;
  133. color: white;
  134. border-radius: 8rpx;
  135. font-size: 24rpx;
  136. border: none;
  137. }
  138. .action-btn.danger {
  139. background: #f44336;
  140. }
  141. /* 空状态 */
  142. .empty {
  143. text-align: center;
  144. padding: 100rpx 0;
  145. }
  146. .empty-text {
  147. font-size: 28rpx;
  148. color: #999;
  149. }
  150. /* 加载中 */
  151. .loading {
  152. text-align: center;
  153. padding: 50rpx 0;
  154. color: #999;
  155. }
  156. /* 分页 */
  157. .pagination {
  158. display: flex;
  159. justify-content: center;
  160. align-items: center;
  161. padding: 30rpx 0;
  162. gap: 20rpx;
  163. }
  164. .page-btn {
  165. padding: 10rpx 30rpx;
  166. background: #667eea;
  167. color: white;
  168. border-radius: 8rpx;
  169. font-size: 28rpx;
  170. border: none;
  171. }
  172. .page-btn[disabled] {
  173. background: #ccc;
  174. color: #999;
  175. }
  176. .page-info {
  177. font-size: 28rpx;
  178. color: #666;
  179. }