// 弹窗
.popup-toast {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 10000;
    transition: opacity .3s ease-in-out;

    .container {
        background: rgba($color: #000000, $alpha: .8);
        width: 480px;
        padding: 40px 0;
        color: #fff;
        position: absolute;
        border-radius: 5px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -70%);
        text-align: center;
        line-height: 1;
    }
    img {
        width: 80px;
        height: 80px;
    }
    p {
        font-size: 20px;
        margin: 20px auto;
    }
    span {
        display: block;
    }
}
.popup-toast.on {
    opacity: 1;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 11;
    transition: opacity .3s;

    .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.20);
        border-radius: 5px;
        text-align: center;
        padding: 47px 0;
    }

    .mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba($color: #000, $alpha: .6);
    }
    .btn {
        width: 190px;
        margin: 40px auto 0;
    }
    &.on {
        opacity: 1;
    }
    .close {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}
