2019-07-24 15:52:07 +08:00

79 lines
5.2 KiB
Plaintext

/* components/welcome/welcome.wxss */
page {
background: #001739;
position: relative;
height:100%;
}
.bg {
position: fixed;
top:0;
left:0;
z-index: -100;
height:100%;
width:100%;
}
.main-page {
width:100%;
height:auto;
padding-left:20rpx;
padding-right:20rpx;
padding-top: 400rpx;
color:#fff;
position: absolute;
bottom:80rpx;
left:70rpx;
}
.welcome {
font-size: 80rpx;
margin-top:20rpx;
position: relative;
height: 100rpx;
}
.userAvatar-box {
height:200rpx;
width:200rpx;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
}
.loading {
position: absolute;
bottom: 20rpx;
right:100rpx;
display: inline-block;
width: 150rpx;
height: 150rpx;
background-image: url("data:image/svg+xml, %3Csvg class='lds-gooeyring' width='80' height='80' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' style='animation-play-state:running;animation-delay:0s;background:0 0'%3E%3Cdefs style='animation-play-state:running;animation-delay:0s'%3E%3Cfilter id='a' x='-100%25' y='-100%25' width='300%25' height='300%25' color-interpolation-filters='sRGB' style='animation-play-state:running;animation-delay:0s'%3E%3CfeGaussianBlur in='SourceGraphic' stdDeviation='4' style='animation-play-state:running;animation-delay:0s'/%3E%3CfeComponentTransfer result='cutoff' style='animation-play-state:running;animation-delay:0s'%3E%3CfeFuncA type='linear' slope='10' intercept='-5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23a)' style='animation-play-state:running;animation-delay:0s' transform='translate(50 50)'%3E%3Cg transform='rotate(258)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='10.533' fill='%23fcb711' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='4s' repeatCount='indefinite' begin='-4s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='4s' repeatCount='indefinite' begin='0s'/%3E%3C/g%3E%3Cg transform='rotate(276)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='7.6' fill='%23f37021' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='2s' repeatCount='indefinite' begin='-3.3333333333333335s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='2s' repeatCount='indefinite' begin='-0.6666666666666666s'/%3E%3C/g%3E%3Cg transform='rotate(54)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='8.4' fill='%23cc004c' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='1.3333333333333333s' repeatCount='indefinite' begin='-2.6666666666666665s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='1.3333333333333333s' repeatCount='indefinite' begin='-1.3333333333333333s'/%3E%3C/g%3E%3Cg transform='rotate(312)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='8.133' fill='%236460aa' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='1s' repeatCount='indefinite' begin='-2s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='1s' repeatCount='indefinite' begin='-2s'/%3E%3C/g%3E%3Cg transform='rotate(330)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='10' fill='%230089d0' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='0.8s' repeatCount='indefinite' begin='-1.3333333333333333s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='0.8s' repeatCount='indefinite' begin='-2.6666666666666665s'/%3E%3C/g%3E%3Cg transform='rotate(108)' style='animation-play-state:running;animation-delay:0s'%3E%3Ccircle cx='25' r='10.8' fill='%230db14b' style='animation-play-state:running;animation-delay:0s'%3E%3Canimate attributeName='r' keyTimes='0;0.5;1' values='6;14;6' dur='0.6666666666666666s' repeatCount='indefinite' begin='-0.6666666666666666s'/%3E%3C/circle%3E%3CanimateTransform attributeName='transform' type='rotate' keyTimes='0;1' values='0;360' dur='0.6666666666666666s' repeatCount='indefinite' begin='-3.3333333333333335s'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-size: 100% 100%;
}
.get-info {
position: absolute;
bottom: 20rpx;
right:100rpx;
display: inline-block;
width: 150rpx;
height: 150rpx;
color: #fff;
background: #ff365f;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.get-info text {
font-size: 70rpx;
transform-origin:50% 50%;
transform: rotate(180deg);
}