Merge pull request"更新注释文档"(#11) from feature/wy into develop
parent
db8aaf463e
commit
e8b4b16459
@ -1 +1,52 @@
|
||||
#preloadingAnimation{position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;z-index: 9999;overflow: hidden}.lds-roller{display:inline-block;position:relative;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;}.lds-roller div{animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;transform-origin:32px 32px;}.lds-roller div:after{content:" ";display:block;position:absolute;width:6px;height:6px;border-radius:50%;background:#13c2c2;margin:-3px 0 0 -3px;}.lds-roller div:nth-child(1){animation-delay:-0.036s;}.lds-roller div:nth-child(1):after{top:50px;left:50px;}.lds-roller div:nth-child(2){animation-delay:-0.072s;}.lds-roller div:nth-child(2):after{top:54px;left:45px;}.lds-roller div:nth-child(3){animation-delay:-0.108s;}.lds-roller div:nth-child(3):after{top:57px;left:39px;}.lds-roller div:nth-child(4){animation-delay:-0.144s;}.lds-roller div:nth-child(4):after{top:58px;left:32px;}.lds-roller div:nth-child(5){animation-delay:-0.18s;}.lds-roller div:nth-child(5):after{top:57px;left:25px;}.lds-roller div:nth-child(6){animation-delay:-0.216s;}.lds-roller div:nth-child(6):after{top:54px;left:19px;}.lds-roller div:nth-child(7){animation-delay:-0.252s;}.lds-roller div:nth-child(7):after{top:50px;left:14px;}.lds-roller div:nth-child(8){animation-delay:-0.288s;}.lds-roller div:nth-child(8):after{top:45px;left:10px;}#preloadingAnimation .load-tips{color: #13c2c2;font-size:2rem;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin-top:80px;text-align:center;width:400px;height:64px;} @keyframes lds-roller{0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);}}
|
||||
#preloadingAnimation{
|
||||
position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;
|
||||
z-index: 9999;overflow: hidden}
|
||||
.lds-roller{
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);
|
||||
width:64px;
|
||||
height:64px;
|
||||
}
|
||||
.lds-roller div{
|
||||
animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;
|
||||
transform-origin:32px 32px;
|
||||
}
|
||||
.lds-roller div:after{
|
||||
content:" ";
|
||||
display:block;
|
||||
position:absolute;
|
||||
width:6px;
|
||||
height:6px;
|
||||
border-radius:50%;
|
||||
background:#13c2c2;
|
||||
margin:-3px 0 0 -3px;
|
||||
}
|
||||
.lds-roller div:nth-child(1){animation-delay:-0.036s;}
|
||||
.lds-roller div:nth-child(1):after{top:50px;left:50px;}
|
||||
.lds-roller div:nth-child(2){animation-delay:-0.072s;}
|
||||
.lds-roller div:nth-child(2):after{top:54px;left:45px;}
|
||||
.lds-roller div:nth-child(3){animation-delay:-0.108s;}
|
||||
.lds-roller div:nth-child(3):after{top:57px;left:39px;}
|
||||
.lds-roller div:nth-child(4){animation-delay:-0.144s;}
|
||||
.lds-roller div:nth-child(4):after{top:58px;left:32px;}
|
||||
.lds-roller div:nth-child(5){animation-delay:-0.18s;}
|
||||
.lds-roller div:nth-child(5):after{top:57px;left:25px;}
|
||||
.lds-roller div:nth-child(6){animation-delay:-0.216s;}
|
||||
.lds-roller div:nth-child(6):after{top:54px;left:19px;}
|
||||
.lds-roller div:nth-child(7){animation-delay:-0.252s;}
|
||||
.lds-roller div:nth-child(7):after{top:50px;left:14px;}
|
||||
.lds-roller div:nth-child(8){animation-delay:-0.288s;}
|
||||
.lds-roller div:nth-child(8):after{top:45px;left:10px;}
|
||||
#preloadingAnimation .load-tips{
|
||||
color: #13c2c2;
|
||||
font-size:2rem;
|
||||
position:absolute;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);margin-top:80px;
|
||||
text-align:center;width:400px;height:64px;}
|
||||
@keyframes lds-roller{0%{transform:rotate(0deg);}
|
||||
100%{transform:rotate(360deg);}}
|
@ -1 +1,27 @@
|
||||
<div id="preloadingAnimation"><div class=lds-roller><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><div class=load-tips>Loading</div></div>
|
||||
<div id="preloadingAnimation"><div class=lds-roller><div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class=load-tips>Loading</div>
|
||||
</div>
|
@ -1,5 +1,31 @@
|
||||
/**
|
||||
* 预加载动画
|
||||
*/
|
||||
<div class="preloading-animate">
|
||||
<!--预加载的包装容器 -->
|
||||
<div class="preloading-wrapper">
|
||||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
<svg class="preloading-balls"
|
||||
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
||||
<circle cx="67.802" cy="59.907" r="6" fill="#51CACC">
|
||||
<animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
<circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77">
|
||||
<animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
<circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
@ -1 +1,20 @@
|
||||
.preloading-animate{background:#ffffff;width:100%;height:100%;position:fixed;left:0;top:0;z-index:299;}.preloading-animate .preloading-wrapper{position:absolute;width:5rem;height:5rem;left:50%;top:50%;transform:translate(-50%,-50%);}.preloading-animate .preloading-wrapper .preloading-balls{font-size:5rem;}
|
||||
.preloading-animate{
|
||||
background:#ffffff;
|
||||
width:100%;
|
||||
height:100%;
|
||||
position:fixed;
|
||||
left:0;
|
||||
top:0;
|
||||
z-index:299;
|
||||
}
|
||||
.preloading-animate .preloading-wrapper{
|
||||
position:absolute;
|
||||
width:5rem;
|
||||
height:5rem;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);
|
||||
}
|
||||
.preloading-animate .preloading-wrapper .preloading-balls{
|
||||
font-size:5rem;
|
||||
}
|
Loading…
Reference in new issue