index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .index{
  2. height: 100%;
  3. flex: 1;
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. .swiper-container {
  8. width: 100%;
  9. height: 620rpx;
  10. flex-shrink: 0;
  11. }
  12. .swiper-image {
  13. width: 100%;
  14. height: 100%;
  15. }
  16. .bg-color{
  17. background-color: #F7F7F7;
  18. border-radius: 60rpx 60rpx 0 0;
  19. margin-top: -90rpx;
  20. position: relative;
  21. z-index: 1;
  22. }
  23. .content{
  24. position: relative;
  25. margin: 0 32rpx 85rpx;
  26. top: -45rpx;
  27. }
  28. .card-box{
  29. background: #FFFFFF;
  30. border-radius: 28rpx;
  31. padding: 28rpx 40rpx 36rpx;
  32. }
  33. .rules-bg{
  34. background: rgba(246, 190, 32, 0.13);
  35. border-radius: 28rpx;
  36. padding: 12rpx 0;
  37. display: flex;
  38. align-items: center;
  39. justify-content: space-evenly;
  40. }
  41. .rules-item{
  42. font-weight: 400;
  43. font-size: 24rpx;
  44. color: #000000;
  45. display: flex;
  46. align-items: center;
  47. }
  48. .line{
  49. height: 16rpx;
  50. border: 1rpx solid #000000;
  51. background-color: #000;
  52. }
  53. .rules-img{
  54. width: 24rpx;
  55. height: 27.51rpx;
  56. margin-right: 14rpx;
  57. }
  58. .registration{
  59. margin: 28rpx 0;
  60. display: flex;
  61. gap: 22rpx;
  62. }
  63. .registration-lf,.registration-ri{
  64. width: 50%;
  65. position: relative;
  66. }
  67. .lf-bg-img,.ri-bg-img{
  68. height: 160rpx;
  69. width: 100%;
  70. }
  71. .registration-img{
  72. width: 112rpx;
  73. height: 34rpx;
  74. position: absolute;
  75. top: 50%;
  76. left: 36rpx;
  77. transform: translateY(-50%);
  78. }
  79. .share-box{
  80. height: 438rpx;
  81. background: #FFFFFF;
  82. border-radius: 68rpx 68rpx 0rpx 0rpx;
  83. }
  84. .ad-img{
  85. width: 100%;
  86. }
  87. .countdown{
  88. margin: 20rpx 0 30rpx;
  89. text-align: center;
  90. font-size: 26rpx;
  91. }
  92. .cover-btn {
  93. position: absolute;
  94. width: 100%;
  95. height: 100%;
  96. top: 0;
  97. left: 0;
  98. opacity: 0; /* 完全透明 */
  99. z-index: 10;
  100. }
  101. /* 分享样式 */
  102. .share-container {
  103. background: #FFFFFF;
  104. margin-bottom: 120rpx;
  105. }
  106. .share-options {
  107. display: flex;
  108. justify-content: space-evenly;
  109. margin: 70rpx 0 36rpx;
  110. }
  111. .share-item {
  112. display: inline-flex;
  113. flex-direction: column;
  114. align-items: center;
  115. background: transparent;
  116. border: none;
  117. padding: 0;
  118. margin: 0;
  119. width: 100% !important;
  120. }
  121. .share-icon {
  122. width: 76rpx;
  123. height: 76rpx;
  124. margin-bottom: 20rpx;
  125. }
  126. .share-text {
  127. font-family: PingFangSC, PingFang SC;
  128. font-weight: 400;
  129. font-size: 24rpx;
  130. color: #666666;
  131. line-height: 40rpx;
  132. }
  133. .share-cancel {
  134. margin-bottom: 60rpx;
  135. display: flex;
  136. }
  137. .share-cancel-img{
  138. width: 444rpx;
  139. height: 102rpx;
  140. margin: 0 auto;
  141. }
  142. .btn-hover {
  143. opacity: 0.7;
  144. }
  145. .share-item::after {
  146. border: none !important;
  147. }
  148. .poster-container{
  149. height: 100%;
  150. position: fixed;
  151. top: 0;
  152. right: 0;
  153. bottom: 0;
  154. left: 0;
  155. z-index: 100;
  156. width: 100%;
  157. background-color: rgba(0,0,0,0.7);
  158. }
  159. .poster-content{
  160. position:absolute;
  161. top: 10%;
  162. height: 60%;
  163. left: 80rpx;
  164. right: 80rpx;
  165. }
  166. .poster-img{
  167. width: 100%;
  168. height: 100%;
  169. border-radius: 20rpx;
  170. }
  171. .poster-actions{
  172. display: flex;
  173. align-items: center;
  174. gap: 70rpx;
  175. margin-top: 32rpx;
  176. }
  177. .poster-lf,.poster-ri{
  178. width: 50% !important;
  179. margin: 0;
  180. padding: 15rpx 30rpx;
  181. font-size: 28rpx;
  182. font-weight: 500;
  183. border-radius: 120rpx;
  184. }
  185. .poster-lf{
  186. color: #FFA100;
  187. }
  188. .poster-ri{
  189. background-color: #FFA100;
  190. color: #fff;
  191. }