修改样式

pull/23/head
陶士涵 4 years ago
parent 87249900d0
commit 88495a1dce

@ -122,17 +122,20 @@
cursor: pointer; cursor: pointer;
} }
@-webkit-keyframes bounce-up { @-webkit-keyframes bounce-up {
25% {-webkit-transform: translateY(6px);} 25% {-webkit-transform: translateY(4px);}
50%, 100% {-webkit-transform: translateY(0);} 50%, 100% {-webkit-transform: translateY(0);}
75% {-webkit-transform: translateY(-6px);} 75% {-webkit-transform: translateY(-4px);}
} }
@keyframes bounce-up { @keyframes bounce-up {
25% {transform: translateY(6px);} 25% {transform: translateY(4px);}
50%, 100% {transform: translateY(0);} 50%, 100% {transform: translateY(0);}
75% {transform: translateY(-6px);} 75% {transform: translateY(-4px);}
}
.animateUpDown{
-webkit-animation: bounce-up 0.5s linear infinite;
animation: bounce-up 0.5s linear infinite;
} }
.animateUpDown{ -webkit-animation: bounce-up 1.4s linear infinite;animation: bounce-up 1.4s linear infinite;}
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.launchButtonBox{ .launchButtonBox{
width: 100%; width: 100%;

@ -92,8 +92,8 @@ GOFLY.dynamicLoadJs=function(url, callback){
GOFLY.clickBtn=function (){ GOFLY.clickBtn=function (){
var _this=this; var _this=this;
var html="<div class='launchButtonBox'>" + var html="<div class='launchButtonBox'>" +
'<div id="launchButton" class="launchButton animateUpDown">' + '<div id="launchButton" class="launchButton">' +
'<div id="launchIcon" class="launchIcon">1</div> ' + '<div id="launchIcon" class="launchIcon animateUpDown">1</div> ' +
'<div class="launchButtonText">'+_this.GOFLY_BTN_TEXT+'</div></div>' + '<div class="launchButtonText">'+_this.GOFLY_BTN_TEXT+'</div></div>' +
'<div id="launchButtonNotice" class="launchButtonNotice">您好:<br/>极简强大的开源免费Go语言在线客服单页营销系统来了解一下</div>' + '<div id="launchButtonNotice" class="launchButtonNotice">您好:<br/>极简强大的开源免费Go语言在线客服单页营销系统来了解一下</div>' +
'</div>'; '</div>';

Loading…
Cancel
Save