search.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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, 0.15);
  17. /* padding: 0 31.25rpx; */
  18. font-size: 29rpx;
  19. color: #333;
  20. }
  21. .search-header .van-icon-search {
  22. line-height: 59rpx;
  23. }
  24. .search-header .input-box {
  25. position: relative;
  26. margin-top: 16rpx;
  27. float: left;
  28. width: 0;
  29. flex: 1;
  30. height: 59rpx;
  31. line-height: 59rpx;
  32. padding: 0 20rpx;
  33. background: #f4f4f4;
  34. margin-left:32rpx;
  35. }
  36. .search-header .icon {
  37. position: absolute;
  38. top: 14rpx;
  39. left: 20rpx;
  40. width: 31rpx;
  41. height: 31rpx;
  42. }
  43. .search-header .del {
  44. position: absolute;
  45. top: 3rpx;
  46. right: 10rpx;
  47. width: 53rpx;
  48. height: 53rpx;
  49. z-index: 10;
  50. }
  51. .search-header .keywrod {
  52. position: absolute;
  53. top: 0;
  54. left: 40rpx;
  55. width: 506rpx;
  56. height: 59rpx;
  57. padding-left: 30rpx;
  58. }
  59. .search-header .right {
  60. margin-top: 24rpx;
  61. margin-left: 31rpx;
  62. margin-right: 6rpx;
  63. width: 58rpx;
  64. height: 43rpx;
  65. line-height: 43rpx;
  66. float: right;
  67. }
  68. .no-search {
  69. height: auto;
  70. overflow: hidden;
  71. margin-top: 91rpx;
  72. }
  73. .search-keywords {
  74. background: #fff;
  75. width: 750rpx;
  76. height: auto;
  77. overflow: hidden;
  78. margin-bottom: 20rpx;
  79. }
  80. .search-keywords .h {
  81. padding: 0 31.25rpx;
  82. height: 93rpx;
  83. line-height: 93rpx;
  84. width: 100%;
  85. color: #999;
  86. font-size: 29rpx;
  87. }
  88. .search-keywords .title {
  89. display: block;
  90. width: 120rpx;
  91. float: left;
  92. }
  93. .search-keywords .icon {
  94. margin-top: 19rpx;
  95. float: right;
  96. display: block;
  97. margin-left: 511rpx;
  98. height: 55rpx;
  99. width: 55rpx;
  100. }
  101. .search-keywords .b {
  102. width: 750rpx;
  103. height: auto;
  104. overflow: hidden;
  105. padding-left: 31.25rpx;
  106. }
  107. .search-keywords .item {
  108. display: inline-block;
  109. width: auto;
  110. height: 48rpx;
  111. line-height: 48rpx;
  112. padding: 0 15rpx;
  113. border: 1px solid #999;
  114. margin: 0 31.25rpx 31.25rpx 0;
  115. font-size: 24rpx;
  116. color: #333;
  117. }
  118. .search-keywords .item.active {
  119. color: #b4282d;
  120. border: 1px solid #b4282d;
  121. }
  122. .shelper-list {
  123. width: 750rpx;
  124. height: auto;
  125. overflow: hidden;
  126. background: #fff;
  127. padding: 0 31.25rpx;
  128. }
  129. .shelper-list .item {
  130. height: 93rpx;
  131. width: 687.5rpx;
  132. line-height: 93rpx;
  133. font-size: 24rpx;
  134. color: #333;
  135. border-bottom: 1px solid #f4f4f4;
  136. }
  137. .sort {
  138. position: fixed;
  139. top: 91rpx;
  140. background: #fff;
  141. width: 100%;
  142. height: 78rpx;
  143. }
  144. .sort-box {
  145. background: #fff;
  146. width: 100%;
  147. height: 78rpx;
  148. overflow: hidden;
  149. padding: 0 30rpx;
  150. display: flex;
  151. border-bottom: 1px solid #d9d9d9;
  152. }
  153. .sort-box .item {
  154. height: 78rpx;
  155. line-height: 78rpx;
  156. text-align: center;
  157. flex: 1;
  158. color: #333;
  159. font-size: 30rpx;
  160. }
  161. .sort-box .item .txt {
  162. color: #333;
  163. }
  164. .sort-box .item.active .txt {
  165. color: #b4282d;
  166. }
  167. .sort-box .item .van-icon {
  168. margin-left: 6rpx;
  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: 130rpx;
  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. height: 40rpx;
  261. line-height: 40rpx;
  262. text-align: center;
  263. font-size: 30rpx;
  264. color: #b4282d;
  265. }
  266. .search-result-empty {
  267. width: 100%;
  268. height: 100%;
  269. padding-top: 600rpx;
  270. }
  271. .search-result-empty .text {
  272. display: block;
  273. width: 100%;
  274. height: 40rpx;
  275. font-size: 28rpx;
  276. text-align: center;
  277. color: #999;
  278. }
  279. .cate-item .item .price {
  280. height: 40rpx;
  281. justify-content: center;
  282. display: flex;
  283. margin-top: 20rpx;
  284. align-items:flex-end;
  285. }
  286. .counterPrice{
  287. text-decoration: line-through;
  288. font-size: 24rpx;
  289. margin:0 0 0 20rpx;
  290. }
  291. .retailPrice{
  292. font-size: 30rpx;
  293. height: 30rpx;
  294. line-height: 30rpx;
  295. }
  296. .memberPrice{
  297. font-size: 22rpx;
  298. color: #DD483E;
  299. margin:0 10rpx 0 20rpx;
  300. }
  301. .member-price-tag{
  302. width:88rpx;
  303. height: 26rpx;
  304. line-height: 26rpx;
  305. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  306. background-size: 100% 100%;
  307. color: #5E3A11;
  308. font-size: 16rpx;
  309. padding:0 8rpx 0 0;
  310. text-align: right;
  311. margin:0 0 6rpx 0;
  312. }