index.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .poster {
  2. position: relative;
  3. width: 100%;
  4. height: 100vh;
  5. background: #c11f1b;
  6. }
  7. .poster .btn {
  8. text-align: center;
  9. line-height: 100rpx;
  10. font-size: 16px;
  11. font-weight: 500;
  12. color: #e5bb8f;
  13. }
  14. .poster .backgroundImg {
  15. position: absolute;
  16. top: calc(constant(safe-area-inset-bottom) / 2);
  17. top: calc(env(safe-area-inset-bottom) / 2);
  18. width: 100%;
  19. height: calc(100% - constant(safe-area-inset-bottom));
  20. height: calc(100% - env(safe-area-inset-bottom));
  21. }
  22. .poster .background-door {
  23. position: absolute;
  24. bottom: calc(constant(safe-area-inset-bottom) / 2);
  25. bottom: calc(env(safe-area-inset-bottom) / 2);
  26. width: 100%;
  27. height: calc(55% - constant(safe-area-inset-bottom));
  28. height: calc(55% - env(safe-area-inset-bottom));
  29. perspective: 500px;
  30. }
  31. .poster .background-door .signIn-btn {
  32. z-index: 10;
  33. position: absolute;
  34. bottom: 30%;
  35. left: 35%;
  36. width: 30%;
  37. padding-left: 10rpx;
  38. background: linear-gradient(to right, #cf382c, #b71619);
  39. box-shadow: 0 0 48rpx #b71619;
  40. border-radius: 20rpx;
  41. letter-spacing: 10rpx;
  42. animation: signInBtn 1.5s ease-in-out infinite;
  43. }
  44. .poster .background-door .signIn-btn-hide {
  45. opacity: 0;
  46. animation: hide 0.2s linear;
  47. }
  48. .poster .background-door .signIn-btn-show {
  49. animation: show 1s ease-in;
  50. }
  51. .poster .background-door .background-door__left,
  52. .poster .background-door .background-door__right {
  53. position: absolute;
  54. width: 50%;
  55. height: 100%;
  56. perspective: 500px;
  57. }
  58. .poster .background-door .background-door__right {
  59. right: 0;
  60. }
  61. .poster .background-door image {
  62. position: absolute;
  63. height: 100%;
  64. transform-origin: right center;
  65. }
  66. .poster .background-door .background-door__left image {
  67. right: 0;
  68. transform-origin: left center;
  69. }
  70. .poster .background-door .door-left-open {
  71. transform: rotateY(-130deg);
  72. animation: left-open 1s linear;
  73. }
  74. .poster .background-door .door-left-close {
  75. transform: rotateY(0deg);
  76. animation: left-close 1s linear;
  77. }
  78. .poster .background-door .door-right-open {
  79. transform: rotateY(130deg);
  80. animation: right-open 1s linear;
  81. }
  82. .poster .background-door .door-right-close {
  83. transform: rotateY(0deg);
  84. animation: right-close 1s linear;
  85. }
  86. .poster .background-door .background-door__invite {
  87. position: absolute;
  88. top: 12%;
  89. left: 20%;
  90. width: 60%;
  91. opacity: 0;
  92. }
  93. .poster .background-door .background-door__invite .border_corner {
  94. position: absolute;
  95. width: 32rpx;
  96. height: 32rpx;
  97. border: 4rpx solid #e5bb8f;
  98. }
  99. .poster .background-door .background-door__invite .border_corner_left_top{
  100. top: -28rpx;
  101. left: -24rpx;
  102. border-right: none;
  103. border-bottom: none;
  104. border-top-left-radius: 12rpx;
  105. }
  106. .poster .background-door .background-door__invite .border_corner_right_top{
  107. top: -28rpx;
  108. right: -24rpx;
  109. border-left: none;
  110. border-bottom: none;
  111. border-top-right-radius: 12rpx;
  112. }
  113. .poster .background-door .background-door__invite .border_corner_left_bottom{
  114. bottom: -2rpx;
  115. left: -24rpx;
  116. border-right: none;
  117. border-top: none;
  118. border-bottom-left-radius: 12rpx;
  119. }
  120. .poster .background-door .background-door__invite .border_corner_right_bottom{
  121. bottom: -2rpx;
  122. right: -24rpx;
  123. border-left: none;
  124. border-top: none;
  125. border-bottom-right-radius: 12rpx;
  126. }
  127. .poster .background-door .background-door__invite.door-invite-show {
  128. opacity: 1;
  129. animation: show 1s linear;
  130. }
  131. .poster .background-door .background-door__invite.door-invite-hide {
  132. opacity: 0;
  133. animation: hide 1s linear;
  134. }
  135. .poster .background-door .background-door__invite .content {
  136. margin-bottom: 30rpx;
  137. line-height: 58rpx;
  138. color: #e5bb8f;
  139. text-indent: 2em;
  140. }
  141. .poster .background-door .background-door__invite .content .keynote {
  142. color: #fff;
  143. }
  144. .poster .background-door .background-door__invite .content .agreement {
  145. color: #1989FA;
  146. }
  147. .poster .background-door .background-door__invite .btn-group {
  148. display: flex;
  149. }
  150. .poster .background-door .background-door__invite .btn-group .btn {
  151. width: 50%;
  152. }
  153. .poster .background-door .background-door__invite .btn-group .btn:first-child {
  154. color: #969799;
  155. }