list.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. font-weight: bold;
  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;height: 72rpx;
  102. overflow: hidden;
  103. margin-bottom: 20rpx;
  104. font-weight: bold;
  105. }
  106. .operate {
  107. justify-content: space-between;
  108. align-items: center;
  109. }
  110. .price {
  111. font-size: 24rpx;
  112. color: #FE0419;
  113. align-items: center;
  114. display: flex;
  115. }
  116. .price text {
  117. font-size: 36rpx;
  118. font-weight: bold;
  119. }
  120. .price text.del {
  121. font-weight: normal;
  122. font-size: 24rpx;
  123. color: #999;
  124. margin-left: 12rpx;
  125. text-decoration: line-through;
  126. }
  127. .add-cart image {
  128. width: 42rpx;
  129. height: 42rpx;
  130. }
  131. .nums {
  132. align-items: center;
  133. }
  134. .num {
  135. font-size: 30rpx;
  136. width: 50rpx;
  137. text-align: center;
  138. line-height: 42rpx;
  139. }
  140. /* 筛选 */
  141. .isRuleShow {
  142. display: block;
  143. }
  144. .isRuleHide {
  145. display: none;
  146. }
  147. .shaixuan {
  148. align-items: center;
  149. }
  150. .shaixuan image {
  151. width: 26rpx;
  152. height: 26rpx;
  153. margin-left: 10rpx;
  154. }
  155. .shai {
  156. position: fixed;
  157. /* #ifdef H5 */
  158. top: 39px;
  159. /* #endif */
  160. /* #ifndef H5 */
  161. top: 0;
  162. /* #endif */
  163. right: -310px;
  164. bottom: 0;
  165. width: 310px;
  166. background: #fff;
  167. z-index: 100;
  168. }
  169. .shai-box {
  170. position: absolute;
  171. top: 0;
  172. left: 0;
  173. right: 0;
  174. bottom: 122rpx;
  175. overflow-y: scroll;
  176. -webkit-overflow-scrolling: touch;
  177. z-index: 1;
  178. padding: 0 20rpx;
  179. }
  180. .shai-tit {
  181. padding: 25rpx 0;
  182. position: relative;
  183. font-size: 28rpx;
  184. color: #333;
  185. }
  186. .quanbu {
  187. position: absolute;
  188. top: 50%;
  189. transform: translateY(-50%);
  190. right: 0;
  191. font-size: 24rpx;
  192. color: #777;
  193. align-items: center;
  194. }
  195. .quanbu image {
  196. width: 20rpx;
  197. height: 13rpx;
  198. margin-left: 8rpx;
  199. }
  200. .shai-lis {
  201. flex-wrap: wrap;
  202. }
  203. .shai-lis .li {
  204. height: 60rpx;
  205. line-height: 60rpx;
  206. background: #F2F2F2;
  207. font-size: 24rpx;
  208. color: #333;
  209. text-align: center;
  210. border-radius: 30rpx;
  211. margin-right: 3.5%;
  212. margin-bottom: 30rpx;
  213. padding: 0 20rpx 0 20rpx;
  214. }
  215. .shai-lis .li:nth-child(3n) {
  216. margin-right: 0;
  217. }
  218. .shai-lis .li.active {
  219. background: #FCF0F2;
  220. color: #FE0419;
  221. }
  222. .shai-bot {
  223. position: absolute;
  224. left: 0;
  225. right: 0;
  226. bottom: 0;
  227. border-top: 2rpx solid #E8E8E8;
  228. padding: 20rpx;
  229. align-items: center;
  230. justify-content: space-between;
  231. background: #fff;
  232. z-index: 2;
  233. }
  234. .reset {
  235. width: 250rpx;
  236. height: 76rpx;
  237. line-height: 76rpx;
  238. border-radius: 40rpx;
  239. border: 2rpx solid #999999;
  240. font-size: 30rpx;
  241. color: #333;
  242. text-align: center;
  243. }
  244. .confirm {
  245. width: 250rpx;
  246. height: 80rpx;
  247. line-height: 80rpx;
  248. 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%);
  249. border-radius: 40rpx;
  250. font-size: 30rpx;
  251. color: #fff;
  252. text-align: center;
  253. }
  254. .confirm text {
  255. font-size: 24rpx;
  256. }
  257. /* 购物车 */
  258. .dots {
  259. display: block;
  260. height: 32rpx;
  261. border-radius: 30rpx;
  262. padding: 0 15rpx;
  263. font-size: 24rpx;
  264. line-height: 30rpx;
  265. min-width: 30rpx;
  266. box-sizing: border-box;
  267. text-align: center;
  268. position: absolute;
  269. top: -10rpx;
  270. right: -15%;
  271. border: 1rpx solid;
  272. color: #C7435A;
  273. }
  274. .dot {
  275. top: 0;
  276. left: 0;
  277. position: fixed;
  278. width: 40rpx;
  279. height: 40rpx;
  280. border-radius: 50%;
  281. background: #1dae01;
  282. display: flex;
  283. flex-direction: row;
  284. justify-content: center;
  285. align-items: center;
  286. font-size: 24rpx;
  287. color: white;
  288. }
  289. .xiaol{margin-bottom: 15rpx;line-height: 32rpx;}
  290. .zhuan{float: left;height: 32rpx;font-size: 20rpx;color: #fff;box-sizing: border-box;align-items: center;margin-right: 15rpx;}
  291. .zhuan text{padding: 0 6rpx;border-radius: 2rpx 0 0 2rpx;background: #C28A4F;height: 32rpx;line-height: 32rpx;}
  292. .zhuan view{font-size: 22rpx;color: #BF7A40;padding: 0 5rpx 0 2rpx;background: #fff;height: 28rpx;border: 2rpx solid #C08046;border-radius: 0 2rpx 2rpx 0;border-left: none;}
  293. .yishou{font-size: 24rpx;color: #999;clear: both;overflow: hidden;}
  294. .shouqin{width: 100%;height: 100%;position: absolute;top: 0;left: 0;z-index: 2;}