index.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. position: relative;
  87. }
  88. .countdown{
  89. margin: 20rpx 0 30rpx;
  90. text-align: center;
  91. font-size: 26rpx;
  92. }
  93. .cover-btn {
  94. position: absolute;
  95. width: 100%;
  96. height: 100%;
  97. top: 0;
  98. left: 0;
  99. opacity: 0; /* 完全透明 */
  100. z-index: 10;
  101. }
  102. .cover-btn-ad{
  103. position: absolute;
  104. width: 100% !important;
  105. height: 100%;
  106. top: 0;
  107. left: 0;
  108. opacity: 0; /* 完全透明 */
  109. z-index: 10;
  110. }
  111. /* 分享样式 */
  112. .share-container {
  113. background: #FFFFFF;
  114. margin-bottom: 120rpx;
  115. }
  116. .share-options {
  117. display: flex;
  118. justify-content: space-evenly;
  119. margin: 70rpx 0 36rpx;
  120. }
  121. .share-item {
  122. display: inline-flex;
  123. flex-direction: column;
  124. align-items: center;
  125. background: transparent;
  126. border: none;
  127. padding: 0;
  128. margin-left: 0 !important;
  129. margin-right: 0 !important;
  130. width: 100rpx !important;
  131. }
  132. .share-icon {
  133. width: 76rpx;
  134. height: 76rpx;
  135. margin-bottom: 20rpx;
  136. }
  137. .share-text {
  138. font-family: PingFangSC, PingFang SC;
  139. font-weight: 400;
  140. font-size: 24rpx;
  141. color: #666666;
  142. line-height: 40rpx;
  143. }
  144. .share-cancel {
  145. margin-bottom: 60rpx;
  146. display: flex;
  147. }
  148. .share-cancel-img{
  149. width: 444rpx;
  150. height: 102rpx;
  151. margin: 0 auto;
  152. }
  153. .btn-hover {
  154. opacity: 0.7;
  155. }
  156. .share-item::after {
  157. border: none !important;
  158. }
  159. .poster-container{
  160. height: 100%;
  161. position: fixed;
  162. top: 0;
  163. right: 0;
  164. bottom: 0;
  165. left: 0;
  166. z-index: 100;
  167. width: 100%;
  168. background-color: rgba(0,0,0,0.7);
  169. }
  170. .poster-content{
  171. position: absolute;
  172. top: 10%;
  173. left: 0;
  174. right: 0;
  175. width: 300px;
  176. height: 600px;
  177. margin: 0 auto;
  178. }
  179. .poster-img{
  180. width: 100%;
  181. height: 100%;
  182. border-radius: 20rpx;
  183. }
  184. .poster-actions{
  185. display: flex;
  186. align-items: center;
  187. gap: 70rpx;
  188. margin-top: 55rpx;
  189. }
  190. .poster-lf,.poster-ri{
  191. width: 50% !important;
  192. margin: 0;
  193. padding: 15rpx 30rpx;
  194. font-size: 28rpx;
  195. font-weight: 500;
  196. border-radius: 120rpx;
  197. }
  198. .poster-lf{
  199. color: #FFA100;
  200. }
  201. .poster-ri{
  202. background-color: #FFA100;
  203. color: #fff;
  204. }