.eis-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
/* 关键：统一高度 */
.eis-slider::before {
    content: "";
    display: block;
    padding-top: 60%; 
    /* 控制组件高度比例，可以改 */
}

/* 所有图片绝对定位 */
.eis-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.eis-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

/* 拖动按钮 */
.eis-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 120px;
    background: white;
    border-radius: 22px;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    z-index: 5;
}

/* 中间线 */
.eis-handle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -2000px;
    height: 4000px;
    width: 2px;
    background: white;
    transform: translateX(-50%);
}

/* 箭头 */
.arrow {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
}

.arrow.left {
    transform: rotate(135deg);
    left: 12px;
}

.arrow.right {
    transform: rotate(-45deg);
    right: 12px;
}