You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/static/templates/setting_deploy.html

45 lines
1.7 KiB

{{template "header" }}
<div id="app" style="width:100%">
<template>
<el-container>
<el-main class="mainMain">
<el-tabs>
<el-tab-pane label="默认JS模式">
4 years ago
<el-alert
:closable="false"
title="例如: 服务器搭建完成后可以把域名替换为自己的IP或域名 , GOFLY_KEFU_ID为自己添加的客服名称"
type="success"
effect="dark">
</el-alert>
<textarea style="width:100%;color:green;margin-top:10px;font-size:12px;height:290px;">
3 years ago
<script src="https://自己域名/static/js/gofly-front.js"></script>
<script>
4 years ago
GOFLY.init({
3 years ago
GOFLY_URL:"https://自己域名",
GOFLY_KEFU_ID: "kefu1",
4 years ago
GOFLY_BTN_TEXT: "客服在线 欢迎咨询",
GOFLY_LANG:"cn"
4 years ago
})
</script>
</textarea>
</el-tab-pane>
<el-tab-pane label="超链接模式">
4 years ago
<el-alert
:closable="false"
title="例如: 服务器搭建完成后可以把域名替换为自己的IP或域名 , GOFLY_KEFU_ID为自己添加的客服名称"
type="success"
effect="dark">
</el-alert>
3 years ago
<el-input style="margin-top:10px;" value="https://自己域名/chatIndex?kefu_id=kefu1"></el-input>
</el-tab-pane>
</el-tabs>
</el-main>
</el-container>
</template>
</div>
</body>
{{template "setting_bottom" .}}