123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- /**index.wxss**/
- page{
- height: 100%;
- }
- .container {
- background: #2db7f5;
- align-items: stretch;
- padding: 0;
- height: 100%;
- overflow: hidden;
- }
- .content{
- flex: 1;
- display: flex;
- position: relative;
- z-index: 10;
- flex-direction: column;
- align-items: stretch;
- justify-content: center;
- width: 100%;
- height: 100%;
- padding-bottom: 450rpx;
- background: -webkit-gradient(linear, left top, left bottom, from(rgba(244,244,244,0)), color-stop(0.1, #f4f4f4), to(#f4f4f4));
- opacity: 0;
- transform: translate3d(0,100%,0);
- animation: rise 3s cubic-bezier(0.19, 1, 0.22, 1) .25s forwards;
- }
- @keyframes rise{
- 0% {opacity: 0;transform: translate3d(0,100%,0);}
- 50% {opacity: 1;}
- 100% {opacity: 1;transform: translate3d(0,450rpx,0);}
- }
- .title{
- position: absolute;
- top: 30rpx;
- left: 50%;
- width: 600rpx;
- height: 200rpx;
- margin-left: -300rpx;
- opacity: 0;
- animation: show 2.5s cubic-bezier(0.19, 1, 0.22, 1) .5s forwards;
- }
- .smalltitle{
- position: absolute;
- top: 35rpx;
- left: 50%;
- width: 600rpx;
- height: 200rpx;
- margin-left: -300rpx;
- opacity: 0;
- animation: show 2.5s cubic-bezier(0.19, 1, 0.22, 1) .5s forwards;
- }
- @keyframes show{
- 0% {opacity: 0;}
- 100% {opacity: .95;}
- }
- .hd {
- position: absolute;
- top: 0;
- left: 50%;
- width: 1000rpx;
- margin-left: -500rpx;
- height: 200rpx;
- transition: all .35s ease;
- }
- .logo {
- position: absolute;
- z-index: 2;
- left: 50%;
- bottom: 200rpx;
- width: 160rpx;
- height: 160rpx;
- margin-left: -80rpx;
- border-radius: 160rpx;
- animation: sway 10s ease-in-out infinite;
- opacity: .95;
- }
- @keyframes sway{
- 0% {transform: translate3d(0,20rpx,0) rotate(-15deg); }
- 17% {transform: translate3d(0,0rpx,0) rotate(25deg); }
- 34% {transform: translate3d(0,-20rpx,0) rotate(-20deg); }
- 50% {transform: translate3d(0,-10rpx,0) rotate(15deg); }
- 67% {transform: translate3d(0,10rpx,0) rotate(-25deg); }
- 84% {transform: translate3d(0,15rpx,0) rotate(15deg); }
- 100% {transform: translate3d(0,20rpx,0) rotate(-15deg); }
- }
- .wave {
- position: absolute;
- z-index: 3;
- right: 0;
- bottom: 0;
- opacity: 0.5;
- height: 260rpx;
- width: 2250rpx;
- animation: wave 10s linear infinite;
- }
- .wave-bg {
- z-index: 1;
- animation: wave-bg 10.25s linear infinite;
- }
- @keyframes wave{
- from {transform: translate3d(125rpx,0,0);}
- to {transform: translate3d(1125rpx,0,0);}
- }
- @keyframes wave-bg{
- from {transform: translate3d(375rpx,0,0);}
- to {transform: translate3d(1375rpx,0,0);}
- }
- .bd {
- position: relative;
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: stretch;
- animation: bd-rise 2s cubic-bezier(0.23,1,0.32,1) .75s forwards;
- opacity: 0;
- }
- @keyframes bd-rise{
- from {opacity: 0; transform: translate3d(0,60rpx,0); }
- to {opacity: 1; transform: translate3d(0,0,0); }
- }
- .confirm-btn {
- font-size: 13pt;
- line-height: 85rpx;
- height: 85rpx;
- background: #2db7f5;
- color: #fff;
- width: 450rpx;
- text-align: center;
- border-radius: 50px;
- margin-top: 20% auto;
- }
- .confirm-btn:active {
- opacity: .8;
- }
- .wxInput{
- height: 2em;
- padding: 10rpx;
- margin: 20rpx 0;
- background-color: rgba(255,255,255,0.5);
- }
|