a{
    text-decoration: none!important;
}
button,input,textarea{
    outline: none!important;
}
/*平板 宽屏 自适应*/
@media only screen and (max-width: 1024px){
    /*使用移动终端时的样式设定*/
    body{
        max-width: 100%!important;
    }
    header{
        max-width: 100%!important;
    }
    footer{
        max-width: 100%!important;
    }
    .account{
        max-width: 100%!important;
    }
    .top-tentent{
        max-width: 100% !important;
    }
    .sku-popup{
        max-width: 100% !important;
    }
    .picker {
        max-width: 100% !important;
    }
    .footer-tag{
        max-width: 100% !important;
    }
    .add-page{
        width: 100%;
        max-width: 100%!important;
    }
}
@media only screen and (min-width: 1024px){
    /*使用PC终端时的样式设定*/
    body{
        margin: 0 auto!important;
    }
    .sku-popup{
        width: 750px;
        margin: 0 auto;
    }
    .picker {
        max-width: 750px;
    }
    .add-page{
        width: 100%;
        max-width: 750px;
        margin: 0 auto;
    }
}

/*返回顶部*/
.back_top{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(153,153,153,0.7);
    position: fixed;
    right: 0.2rem;
    bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*返回顶部 -end */

/*脚部导航*/
footer{
    z-index: 999;
    position: fixed;
    width: 100%;
    max-width: 750px;
    bottom: 0;
    left:auto;
    height: 0.9rem;
    background-color: #fff;
    box-shadow: 0 -0.02rem 0.02rem 0 rgba(201, 201, 201, 0.2);
    display: flex;
    justify-content: space-between;
}
footer .item{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: relative;
}
footer .item:before{
    display: block;
    content: '';
    width: 0.5rem;
    height: 0.4rem;
}
footer .item span{
    display: inline-block;
    font-size: 0.22rem;
    color: #333;
}
footer .item.on span{
    color: #ff4000;
}
footer .index:before{
    background-image: url("../images/nav/home-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .cate:before{
    background-image: url("../images/nav/cate-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .article:before{
    background-image: url("../images/nav/art-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .list:before{
    background-image: url("../images/nav/list-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .cart:before{
    background-image: url("../images/nav/cart-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .my:before{
    background-image: url("../images/nav/my-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .index.on:before{
    background-image: url("../images/nav/home-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .cate.on:before{
    background-image: url("../images/nav/cate-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .article.on:before{
    background-image: url("../images/nav/art-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .list.on:before{
    background-image: url("../images/nav/list-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .cart.on:before{
    background-image: url("../images/nav/cart-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
footer .my.on:before{
    background-image: url("../images/nav/my-ico-on.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/*脚部导航 -end*/

/*底线*/
.end-notice{
    font-size: 0.22rem;
    color: #999;
    letter-spacing: 0.02rem;
    text-align: center;
    margin: 0.2rem;
}

/*图标*/
i.mdi{
    display: block;
    width: 0.3rem;
    height: 0.3rem;
}
i.mdi.mdi-hot{
    background-image: url("../images/icon/hot-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
i.mdi.mdi-right{
    background-image: url("../images/icon/right-ff4.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
/*margin*/
.m-10{
    margin: 0.1rem!important;
}
.mlr-10{
    margin: 0 0.1rem!important;
}
.ml-10{
    margin-left: 0.1rem!important;
}
/*button*/
button.default,
button.default:focus,
button.default:active,
button.default:hover{
    outline: none;
    padding: 0.1rem 0.3rem;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 0.25rem;
    border-radius: 0.4rem;
}
button.danger,
button.danger:focus,
button.danger:active,
button.danger:hover{
    outline: none;
    padding: 0.1rem 0.3rem;
    background: #fff;
    font-size: 0.25rem;
    border-radius: 0.4rem;
    border: 1px solid #ff4000;
    color: #ff4000;
}

/*空空如也*/
.null-box{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.null-box .null-img{
    width: 4rem;
    height: auto;
}
.null-box h4{
    letter-spacing: 2px;
    font-size: 0.28rem;
    color: #999;
}

/* 开关 */
.lyear-switch {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}
.lyear-switch input {
    height: 0;
    width: 0;
    position: absolute;
    opacity: 0;
}
.lyear-switch span {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: #ebebeb;
    border: 2px solid #ebebeb;
    cursor: pointer;
    -webkit-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease
}
.lyear-switch span:after {
    content: '';
    height: 20px;
    width: 20px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 1px;
    top: -7px;
    color: #aaa;
    -webkit-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease;
    text-align: center;
    font-size: 13px;
    background-color: #fff;
    -webkit-box-shadow: rgba(0,0,0,.12) 0 1px 6px,rgba(0,0,0,.12) 0 1px 4px;
    box-shadow: rgba(0,0,0,.12) 0 1px 6px,rgba(0,0,0,.12) 0 1px 4px
}
.lyear-switch input:checked~span:after {
    left: -webkit-calc(100% - 20px);
    left: calc(100% - 20px);
}
.switch-primary input:checked~span:after {
    background-color: #33cabb
}
.switch-success input:checked~span:after {
    background-color: #15c377
}
.switch-info input:checked~span:after {
    background-color: #48b0f7
}
.switch-warning input:checked~span:after {
    background-color: #faa64b
}
.switch-danger input:checked~span:after {
    background-color: #f96868
}
.switch-secondary input:checked~span:after {
    background-color: #868e96
}
.switch-dark input:checked~span:after {
    background-color: #465161
}
.switch-purple input:checked~span:after {
    background-color: #926dde
}
.switch-pink input:checked~span:after {
    background-color: #f96197
}
.switch-cyan input:checked~span:after {
    background-color: #57c7d4
}
.switch-yellow input:checked~span:after {
    background-color: #fcc525
}
.switch-brown input:checked~span:after {
    background-color: #8d6658
}

.lyear-switch.switch-solid span,
.lyear-switch.switch-light span,
.lyear-switch.switch-outline span {
    height: 20px;
}
.lyear-switch.switch-solid span:after,
.lyear-switch.switch-light span:after,
.lyear-switch.switch-outline span:after {
    top: -2px;
}
.lyear-switch.switch-outline span {
    background-color: #fff
}
.switch-solid.switch-primary input:checked~span {
    background-color: #33cabb;
    border-color: #33cabb
}
.switch-solid.switch-primary input:checked~span:after {
    background-color: #fff;
    color: #33cabb
}
.switch-solid.switch-success input:checked~span {
    background-color: #15c377;
    border-color: #15c377
}
.switch-solid.switch-success input:checked~span:after {
    background-color: #fff;
    color: #15c377
}
.switch-solid.switch-info input:checked~span {
    background-color: #48b0f7;
    border-color: #48b0f7
}
.switch-solid.switch-info input:checked~span:after {
    background-color: #fff;
    color: #48b0f7
}
.switch-solid.switch-warning input:checked~span {
    background-color: #faa64b;
    border-color: #faa64b
}
.switch-solid.switch-warning input:checked~span:after {
    background-color: #fff;
    color: #faa64b
}
.switch-solid.switch-danger input:checked~span {
    background-color: #f96868;
    border-color: #f96868
}
.switch-solid.switch-danger input:checked~span:after {
    background-color: #fff;
    color: #f96868
}
.switch-solid.switch-secondary input:checked~span {
    background-color: #868e96;
    border-color: #868e96
}
.switch-solid.switch-secondary input:checked~span:after {
    background-color: #fff;
    color: #868e96
}
.switch-solid.switch-dark input:checked~span {
    background-color: #465161;
    border-color: #465161
}
.switch-solid.switch-dark input:checked~span:after {
    background-color: #fff;
    color: #465161
}
.switch-solid.switch-purple input:checked~span {
    background-color: #926dde;
    border-color: #926dde
}
.switch-solid.switch-purple input:checked~span:after {
    background-color: #fff;
    color: #926dde
}
.switch-solid.switch-pink input:checked~span {
    background-color: #f96197;
    border-color: #f96197
}
.switch-solid.switch-pink input:checked~span:after {
    background-color: #fff;
    color: #f96197
}
.switch-solid.switch-cyan input:checked~span {
    background-color: #57c7d4;
    border-color: #57c7d4
}
.switch-solid.switch-cyan input:checked~span:after {
    background-color: #fff;
    color: #57c7d4
}
.switch-solid.switch-yellow input:checked~span {
    background-color: #fcc525;
    border-color: #fcc525
}
.switch-solid.switch-yellow input:checked~span:after {
    background-color: #fff;
    color: #fcc525
}
.switch-solid.switch-brown input:checked~span {
    background-color: #8d6658;
    border-color: #8d6658
}
.switch-solid.switch-brown input:checked~span:after {
    background-color: #fff;
    color: #8d6658
}