seckillActivity.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. page{
  2. padding-bottom: 60rpx;
  3. }
  4. /* 头部banner */
  5. .top {
  6. width: 750rpx;
  7. height: 508rpx;
  8. position: relative;
  9. }
  10. .top .bgc {
  11. width: 750rpx;
  12. height: 390rpx;
  13. }
  14. .top .bgc image {
  15. width: 100%;
  16. height: 100%;
  17. }
  18. .top .seckillBox {
  19. height: 208rpx;
  20. width: 690rpx;
  21. margin-left: 30rpx;
  22. position: absolute;
  23. top: 300rpx;
  24. left: 0;
  25. background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20230106/%E7%BC%96%E7%BB%84%203%402x%20%285%29.png');
  26. background-size: 100% 100%;
  27. padding: 40rpx 0rpx 28rpx 0rpx;
  28. box-sizing: border-box;
  29. text-align: center;
  30. }
  31. .top .seckillBox .time {
  32. font-size: 36rpx;
  33. color: #333;
  34. }
  35. .top .seckillBox .seckill {
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. margin-top: 18rpx;
  40. }
  41. .box {
  42. margin-left: 22rpx;
  43. }
  44. .item {
  45. display: inline-block;
  46. width: 54rpx;
  47. height: 72rpx;
  48. line-height: 72rpx;
  49. background: linear-gradient(180deg, #FA7D22 50%, #F7AF41 50%,#FA7D22 100%);
  50. opacity: 0.77rpx;
  51. border-radius: 6rpx;
  52. font-size: 44rpx;
  53. color: #fff;
  54. margin-right: 8rpx;
  55. }
  56. /*动画部分*/
  57. .flip-animation-start {
  58. animation: flipBook1 3s forwards;
  59. -moz-animation: flipBook1 3s forwards; /* Firefox */
  60. -webkit-animation: flipBook1 3s forwards; /* Safari and Chrome */
  61. -o-animation: flipBook1 3s forwards; /* Opera */
  62. }
  63. @keyframes flipBook1 {
  64. 0% {
  65. -webkit-transform: rotateY(0deg);
  66. -ms-transform: rotateY(0deg);
  67. -o-transform: rotateY(0deg);
  68. transform: rotateY(0deg);
  69. }
  70. 100% {
  71. -webkit-transform: rotateX(-180deg);
  72. -ms-transform: rotateX(-180deg);
  73. -o-transform: rotateX(-180deg);
  74. transform: rotateX(-180deg);
  75. }
  76. }
  77. .item1 {
  78. font-size: 36rpx;
  79. font-weight: 600;
  80. color: #333;
  81. margin-right: 8rpx;
  82. }
  83. /* 底部秒杀产品 */
  84. .seckillList{
  85. margin-top: 40rpx;
  86. }
  87. .seckill-item{
  88. height: 240rpx;
  89. width: 690rpx;
  90. background-color: #fff;
  91. margin-left: 30rpx;
  92. display: flex;
  93. border-radius: 24rpx;
  94. margin-top: 20rpx;
  95. }
  96. .seckill-item-left image{
  97. width: 200rpx;
  98. height: 200rpx;
  99. margin-top: 20rpx;
  100. margin-left: 20rpx;
  101. margin-right: 44rpx;
  102. border-radius: 20rpx;
  103. }
  104. .seckill-item-right{
  105. flex: 1;
  106. padding: 40rpx 24rpx 40rpx 0;
  107. box-sizing: border-box;
  108. display: flex;
  109. flex-direction: column;
  110. justify-content: space-evenly;
  111. }
  112. .seckill-item-right .item-title{
  113. flex-shrink: 0;
  114. font-size: 32rpx;
  115. color: #333;
  116. font-weight: 600;
  117. width: 400rpx;
  118. display:-webkit-box;
  119. -webkit-box-orient:vertical;
  120. -webkit-line-clamp:2;
  121. overflow: hidden;
  122. }
  123. .seckill-item-right .item-oldPrice{
  124. font-size: 28rpx;
  125. color: #999999;
  126. text-decoration: line-through;
  127. margin-top: 10rpx;
  128. margin-bottom: 10rpx;
  129. }
  130. .right-bottom{
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. }
  135. .seckill-item-right .item-price text{
  136. color: #FA4622;
  137. font-size: 24rpx;
  138. }
  139. .seckill-item-right .item-price .price__big {
  140. color: #FA4622;
  141. font-size: 40rpx;
  142. }
  143. .seckill-item-right .item-button{
  144. width: 140rpx;
  145. height: 48rpx;
  146. background-color: #FA7D22;
  147. color: #fff;
  148. border-radius: 28rpx;
  149. text-align: center;
  150. line-height:46rpx ;
  151. font-size: 28rpx;
  152. }
  153. .activeClass{
  154. opacity: 0.5;
  155. }