.sidebar {
    z-index: 100000;
    right: 0;
    position: fixed;
    top: 28%;
    padding: 0 12px 0 0;
    border-radius: 20px 0 0 20px;
}
.sidebar > div {
    cursor: pointer;
    text-align: center;
}
.sidebar > div .code {
    display: none;
    position: absolute;
    z-index: 9;
    top: 0.1%;
    right: 75px;
    border-radius: 8px;
    box-shadow: 0 6px 12px 0 rgba(106, 115, 133, 0.22);
    background-color: #ffffff;
}
.sidebar > div .code:after {
    position: absolute;
    top: 33%;
    left: 100%;
    content: '';
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}
.sidebar-wechat:hover .code {
    display: block;
}
.contact{
    background-color: white;
    width: 60px;
    border: 1px lightgray solid;
    border-radius: 5px;
}