activity.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /**
  2. * 拼团、积分商品列表页样式
  3. */
  4. .w-210{
  5. width: 420rpx !important;
  6. }
  7. .activity-box{
  8. padding-bottom: calc(0rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  9. padding-bottom: calc(0rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  10. }
  11. .activity_header {
  12. background-size: cover;
  13. position: relative;
  14. top: 0;
  15. left: 0;
  16. // z-index: 9;
  17. width: 100%;
  18. /* #ifdef H5 */
  19. height: 460rpx;
  20. /* #endif */
  21. /* #ifndef H5*/
  22. height: 540rpx;
  23. /* #endif */
  24. }
  25. .list-box{
  26. padding-bottom: calc(0rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  27. padding-bottom: calc(0rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  28. position: relative;
  29. background-color: #f5f5f5;
  30. border-radius: 40rpx;
  31. padding: 20rpx 24rpx;
  32. // z-index: 99;
  33. /* #ifdef H5 */
  34. top: -40rpx;
  35. /* #endif */
  36. /* #ifndef H5*/
  37. top: -90rpx;
  38. /* #endif */
  39. height: 200rpx;
  40. .list-item{
  41. background-color: #fff;
  42. border-radius: 12px 12px 12px 12px;
  43. margin-bottom: 20rpx;
  44. }
  45. }
  46. .group-bottom {
  47. width: 100%;
  48. padding: 20rpx;
  49. .img {
  50. width: 240rpx;
  51. height: 240rpx;
  52. image{
  53. width: 100%;
  54. height: 100%;
  55. border-radius: 20rpx;
  56. }
  57. }
  58. .big-img.img {
  59. width: 100%;
  60. height: 324rpx;
  61. }
  62. .three-img.img {
  63. width: 100%;
  64. height: 210rpx;
  65. }
  66. .four-img {
  67. width: 240rpx;
  68. height: 240rpx;
  69. }
  70. .group-bottom-right {
  71. width: 400rpx;
  72. .right-top {
  73. .title {
  74. font-size: 28rpx;
  75. color: #333333;
  76. }
  77. .pink {
  78. margin-top: 16rpx;
  79. font-size: 22rpx;
  80. .people {
  81. background-color: #E93323;
  82. color: #fff;
  83. padding: 4rpx 12rpx;
  84. border-radius: 8rpx 0 0 8rpx;
  85. }
  86. .groupNum {
  87. color: #E93323;
  88. background: rgba(211, 56, 42, 0.1);
  89. padding: 4rpx 12rpx;
  90. border-radius: 0 8rpx 8rpx 0;
  91. }
  92. }
  93. }
  94. .right-bottom {
  95. .price {
  96. .pinkNum {
  97. .pinkNum-num {
  98. font-weight: 600;
  99. font-size: 36rpx;
  100. }
  101. }
  102. .num {
  103. color: #999999;
  104. font-weight: 400;
  105. text-decoration-line: line-through;
  106. }
  107. }
  108. .btnBox {
  109. margin-top: 28rpx;
  110. font-size: 22rpx;
  111. .btn {
  112. padding: 12rpx 20rpx;
  113. border-radius: 50rpx;
  114. background: linear-gradient( 90deg, #FF7931 0%, #E93323 100%);
  115. border-radius: 25px 25px 25px 25px;
  116. color: #fff;
  117. font-size: 24rpx;
  118. }
  119. }
  120. .pinkNum-title{
  121. color: #E93323;
  122. font-size: 22rpx;
  123. }
  124. }
  125. }
  126. }