jquery实现网站右侧悬浮客服qq咨询电话二维码效果代码

代码语言:html

所属分类:布局界面

代码描述:jquery实现网站右侧悬浮客服qq咨询电话二维码效果代码

代码标签: jquery 网站 右侧 悬浮 客服 qq 咨询 电话 二维码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">

    <style>
        /*reset*/
    html, body, h1, h2, h3, h4, h5, h6, div, dl, dt, dd, ul, ol, li, p, blockquote, pre, hr, figure, table, caption, th, td, form, fieldset, legend, input, button, textarea, menu{
        margin:0;
        padding:0;
    }
    body{position:relative;font-size:14px;background-color:white;overflow:auto;}
    body, button, input, keygen, legend, select, textarea{
        font-family:"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
        font-weight:400;
        color:#333;
        outline:0;
        speak:none;
        -webkit-font-feature-settings:normal;
        -moz-font-feature-settings:normal;
        font-feature-settings:normal;
        font-variant:normal;
        text-transform:none;
        -webkit-font-smoothing:antialiased;
        -moz-osx-font-smoothing:grayscale;
    }
    h1, h2, h3, h4, h5, h6{font-weight:400;}
    li{list-style:none;}
    html, body, fieldset, img, iframe, abbr{border:0;}
    img{vertical-align:top;}
    a, button{cursor:pointer;}
    a{color:#333;outline:none;text-decoration:none;}
    a:focus{ color:#333;
         outline:none; 
         -moz-outline:none;
    }  
    
    
    /*common*/
    body{background:#F4F5F9;}
    a:hover{color:#fc8080;text-decoration:none;}
    a:-webkit-any-link{text-decoration:none;}
    .container{width:1200px;margin:0 auto;padding:0;}
    .container:after{content:"";display:block;clear:both;}
    .clearfix:after{content:"";display:block;clear:both;}
    .fl{float:left;}
    .fr{float:right;}
    .tl{text-align:left;}
    .tr{text-align:right;}
    .tc{text-align:center;}
    .color-white{color:white!important;}
    .red{color:#fc8080!important;}
    .fz12{font-size:12px;}
    .fz14{font-size:14px;}
    .wfs{width:100%;position:relative;}
    .p_r{position:relative;}
    
    
    /*悬浮链接*/
    .suspension{position:fixed;z-index:55;right:0;bottom:85px;width:70px;height:240px;}
    .suspension-box{position:relative;float:right;}
    .suspension .a{display:block;width:44px;height:44px;background-color:#353535;margin-bottom:4px;cursor:pointer;outline:none;}
    .suspension .a.active,
    .suspension .a:hover{background:#F05352;}
    .suspension .a .i{float:left;width:44px;height:44px;background-image:url(//repo.bfw.wiki/bfwrepo/images/kefu/side_icon.png);background-repeat:no-repeat;}
    /* .suspension .a-service .i{background-position:0 0;} */
    .suspension .a-service .i{width:20px;height:20px;margin-top:12px;margin-left:12px;background-image:url(//repo.bfw.wiki/bfwrepo/images/kefu/suspension-bg.png);background-repeat:no-repeat;background-position:0 0;}
    .suspension .a-service-phone .i{width:20px;height:20px;margin-top:12px;margin-left:12px;background-image:url(//repo.bfw.wiki/bfwrepo/images/kefu/suspension-bg.png);background-repeat:no-repeat;background-position:-27px 0;}
    .suspension .a-qrcode .i{background-position:-44px 0;}
    .suspension .a-cart .i{background-position:-88px 0;}
    .suspension .a-top .i{background-position:-132px 0;}
    .suspension .a-top{background:#D2D3D6;display:none;}
    .suspension .a-top:hover{background:#c0c1c3;}
    .suspension .d{display:none;width:223px;background:#fff;position:absolute;right:67px;min-height:90px;border:1px solid #E0E1E5;border-radius:3px;box-shadow:0px 2px 5px 0px rgba(161, 163, 175, 0.11);}
    .suspension .d .arrow{position:absolute;width:8px;height:12px;background:url(//repo.bfw.wiki/bfwrepo/images/kefu/side_bg_arrow.png) no-repeat;right:-8px;top:31px;}
    .suspension .d-service{top:0;}
    .suspension .d-service-phone{top:34px;}
    .suspension .d-qrcode{top:78px;}
    .suspension .d .inner-box{padding:8px 22px 12px;}
    .suspension .d-service-item{border-bottom:1px solid #eee;padding:14px 0;}
    .suspension .d-service .d-service-item{border-bottom:none;}
    .suspension .d-service-item .circle{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#F1F1F3;display:block;float:left;}
    .suspension .d-service-item .i-qq{width:44px;height:44px;background:url(//repo.bfw.wiki/bfwrepo/images/kefu/side_con_icon03.png) no-repeat center 15px;display:block;transition:all .2s;border-radius:50%;overflow:hidden;}
    .suspension .d-service-item:hover .i-qq{background-position:center 3px;}
    .suspension .d-service-item .i-tel{width:44px;height:44px;background:url(//repo.bfw.wiki/bfwrepo/images/kefu/side_con_icon02.png) no-repeat center center;display:block;}
    .suspension .d-service-item h3{float:left;width:112px;line-height:44px;font-size:15px;margin-left:12px;}
    .suspension .d-service-item .text{float:left;width:112px;line-height:22px;font-size:15px;margin-left:12px;}
    .suspension .d-service-item .text .number{font-family:Arial,"Microsoft Yahei","HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;}
    .suspension .d-service-intro{padding-top:10px;}
    .suspension .d-service-intro p{fl.........完整代码请登录后点击上方下载按钮下载查看

网友评论0