自动弹出并隐藏

pull/23/head
陶士涵 3 years ago
parent df8ed52cf2
commit 9504f5b3ae

@ -127,6 +127,9 @@
line-height: 30px;
cursor: pointer;
}
#layui-layer1{
display: none;
}
@-webkit-keyframes bounce-up {
25% {-webkit-transform: translateY(4px);}
50%, 100% {-webkit-transform: translateY(0);}

@ -19,13 +19,14 @@
<!--对接客服代码,安装完成后更改成自己的域名或IP下面js文件路径以及GOFLY_URL都要改-->
<script src="/static/js/gofly-front.js?v=1"></script>
<script src="https://gofly.sopans.com/static/js/gofly-front.js?v=1"></script>
<script>
GOFLY.init({
GOFLY_URL:"",
GOFLY_URL:"https://gofly.sopans.com",
GOFLY_KEFU_ID: "kefu2",
GOFLY_BTN_TEXT: "{{.OnlineChat}}",
GOFLY_LANG:"{{.Lang}}",
GOFLY_AUTO_OPEN:true,
})
</script>
<!--//对接客服代码-->

@ -112,6 +112,8 @@ GOFLY.clickBtn=function (){
});
if(this.GOFLY_AUTO_OPEN){
_this.showKefu();
$(".launchButtonBox").show();
this.launchButtonFlag=false;
}
$("body").on("click","#launchNoticeClose",function() {
$("#launchButtonNotice").hide();

Loading…
Cancel
Save