search.wxss 5.7 KB

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