list.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. /* product/list/list.wxss */
  2. .ssbox {
  3. padding: 20rpx 35rpx 10rpx;
  4. }
  5. .search {
  6. background: #F0F2F3;
  7. height: 70rpx;
  8. border-radius: 35rpx;
  9. padding: 0 30rpx;
  10. align-items: center;
  11. font-size: 26rpx;
  12. color: #666;
  13. overflow: hidden;
  14. }
  15. .search image {
  16. width: 30rpx;
  17. height: 30rpx;
  18. margin-right: 13rpx;
  19. }
  20. .search view {
  21. text-overflow: ellipsis;
  22. white-space: nowrap;
  23. overflow: hidden;
  24. }
  25. .filter {
  26. padding: 0 20rpx;
  27. }
  28. .filter .li {
  29. width: 33.33%;
  30. display: flex;
  31. display: -webkit-flex;
  32. align-items: center;
  33. justify-content: center;
  34. padding: 25rpx 0;
  35. font-size: 30rpx;
  36. color: #333;
  37. }
  38. .filter .li.active {
  39. color: var(--mina);
  40. }
  41. .updown {
  42. width: 14rpx;
  43. height: 23rpx;
  44. margin-left: 9rpx;
  45. }
  46. .tabcon {
  47. flex-wrap: wrap;
  48. padding: 0 20rpx 20rpx;
  49. }
  50. .tabcon .li {
  51. background: #fff;
  52. border-radius: 10rpx;
  53. width: 345rpx;
  54. margin: 20rpx 20rpx 0 0;
  55. }
  56. .tabcon .li:nth-child(2n) {
  57. margin-right: 0;
  58. }
  59. .jsdimgs {
  60. width: 345rpx;
  61. height: 345rpx;
  62. position: relative;
  63. }
  64. .jsdpro {
  65. width: 100%;
  66. height: 100%;
  67. }
  68. .price .vip {
  69. font-size: 24rpx;
  70. margin-left: 12rpx;
  71. color: var(--vip);
  72. border: 1rpx solid;
  73. padding: 0 8rpx 2rpx 8rpx;
  74. border-radius: 5px;
  75. font-weight: normal;
  76. }
  77. .price .vip .members {
  78. font-size: 24rpx !important;
  79. font-weight: normal !important;
  80. margin-left: 2rpx;
  81. }
  82. .price .vip .sale {
  83. font-size: 24rpx !important;
  84. font-weight: normal !important;
  85. }
  86. .jsdimg {
  87. width: 82rpx;
  88. height: 36rpx;
  89. position: absolute;
  90. top: 20rpx;
  91. left: 20rpx;
  92. }
  93. .jsdinfo {
  94. padding: 15rpx 20rpx 30rpx;
  95. }
  96. .proname {
  97. font-size: 28rpx;
  98. color: #333;
  99. /* text-overflow: ellipsis;
  100. white-space: nowrap; */
  101. line-height: 36rpx;
  102. height: 72rpx;
  103. overflow: hidden;
  104. font-weight: bold;
  105. }
  106. .operate {
  107. justify-content: space-between;
  108. align-items: center;
  109. margin-top: 15rpx;
  110. }
  111. .price {
  112. font-size: 24rpx;
  113. color: #FE0419;
  114. align-items: center;
  115. display: flex;
  116. }
  117. .price text {
  118. font-size: 36rpx;
  119. font-weight: bold;
  120. }
  121. .price text.del {
  122. font-weight: normal;
  123. font-size: 24rpx;
  124. color: #999;
  125. margin-left: 12rpx;
  126. text-decoration: line-through;
  127. }
  128. .add-cart image {
  129. width: 42rpx;
  130. height: 42rpx;
  131. }
  132. .nums {
  133. align-items: center;
  134. }
  135. .num {
  136. font-size: 30rpx;
  137. width: 50rpx;
  138. text-align: center;
  139. line-height: 42rpx;
  140. }
  141. /* 筛选 */
  142. .isRuleShow {
  143. display: block;
  144. }
  145. .isRuleHide {
  146. display: none;
  147. }
  148. .shaixuan {
  149. align-items: center;
  150. }
  151. .shaixuan image {
  152. width: 26rpx;
  153. height: 26rpx;
  154. margin-left: 10rpx;
  155. }
  156. .shai {
  157. position: fixed;
  158. /* #ifdef H5 */
  159. top: 39px;
  160. /* #endif */
  161. /* #ifndef H5 */
  162. top: 0;
  163. /* #endif */
  164. right: -310px;
  165. bottom: 0;
  166. width: 310px;
  167. background: #fff;
  168. z-index: 100;
  169. }
  170. .shai-box {
  171. position: absolute;
  172. top: 0;
  173. left: 0;
  174. right: 0;
  175. bottom: 122rpx;
  176. overflow-y: scroll;
  177. -webkit-overflow-scrolling: touch;
  178. z-index: 1;
  179. padding: 0 20rpx;
  180. }
  181. .shai-tit {
  182. padding: 25rpx 0;
  183. position: relative;
  184. font-size: 28rpx;
  185. color: #333;
  186. }
  187. .quanbu {
  188. position: absolute;
  189. top: 50%;
  190. transform: translateY(-50%);
  191. right: 0;
  192. font-size: 24rpx;
  193. color: #777;
  194. align-items: center;
  195. }
  196. .quanbu image {
  197. width: 20rpx;
  198. height: 13rpx;
  199. margin-left: 8rpx;
  200. }
  201. .shai-lis {
  202. flex-wrap: wrap;
  203. }
  204. .shai-lis .li {
  205. height: 60rpx;
  206. line-height: 60rpx;
  207. background: #F2F2F2;
  208. font-size: 24rpx;
  209. color: #333;
  210. text-align: center;
  211. border-radius: 30rpx;
  212. margin-right: 3.5%;
  213. margin-bottom: 30rpx;
  214. padding: 0 20rpx 0 20rpx;
  215. }
  216. .shai-lis .li:nth-child(3n) {
  217. margin-right: 0;
  218. }
  219. .shai-lis .li.active {
  220. background: #FCF0F2;
  221. color: #FE0419;
  222. }
  223. .shai-bot {
  224. position: absolute;
  225. left: 0;
  226. right: 0;
  227. bottom: 0;
  228. border-top: 2rpx solid #E8E8E8;
  229. padding: 20rpx;
  230. align-items: center;
  231. justify-content: space-between;
  232. background: #fff;
  233. z-index: 2;
  234. }
  235. .reset {
  236. width: 250rpx;
  237. height: 76rpx;
  238. line-height: 76rpx;
  239. border-radius: 40rpx;
  240. border: 2rpx solid #999999;
  241. font-size: 30rpx;
  242. color: #333;
  243. text-align: center;
  244. }
  245. .confirm {
  246. width: 250rpx;
  247. height: 80rpx;
  248. line-height: 80rpx;
  249. background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(247, 26, 71, 1) 0%, rgba(254, 23, 72, 1) 0%, rgba(255, 67, 5, 1) 100%);
  250. border-radius: 40rpx;
  251. font-size: 30rpx;
  252. color: #fff;
  253. text-align: center;
  254. }
  255. .confirm text {
  256. font-size: 24rpx;
  257. }
  258. /* 购物车 */
  259. .dots {
  260. display: block;
  261. height: 32rpx;
  262. border-radius: 30rpx;
  263. padding: 0 15rpx;
  264. font-size: 24rpx;
  265. line-height: 30rpx;
  266. min-width: 30rpx;
  267. box-sizing: border-box;
  268. text-align: center;
  269. position: absolute;
  270. top: -10rpx;
  271. right: -15%;
  272. border: 1rpx solid;
  273. color: #C7435A;
  274. }
  275. .dot {
  276. top: 0;
  277. left: 0;
  278. position: fixed;
  279. width: 40rpx;
  280. height: 40rpx;
  281. border-radius: 50%;
  282. background: #1dae01;
  283. display: flex;
  284. flex-direction: row;
  285. justify-content: center;
  286. align-items: center;
  287. font-size: 24rpx;
  288. color: white;
  289. }
  290. .xiaol {
  291. margin-top: 15rpx;
  292. line-height: 32rpx;
  293. flex-wrap: nowrap;
  294. }
  295. .zhuan {
  296. float: left;
  297. height: 32rpx;
  298. font-size: 20rpx;
  299. color: #fff;
  300. box-sizing: border-box;
  301. align-items: center;
  302. margin-right: 15rpx;
  303. }
  304. .zhuan text {
  305. padding: 0 6rpx;
  306. border-radius: 2rpx 0 0 2rpx;
  307. background: #C28A4F;
  308. height: 32rpx;
  309. line-height: 32rpx;
  310. }
  311. .zhuan view {
  312. font-size: 22rpx;
  313. color: #BF7A40;
  314. padding: 0 5rpx 0 2rpx;
  315. background: #fff;
  316. height: 28rpx;
  317. border: 2rpx solid #C08046;
  318. border-radius: 0 2rpx 2rpx 0;
  319. border-left: none;
  320. }
  321. .yishou {
  322. font-size: 24rpx;
  323. color: #999;
  324. clear: both;
  325. overflow: hidden;white-space: nowrap;
  326. }
  327. .shouqin {
  328. width: 100%;
  329. height: 100%;
  330. position: absolute;
  331. top: 0;
  332. left: 0;
  333. z-index: 2;
  334. }
  335. .list-tag {
  336. margin-top: 15rpx;
  337. height: 32rpx;
  338. }
  339. .list-tag view {
  340. height: 30rpx;
  341. border: 1px solid var(--main);
  342. border-radius: 6rpx;
  343. padding: 0 7rpx;
  344. font-size: 20rpx;
  345. color: var(--main);
  346. margin-right: 10rpx;
  347. }
  348. .vip-news{height: 36rpx;background: #222222;border-radius: 8rpx;line-height: 36rpx;flex-wrap: nowrap;margin-right: 12rpx;font-weight: bold;}
  349. .vip-sale{background: linear-gradient(to right,#f9e0bc,#d9a168);font-size: 20rpx !important;color: #222;height: 36rpx;border-radius: 8rpx 0 0 8rpx;white-space: nowrap;width: 70rpx;text-align: center;}
  350. .vip-members{padding: 0 8rpx 0 5rpx;font-size: 22rpx !important;color: #fde9cd !important;white-space: nowrap;}