diff --git a/static/html/chat_web.css b/static/html/chat_web.css deleted file mode 100644 index 901f6d5..0000000 --- a/static/html/chat_web.css +++ /dev/null @@ -1,5 +0,0 @@ -.chatBtn{ - position: fixed; - right: 10px; - bottom: 10px; -} diff --git a/static/html/chat_web.js b/static/html/chat_web.js deleted file mode 100644 index 96f30fa..0000000 --- a/static/html/chat_web.js +++ /dev/null @@ -1,54 +0,0 @@ -var loadJs=function(url,callback){ - var script = document.createElement('script'), fn = callback || function(){}; - script.type = 'text/javascript'; - if(script.readyState){ - script.onreadystatechange = function(){ - if( script.readyState == 'loaded' || script.readyState == 'complete' ){ - script.onreadystatechange = null; - fn(); - } - }; - }else{ - script.onload = function(){ - fn(); - }; - } - script.src = url; - document.getElementsByTagName('head')[0].appendChild(script); -}; -loadJs("https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js",function(){ - loadJs("https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/layer.min.js" ,function () { - $(function () { - var goflyKefuId=""; - if(typeof GOFLY_KEFU_ID!="undefined"){ - var goflyKefuId=GOFLY_KEFU_ID; - } - - var div =document.createElement('div'); - div.id ='goflyKefu'; - div.className +='goflyKefu'; - document.body.appendChild(div); - var w =document.getElementById('goflyKefu'); - w.innerHTML='