list.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /* 列表页 */
  2. .list {
  3. background: #f9f9f9;
  4. }
  5. .list.list.search-list {
  6. padding-bottom: 40px;
  7. min-height: 535px;
  8. }
  9. .list .goods-list {
  10. padding-bottom: 30px;
  11. }
  12. .list.search-list .goods-list .pages {
  13. margin: 30px 30px 0 0;
  14. }
  15. .list.search-list .goods-list {
  16. padding: 0 20px 30px;
  17. }
  18. /* 列表页 end */
  19. /* 筛选 */
  20. .list .goods-sort {
  21. background: #fff;
  22. padding: 0 20px;
  23. margin-bottom: 20px;
  24. }
  25. .list .goods-sort .sort-con {
  26. display: flex;
  27. padding: 20px 0 0 10px;
  28. border-bottom: 1px dashed #ddd
  29. }
  30. .list .goods-sort .sort-con:last-child {
  31. border: 0;
  32. }
  33. .list .goods-sort .sort-con .name {
  34. color: #999;
  35. margin-right: 20px;
  36. }
  37. .list .goods-sort .sort-con .group {
  38. flex: 1;
  39. margin-bottom: 4px;
  40. }
  41. .list .goods-sort .sort-con .group .item {
  42. display: inline-block;
  43. padding: 0 30px 16px 0;
  44. transition: all .2s;
  45. -webkit-transition: all .2s;
  46. cursor: pointer;
  47. }
  48. .list .goods-sort .sort-con .group .item.active,
  49. .list .goods-sort .sort-con .group .item:hover {
  50. color: #e1251b;
  51. }
  52. .list .goods-sort .sorts .arrow-down,
  53. .list .goods-sort .sorts .arrow-up {
  54. display: inline-block;
  55. vertical-align: top;
  56. margin-left: 5px;
  57. width: 0;
  58. height: 0;
  59. border: 5px solid transparent;
  60. border-radius: 2px;
  61. }
  62. .list .goods-sort .sorts .arrow-down {
  63. border-top: 5px solid #999;
  64. margin-top: 5px;
  65. }
  66. .list .goods-sort .sorts .arrow-up {
  67. border-bottom: 5px solid #999;
  68. }
  69. .list .goods-sort .sorts .item:hover .arrow-up,
  70. .list .goods-sort .sorts .item.active .arrow-up {
  71. border-bottom-color: #e1251b;
  72. }
  73. .list .goods-sort .sorts .item:hover .arrow-down,
  74. .list .goods-sort .sorts .item.active .arrow-down {
  75. border-top-color: #e1251b;
  76. }
  77. /* 筛选 */
  78. /* 拼团专区 */
  79. .list.group-buy {
  80. background: #fff;
  81. }
  82. .list.group-buy .goods-list {
  83. margin-top: 10px;
  84. padding-bottom: 0;
  85. }
  86. .list .list-banner {
  87. margin-top: 35px;
  88. font-size: 0;
  89. }
  90. /* 拼团专区 end */
  91. /* 秒杀专场 */
  92. .list.flash-sale {
  93. background: #fff;
  94. /* min-height: 540px; */
  95. }
  96. .flash-sale .goods-list {
  97. margin-top: 10px;
  98. padding-bottom: 0;
  99. }
  100. /* .flash-sale .goods-list .list-con {
  101. min-height: 427px;
  102. } */
  103. .flash-sale .goods-list .list-con .item .time-box {
  104. background: #f9f9f9;
  105. display: flex;
  106. align-items: center;
  107. padding: 0 10px;
  108. position: absolute;
  109. left: 0;
  110. top: 240px;
  111. height: 45px;
  112. width: 100%;
  113. box-sizing: border-box;
  114. }
  115. .flash-sale .goods-list .list-con .item .time-box .text {
  116. margin-right: 10px;
  117. }
  118. .flash-sale .goods-list .list-con .item .time-box .time {
  119. display: flex;
  120. align-items: center;
  121. font-size: 14px;
  122. }
  123. .flash-sale .goods-list .list-con .item .time-box .time .time-item {
  124. padding: 2px 5px;
  125. background: #333;
  126. color: #fff;
  127. border-radius: 2px;
  128. font-family: arial;
  129. }
  130. .flash-sale .goods-list .list-con .item .time-box .time-text {
  131. margin: 0 5px;
  132. color: #666;
  133. font-family: arial;
  134. }
  135. .flash-sale .goods-list .list-con .item .goods-name {
  136. font-size: 14px;
  137. line-height: 20px;
  138. padding: 0 10px;
  139. margin-top: 12px;
  140. display: -webkit-box;
  141. -webkit-box-orient: vertical;
  142. -webkit-line-clamp: 1;
  143. overflow: hidden;
  144. text-overflow: ellipsis;
  145. }
  146. .flash-sale .goods-list .list-con .item .rest-number {
  147. margin-top: 10px;
  148. display: flex;
  149. align-items: center;
  150. padding: 0 10px;
  151. }
  152. .flash-sale .goods-list .list-con .item .rest-number .number-box {
  153. flex: 1;
  154. border: 1px solid #ee5e57;
  155. background: #fff;
  156. height: 10px;
  157. border-radius: 20px;
  158. overflow: hidden;
  159. }
  160. .flash-sale .goods-list .list-con .item .rest-number .number-box .percent {
  161. background: #ffd8d8;
  162. display: block;
  163. height: 10px;
  164. }
  165. .flash-sale .goods-list .list-con .item .rest-number .number-text {
  166. color: #999;
  167. width: 60px;
  168. margin-left: 10px;
  169. font-family: arial;
  170. }
  171. .flash-sale .goods-list .list-con .item .goods-price {
  172. display: flex;
  173. align-items: center;
  174. margin-top: 20px;
  175. padding: 0 10px;
  176. }
  177. .flash-sale .goods-list .list-con .item .goods-price .price {
  178. font-size: 14px;
  179. font-weight: 600;
  180. }
  181. .flash-sale .goods-list .list-con .item .goods-price .price .big {
  182. font-size: 20px
  183. }
  184. .flash-sale .goods-list .list-con .item .goods-price .old-price {
  185. color: #999;
  186. text-decoration: line-through;
  187. margin-left: 5px;
  188. margin-top: 3px;
  189. font-family: arial;
  190. }
  191. .flash-sale .goods-list .list-con .item .sellout-text {
  192. position: absolute;
  193. left: 90px;
  194. top: 90px;
  195. display: none;
  196. width: 95px;
  197. height: 95px;
  198. /* line-height: 95px; */
  199. border-radius: 50%;
  200. background: rgba(0,0,0,.4);
  201. color: #fff;
  202. text-align: center;
  203. display: flex !important;
  204. align-items: center;
  205. justify-content: center;
  206. font-size: 14px;
  207. }
  208. .flash-sale .goods-list .list-con .item.sell-out .sellout-text {
  209. display: block;
  210. }
  211. /* 秒杀专场 end */
  212. /* 优选好店 */
  213. /* 优选好店 end */
  214. .list-empty {
  215. display: block;
  216. font-size: 18px;
  217. color: #bbb;
  218. width: 100%;
  219. line-height: 212px;
  220. text-align: center;
  221. letter-spacing: 1px;
  222. }