main.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. .main {
  2. padding: 0 20rpx;
  3. }
  4. .spike-bd {
  5. margin-bottom: 20rpx;
  6. border-radius: 16rpx;
  7. padding: 0 20rpx 0 10rpx;
  8. display: flex;
  9. position: relative;
  10. justify-content: space-between;
  11. .title-img{
  12. width: 136rpx;
  13. height: 36rpx;
  14. }
  15. .title {
  16. font-weight: bold;
  17. color: #282828;
  18. font-size: 0;
  19. .title-img{
  20. width: 136rpx;
  21. height: 36rpx;
  22. }
  23. }
  24. .spike-distance {
  25. margin-left: 15rpx;
  26. position: relative;
  27. top: 1.4rpx;
  28. display: flex;
  29. border: 1px solid #e93323;
  30. border-radius: 4rpx;
  31. height: 40rpx;
  32. .bg-red {
  33. font-size: 20rpx;
  34. color: #fff;
  35. background-color: #e93323;
  36. padding: 0 10rpx;
  37. line-height: 38rpx;
  38. height: 38rpx;
  39. }
  40. .time {
  41. font-size: 22rpx;
  42. padding: 0 12rpx;
  43. color: #e93323;
  44. height: 36rpx;
  45. line-height: 38rpx;
  46. /deep/.red {
  47. margin: 0;
  48. }
  49. }
  50. .red-color {
  51. color: #e93323;
  52. }
  53. }
  54. .more-btn {
  55. color: #282828;
  56. font-size: 24rpx;
  57. .iconfont {
  58. font-size: 22rpx;
  59. }
  60. }
  61. }
  62. .colum0{
  63. white-space: nowrap;
  64. display: flex;
  65. }
  66. .combination-item {
  67. /* #ifdef MP */
  68. width: 294rpx;
  69. height: 140rpx;
  70. /* #endif */
  71. /* #ifdef H5 || APP-PLUS */
  72. width: 328rpx;
  73. height: 180rpx;
  74. /* #endif */
  75. display: inline-block;
  76. background-size: 100%;
  77. position: relative;
  78. background-repeat: no-repeat;
  79. border-radius: 16rpx;
  80. .img-box {
  81. width: 122rpx;
  82. height: 122rpx;
  83. position: absolute;
  84. /deep/image,/deep/.easy-loadimage,/deep/uni-image {
  85. width: 122rpx;
  86. height: 122rpx;
  87. }
  88. }
  89. .name {
  90. font-size: 30rpx;
  91. color: #333333;
  92. font-weight: bold;
  93. line-height: 32rpx;
  94. }
  95. .price {
  96. display: block;
  97. font-size: 30rpx;
  98. font-weight: bold;
  99. margin-top: 8rpx;
  100. color: #e93323;
  101. text {
  102. font-size: 20rpx;
  103. }
  104. }
  105. .gocom_btn {
  106. display: block;
  107. margin-top: 6rpx;
  108. color: #fff;
  109. font-size: 22rpx;
  110. font-weight: bold;
  111. width: 100rpx;
  112. line-height: 30rpx;
  113. text-align: center;
  114. border-radius: 16rpx;
  115. text {
  116. font-weight: normal;
  117. font-size: 16rpx;
  118. }
  119. }
  120. &:nth-child(1) {
  121. // height: 378rpx;
  122. /* #ifdef MP */
  123. height: 336rpx;
  124. /* #endif */
  125. /* #ifdef H5 || APP-PLUS */
  126. height: 378rpx;
  127. /* #endif */
  128. padding: 20rpx 20rpx 28rpx;
  129. float: left;
  130. background-image: url('/static/images/combination1.png?1');
  131. .img-box {
  132. width: 210rpx;
  133. height: 210rpx;
  134. right: 18rpx;
  135. bottom: 18rpx;
  136. /deep/image,/deep/.easy-loadimage,/deep/uni-image {
  137. width: 210rpx;
  138. height: 210rpx;
  139. }
  140. }
  141. .gocom_btn {
  142. background: linear-gradient(90deg, #fd5d48 0%, #f63724 100%);
  143. }
  144. }
  145. &:nth-child(2),
  146. &:nth-child(3) {
  147. float: right;
  148. padding: 20rpx 18rpx;
  149. .name {
  150. width: 148rpx;
  151. }
  152. .img-box {
  153. right: 14rpx;
  154. bottom: 14rpx;
  155. /deep/image,/deep/.easy-loadimage,/deep/uni-image{
  156. width: 122rpx;
  157. height: 122rpx;
  158. }
  159. }
  160. }
  161. &:nth-child(2) {
  162. background-image: url('~@/static/images/combination2.png?1');
  163. .gocom_btn {
  164. background: linear-gradient(90deg, #fdca1a 0%, #f7b21f 100%);
  165. }
  166. }
  167. &:nth-child(3) {
  168. margin-top: 18rpx;
  169. background-image: url('~@/static/images/combination3.png?1');
  170. .img-box {
  171. right: 14rpx;
  172. bottom: 14rpx;
  173. }
  174. .gocom_btn {
  175. background: linear-gradient(90deg, #ffb052 0%, #fe961a 100%);
  176. }
  177. }
  178. }
  179. .spike-wrapper {
  180. width: 100%;
  181. &.wrapper2{
  182. overflow: hidden;
  183. }
  184. .spike-item {
  185. display: inline-block;
  186. width: 222rpx;
  187. margin: 0 20rpx 20rpx 0;
  188. &.presell-item {
  189. width: 210rpx;
  190. .img-box {
  191. height: 210rpx;
  192. /deep/image,/deep/.easy-loadimage,uni-image{
  193. height: 210rpx;
  194. }
  195. }
  196. .name {
  197. margin-top: 8rpx;
  198. color: #282828;
  199. }
  200. }
  201. &.assist-item {
  202. box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.08);
  203. }
  204. .img-box {
  205. position: relative;
  206. height: 222rpx;
  207. .participants {
  208. padding: 4rpx 12rpx;
  209. border-radius: 16rpx;
  210. background: rgba(0, 0, 0, 0.35);
  211. color: #fff;
  212. text-align: center;
  213. position: absolute;
  214. top: 10rpx;
  215. left: 10rpx;
  216. font-size: 20rpx;
  217. }
  218. /deep/image,/deep/.easy-loadimage,uni-image {
  219. width: 100%;
  220. height: 222rpx;
  221. border-radius: 16rpx;
  222. }
  223. .box_bg {
  224. position: absolute;
  225. bottom: 0;
  226. left: 0;
  227. text-align: center;
  228. width: 149rpx;
  229. height: 42rpx;
  230. line-height: 42rpx;
  231. background-image: url('/static/images/combination4.png?1');
  232. background-repeat: no-repeat;
  233. background-size: cover;
  234. color: #fff;
  235. font-size: 22rpx;
  236. }
  237. .msg {
  238. position: absolute;
  239. left: 10rpx;
  240. bottom: 16rpx;
  241. width: 86rpx;
  242. height: 30rpx;
  243. background: rgba(255, 255, 255, 1);
  244. border: 1px solid rgba(255, 109, 96, 1);
  245. border-radius: 6rpx;
  246. font-size: 20rpx;
  247. color: $theme-color;
  248. }
  249. }
  250. /deep/.img-box0 image,/deep/.img-box0 .easy-loadimage,/deep/.img-box0 uni-image {
  251. border-radius: 0;
  252. }
  253. .info {
  254. margin-top: 10rpx;
  255. .name {
  256. font-size: 26rpx;
  257. }
  258. .stock-box {
  259. width: 100%;
  260. height: 20rpx;
  261. background-color: #ffdcd9;
  262. border-radius: 20rpx;
  263. margin-top: 13rpx;
  264. position: relative;
  265. color: #fff;
  266. font-size: 18rpx;
  267. line-height: 20rpx;
  268. text-align: center;
  269. overflow: hidden;
  270. .grabbed {
  271. height: 20rpx;
  272. background: linear-gradient(#ff0000, #ff5400);
  273. position: absolute;
  274. top: 0;
  275. left: 0;
  276. border-radius: 20rpx;
  277. }
  278. .stock-sales {
  279. position: absolute;
  280. left: 50%;
  281. margin-left: -40rpx;
  282. }
  283. }
  284. .price-box {
  285. display: flex;
  286. align-items: center;
  287. justify-content: start;
  288. margin-top: 4rpx;
  289. &.presell-price {
  290. display: block;
  291. .price {
  292. }
  293. .old-price {
  294. display: block;
  295. margin: 6rpx 0 0 0;
  296. }
  297. }
  298. .tips {
  299. display: flex;
  300. align-items: center;
  301. justify-content: center;
  302. width: 28rpx;
  303. height: 28rpx;
  304. background-color: $theme-color;
  305. color: #fff;
  306. font-size: 20rpx;
  307. border-radius: 2px;
  308. }
  309. .price {
  310. display: flex;
  311. color: $theme-color;
  312. font-size: 28rpx;
  313. font-weight: bold;
  314. text {
  315. font-size: 18rpx;
  316. }
  317. }
  318. .old-price {
  319. display: flex;
  320. margin-left: 10rpx;
  321. color: #aaaaaa;
  322. text-decoration: line-through;
  323. font-size: 20rpx;
  324. text {
  325. font-size: 18rpx;
  326. }
  327. }
  328. }
  329. }
  330. .assist-info {
  331. .price {
  332. display: flex;
  333. color: $theme-color;
  334. font-size: 28rpx;
  335. font-weight: bold;
  336. margin-top: 8rpx;
  337. text {
  338. font-size: 18rpx;
  339. }
  340. .assist_price {
  341. font-size: 20rpx;
  342. display: inline-block;
  343. width: 82rpx;
  344. height: 32rpx;
  345. text-align: center;
  346. line-height: 30rpx;
  347. background: #ffeae5;
  348. border-radius: 4rpx;
  349. }
  350. }
  351. &.assist-info1{
  352. padding-bottom: 20rpx;
  353. }
  354. .price-box {
  355. padding: 15rpx 15rpx 8rpx;
  356. .name {
  357. font-size: 24rpx;
  358. color: #333;
  359. line-height: 30rpx;
  360. }
  361. }
  362. .initiate_btn {
  363. width: 100%;
  364. height: 48rpx;
  365. line-height: 48rpx;
  366. background: linear-gradient(90deg, #ff0000 0%, #ff5400 100%);
  367. text-align: center;
  368. color: #fff;
  369. font-size: 24rpx;
  370. border-radius: 0 0 16rpx 16rpx;
  371. margin: 0 auto;
  372. &.initiate_btn1{
  373. width: 90%;
  374. border-radius: 24rpx;
  375. }
  376. }
  377. }
  378. }
  379. &.wrapper1{
  380. .spike-item{
  381. width: 210rpx;
  382. }
  383. }
  384. }