﻿.btn-share1 {
    font-size: 12px;
    font-weight: 400;
    color: #483100;
    line-height: 22px;
    width: 128px;
    height: 22px;
    background: linear-gradient(135deg, #E7CF8D 0%, #E5BB69 44%, #FBE2A5 100%);
    border-radius: 11px;
    padding-left: 35px;
    text-align: left;
    cursor: pointer;
    position: relative;
}

    .btn-share1 > img {
        position: absolute;
        width: 32px;
        height: auto;
        left: -2px;
        top: -12px;
    }

.btn-share-img {
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    width: 128px;
    height: 22px;
    border-radius: 11px;
    padding-left: 35px;
    text-align: left;
    cursor: pointer;
    position: relative;
}

    .btn-share-img > img {
        position: absolute;
        width: 128px;
        left: -1px;
        top: -1px;
    }
/* 
        .btn-share2{
            position: absolute;
            left: calc(100% - 123px);
            top: 0;
        } */

/* 弹框 */
.share-code {
    display: none;
    width: 120px !important;
    height: auto !important;
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
    position: absolute;
    right: 0px;
    top: 30px;
    padding: 5px 10px 10px 10px;
    z-index: 999;
    line-height: normal !important;
    border-bottom: 0px !important;
}


    .share-code::before, .share-code::after {
        content: "";
        display: block;
        position: absolute;
        right: 50px;
        width: 0;
        height: 0;
        border: 10px solid transparent;
    }

    .share-code:before {
        top: -20px;
        border-bottom-color: rgba(0,0,0,0.05);
        z-index: 10;
    }

    .share-code:after {
        top: -19px;
        border-bottom-color: #fff;
        z-index: 11;
    }

    .share-code p {
        font-size: 12px;
        font-weight: 400;
        color: rgba(0,0,40,0.51);
        text-align: center;
        line-height: 14px;
    }

    .share-code .qrcode {
        width: 100px;
        height: 100px;
        background: #EAEAEA;
        display: block;
        margin: 0 auto 8px;
        border-bottom: 0px !important;
    }

    .share-code .btn-copy {
        width: 100% !important;
        font-size: 12px;
        font-weight: 400;
        color: rgba(0,0,40,0.51);
        line-height: 17px;
        text-align: center;
        margin-bottom: 6px;
        border-bottom: 0px !important;
        height: auto;
        cursor:pointer;
    }

        .share-code .btn-copy > img {
            width: 14px;
            height: auto;
            margin-right: 2px;
        }

.btn-share2 {
    position: relative;
}

.share-code2 {
    position: absolute;
    right: 50px;
    top: 0;
    z-index: 999;
}

    .share-code2:before {
        top: 10px;
        right: -20px;
        border-bottom-color: transparent;
        border-left-color: rgba(0,0,0,0.05);
        z-index: 10;
    }

    .share-code2:after {
        top: 10px;
        right: -19px;
        border-bottom-color: transparent;
        border-left-color: #fff;
        z-index: 11;
    }

.share-code3 {
    position: absolute;
    bottom: 40px;
    z-index: 99999;
    top: auto;
}

    .share-code3:before {
        top: auto;
        bottom: -20px;
        border-bottom-color: transparent;
        border-top-color: rgba(0,0,0,0.05);
        z-index: 10;
    }

    .share-code3:after {
        top: auto;
        bottom: -19px;
        border-bottom-color: transparent;
        border-top-color: #fff;
        z-index: 11;
    }



.btn-share1:hover .share-code, .btn-share2:hover .share-code, .btn-share-img:hover .share-code {
    display: block;
}
.qrcode img
{
    width:100px !important;
    height:100px;
    max-width:100%
}