main.scss 7.6 KB

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