kefu/static/templates/official/head.html

71 lines
2.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{define "head"}}
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css?v=0.5.5" />
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap-icons.css?v=0.5.5" />
<link rel="stylesheet" type="text/css" href="/static/css/official.css?v=qljsyirh2jksd" />
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/cdn/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/js/jquery.easing.min.js"></script>
<script src="/static/js/functions.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?82938760e00806c6c57adee91f39aa5e";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!--对接客服代码,安装完成后更改成自己的域名或IP下面js文件路径以及GOFLY_URL都要改-->
<script src="https://gofly.v1kf.com/static/js/kefu-front.js?v=1"></script>
<script>
let autoOpen=true;
if(location.href.indexOf("article")>=0){
autoOpen=false;
}
KEFU.init({
KEFU_URL:"https://gofly.v1kf.com",
KEFU_KEFU_ID: "taoshihan",
KEFU_ENT: "5",
KEFU_LANG:"cn",
KEFU_AUTO_OPEN:autoOpen,
KEFU_SHOW_TYPES:1,
KEFU_EXTRA:{
"visitorProduct": {
"title": "网站客服系统/在线客服系统【客服】H5/APP/公众号/小程序/商城多用户客服系统",
"price": "¥20000",
"img": "https://goflychat.oss-cn-hangzhou.aliyuncs.com/static/upload/2023February/c76a894efdf7a43f2644ea1906366903.jpg",
"url": "https://gofly.v1kf.com"
}
}
});
</script>
<!--//对接客服代码-->
<link rel="shortcut icon" href="static/images/favicon.ico"/>
<!--导航部分-->
<script>
$(function(){
$(window).scroll(function(){
var m = $(document).scrollTop();
if(m>100){
$(".v1Header").addClass("v1HeaderBg");
}else{
$(".v1Header").removeClass("v1HeaderBg");
}
});
$(".menuico").click(function(){
var menu=$('.v1Menu');
if (menu.hasClass('visible')) {
menu.removeClass('visible');
$(this).removeClass("collapsed");
} else {
menu.addClass('visible');
$(this).addClass("collapsed");
}
});
})
</script>
<!--//导航部分-->
{{ end }}