seckill.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .seckill {
  2. position: relative;
  3. margin: 20rpx;
  4. background-color: #fff;
  5. border-radius: 10rpx;
  6. overflow: hidden;
  7. }
  8. .seckill-head {
  9. color: #fff;
  10. padding: 0 30rpx;
  11. align-items: center;
  12. height: 100rpx;
  13. background: linear-gradient(90deg, #ea404b 0%, #ed745d 100%);
  14. line-height: 1.2;
  15. }
  16. .seckill-head .tit {
  17. font-size: 30rpx;
  18. font-weight: bold;
  19. padding-right: 20rpx;
  20. border-right: 1px solid #fff;
  21. margin-right: 20rpx;
  22. }
  23. .seckill .more {
  24. font-size: 26rpx;
  25. }
  26. .seckill .more .iconfont {
  27. font-size: 28rpx;
  28. }
  29. .seckill-list {
  30. position: relative;
  31. }
  32. .sec-swiper-content {
  33. width: 100%;
  34. height: 290rpx;
  35. }
  36. .seckill-head-item {
  37. margin: 0 19rpx;
  38. text-align: center;
  39. }
  40. .seckill-head-item .time{
  41. font-size: 26rpx;
  42. font-weight: bold;
  43. margin-bottom: 10rpx;
  44. }
  45. .seckill-head-item .desc{
  46. font-size: 22rpx;
  47. }
  48. .seckill-head-item.active .desc {
  49. color: #ea474e;
  50. padding: 2rpx 10rpx;
  51. background-color: #fff;
  52. border-radius: 20rpx;
  53. }
  54. .seckill .current {
  55. height: 32rpx;
  56. line-height: 32rpx;
  57. text-align: center;
  58. border-radius: 24rpx;
  59. background-color: #f8f8f8;
  60. font-size: 24rpx;
  61. color: #c8c8c8;
  62. position: absolute;
  63. right: 20rpx;
  64. top: 20rpx;
  65. z-index: 1;
  66. padding: 0 10rpx;
  67. }