.model_wrap{ width: 100%; height: 100vh; background-color: #000; opacity: 0.5; position: fixed; top: 0; display:none; } .model-bg{ width: 560px; position: absolute; top: calc(65% - 322px); left: 71%; margin-left: -600px; /*background-color: #fff;*/ z-index:999 ; } .unchoose{ display: none; } .model-bg .content{ color:#fff; font-size:20px; } .model-btn{ background-color: coral; font-size:16px; color:#fff; padding: 10px 20px; border-radius: 6px; } .jump{ margin-top:50%; } .prev{ margin-top:50%; } .next{ margin-top:50%; }