diyMain.scss 6.9 KB

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