.container { display: flex; flex-direction: column; width: 50vw; height: 80vh; max-height: 500px; background-color: #fff; overflow: hidden; .top { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; position: relative; font-size: 14Px; z-index: 999; &::before { content: ''; position: absolute; left: 4px; top: 50%; height: 30%; transform: translateY(-50%); width: 2px; background-color: var(--van-primary-color); border-radius: 2px; } } .closeIcon{ width: 15px; height: 15px; margin: 0 10px; position: relative; cursor: pointer; } .closeIcon::before, .closeIcon::after{ content: ""; position: absolute; height: 15px; width: 1.5px; top: 4px; right: 9px; background: #000; } .closeIcon::before{ transform: rotate(45deg); } .closeIcon::after{ transform: rotate(-45deg); } .picker { flex: 1; height: 100px; display: flex; align-items: center; justify-content: center; :global { .van-picker__columns { //height: 80% !important; } } } .button { width: 50%; height: 40Px; margin: 10Px auto; position: relative; z-index: 9; } }