咨询栏目编写,自己留做备份用
<div id="chat"> <div class="chat-top"> 考试指导中心<br> <span>咨询热线:4006-255-668</span> </div> <div class="chat-top2"> <img src="http://www.ysedu.com/img/ysedu_chat_qun.png" alt=""> </div> <div class="chat-middle"> <ul> <li><a onclick="free_tel(0,2);return false;" style="cursor:pointer;">预约试听课程</a> <a onclick="free_tel(0,2);return false;" style="cursor:pointer;">立即预约</a></li> <li><a onclick="free_tel(1,2);return false;" style="cursor:pointer;">笔试高效课程</a> <a onclick="free_tel(1,2);return false;" style="cursor:pointer;">立即试听</a></li> <li><a onclick="openZoosUrl();return false;" style="cursor:pointer;">2019报名入口</a> <a onclick="openZoosUrl();return false;" style="cursor:pointer;">立即查看</a></li> <li><a onclick="free_tel(2,2);return false;" style="cursor:pointer;">考前飙分试卷</a> <a onclick="free_tel(2,2);return false;" style="cursor:pointer;">立即领取</a></li> <li><a onclick="free_tel(3,2);return false;" style="cursor:pointer;">面试提分教案</a> <a onclick="free_tel(3,2);return false;" style="cursor:pointer;">立即领取</a></li> <li><a onclick="openZoosUrl();return false;" style="cursor:pointer;">冲刺提分教案</a> <a onclick="openZoosUrl();return false;" style="cursor:pointer;">立即冲刺</a></li> <li><a onclick="openZoosUrl();return false;" style="cursor:pointer;">成功学员榜单</a> <a onclick="openZoosUrl();return false;" style="cursor:pointer;">立即查看</a></li> </ul> </div> <div class="chat-bottom"> <div>备考群号:708019502 <hr></div> <div>加入备考群随时为您<br>答疑解惑</div> </div> <div class="close">×</div> </div> <style> body,html,ul,li,img,p,h5,h6,span,input,form,button,h1,h2,h3,h4{margin:0;padding:0;border:0;} html body{overflow-x:hidden;} img{border:0;vertical-align: middle;} ul,li{list-style:none;} div,table{margin:0 auto;padding:0;} .clear{clear:both;} .dn{display:none;} body{min-width:1200px;font-family:"微软雅黑";} a,a:hover,a:link,a:visited,a:active{text-decoration:none;} #chat{ position: fixed; top: 10%; left: 10px; width: 153px; height: 603px; background: url(http://www.ysedu.com/img/ysedu_chat_bg_head.png) no-repeat center top; z-index: 999999; } #chat .chat-top{ width: 153px; height: 47px; box-sizing: border-box; margin-top: 106px; font-size: 18px; color: #fff; text-align: center; line-height: 18px; padding-top:5px; } #chat .chat-top span{ color: #fff; font-size: 12px; } #chat .chat-top2{ box-sizing: border-box; width: 153px; height: 130px; text-align: center; padding: 20px 0 8px; background-color: #35096b; } #chat .chat-middle{ width: 153px; background-color: #35096b; } #chat .chat-middle ul{ list-style: none; -webkit-margin-before: 0em; -webkit-margin-after: 0em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; -webkit-padding-start: 0px; } #chat .chat-middle li{ height: 35px; background: url(http://www.ysedu.com/img/ysedu_chat_line.png) no-repeat center bottom; text-align: center; line-height: 35px; clear: both; } #chat .chat-middle li a{ color: #fff; font-size: 13px; text-decoration: none; } #chat .chat-middle li a:first-of-type:hover{ color: #fffc03; } #chat .chat-middle li a:last-of-type{ display: inline-block; width: 53px; height: 18px; background-color: #f90300; float: right; clear: both; border-radius: 3px; line-height: 18px; font-size: 12px; margin: 10px 6px 0 0; } #chat .chat-middle li a:last-of-type:hover{ background-color: #e65f16; } #chat .chat-bottom{ box-sizing: border-box; width: 153px; padding: 10px; background-color: #35096b; } #chat .chat-bottom div{ width: 133px; font-size: 12px; line-height: 18px; background-color: #ffde43; text-align: center; padding: 4px 0; } #chat .chat-bottom div hr{ border: none; padding: 0; margin: 0 auto; border: 1px solid #b69911; width: 90%; position: relative; top: 4px; } #chat .close{ font-size: 20px; color: #ddd; position: absolute; top: 0; right: 0; cursor: pointer; font-weight: bold; } #chat .close:hover{ color: #fff; } </style> <script> $("#chat .close").click(function(){ $("#chat").hide(); }); </script> <!--引用公共套电样式表--> <?php include_once(PATH_TPL . '/share/telephone/tpl.input-one.phtml') ?>
用做咨询