ITPub博客

首页 > IT职业 > IT图书 > 带微信二维码的QQ客服代码

带微信二维码的QQ客服代码

IT图书 作者:chunzhisu 时间:2014-08-28 10:45:57 0 删除 编辑

点击(此处)折叠或打开

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset=\"UTF-8\" />
  5. <title>潜水曝气机</title>
  6. <style>
  7. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0 }
  8. body, button, input, select, textarea { font:12px Arial, Helvetica, sans-serif }
  9. h1, h2, h3, h4, h5, h6 { font-size:100%; color:#333; font-family:\'微软雅黑\', \'YaHei\', \'黑体\', \'Hei\', Tahoma, Helvetica, arial, sans-serif; }
  10. address, cite, dfn, em, var { font-style:normal }
  11. code, kbd, pre, samp { font-family:courier new, courier, monospace }
  12. small { font-size:12px }
  13. ul, ol, li { list-style:none }
  14. a { color:#ff6e03; text-decoration:none }
  15. a:hover { text-decoration:underline; }
  16. sup { vertical-align:text-top }
  17. sub { vertical-align:text-bottom }
  18. legend { color:#000 }
  19. fieldset, img { border:0 }
  20. button, input, select, textarea { font-size:100%; vertical-align:middle; }
  21. select{padding:2px;border:1px solid #ddd; -moz-border-radius:3px; -khtml-border-radius:3px; -webkit-border-radius:3px; border-radius:3px }
  22. table { border-collapse:collapse; border-spacing:0 }
  23. img { vertical-align:top; display:inline-block; background-color:none;}
  24. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { display:block; margin:0; padding:0 }
  25. mark { background:#ff0 }
  26. object, embed { outline:0 }
  27. p { line-height:1.6; color:#aaa }
  28. .mt10 { margin-top:10px }
  29. .fs14 { font-size:14px }

  30. .service_box{ position:fixed; z-index:1000;right:-147px;top:50%;margin-top:-100px;width:146px;border:1px solid #ece8e5; background:#fff; }
  31. .service_box .tab_nav{ position:absolute;left:-42px;top:-1px;}
  32. .service_box .tab_nav > li {background:#ece8e5;border-bottom:1px solid #dfdbd9;}
  33. .service_box .tab_nav > li.active{ background:#ff6b09;}
  34. .service_box .tab_nav > li:first-child{border-radius:8px 0 0;}
  35. .service_box .tab_nav > li:last-child{ border-bottom:none; border-radius:0 0 0 8px;}
  36. .service_box .tab_nav > li > a{ display:block; width:28px;padding:12px 6px 12px 8px; line-height:14px; text-align:center;color:#2c2c2c; text-decoration:none;}
  37. .service_box .tab_nav > li.active > a{ color:#fff;}
  38. .service_box .tab_nav .icon{ display:block; height:28px;width:28px; background:url(/images/bg_online_service_new.gif) no-repeat; overflow:hidden;margin:3px 0;*margin:6px 0;}
  39. .service_box .tab_nav .icon_1{ background-position:0 0 ;}
  40. .service_box .tab_nav .icon_2{ background-position:-28px 0 ;}
  41. .service_box .tab_nav .icon_3{ background-position:-56px 0 ;}
  42. .service_box .tab_nav .active .icon_1{ background-position:0 -28px ;}
  43. .service_box .tab_nav .active .icon_2{ background-position:-28px -28px ;}
  44. .service_box .tab_nav .active .icon_3{ background-position:-56px -28px ;}
  45. .service_box .tab_content{padding:20px 5px 10px; position:relative;}
  46. .service_box .tab_plan{ display:none; text-align:center;}
  47. .service_box .tab_plan p{color:#333;}</style>
  48. <script type=\"text/javascript\" src=\"/js/jquery-1.7.2.min.js\"></script>
  49. </head>
  50. <body>
  51. <div class=\"service_box\">
  52.   <ul class=\"tab_nav\">
  53.     <li><a href=\"http://sc.admin5.com\"><i class=\"icon icon_1\"></i>在线客服</a></li>
  54.     <li><a href=\"http://sc.admin5.com\"><i class=\"icon icon_3\"></i></a></li>
  55.   </ul>
  56.   <div class=\"tab_content\">
  57.     <div class=\"tab_plan\">
  58.       <p class=\"fs14\">在线客服1:<br />
  59.         <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes\" class=\"qq_link\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:2833026848:51\" alt=\"点击这里给我发消息\" title=\"点击这里给我发消息\"></a></p>
  60.       <p class=\"fs14 mt10\">在线客服2:<br />
  61.         <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes\" class=\"qq_link\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:123456789:51\" alt=\"点击这里给我发消息\" title=\"点击这里给我发消息\"></a></p>
  62.       <p class=\"fs14 mt10\">商务客服:<br />
  63.         <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes\" class=\"qq_link\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:2833026848:51\" alt=\"点击这里给我发消息\" title=\"点击这里给我发消息\"></a></p>
  64.       <p class=\"mt10\">服务时间:<br />
  65.         9:00-18:00(工作日)<br />
  66.       </p>
  67.     </div>
  68.     <div class=\"tab_plan\" style=\"display: none;\"><img src=\"/images/weixin.jpg\" alt=\"官方微信自助客服\" width=\"130\" height=\"130\">
  69.       <p>扫一扫关注站长素材</p>
  70.     </div>
  71.   </div>
  72. </div>
  73. <script type=\"text/javascript\">
  74. $(\".service_box .tab_nav li\").hover(function(){
  75.     var i=$(this).index();
  76.     $(this).addClass(\"active\").siblings().removeClass(\"active\");
  77.     $(\".service_box .tab_plan:eq(\"+i+\")\").show().siblings().hide();
  78. });
  79. $(function(){
  80.     var t;
  81.     $(\".service_box\").hover(function(){
  82.         $(\".service_box\").animate({right:0},300)
  83.         clearTimeout(t);
  84.     },function(){
  85.         t=setTimeout(function(e){
  86.             $(\".service_box\").animate({right:\"-146px\"},300);
  87.             $(\".service_box\").find(\".tab_nav li\").removeClass(\"active\");
  88.         },1000);
  89.     });
  90. });
  91. var isTransition=true;
  92. $(\".m_logo\").hover(function(){
  93.     var r=0;
  94.     if(isTransition){
  95.         animateTime = setInterval(function(){
  96.             if (r>=153){
  97.                 clearInterval(animateTime);
  98.                 isTransition=true;
  99.             }else{
  100.                 isTransition=false;
  101.                 r++;
  102.                 $(\".m_logo a\").attr(\"style\",\"-webkit-mask:-webkit-gradient(radial, 45 25, \"+r+\", 45 25, \"+(r+15)+\", from(rgb(0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.2)), to(rgb(0, 0, 0)));\")
  103.             };
  104.         },5);
  105.     }
  106. },function(){
  107.     return;
  108. });
  109.  
  110. </script>
  111. <!--[if lt IE 7]>

  112. <div style=\"text-align:center;margin:50px 0; font:normal 14px/24px \'MicroSoft YaHei\';\">
  113. </div>
  114. <p>如果出现网页错误看不到效果,请刷新网页.在你实际使用时不会出现这样的情况!</p>
  115. </body>
  116. </html>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29737856/viewspace-1259379/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-07-04

  • 博文量
    95
  • 访问量
    122215