index.less 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. .line {
  2. white-space: nowrap;
  3. overflow: hidden;
  4. text-overflow: ellipsis;
  5. }
  6. .line-two {
  7. word-break: break-all;
  8. overflow: hidden;
  9. display: -webkit-box;
  10. -webkit-box-orient: vertical;
  11. -webkit-line-clamp: 2;
  12. }
  13. .bargaining {
  14. margin-top: 150rpx;
  15. padding: 5rpx;
  16. background: #fdfdfd;
  17. .big {
  18. width: 680rpx;
  19. margin: 30rpx auto;
  20. .big-img {
  21. position: relative;
  22. width: 680rpx;
  23. height: 460rpx;
  24. border-radius: 20rpx;
  25. .time-content {
  26. position: absolute;
  27. bottom: 0;
  28. display: flex;
  29. align-items: center;
  30. justify-content: space-between;
  31. width: 100%;
  32. .secondsKill {
  33. margin-left: 40rpx;
  34. }
  35. .time {
  36. display: flex;
  37. flex-direction: column;
  38. align-items: center;
  39. justify-content: center;
  40. margin-right: 20rpx;
  41. .countDown {
  42. }
  43. }
  44. }
  45. }
  46. .content {
  47. padding: 30rpx;
  48. border-bottom-left-radius: 30rpx;
  49. border-bottom-right-radius: 30rpx;
  50. .commodity-content {
  51. display: flex;
  52. align-items: center;
  53. margin-bottom: 10rpx;
  54. .reduction {
  55. display: flex;
  56. justify-content: center;
  57. align-items: center;
  58. width: 160rpx;
  59. height: 40rpx;
  60. margin-right: 10rpx;
  61. border-radius: 30rpx;
  62. }
  63. .commodity-name {
  64. width: 500rpx;
  65. }
  66. }
  67. .describe {
  68. margin-bottom: 10rpx;
  69. }
  70. .inventory {
  71. margin-bottom: 20rpx;
  72. }
  73. .price-content {
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. .price {
  78. .discount {
  79. margin-bottom: 5rpx;
  80. }
  81. .original-price {
  82. text-decoration: line-through;
  83. }
  84. }
  85. .buy {
  86. width: 100rpx;
  87. padding: 0 10rpx;
  88. border: 1rpx solid red !important;
  89. margin: 0;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. .bargaining {
  96. padding: 5rpx;
  97. background: #fdfdfd;
  98. .two-box {
  99. display: inline-block;
  100. margin-left: 20rpx;
  101. .two {
  102. width: 340rpx;
  103. margin: 30rpx auto;
  104. .two-img {
  105. position: relative;
  106. width: 340rpx;
  107. height: 330rpx;
  108. border-radius: 20rpx;
  109. .time-content {
  110. position: absolute;
  111. bottom: 0;
  112. display: flex;
  113. align-items: center;
  114. justify-content: space-between;
  115. width: 100%;
  116. .secondsKill {
  117. margin-left: 20rpx;
  118. }
  119. .time {
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. justify-content: center;
  124. margin-right: 20rpx;
  125. }
  126. }
  127. }
  128. .content {
  129. padding: 20rpx;
  130. border-bottom-left-radius: 30rpx;
  131. border-bottom-right-radius: 30rpx;
  132. .commodity-content {
  133. margin-bottom: 10rpx;
  134. .reduction {
  135. float: left;
  136. display: flex;
  137. justify-content: center;
  138. align-items: center;
  139. width: 140rpx;
  140. margin-right: 10rpx;
  141. border-radius: 30rpx;
  142. }
  143. }
  144. .describe {
  145. margin-bottom: 10rpx;
  146. }
  147. .inventory {
  148. margin-bottom: 10rpx;
  149. }
  150. .price-content {
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. .price {
  155. .discount {
  156. }
  157. .original-price {
  158. text-decoration: line-through;
  159. }
  160. }
  161. .buy {
  162. width: 70rpx;
  163. padding: 0 6rpx;
  164. border: 1rpx solid red !important;
  165. margin: 0;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }
  172. .bargaining {
  173. padding: 5rpx;
  174. background: #fdfdfd;
  175. .three-box {
  176. display: inline-block;
  177. margin-left: 20rpx;
  178. .three {
  179. width: 220rpx;
  180. margin: 30rpx auto;
  181. .three-img {
  182. width: 220rpx;
  183. height: 220rpx;
  184. border-radius: 20rpx;
  185. }
  186. .content {
  187. padding: 15rpx;
  188. border-bottom-left-radius: 30rpx;
  189. border-bottom-right-radius: 30rpx;
  190. .commodity-name {
  191. margin-bottom: 15rpx;
  192. }
  193. .inventory {
  194. margin-bottom: 5rpx;
  195. }
  196. .describe {
  197. margin-bottom: 10rpx;
  198. }
  199. .discount {
  200. margin-bottom: 5rpx;
  201. }
  202. .original-price {
  203. text-decoration: line-through;
  204. }
  205. .buy {
  206. width: 100%;
  207. margin-top: 10rpx;
  208. padding: 0 8rpx;
  209. }
  210. }
  211. }
  212. }
  213. }
  214. .bargaining {
  215. background: #fdfdfd;
  216. .details {
  217. display: flex;
  218. width: 680rpx;
  219. margin: 30rpx auto;
  220. .details-img {
  221. position: relative;
  222. width: 300rpx;
  223. height: 300rpx;
  224. border-radius: 20rpx;
  225. .time-content {
  226. position: absolute;
  227. bottom: 0;
  228. display: flex;
  229. align-items: center;
  230. justify-content: space-between;
  231. width: 100%;
  232. .secondsKill {
  233. margin-left: 20rpx;
  234. }
  235. .time {
  236. display: flex;
  237. flex-direction: column;
  238. align-items: center;
  239. justify-content: center;
  240. margin-right: 20rpx;
  241. }
  242. }
  243. }
  244. .content {
  245. width: 340rpx;
  246. padding: 20rpx;
  247. border-bottom-left-radius: 30rpx;
  248. border-bottom-right-radius: 30rpx;
  249. .commodity-content {
  250. margin-bottom: 20rpx;
  251. .reduction {
  252. float: left;
  253. display: flex;
  254. justify-content: center;
  255. align-items: center;
  256. width: 130rpx;
  257. margin-right: 10rpx;
  258. border-radius: 30rpx;
  259. }
  260. .commodity-name {
  261. margin-bottom: 10rpx;
  262. }
  263. }
  264. .describe {
  265. margin-bottom: 15rpx;
  266. }
  267. .inventory {
  268. margin-bottom: 15rpx;
  269. }
  270. .price-content {
  271. display: flex;
  272. align-items: center;
  273. justify-content: space-between;
  274. .price {
  275. .discount {
  276. margin-bottom: 10rpx;
  277. }
  278. .original-price {
  279. text-decoration: line-through;
  280. }
  281. }
  282. .buy {
  283. width: 80rpx;
  284. padding: 0 8rpx;
  285. margin: 0;
  286. border: 1rpx solid red !important;
  287. }
  288. }
  289. }
  290. }
  291. }
  292. .bargaining {
  293. background: #fdfdfd;
  294. .scroll-box {
  295. display: inline-block;
  296. margin-right: 20rpx;
  297. .scroll {
  298. width: 220rpx;
  299. margin: 30rpx auto;
  300. .scroll-img {
  301. width: 220rpx;
  302. height: 220rpx;
  303. border-radius: 20rpx;
  304. }
  305. .content {
  306. padding: 15rpx;
  307. border-bottom-left-radius: 30rpx;
  308. border-bottom-right-radius: 30rpx;
  309. .commodity-name {
  310. margin-bottom: 10rpx;
  311. }
  312. .describe {
  313. margin-bottom: 10rpx;
  314. }
  315. .inventory {
  316. margin-bottom: 10rpx;
  317. }
  318. .discount {
  319. margin-bottom: 5rpx;
  320. }
  321. .original-price {
  322. text-decoration: line-through;
  323. }
  324. .buy {
  325. width: 100%;
  326. padding: 0 8rpx;
  327. margin-top: 10rpx;
  328. }
  329. }
  330. }
  331. }
  332. }