pull/23/head
taoshihan1991 4 years ago
parent 399ae8e8c8
commit 773eea73eb

@ -103,6 +103,7 @@
height: 32px; height: 32px;
overflow: hidden; overflow: hidden;
line-height: 32px; line-height: 32px;
margin-bottom: 4px;
} }
@-webkit-keyframes bounce-up { @-webkit-keyframes bounce-up {
25% {-webkit-transform: translateY(6px);} 25% {-webkit-transform: translateY(6px);}

@ -108,9 +108,6 @@ GOFLY.getNotice=function(){
if(len>0){ if(len>0){
_this.noticeTimer=setInterval(function(){ _this.noticeTimer=setInterval(function(){
if(i==0){
$("#launchIcon").text(len).show();
}
if(i>=len||typeof msg[i]=="undefined"||msg[i]==null){ if(i>=len||typeof msg[i]=="undefined"||msg[i]==null){
clearInterval(_this.noticeTimer); clearInterval(_this.noticeTimer);
return; return;
@ -123,6 +120,7 @@ GOFLY.getNotice=function(){
welcomeHtml+="<div>"+replaceContent(content.content,_this.GOFLY_URL)+"</div>"; welcomeHtml+="<div>"+replaceContent(content.content,_this.GOFLY_URL)+"</div>";
$("#launchButtonNotice").html(welcomeHtml).show(); $("#launchButtonNotice").html(welcomeHtml).show();
i++; i++;
$("#launchIcon").text(i).show();
},4000); },4000);
} }

Loading…
Cancel
Save