html, body { min-width: 980px; color: #333; background: #fff; position: relative; font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "WenQuanYi Micro Hei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; } a:hover { text-decoration: none; } .btn-lightblue{ background-color: #0babf9; border-color: #0babf9; color: #fff; } .btn-lightblue:hover{ background-color: #0ba2eb; border-color: #0ba2eb; color: #fff; } /*文字超出省略号*/ .ellipsis{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .red{ color: #e7040f; } .red:hover{ color: #e7040f; } @media screen and (min-width: 768px){ .container { width: 970px; } } @media screen and (min-width: 992px){ .container { width: 970px; } } @media screen and (min-width: 1200px){ .container { width: 1170px; } } /* 公共头部 */ /*====================================================*/ .mainhead{ position: relative; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #ccc; /*box-shadow: 0 1px 3px #eee;*/ } .mainhead .logo{ position: relative; /* width: 190px; */ height: 40px; margin: 0; } .mainhead .logo img{ width: auto; height: 100%; display: block; } .mainhead .nav{ position: relative; display: inline-block; height: 44px; line-height: 44px; } .mainhead .nav ul{ list-style: none; margin: 0; } .mainhead .nav ul li{ display: inline; padding: 0 25px; } .mainhead .nav ul li a{ color: #333; font-size: 15px; } .mainhead .nav ul li a:hover{ text-decoration: none; color: #0babf9; } .mainhead .nav ul li.active a{ color: #0babf9; } .mainhead .user-control{ position: relative; display: inline-block; height: 44px; line-height: 44px; margin-left: 35px; } .mainhead .user-control .register{ background-color: #0babf9; border-color: #0babf9; } .mainhead .user-control .register:hover{ background-color: #0ba2eb; border-color: #0ba2eb; } .mainhead .user-control .user-head{ display: inline-block; vertical-align: middle; width: 32px; height: 32px; } .mainhead .user-control .user-name,.mainhead .user-control .layout{ color: #333; padding: 0 10px; } .mainhead .user-control .layout{ border-left: 1px solid #ccc; } /* 公共底部 */ /*====================================================*/ footer{ position: relative; width: 100%; background-color: #333333; color: #fff; margin-top: 50px; } footer .footer-nav{ padding-top: 60px; /*padding-bottom: 20px;*/ } footer .footer-nav a{ color: #fff; } footer .footer-nav h4{ margin-bottom: 20px; } footer .footer-nav p{ font-size: 12px; line-height: 34px; margin: 0; } footer .copyright{ line-height: 40px; font-size: 12px; margin-bottom: 20px; } /* 右侧浮窗 */ /*====================================================*/ .side-box{ position: fixed; bottom: 50%; width: 52px; right: 10px; margin-bottom: -112px; z-index: 99999; } .side-box .side-list{ } .side-box .side-item,.side-box .side-item-totop{ border: 1px solid #ddd; width: 100%; height: 52px; } .side-box .side-item a,.side-box .side-item-totop a{ position: relative; display: block; width: 100%; height: 100%; background-color: #fff; background-image: url(../image/side-ico.png); background-repeat: no-repeat; } .side-box .side-item a .tips{ position: absolute; width: 18px; height: 18px; line-height: 18px; font-size: 10px; right: -10px; top: -2px; color: #fff; background-color: #ff0000; border-radius: 18px; text-align: center; } .side-box .side-item.index a{ background-position: 0 0; } .side-box .side-item.cart a{ background-position: 0 -50px; } .side-box .side-item.kefu a{ background-position: 0 -100px; } .side-box .side-item:first-child{ border-bottom: none; } .side-box .side-item:last-child{ border-top: none; } .side-box .side-item-totop{ position: absolute; left: 0; bottom: -67px; display: none; } .side-box .side-item-totop a{ background-position: 0 -150px; } /*@media screen and (min-width: 768px){ .side-box { margin-right: -470px; } } @media screen and (min-width: 992px){ .side-box { margin-right: -570px; } } @media screen and (min-width: 1200px){ .side-box { margin-right: -670px; } }*/ /* 公共导航*/ /*====================================================*/ .my-nav{ width: 100%; background-color: #257cc1; } .my-nav .nav-list{ position: relative; margin-bottom: 0; height: 50px; line-height: 50px; } .my-nav .nav-list li{ float: left; margin-right: 36px; } .my-nav .nav-list li a{ color: #bdd1e7; text-decoration: none; } .my-nav .nav-list li a:hover{ color: #fff; } .my-nav .nav-list li.active a{ color: #fff; } /* 首页 ,模板页*/ /*====================================================*/ /*首页轮播*/ .index-banner{ width: 100%; height: auto; } .session-ad{ margin-top: 20px; } .session-ad img{ width: 100%; height: auto; position: relative; } .template-title{ font-size: 28px; margin-top: 50px; margin-bottom: 25px; } /*中间内容tab*/ .product-wrapper{ width: 100%; position: relative; overflow: hidden; } .product-wrapper .product-tab{ margin-bottom: 40px; } .product-wrapper .product-list{ margin-bottom: 0; } .product-wrapper .product-list li{ position: relative; padding-left: 15px; padding-right: 15px; float: left; width: 20%; height: 286px; box-sizing: border-box; margin-bottom: 30px; } .product-wrapper .product-list li:last-child{ } .product-wrapper .product-list li > a, .product-wrapper .product-list li .list_item { position: relative; display: block; width: 100%; height: 100%; box-sizing: border-box; border: 1px solid #ddd; text-align: center; overflow: hidden; } .product-wrapper .product-list li > a .prduct-img, .product-wrapper .product-list li .list_item .prduct-img { position: relative; height: 100%; display: inline-block; } .product-wrapper .product-list li > a .product-title, .product-wrapper .product-list li .list_item .product-title { position: absolute; left: 0; top: 0; width: 100%; height: 100%; line-height: 40px; background-color: rgba(0,0,0,.5); color: #fff; font-size: 14px; text-align: center; margin: 0; display: none; } .product-wrapper .product-list li >a .product-title img, .product-wrapper .product-list li .list_item .product-title img { position: absolute; left: 12px; bottom: 3px; } .product-wrapper .page{ text-align: right; } .product-wrapper .page .pagination{ margin: 0; } /*底部广告*/ .ad-foot{ } .ad-foot img{ position: relative; width: 100%; height: auto; } /*模板页和个人中心页大banner*/ .template{ position: relative; width: 100%; height: auto; overflow: hidden; } .template .center{ position: relative; top: 0; left: 50%; margin-left: -1000px; width: 2000px; height: auto; } .template .user-info{ position: absolute; width: 580px; height: 166px; bottom: 30px; left: 50%; margin-left: -290px; background-color: rgba(255,255,255,.8); border-radius: 8px; } .template .user-info .user-head{ position: absolute; width: 120px; height: 120px; top: -60px; left: 50%; margin-left: -60px; border-radius: 50%; border: 4px solid #7f7f7f; cursor: pointer; overflow: hidden; } .template .user-info .user-head .user-img{ width: 100%; height: 100%; } .template .user-info .shade{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(0,0,0,.4); text-align: center; display: none; } .template .file-input{ position: absolute; width: 100%; height: 100%; opacity: 0; z-index: 2; cursor: pointer; } .template .user-info .shade span{ color: #fff; font-size: 28px; margin-top: 42px; z-index: 1; } .template .user-info .user-head:hover .shade{ display: block; } .template .user-info .user-name{ margin-top: 75px; height: 46px; line-height: 46px; margin-bottom: 0; text-align: center; color: #000; font-size: 16px; } .template .user-info .user-email{ text-align: center; } .template .user-info .user-email span{ display: inline-block; color: #257cc1; font-size: 12px; border: 1px solid #257cc1; height: 22px; line-height: 20px; padding: 0 5px; border-radius: 11px; } .template .user-info .edit{ position: absolute; right: 0; top: -42px; } /*模板页*/ .template-classify{ margin-bottom: 30px; } .template-classify dl{ margin-bottom: 10px; } .template-classify dl dt,.template-classify dl dd{ line-height: 30px; } .template-classify dl dt{ text-align: left; width: 70px; } .template-classify dl dd{ margin-left: 75px; } .template-classify dl dd a{ color: #666666; text-decoration: none; margin: 0 15px; } .template-classify dl dd a.active{ color: #0babf9; } .template-classify dl dd a:hover{ color: #0babf9; } /* 订单详情,我的订单 -订单详情*/ /*====================================================*/ .order-detail,.my-detail{ margin-top: 40px; } .order-detail .order-form{ padding-left: 40px; padding-right: 40px; padding-bottom: 5px; } .order-detail .order-form .form-list .form-group{ margin-bottom: 10px; } .order-detail .order-form .form-list .form-group:last-child{ margin-bottom: 0; } .order-detail .order-form .btn-area{ text-align: right; } .my-detail .order-number{ line-height: 56px; font-size: 21px; color: #000; border-bottom: 2px solid #000; margin: 0; } .my-detail .order-number span{ float: right; font-size: 14px; margin-top: 22px; cursor: pointer; } .my-detail .progress-order{ margin: 35px 0; } .my-detail .progress-order .progress-cell{ position: relative; float: left; width: 20%; text-align: center; } .my-detail .progress-order .progress-cell .progress-num{ position: relative; display: block; width: 42px; height: 42px; line-height: 42px; background-color: #fff; border: 1px solid #e5e5e5; color: #393a3a; margin-left: 56px; border-radius: 21px; z-index: 2; } .my-detail .progress-order .progress-cell .progress-text{ display: block; color: #393a3a; margin-top: 14px; } .my-detail .progress-order .progress-cell .progress-border{ position: absolute; display: block; width: 100%; height: 2px; background-color: #e5e5e5; left: 0; top: 22px; z-index: 1; } .my-detail .progress-order .progress-cell.active .progress-num{ background-color: #0babf9; color: #fff; border: 1px solid #0babf9; } .my-detail .progress-order .progress-cell.active .progress-border{ background-color: #0babf9; } .my-detail .order-title{ padding: 10px 15px 8px 15px; line-height: 26px; background-color: #e0e0e0; color: #565156; font-size: 16px; font-weight: 700; line-height: 1; } .my-detail .address{ padding: 30px; } .my-detail .address p{ margin: 0; line-height: 31px; color: #000; } .my-detail .order-list{ width: 100%; } .my-detail .order-list .order-item{ position: relative; padding: 20px; border-bottom: 1px solid #f5f5f5; } .my-detail .order-list .order-item:last-child{ border-bottom: none; } .my-detail .order-list .item-img{ width: 112px; height: 112px; margin-right: 16px; overflow: hidden; } .my-detail .order-list .item-img img{ width: 100%; } .my-detail .order-list .item-title{ margin-left: 128px; margin-right: 220px; } .my-detail .order-list .item-title h5,.my-detail .order-list .item-title p{ margin: 0; } .my-detail .order-list .item-title h5{ font-size: 16px; font-weight: 700; color: #000; margin-bottom: 8px; } .my-detail .order-list .item-title .describe{ margin-bottom: 6px; } .my-detail .order-list .item-num{ position: absolute; top: 20px; right: 120px; } .my-detail .order-list .item-price{ position: absolute; top: 20px; right: 20px; font-weight: 700; } .order-box{ color: #252516; border: 1px solid #eee; } .order-box .order-info{ padding: 12px; border-bottom: 1px solid #eee; } .order-box h4{ font-size: 14px; font-weight: 700; } .order-box .order-info p{ margin: 0; line-height: 28px; } .order-box .order-info hr{ margin-bottom: 5px; margin-top: 5px; } .order-box .order-list{ padding: 12px; } .order-box .order-list .order-item{ margin-bottom: 10px; position: relative; } .order-box .order-list .order-item:last-child{ margin-bottom: 0; } .order-box .order-list .order-item .item-img{ width: 50px; height: 50px; margin-right: 8px; overflow: hidden; } .order-box .order-list .order-item .item-img img{ width: 100%; height: 100%; } .order-box .order-list .order-item .item-title{ margin-left: 58px; margin-right: 70px; } .order-box .order-list .order-item .item-title h5,.order-box .order-list .order-item .item-title p{ margin: 0; line-height: 25px; height: 25px; overflow: hidden; } .order-box .order-list .order-item .item-title h5{ font-weight: 700; } .order-box .item-price{ position: absolute; font-weight: 700; right: 0; top: 0; } /* 我的账户,收货地址*/ /*====================================================*/ .my-account{ margin-top: 40px; } .my-account .account-list{ margin: 0; } .my-account .account-list li{ height: 46px; line-height: 46px; } .my-account .account-list li a{ color: #333; text-decoration: none; } .my-account .account-list li.active a{ font-weight: 700; } .my-account .account-form{ border-left: 1px solid #cdcdcd; padding-left: 56px; padding-bottom: 30px; } .my-account .account-form .account-title{ border-bottom: 2px solid #000000; font-size: 26px; line-height: 56px; margin-bottom: 20px; margin-top: 0; } /* 我的订单table*/ /*====================================================*/ .order-table{ border: 1px solid #ddd; text-align: center; margin-bottom: 0; } .order-table>thead>tr>th{ border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; text-align: center; background-color: #f5f5f5; } .check-all{ float: right; font-size: 14px; font-weight: normal; color: #000; margin-top: 13px; } .check-all span{ margin-left: 5px; } .check-all:hover{ color: #000; } /* 我的订单tab切换*/ /*====================================================*/ .order-tab{ margin-top: 40px; margin-bottom: 35px; } .order-tab a{ display: inline-block; float: left; width: 12.5%; text-align: center; height: 50px; line-height: 48px; font-size: 15px; color: #030f13; border-left:1px solid #ddd; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; text-decoration: none; } .order-tab a:last-child{ border-right: 1px solid #ddd; } .order-tab a.active,.order-tab a:hover{ color: #fff; background-color: #257cc1; /*border-color: #257cc1;*/ } .font-nom{ font-weight: normal; margin-left: 10px; } .table-list{ margin-bottom: 10px; } .table-list>thead>tr>th{ text-align: left; } .table-list>thead>tr>th span.glyphicon{ cursor: pointer; margin-top: 2px; } .table-list>tbody>tr>td{ vertical-align: middle; } .table-list>tbody>tr>td.list-td{ padding: 0; } .table-list .order-list{ text-align: left; margin-bottom: 0; } .table-list .order-list li{ position: relative; border-bottom: 1px solid #ddd; padding: 15px 20px; height: 130px; } .table-list .order-list li:last-child{ border: none; } .table-list .order-list li .pro-img{ width: 98px; height: 98px; border: 1px solid #f4f4f4; overflow: hidden; } .table-list .order-list li .pro-img img{ width: 100%; display: block; } .table-list .order-list li .pro-title{ margin-left: 108px; margin-right: 220px; font-weight: 700; } .table-list .order-list li .pro-price{ position: absolute; top: 15px; right: 20px; font-weight: 700; } .table-list .order-list li .pro-num{ position: absolute; top: 15px; right: 120px; font-weight: 700; } /* 购物车*/ /*====================================================*/ .shop-cart{ margin-top: 35px; margin-bottom: 25px; border: 1px solid #ddd; } .shop-cart .checkbox{ margin: 0; } .shop-cart>thead>tr>th{ text-align: left; background-color: #f5f5f5; border-bottom: none; } .shop-cart>tbody>tr>td{ /*border-top: 2px solid #9a9a9a;*/ /* vertical-align: middle;*/ } .shop-cart .product{ position: relative; } .shop-cart .product .pro-img{ width: 100px; height: 100px; border: 1px solid #f4f4f4; overflow: hidden; } .shop-cart .product .pro-img img{ width: 100%; display: block; } .shop-cart .pro-title{ margin-left: 110px; margin-right: 220px; color: #4c4c4b; line-height: 26px; } .shop-cart .pro-color{ width: 200px; position: absolute; right: 0; top: 0; } .shop-cart .pro-color p{ margin: 0; line-height: 26px; color: #4c4c4b; } .shop-cart .sub{ font-weight: 700; } .shop-cart .del a{ color: #4c4c4b; } .shop-cart .count{ border: 1px solid #dbdcdc; width: 102px; height: 28px; } .shop-cart .count input { border:none; background: none; } .shop-cart .count span, .shop-cart .count input { height: 26px; line-height: 26px; border-right: 1px solid #dbdcdc; display: inline-block; float: left; } .shop-cart .count span:last-child{ border-right: none; } .shop-cart .count .click-btn{ width: 20px; text-align: center; color: #8e908f; cursor: pointer; } .shop-cart .count .num{ width: 60px; text-align: center; color: #222; } .total{ padding-left: 10px; height: 46px; border: 1px solid #ddd; } .total .checkbox{ margin-top: 13px; } .total .count{ line-height: 44px; font-size: 24px; color: #999999; margin-right: 50px; } .total .count span{ color: #f90b32; } .total .btn{ position: relative; top: -1px; right: -1px; border-radius: 0; } /* 登录注册页面*/ /*====================================================*/ html.full-screen,html.full-screen body{ width: 100%; height: 100%; min-height: 600px; } html.bg-gray,html.bg-gray body{ background-color: #eee !important; } .bg-gray .mainhead{ background-color: #fff; } /*登陆 注册框*/ .login-box{ position: absolute; width: 408px; left: 50%; margin-left: -204px; padding: 0 43px; background-color: #fff; border-radius: 10px; box-shadow: 0 0 5px #ccc; color: #75828e; } .login-box .login-tab{ text-align: center; padding: 20px 0; } .login-box .login-tab a{ color: #999; font-size: 18px; margin: 0 10px; text-decoration: none; } .login-box .login-tab .active{ border-bottom: 1px solid #0babf9; } .login-box .login-tab .active,.login-box .login-tab a:hover{ color: #0babf9; } .login-box .login-form{ margin-top: 20px; } .login-box .login-form .form-group{ position: relative; margin-bottom: 20px; } .login-box .login-form .form-control{ height: 36px; } .login-box .login-form .checkbox{ margin-top: 0; margin-bottom: 20px; } .login-box .login-form .checkbox .forget{ color: #75828e; } .login-box .login-form .btn-area .btn{ padding: 7px 12px; background-color: #58c6f8; border-color: #58c6f8; } .login-box .login-form .btn-area .btn:hover{ background-color: #0babf9; border-color: #0babf9; } .login-box .other-login{ text-align: center; position: relative; margin: 30px 0; height: 21px; line-height: 21px; } .login-box .other-login span{ position: relative; z-index: 2; padding: 0 20px; background-color: #fff; } .login-box .other-login .line{ position: absolute; width: 100%; height: 1px; top: 10px; left: 0; background-color: #cbd4da; } .login-box .wx-box{ text-align: center; padding-top: 10px; padding-bottom: 25px; font-size: 0; } .login-box .wx-box a{ display: inline-block; width: 36px; height: 36px; margin: 0 10px; } .login-box .wx-box a img{ width: 100%; height: 100%; display: block; } .login-box .verification-input{ width: 210px; } .login-box .verification{ position: absolute; top: 0; left: 210px; width: 110px; height: 36px; } .login-box .verification img{ width: 100%; height: 100%; display: block; cursor: pointer; } .login{ height: 440px; top: 50%; margin-top: -220px; } .register-box{ margin-top: 40px; position: relative; } .h60{ height: 60px; } .product-title { padding: 15px; text-align:left; } .product-title .title { text-align:left; font-size: 16px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; } .product-title .remark { text-align: left; ddisplay: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.2em; font-size: 12px; margin-bottom: 20px; } .product-title .fenlei { text-align: left; } .product-title .fenlei span { border:1px #fff solid; border-radius:50px; -webkit-border-radius:50px; font-size: 12px; padding: 4px 5px; text-align: center; float: left; line-height: 1; margin-bottom: 5px; margin-right: 10px; } .product-title .btn { background: #0babf9; width: 120px; } .product-title .btn.btn_two { background: none; color: #0babf9; border: 1px #0babf9 solid; margin-top: 10px; } .product-title .btn:hover { color: #fff; } .product-title .use_number { margin-top: 20px; } .kong { width: 580px; margin: 100px auto 200px auto; text-align: left; border: 1px #ddd solid; padding: 20px; } .kong_img { width: 80px; display: block; margin: 0 auto; } .kong p { font-size: 20px; margin-bottom: 20px; text-align: center; color: #666; margin-top: 10px; } .kong_btn_area { text-align: center; } .kong_btn_area .btn { background: #0babf9; color: #fff; } .payment_item { float: left; width: 33.333%; } .payment_item_content { position: relative; } .payment_item_content label { border: 1px #ddd solid; padding: 12px; display: block; margin: 0; line-height: 1; text-align: center; border-right:none; } .payment_form_c .payment_item:last-child .payment_item_content label { border-right:1px #ddd solid; } .payment_form_wap { padding: 10px; margin-bottom: 40px; } .payment_item_content input[type=radio] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter:alpha(opacity=0); -moz-opacity:0; -webkit-opacity: 0; opacity: 0; margin: 0; padding: 0; } .payment_item .payment_item_content input[type=radio]:checked + label { color: #0ba2eb; border:1px #0ba2eb solid; } #qrcode canvas { width: 256px; height: 256px; margin-left: 35px; } .order-list .tip { text-align: center; margin-top: 15px; font-size: 15px; color: #666; } .pay_page { float: none; margin: 0 auto; } .minheight500 { min-height: 500px; } .order-box-new { border:1px #ddd solid; box-shadow: 0 0 5px #888888; -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); } .pay_title { font-size: 16px; text-align: center; border-bottom: 1px #ddd solid; padding: 10px; } .bank_input { margin-bottom: 10px; } .bank_input span{ vertical-align: middle; } .bank_input input { height: 30px; border:1px #ddd solid; padding: 5px 10px; width: 240px; } .article_title { text-align: center; font-size: 20px; padding: 20px 0 10px 0; font-weight: bold; margin-top: 30px; } .article_time { text-align: center; } .article_content { margin: 0 auto; width: 980px; padding: 20px; } .track_title { padding: 20px 0; border-bottom: 2px #222 solid; font-size: 16px; margin-top: 20px; } .track_title .code { float: left; } .track_title .time { color: #999; float: right; } .track_list_ul, .track_list_ul li { font-style: normal; list-style: none; margin: 0 ; padding: 0; } .track_list { padding: 20px; } .track_list_ul li { position: relative; padding-left: 50px; } .track_list_ul li:before { position: absolute; content: ""; width: 12px; height: 12px; border-radius:100px; background: #999; top: 0; left: 0; z-index: 1; } .track_list_ul li:after { position: absolute; width: 1px; background: #ddd; height: 100%; content: ""; top: 0; left: 6px; } .track_list_ul li:first-child:before { bbackground: #0084f4; } .track_list_ul .time { font-size: 14px; color: #222; font-weight: bold; line-height: 1; } .track_list_ul .content { padding: 10px 0 20px; } .del_diy_btn { position: absolute; bottom: 10px; right: 20px; width: 30px; height: 30px; text-align: right; } .del_diy_btn img { width: 22px; height: 22px; margin-top: 3px; } .select_border { border: 1px #ddd solid; padding: 3px 10px; line-height: 1; }