category.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .category-wrap {
  2. background-color: #fff;
  3. flex-direction: column;
  4. .filter-item {
  5. .filter-item__list {
  6. .filter-item_warp {
  7. padding: 0 15px;
  8. justify-content: center;
  9. align-items: center;
  10. flex-direction: column;
  11. position: relative;
  12. .filter-item__item {
  13. padding: 0 15px;
  14. justify-content: center;
  15. align-items: center;
  16. flex-direction: column;
  17. position: relative;
  18. }
  19. .cur_bar {
  20. color: #000000;
  21. font-size: 36px;
  22. font-weight: bold;
  23. }
  24. .choose-bar {
  25. width: 38px;
  26. height: 4px;
  27. background-color: #000000;
  28. border-radius: 2px;
  29. margin-top: 10px;
  30. }
  31. }
  32. }
  33. }
  34. .tab_bar {
  35. height: 112px;
  36. width: 100%;
  37. background-color: #fff;
  38. }
  39. .search-bar {
  40. padding: 24px;
  41. .search-bar__wrap {
  42. flex: 1;
  43. background-color: #f7f7f7;
  44. height: 62px;
  45. padding: 0 14px;
  46. border-radius: 30px;
  47. align-items: center;
  48. image {
  49. margin-right: 20px;
  50. width: 36px;
  51. height: 36px;
  52. }
  53. input {
  54. flex: 1;
  55. font-size: 24px;
  56. color: #999;
  57. }
  58. }
  59. }
  60. .filter-wrap {
  61. background-color: #fff;
  62. flex-direction: column;
  63. border-bottom: 24px solid #f7f7f7;
  64. .filter-item {
  65. flex: 1;
  66. align-items: flex-start;
  67. padding: 32px 42px 0;
  68. border-bottom: 2px solid #f7f7f7;
  69. &__list {
  70. flex: 1;
  71. flex-direction: row;
  72. flex-wrap: wrap;
  73. text {
  74. width: 25%;
  75. flex-shrink: 0;
  76. text-align: center;
  77. padding-bottom: 32px;
  78. }
  79. }
  80. &__name {
  81. width: 20%;
  82. flex-shrink: 0;
  83. font-size: 26px;
  84. color: #333;
  85. }
  86. &__item {
  87. font-size: 26px;
  88. color: #333;
  89. }
  90. & .cur {
  91. font-weight: bold;
  92. color: #ef5952;
  93. }
  94. }
  95. }
  96. .books-item__wrap {
  97. background-color: #fff;
  98. padding: 0px 24px;
  99. margin-bottom: 30px;
  100. flex-direction: column;
  101. .book-info {
  102. flex: 1;
  103. flex-direction: column;
  104. justify-content: flex-start;
  105. align-items: flex-start;
  106. padding-left: 40px;
  107. line-height: 40px;
  108. .name {
  109. color: #333;
  110. font-size: 32px;
  111. text-overflow: ellipsis;
  112. }
  113. .status,
  114. .words {
  115. color: #999;
  116. font-size: 26px;
  117. }
  118. .update {
  119. align-items: center;
  120. text {
  121. font-size: 26px;
  122. color: #ff6060;
  123. }
  124. .lastest {
  125. color: #666;
  126. }
  127. image {
  128. width: 30px;
  129. height: 30px;
  130. margin-left: 10px;
  131. }
  132. }
  133. .intro {
  134. font-size: 24px;
  135. color: #666;
  136. line-height: 40px;
  137. margin-top: 36px;
  138. lines: 3;
  139. text-overflow: ellipsis;
  140. line-height: 36px;
  141. }
  142. }
  143. }
  144. .book-item__wrap--first {
  145. padding-top: 38px;
  146. }
  147. }