.currency {
    position: relative;
}
.currencyItem {
    width: 100%;
    height: 57px;
    background: #FFFFFF;
    border-radius: 3px;
    border: 1px solid #D3D4D6;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}
.currencyItem.active {
    border: 1px solid #264AFF;
}
.currencyItem .name {
    flex: 0 0 50%;
    height: 100%;
    padding: 0 12px;
    background: #F4F5F7;
    font-family: 'PingFangSC-Semibold';
    color: #5E5E66;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    cursor: pointer;
}
.currencyItem .name label {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}
.currencyItem .name label .img {
    margin-right: 8px;
    width: 24px;
    height: 16px;
}
.currencyItem .name label .con {
    display: flex;
    flex-direction: column;
}
.currencyItem .name label .con span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
}
.currencyItem .name i {
    font-size: 16px;
    color: #8D8E99;
    transition: all 0.5s;
}
.currencyItem.active .name i {
    color: #264AFF;
    transform: rotateZ(180deg);
}
.currencyItem .value {
    flex: 0 0 50%;
    height: 100%;
}
.currencyItem .value input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    font-family: 'PingFangSC-Semibold';
    font-size: 24px;
    color: #5E5E66;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-align: right;
    box-sizing: border-box;
}
.changeIcon {
    padding: 16px 0;
    text-align: center;
}
.changeIcon i {
    font-size: 20px;
    color: #B0B1B8;
    cursor: pointer;
}
.currencyCity {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 362px;
    height: 308px;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.08), 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    overflow: hidden;
    display: none;
}
.currencyCity .letter {
    flex: 0 0 auto;
    min-width: 60px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.currencyCity .letter::-webkit-scrollbar {
    width: 1px;
}
.currencyCity .letter::-webkit-scrollbar-track {
    background: #E8E9EB;
}
.currencyCity .list::-webkit-scrollbar {
    width: 0;
}
.currencyCity .letter ul {
    padding-right: 16px;
}
.currencyCity .letter ul li {
    height: 36px;
    line-height: 36px;
    padding: 0 8px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
}
.currencyCity .letter ul li.active {
    background: #DEE8FA;
}
.currencyCity .list {
    flex: 1;
    overflow-x: hidden;
    overflow-y: scroll;
}
.currencyCity .list ul {
    padding-left: 16px;
}
.currencyCity .list ul li {
    height: 36px;
    line-height: 36px;
    padding: 0 8px;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.currencyCity .list ul li.active {
    background: #DEE8FA;
}