search.wxss 5.8 KB

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