search.wxss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. .search-header{
  2. position: fixed;
  3. top: 0;
  4. width: 750rpx;
  5. height: 91rpx;
  6. display: flex;
  7. background: #fff;
  8. border-bottom: 1px solid rgba(0,0,0,.15);
  9. padding: 0 31.25rpx;
  10. font-size: 29rpx;
  11. color: #333;
  12. }
  13. .search-header .input-box{
  14. position: relative;
  15. margin-top: 16rpx;
  16. float: left;
  17. width: 0;
  18. flex: 1;
  19. height: 59rpx;
  20. line-height: 59rpx;
  21. padding: 0 20rpx;
  22. background: #f4f4f4;
  23. }
  24. .search-header .icon{
  25. position: absolute;
  26. top: 14rpx;
  27. left: 20rpx;
  28. width: 31rpx;
  29. height: 31rpx;
  30. }
  31. .search-header .del{
  32. position: absolute;
  33. top: 3rpx;
  34. right: 10rpx;
  35. width: 53rpx;
  36. height: 53rpx;
  37. z-index: 10;
  38. }
  39. .search-header .keywrod{
  40. position: absolute;
  41. top: 0;
  42. left: 40rpx;
  43. width: 506rpx;
  44. height: 59rpx;
  45. padding-left: 30rpx;
  46. }
  47. .search-header .right{
  48. margin-top: 24rpx;
  49. margin-left: 31rpx;
  50. margin-right: 6rpx;
  51. width: 58rpx;
  52. height: 43rpx;
  53. line-height: 43rpx;
  54. float: right;
  55. }
  56. .no-search{
  57. height: auto;
  58. overflow: hidden;
  59. margin-top: 91rpx;
  60. }
  61. .serach-keywords{
  62. background: #fff;
  63. width: 750rpx;
  64. height: auto;
  65. overflow: hidden;
  66. margin-bottom: 20rpx;
  67. }
  68. .serach-keywords .h{
  69. padding: 0 31.25rpx;
  70. height: 93rpx;
  71. line-height: 93rpx;
  72. width: 100%;
  73. color: #999;
  74. font-size: 29rpx;
  75. }
  76. .serach-keywords .title{
  77. display: block;
  78. width: 120rpx;
  79. float: left;
  80. }
  81. .serach-keywords .icon{
  82. margin-top: 19rpx;
  83. float: right;
  84. display: block;
  85. margin-left: 511rpx;
  86. height: 55rpx;
  87. width: 55rpx;
  88. }
  89. .serach-keywords .b{
  90. width: 750rpx;
  91. height: auto;
  92. overflow: hidden;
  93. padding-left: 31.25rpx;
  94. }
  95. .serach-keywords .item{
  96. display: inline-block;
  97. width: auto;
  98. height: 48rpx;
  99. line-height: 48rpx;
  100. padding:0 15rpx;
  101. border: 1px solid #999;
  102. margin: 0 31.25rpx 31.25rpx 0;
  103. font-size: 24rpx;
  104. color: #333;
  105. }
  106. .serach-keywords .item.active{
  107. color: #b4282d;
  108. border: 1px solid #b4282d;
  109. }
  110. .shelper-list{
  111. width: 750rpx;
  112. height: auto;
  113. overflow: hidden;
  114. background: #fff;
  115. padding: 0 31.25rpx;
  116. }
  117. .shelper-list .item{
  118. height: 93rpx;
  119. width: 687.5rpx;
  120. line-height: 93rpx;
  121. font-size: 24rpx;
  122. color: #333;
  123. border-bottom: 1px solid #f4f4f4;
  124. }
  125. .sort{
  126. position: fixed;
  127. top: 91rpx;
  128. background: #fff;
  129. width: 100%;
  130. height: 78rpx;
  131. }
  132. .sort-box{
  133. background: #fff;
  134. width: 100%;
  135. height: 78rpx;
  136. overflow: hidden;
  137. padding: 0 30rpx;
  138. display: flex;
  139. border-bottom: 1px solid #d9d9d9;
  140. }
  141. .sort-box .item{
  142. height: 78rpx;
  143. line-height: 78rpx;
  144. text-align: center;
  145. flex:1;
  146. color: #333;
  147. font-size: 30rpx;
  148. }
  149. .sort-box .item .txt{
  150. display: block;
  151. width: 100%;
  152. height: 100%;
  153. color: #333;
  154. }
  155. .sort-box .item.active .txt{
  156. color: #b4282d;
  157. }
  158. .sort-box .item.by-price{
  159. background: url(//yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-3127092a69.png) 155rpx center no-repeat;
  160. background-size: 15rpx 21rpx;
  161. }
  162. .sort-box .item.by-price.active.asc{
  163. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/up-636b92c0a5.png) 155rpx center no-repeat;
  164. background-size: 15rpx 21rpx;
  165. }
  166. .sort-box .item.by-price.active.desc{
  167. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/down-95e035f3e5.png) 155rpx center no-repeat;
  168. background-size: 15rpx 21rpx;
  169. }
  170. .sort-box-category{
  171. background: #fff;
  172. width: 100%;
  173. height: auto;
  174. overflow: hidden;
  175. padding: 40rpx 40rpx 0 0;
  176. border-bottom: 1px solid #d9d9d9;
  177. }
  178. .sort-box-category .item{
  179. height: 54rpx;
  180. line-height: 54rpx;
  181. text-align: center;
  182. float: left;
  183. padding: 0 16rpx;
  184. margin: 0 0 40rpx 40rpx;
  185. border: 1px solid #666;
  186. color: #333;
  187. font-size: 24rpx;
  188. }
  189. .sort-box-category .item.active{
  190. color: #b4282d;
  191. border: 1px solid #b4282d;
  192. }
  193. .cate-item{
  194. margin-top: 175rpx;
  195. height: auto;
  196. overflow: hidden;
  197. }
  198. .cate-item .h{
  199. height: 145rpx;
  200. width: 750rpx;
  201. display: flex;
  202. flex-direction: column;
  203. align-items: center;
  204. justify-content: center;
  205. }
  206. .cate-item .h .name{
  207. display: block;
  208. height: 35rpx;
  209. margin-bottom: 18rpx;
  210. font-size: 30rpx;
  211. color: #333;
  212. }
  213. .cate-item .h .desc{
  214. display: block;
  215. height: 24rpx;
  216. font-size: 24rpx;
  217. color: #999;
  218. }
  219. .cate-item .b{
  220. width: 750rpx;
  221. padding: 0 6.25rpx;
  222. height: auto;
  223. overflow: hidden;
  224. }
  225. .cate-item .list-filter{
  226. height: 80rpx;
  227. width: 100%;
  228. background: #fff;
  229. margin-bottom: 6.25rpx;
  230. }
  231. .cate-item .b .item{
  232. float: left;
  233. background: #fff;
  234. width: 365rpx;
  235. margin-bottom: 6.25rpx;
  236. padding-bottom: 33.333rpx;
  237. height: auto;
  238. overflow: hidden;
  239. text-align: center;
  240. }
  241. .cate-item .b .item-b{
  242. margin-left: 6.25rpx;
  243. }
  244. .cate-item .item .img{
  245. width: 302rpx;
  246. height: 302rpx;
  247. }
  248. .cate-item .item .name{
  249. display: block;
  250. width: 365.625rpx;
  251. height: 35rpx;
  252. margin: 11.5rpx 0 22rpx 0;
  253. text-align: center;
  254. overflow: hidden;
  255. padding: 0 20rpx;
  256. font-size: 30rpx;
  257. color: #333;
  258. }
  259. .cate-item .item .price{
  260. display: block;
  261. width: 365.625rpx;
  262. height: 30rpx;
  263. text-align: center;
  264. font-size: 30rpx;
  265. color: #b4282d;
  266. }
  267. .search-result-empty{
  268. width: 100%;
  269. height: 100%;
  270. background: #fff;
  271. padding-top: 300rpx;
  272. }
  273. .search-result-empty .icon{
  274. margin: 0 auto;
  275. display: block;
  276. width: 240rpx;
  277. height: 240rpx;
  278. }
  279. .search-result-empty .text{
  280. display: block;
  281. width: 100%;
  282. height: 30rpx;
  283. font-size: 28rpx;
  284. text-align: center;
  285. color: #999;
  286. }