search.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. /* pages/search/search.wxss */
  2. page {
  3. height: auto !important;
  4. }
  5. .search {
  6. padding: 24rpx;
  7. border-bottom: 1rpx solid #EEEEEE;
  8. height: 68rpx;
  9. position: sticky;
  10. top: 0;
  11. background: #ffffff;
  12. display: flex;
  13. flex-flow: row;
  14. }
  15. input {
  16. flex: 1;
  17. font-weight: 400;
  18. font-size: 28rpx;
  19. color: #A2A2A2;
  20. height: 68rpx;
  21. line-height: 68rpx;
  22. background: #F8F8F8;
  23. border-radius: 8rpx 8rpx 8rpx 8rpx;
  24. padding: 0 20rpx;
  25. padding-left: 68rpx;
  26. }
  27. .search icon {
  28. position: absolute;
  29. left: 40rpx;
  30. top: 38rpx;
  31. font-size: 28rpx;
  32. }
  33. .search .text {
  34. font-weight: 500;
  35. font-size: 32rpx;
  36. color: #000000;
  37. line-height: 68rpx;
  38. margin-left: 44rpx;
  39. }
  40. .history {
  41. display: flex;
  42. flex-flow: row;
  43. justify-content: space-between;
  44. padding: 24rpx;
  45. }
  46. .history view:first-child {
  47. font-weight: 600;
  48. font-size: 28rpx;
  49. color: #000000;
  50. }
  51. .history view:last-child {
  52. font-weight: 400;
  53. font-size: 20rpx;
  54. color: #A2A2A2;
  55. }
  56. .history view:last-child view {
  57. font-size: 36rpx;
  58. vertical-align: sub;
  59. }
  60. .searchBtn {
  61. padding: 0 4rpx 0 24rpx;
  62. }
  63. .searchBtnItem {
  64. display: inline-block;
  65. height: 67rpx;
  66. background: #F8F8F8;
  67. border-radius: 53rpx;
  68. font-weight: 400;
  69. font-size: 28rpx;
  70. color: #000000;
  71. line-height: 67rpx;
  72. padding: 0 34rpx;
  73. margin-right: 20rpx;
  74. margin-bottom: 20rpx;
  75. }
  76. .goodsList {
  77. flex: 1;
  78. overflow: auto;
  79. /* display: flex; */
  80. /* flex-flow: row; */
  81. /* justify-content: space-between; */
  82. }
  83. .goodsScroll {
  84. overflow-y: auto;
  85. }
  86. .goods {
  87. height: 228rpx;
  88. padding: 24rpx;
  89. box-sizing: border-box;
  90. display: flex;
  91. flex-wrap: nowrap;
  92. flex-flow: row;
  93. justify-content: space-between;
  94. }
  95. .goods image {
  96. width: 180rpx;
  97. height: 180rpx;
  98. }
  99. .goodsInfo {
  100. flex: 1;
  101. display: flex;
  102. flex-flow: row;
  103. flex-wrap: wrap;
  104. flex-direction: column;
  105. padding-left: 16rpx;
  106. box-sizing: border-box;
  107. align-content: baseline;
  108. }
  109. .goodsInfo .name {
  110. font-weight: 500;
  111. font-size: 24rpx;
  112. color: #0D0D0D;
  113. line-height: 36rpx;
  114. height: 75rpx;
  115. }
  116. .goodsInfo .brief {
  117. flex: 1;
  118. font-weight: 400;
  119. font-size: 18rpx;
  120. color: #A2A2A2;
  121. line-height: 25rpx;
  122. }
  123. .goodsInfo .bar {
  124. width: 100%;
  125. height: 34rpx;
  126. display: flex;
  127. flex-flow: row;
  128. flex-wrap: nowrap;
  129. align-items: center;
  130. justify-content: space-between;
  131. }
  132. .goodsInfo .bar .price {
  133. flex: 1;
  134. font-weight: bold;
  135. font-size: 24rpx;
  136. line-height: 34rpx;
  137. color: #202020;
  138. float: left;
  139. }
  140. .goodsInfo .bar .icon {
  141. font-size: 34rpx;
  142. color: #00BC8A;
  143. }
  144. .goods:last-child {
  145. width: 100%;
  146. height: auto;
  147. display: inline-block;
  148. text-align: center;
  149. }
  150. .listEmpty {
  151. width: 208rpx;
  152. height: 208rpx;
  153. }
  154. .loadMore {
  155. text-align: center;
  156. font-size: 18rpx;
  157. color: #000000;
  158. line-height: 25rpx;
  159. /* background: #F8F8F8; */
  160. }
  161. .noMore {
  162. text-align: center;
  163. font-size: 18rpx;
  164. color: #A2A2A2;
  165. line-height: 25rpx;
  166. }
  167. .icon-shouye {
  168. position: absolute;
  169. left: 40rpx;
  170. }