.box { width: 100%; height: 700px; color: #fff; display: flex; flex-direction: column; background-image: linear-gradient(#003B6E, #000D21); position: relative; } .titlebox { width: 100%; height: 48px; background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%); display: flex; align-items: center; .title { width: 100%; height: 32px; background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%); display: flex; justify-content: center; div { width: 120px; height: 32px; text-align: center; line-height: 32px; font-family: sybold; font-size: 16px; position: relative; cursor: pointer; margin: 0 18px; .border { position: absolute; bottom: -7px; left: -18px; width: 120px; height: 4px; } } .selected { background: linear-gradient(90deg, rgba(35, 153, 255, 0.57) 0%, #25b7d4 50%, rgba(35, 153, 255, 0.57) 100%); .border { background: linear-gradient(90deg, rgba(35, 217, 255, 0) 0%, #25b7d4 50%, rgba(35, 217, 255, 0) 100%); } } } } .ant-modal-close { color: #fff; } .content { flex: 1; box-sizing: border-box; padding: 18px; overflow: hidden; .imgbox { display: flex; width: 100%; height: 100%; .imglist { display: flex; flex-direction: column; width: 196px; height: 100%; overflow-y: auto; box-sizing: border-box; padding-right: 12px; border-right: 1px solid rgba(145, 204, 255, 0.3); .imglisttitle { font-size: 16px; font-family: sybold; margin-bottom: 16px; } .img { width: 178px; height: 108px; margin-bottom: 8px; img { width: 100%; height: 100%; cursor: pointer; } } } .bigimg { // min-width: 1149px; flex: 1; box-sizing: border-box; padding-left: 13px; display: flex; justify-content: center; img { max-width: 100%; max-height: 100%; } } } } // 适配125% @media screen and (max-height: 750px) { .box { width: 100%; height: 650px; color: #fff; display: flex; flex-direction: column; background-image: linear-gradient(#003B6E, #000D21); position: relative; } .content { .imgbox { .bigimg { // min-width: 1149px; flex: 1; box-sizing: border-box; padding-left: 13px; display: flex; justify-content: center; img { max-width: 100%; max-height: 100%; } } } } } // 适配150% @media screen and (max-height: 600px) { .box { width: 100%; height: 480px; color: #fff; display: flex; flex-direction: column; background-image: linear-gradient(#003B6E, #000D21); position: relative; } .content { .imgbox { .bigimg { // min-width: 1149px; flex: 1; box-sizing: border-box; padding-left: 13px; display: flex; justify-content: center; img { max-width: 100%; max-height: 100%; } } } } }