|
|
@ -72,13 +72,22 @@ 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 class="launchButtonText">'+_this.GOFLY_BTN_TEXT+'</div></div>' +
|
|
|
|
'<div id="launchButton" class="launchButton animateUpDown">' +
|
|
|
|
'<div class="launchButtonNotice">您好:<br/>极简强大的开源免费Go语言在线客服单页营销系统</div>' +
|
|
|
|
'<div id="launchIcon" class="launchIcon">1</div> ' +
|
|
|
|
|
|
|
|
'<div class="launchButtonText">'+_this.GOFLY_BTN_TEXT+'</div></div>' +
|
|
|
|
|
|
|
|
'<div id="launchButtonNotice" class="launchButtonNotice">您好:<br/>极简强大的开源免费Go语言在线客服单页营销系统,来了解一下?</div>' +
|
|
|
|
'</div>';
|
|
|
|
'</div>';
|
|
|
|
$('body').append(html);
|
|
|
|
$('body').append(html);
|
|
|
|
$("#launchButton").on("click",function() {
|
|
|
|
$("#launchButton").on("click",function() {
|
|
|
|
_this.showKefu();
|
|
|
|
_this.showKefu();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#launchButtonNotice").on("click",function() {
|
|
|
|
|
|
|
|
_this.showKefu();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
|
|
|
$("#launchButtonNotice").show();
|
|
|
|
|
|
|
|
$("#launchIcon").show();
|
|
|
|
|
|
|
|
},4000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
GOFLY.isIE=function(){
|
|
|
|
GOFLY.isIE=function(){
|
|
|
|
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
|
|
|
|
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
|
|
|
|