index.wxss 3.7 KB

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