Recommend.less 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. .search{
  2. padding: 10px 30px 0 30px;
  3. position: relative;
  4. .searchInput{
  5. height: 68px;
  6. background: #F8F8F8;
  7. border-radius: 34px;
  8. padding-left: 30px;
  9. box-sizing: border-box;
  10. }
  11. .searchicon{
  12. width: 25px;
  13. height: 25px;
  14. position: absolute;
  15. bottom: 24px;
  16. left: 50%;
  17. margin-left: -40px;
  18. }
  19. .searchword{
  20. height: 23px;
  21. font-size: 24px;
  22. position: absolute;
  23. bottom: 34px;
  24. left: 50%;
  25. margin-left: -5px;
  26. color: #C0C8D3;
  27. letter-spacing: 0.2em;
  28. }
  29. }
  30. .waterfall{
  31. column-count: 2; //分两列
  32. column-gap: 30px; //列间距
  33. background-color: #F8F8F8;
  34. padding:30px 30px 0 30px;
  35. .contentCard{
  36. background: #FFF;
  37. box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
  38. border-radius: 24px;
  39. overflow: hidden;
  40. margin-bottom:50px;
  41. break-inside: avoid;
  42. position: relative;
  43. .cardTop{
  44. border-radius: 24px 24px 0px 0px;
  45. .cCardimg{
  46. width: 100%;
  47. border-radius: 24px 24px 0px 0px;
  48. }
  49. .lefttips{
  50. width:99px;
  51. height:37px;
  52. position: absolute;
  53. left: 0;
  54. top: 0;
  55. }
  56. .loveharde{
  57. width: 22px;
  58. height: 20px;
  59. position: absolute;
  60. right: 20px;
  61. top: 10px;
  62. }
  63. }
  64. .bContent{
  65. padding:20px;
  66. .cCword{
  67. font-size: 24px;
  68. font-weight: bold;
  69. color: #404040;
  70. }
  71. .cCleft{
  72. float: left;
  73. position: relative;
  74. padding:40px 0 30px 0;
  75. .cCicon{
  76. width: 17px;
  77. height: 21px;
  78. position: absolute;
  79. left: 0;
  80. top: 48px;
  81. }
  82. .distance{
  83. padding-left: 24px;
  84. font-size: 24px;
  85. color: #C0C8D3;
  86. }
  87. }
  88. .cCright{
  89. position: relative;
  90. float: right;
  91. padding:40px 0 30px 0;
  92. .price{
  93. font-size: 24px;
  94. color: #FF3434;
  95. .money{
  96. font-size: 20px;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .botton{
  104. font-size: 28px;
  105. color: #C0C8D3;
  106. text-align: center;
  107. padding:40px 0 50px 0;
  108. background-color: #F8F8F8;
  109. }
  110. .index-tabs {
  111. padding-left: 95px;
  112. position: relative;
  113. .position{
  114. position: absolute;
  115. left: 36px;
  116. top: 4px;
  117. .location{
  118. width: 35px;
  119. height: 42px;
  120. }
  121. .city{
  122. font-size: 20px;
  123. font-weight: bold;
  124. color: #4C4C4C;
  125. position: relative;
  126. left: -2px;
  127. bottom: 11px;
  128. }
  129. .line{
  130. width: 1px;
  131. height: 68px;
  132. background: #4C4C4C;
  133. opacity: 0.1;
  134. position: relative;
  135. left: 57px;
  136. bottom: 82px;
  137. }
  138. }
  139. .tabs-Unselected {
  140. width: 25vw;
  141. font-weight: bold;
  142. color: #C0C8D3;
  143. text-align: center;
  144. font-size: 28px;
  145. line-height: 91px;
  146. }
  147. .tabs-swiper {
  148. max-height: 0;
  149. }
  150. .tabs-Selected {
  151. font-size: 32px;
  152. color: #4C4C4C;
  153. width: 25vw;
  154. font-weight: bold;
  155. text-align: center;
  156. border-bottom: 6px solid #4C4C4C;
  157. }
  158. }