diff --git a/static/css/gofly-front.css b/static/css/gofly-front.css index 8c776f1..17d951e 100644 --- a/static/css/gofly-front.css +++ b/static/css/gofly-front.css @@ -1,8 +1,26 @@ -.launchButton{ +.launchButtonBox{ position: fixed!important; - bottom: 100px!important; + bottom: 120px!important; right: 20px!important; left: auto!important; +} +.launchButtonNotice{ + padding: 10px; + margin: 0 auto; + display: block; + clear: both; + margin-top: 15px!important; + border-radius: 4px; + background-color: #fff; + overflow: hidden; + cursor: pointer; + box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 2px 32px rgba(0,0,0,.16); + position: absolute; + color: #222; + line-height: 1.5; + font-size: 14px; +} +.launchButton{ height: 48px!important; width: auto!important; z-index: 10000000000000!important; diff --git a/static/html/index.html b/static/html/index.html index 293598e..1efd3cf 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -22,7 +22,7 @@ - diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index 805bec5..b88568d 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -71,7 +71,11 @@ GOFLY.dynamicLoadJs=function(url, callback){ GOFLY.clickBtn=function (){ var _this=this; - $('body').append('
'+_this.GOFLY_BTN_TEXT+'
'); + var html="
" + + '
'+_this.GOFLY_BTN_TEXT+'
' + + '
您好:
极简强大的开源免费Go语言在线客服单页营销系统
' + + '
'; + $('body').append(html); $("#launchButton").on("click",function() { _this.showKefu(); });