search.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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. }
  35. .search-header .icon {
  36. position: absolute;
  37. top: 14rpx;
  38. left: 20rpx;
  39. width: 31rpx;
  40. height: 31rpx;
  41. }
  42. .search-header .del {
  43. position: absolute;
  44. top: 3rpx;
  45. right: 10rpx;
  46. width: 53rpx;
  47. height: 53rpx;
  48. z-index: 10;
  49. }
  50. .search-header .keywrod {
  51. position: absolute;
  52. top: 0;
  53. left: 40rpx;
  54. width: 506rpx;
  55. height: 59rpx;
  56. padding-left: 30rpx;
  57. }
  58. .search-header .right {
  59. margin-top: 24rpx;
  60. margin-left: 31rpx;
  61. margin-right: 6rpx;
  62. width: 58rpx;
  63. height: 43rpx;
  64. line-height: 43rpx;
  65. float: right;
  66. }
  67. .no-search {
  68. height: auto;
  69. overflow: hidden;
  70. margin-top: 91rpx;
  71. }
  72. .search-keywords {
  73. background: #fff;
  74. width: 750rpx;
  75. height: auto;
  76. overflow: hidden;
  77. margin-bottom: 20rpx;
  78. }
  79. .search-keywords .h {
  80. padding: 0 31.25rpx;
  81. height: 93rpx;
  82. line-height: 93rpx;
  83. width: 100%;
  84. color: #999;
  85. font-size: 29rpx;
  86. }
  87. .search-keywords .title {
  88. display: block;
  89. width: 120rpx;
  90. float: left;
  91. }
  92. .search-keywords .icon {
  93. margin-top: 19rpx;
  94. float: right;
  95. display: block;
  96. margin-left: 511rpx;
  97. height: 55rpx;
  98. width: 55rpx;
  99. }
  100. .search-keywords .b {
  101. width: 750rpx;
  102. height: auto;
  103. overflow: hidden;
  104. padding-left: 31.25rpx;
  105. }
  106. .search-keywords .item {
  107. display: inline-block;
  108. width: auto;
  109. height: 48rpx;
  110. line-height: 48rpx;
  111. padding: 0 15rpx;
  112. border: 1px solid #999;
  113. margin: 0 31.25rpx 31.25rpx 0;
  114. font-size: 24rpx;
  115. color: #333;
  116. }
  117. .search-keywords .item.active {
  118. color: #b4282d;
  119. border: 1px solid #b4282d;
  120. }
  121. .shelper-list {
  122. width: 750rpx;
  123. height: auto;
  124. overflow: hidden;
  125. background: #fff;
  126. padding: 0 31.25rpx;
  127. }
  128. .shelper-list .item {
  129. height: 93rpx;
  130. width: 687.5rpx;
  131. line-height: 93rpx;
  132. font-size: 24rpx;
  133. color: #333;
  134. border-bottom: 1px solid #f4f4f4;
  135. }
  136. .sort {
  137. position: fixed;
  138. top: 91rpx;
  139. background: #fff;
  140. width: 100%;
  141. height: 78rpx;
  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. color: #333;
  162. }
  163. .sort-box .item.active .txt {
  164. color: #b4282d;
  165. }
  166. .sort-box .item .van-icon {
  167. margin-left: 6rpx;
  168. }
  169. .sort-box-category {
  170. background: #fff;
  171. width: 100%;
  172. height: auto;
  173. overflow: hidden;
  174. padding: 40rpx 40rpx 0 0;
  175. border-bottom: 1px solid #d9d9d9;
  176. }
  177. .sort-box-category .item {
  178. height: 54rpx;
  179. line-height: 54rpx;
  180. text-align: center;
  181. float: left;
  182. padding: 0 16rpx;
  183. margin: 0 0 40rpx 40rpx;
  184. border: 1px solid #666;
  185. color: #333;
  186. font-size: 24rpx;
  187. }
  188. .sort-box-category .item.active {
  189. color: #b4282d;
  190. border: 1px solid #b4282d;
  191. }
  192. .cate-item {
  193. margin-top: 175rpx;
  194. height: auto;
  195. overflow: hidden;
  196. }
  197. .cate-item .h {
  198. height: 145rpx;
  199. width: 750rpx;
  200. display: flex;
  201. flex-direction: column;
  202. align-items: center;
  203. justify-content: center;
  204. }
  205. .cate-item .h .name {
  206. display: block;
  207. height: 35rpx;
  208. margin-bottom: 18rpx;
  209. font-size: 30rpx;
  210. color: #333;
  211. }
  212. .cate-item .h .desc {
  213. display: block;
  214. height: 24rpx;
  215. font-size: 24rpx;
  216. color: #999;
  217. }
  218. .cate-item .b {
  219. width: 750rpx;
  220. padding: 0 6.25rpx;
  221. height: auto;
  222. overflow: hidden;
  223. }
  224. .cate-item .list-filter {
  225. height: 80rpx;
  226. width: 100%;
  227. background: #fff;
  228. margin-bottom: 6.25rpx;
  229. }
  230. .cate-item .b .item {
  231. float: left;
  232. background: #fff;
  233. width: 365rpx;
  234. margin-bottom: 6.25rpx;
  235. padding-bottom: 33.333rpx;
  236. height: auto;
  237. overflow: hidden;
  238. text-align: center;
  239. }
  240. .cate-item .b .item-b {
  241. margin-left: 6.25rpx;
  242. }
  243. .cate-item .item .img {
  244. width: 302rpx;
  245. height: 302rpx;
  246. }
  247. .cate-item .item .name {
  248. display: block;
  249. width: 365.625rpx;
  250. height: 35rpx;
  251. margin: 11.5rpx 0 22rpx 0;
  252. text-align: center;
  253. overflow: hidden;
  254. padding: 0 20rpx;
  255. font-size: 30rpx;
  256. color: #333;
  257. }
  258. .cate-item .item .price {
  259. height: 40rpx;
  260. line-height: 40rpx;
  261. text-align: center;
  262. font-size: 30rpx;
  263. color: #b4282d;
  264. }
  265. .search-result-empty {
  266. width: 100%;
  267. height: 100%;
  268. padding-top: 600rpx;
  269. }
  270. .search-result-empty .text {
  271. display: block;
  272. width: 100%;
  273. height: 40rpx;
  274. font-size: 28rpx;
  275. text-align: center;
  276. color: #999;
  277. }
  278. .cate-item .item .price {
  279. height: 40rpx;
  280. justify-content: center;
  281. display: flex;
  282. margin-top: 20rpx;
  283. align-items:flex-end;
  284. }
  285. .counterPrice{
  286. text-decoration: line-through;
  287. font-size: 24rpx;
  288. margin:0 0 0 20rpx;
  289. }
  290. .retailPrice{
  291. font-size: 30rpx;
  292. height: 30rpx;
  293. line-height: 30rpx;
  294. }
  295. .memberPrice{
  296. font-size: 22rpx;
  297. color: #DD483E;
  298. margin:0 10rpx 0 20rpx;
  299. }
  300. .member-price-tag{
  301. width:88rpx;
  302. height: 26rpx;
  303. line-height: 26rpx;
  304. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  305. background-size: 100% 100%;
  306. color: #5E3A11;
  307. font-size: 16rpx;
  308. padding:0 8rpx 0 0;
  309. text-align: right;
  310. margin:0 0 6rpx 0;
  311. }