search.wxss 6.0 KB

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