index.less 12 KB

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