category.less 2.4 KB

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