自动弹出并隐藏

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

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

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

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

Loading…
Cancel
Save