样式问题

pull/23/head
陶士涵 5 years ago
parent d155487d7c
commit bbf70f5f62

@ -19,10 +19,10 @@
<!--对接客服代码--> <!--对接客服代码-->
<script src="/static/js/gofly-front.js"></script> <script src="/static/js/gofly-front.js?v=1"></script>
<script> <script>
GOFLY.init({ GOFLY.init({
GOFLY_URL:"http://127.0.0.1:8081", GOFLY_URL:"https://gofly.sopans.com",
GOFLY_KEFU_ID: "kefu2", GOFLY_KEFU_ID: "kefu2",
GOFLY_BTN_TEXT: "{{.OnlineChat}}" GOFLY_BTN_TEXT: "{{.OnlineChat}}"
}) })

@ -20,7 +20,7 @@ GOFLY.init=function(config){
if (typeof config.GOFLY_BTN_TEXT!="undefined"){ if (typeof config.GOFLY_BTN_TEXT!="undefined"){
this.GOFLY_BTN_TEXT=config.GOFLY_BTN_TEXT; this.GOFLY_BTN_TEXT=config.GOFLY_BTN_TEXT;
} }
this.dynamicLoadCss(this.GOFLY_URL+"/static/css/gofly-front.css"); this.dynamicLoadCss(this.GOFLY_URL+"/static/css/gofly-front.css?v=1");
var _this=this; var _this=this;
if (typeof $!="function"){ if (typeof $!="function"){
this.dynamicLoadJs("https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js",function () { this.dynamicLoadJs("https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js",function () {

Loading…
Cancel
Save