.dialog-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 99999;
    display: none;
}
.dialog-login {
    width: 400px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    padding: 24px 40px;
    position: fixed;
    z-index: 999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.close-btn {
    width: 35px;
    position: absolute;
    top: 5px;
    right: 6px;
    cursor: pointer;
}
@media(max-width:768px){
    .dialog-login{
        width: 90%;
    }
}