index.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /**index.wxss**/
  2. page{
  3. height: 100%;
  4. }
  5. .container {
  6. background: #2db7f5;
  7. align-items: stretch;
  8. padding: 0;
  9. height: 100%;
  10. overflow: hidden;
  11. }
  12. .content{
  13. flex: 1;
  14. display: flex;
  15. position: relative;
  16. z-index: 10;
  17. flex-direction: column;
  18. align-items: stretch;
  19. justify-content: center;
  20. width: 100%;
  21. height: 100%;
  22. padding-bottom: 450rpx;
  23. background: -webkit-gradient(linear, left top, left bottom, from(rgba(244,244,244,0)), color-stop(0.1, #f4f4f4), to(#f4f4f4));
  24. opacity: 0;
  25. transform: translate3d(0,100%,0);
  26. animation: rise 3s cubic-bezier(0.19, 1, 0.22, 1) .25s forwards;
  27. }
  28. @keyframes rise{
  29. 0% {opacity: 0;transform: translate3d(0,100%,0);}
  30. 50% {opacity: 1;}
  31. 100% {opacity: 1;transform: translate3d(0,450rpx,0);}
  32. }
  33. .title{
  34. position: absolute;
  35. top: 30rpx;
  36. left: 50%;
  37. width: 600rpx;
  38. height: 200rpx;
  39. margin-left: -300rpx;
  40. opacity: 0;
  41. animation: show 2.5s cubic-bezier(0.19, 1, 0.22, 1) .5s forwards;
  42. }
  43. .smalltitle{
  44. position: absolute;
  45. top: 35rpx;
  46. left: 50%;
  47. width: 600rpx;
  48. height: 200rpx;
  49. margin-left: -300rpx;
  50. opacity: 0;
  51. animation: show 2.5s cubic-bezier(0.19, 1, 0.22, 1) .5s forwards;
  52. }
  53. @keyframes show{
  54. 0% {opacity: 0;}
  55. 100% {opacity: .95;}
  56. }
  57. .hd {
  58. position: absolute;
  59. top: 0;
  60. left: 50%;
  61. width: 1000rpx;
  62. margin-left: -500rpx;
  63. height: 200rpx;
  64. transition: all .35s ease;
  65. }
  66. .logo {
  67. position: absolute;
  68. z-index: 2;
  69. left: 50%;
  70. bottom: 200rpx;
  71. width: 160rpx;
  72. height: 160rpx;
  73. margin-left: -80rpx;
  74. border-radius: 160rpx;
  75. animation: sway 10s ease-in-out infinite;
  76. opacity: .95;
  77. }
  78. @keyframes sway{
  79. 0% {transform: translate3d(0,20rpx,0) rotate(-15deg); }
  80. 17% {transform: translate3d(0,0rpx,0) rotate(25deg); }
  81. 34% {transform: translate3d(0,-20rpx,0) rotate(-20deg); }
  82. 50% {transform: translate3d(0,-10rpx,0) rotate(15deg); }
  83. 67% {transform: translate3d(0,10rpx,0) rotate(-25deg); }
  84. 84% {transform: translate3d(0,15rpx,0) rotate(15deg); }
  85. 100% {transform: translate3d(0,20rpx,0) rotate(-15deg); }
  86. }
  87. .wave {
  88. position: absolute;
  89. z-index: 3;
  90. right: 0;
  91. bottom: 0;
  92. opacity: 0.5;
  93. height: 260rpx;
  94. width: 2250rpx;
  95. animation: wave 10s linear infinite;
  96. }
  97. .wave-bg {
  98. z-index: 1;
  99. animation: wave-bg 10.25s linear infinite;
  100. }
  101. @keyframes wave{
  102. from {transform: translate3d(125rpx,0,0);}
  103. to {transform: translate3d(1125rpx,0,0);}
  104. }
  105. @keyframes wave-bg{
  106. from {transform: translate3d(375rpx,0,0);}
  107. to {transform: translate3d(1375rpx,0,0);}
  108. }
  109. .bd {
  110. position: relative;
  111. flex: 1;
  112. display: flex;
  113. flex-direction: column;
  114. align-items: stretch;
  115. animation: bd-rise 2s cubic-bezier(0.23,1,0.32,1) .75s forwards;
  116. opacity: 0;
  117. }
  118. @keyframes bd-rise{
  119. from {opacity: 0; transform: translate3d(0,60rpx,0); }
  120. to {opacity: 1; transform: translate3d(0,0,0); }
  121. }
  122. .confirm-btn {
  123. font-size: 13pt;
  124. line-height: 85rpx;
  125. height: 85rpx;
  126. background: #2db7f5;
  127. color: #fff;
  128. width: 450rpx;
  129. text-align: center;
  130. border-radius: 50px;
  131. margin-top: 20% auto;
  132. }
  133. .confirm-btn:active {
  134. opacity: .8;
  135. }
  136. .wxInput{
  137. height: 2em;
  138. padding: 10rpx;
  139. margin: 20rpx 0;
  140. background-color: rgba(255,255,255,0.5);
  141. }