|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
|
<title>{{.Title}}</title>
|
|
|
|
|
<meta name="keywords" content="{{.Keywords}}" />
|
|
|
|
|
<meta name="description" content="{{.Desc}}" />
|
|
|
|
|
|
|
|
|
|
{{.CssJs}}
|
|
|
|
|
</head>
|
|
|
|
|
<header class="header">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<h1><a href="/index">GO-FLY</a></h1>
|
|
|
|
|
<a class="navBtn" href="/index/en">English (United States)</a>
|
|
|
|
|
<a class="navBtn" href="/index/cn">中文版 (简体)</a>
|
|
|
|
|
<a class="navBtn" href="https://github.com/taoshihan1991/go-fly" target="_blank">Github</a>
|
|
|
|
|
<a class="navBtn" href="/login">{{.AgentBtn}}</a>
|
|
|
|
|
<a class="navBtn" href="/docs/index.html" target="_blank">{{.Document}}</a>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
{{.Content}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="copyright">
|
|
|
|
|
{{.Copyright}}© 2020
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
<!--对接客服代码-->
|
|
|
|
|
<script>
|
|
|
|
|
var GOFLY_URL="";
|
|
|
|
|
var GOFLY_KEFU_ID="kefu2";
|
|
|
|
|
var GOFLY_BTN_TEXT="Chat with me";
|
|
|
|
|
</script>
|
|
|
|
|
<script src="/static/js/gofly-front.js"></script>
|
|
|
|
|
<!--//对接客服代码-->
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
if (launchButtonFlag) return;
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|
title: "Chat with me",
|
|
|
|
|
closeBtn: 1, //不显示关闭按钮
|
|
|
|
|
shade: [0],
|
|
|
|
|
area: ['510px', '520px'],
|
|
|
|
|
offset: 'rb', //右下角弹出
|
|
|
|
|
anim: 2,
|
|
|
|
|
content: ['/chatIndex?kefu_id='+GOFLY_KEFU_ID+'&refer='+window.document.title, 'no'], //iframe的url,no代表不显示滚动条
|
|
|
|
|
end: function(){
|
|
|
|
|
launchButtonFlag=false;
|
|
|
|
|
$(".launchButton").show();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
launchButtonFlag=true;
|
|
|
|
|
$(".launchButton").hide();
|
|
|
|
|
},8000);
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</html>
|