.fixed-left{ position: absolute; top: 0px; bottom: 0; left: -400px; width: 400px; z-index: 40; transition: width .3s; height: 100%; } .fixed-left::before{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; content: ''; background: rgba(0,0,0,0.3); } .fixed-left.active{ width: 100%; position: fixed; top: 60px; left: 0px; height: 100%; } /* .fixed-left.active .left_echart{ width: 100%; height: 100%; } .left_echart div{ width: 100%; height: 100%; } */ .fixed-left.active::before{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; content: ''; background: rgba(0,0,0,0.9); } .video_img{ position: absolute; bottom: 0; left: 0; right: 0; height: 40%; } .map_header{ display: flex; position: fixed; justify-content: space-between; align-items: center; height: 60px; left: 0; right: 0; background: #141D21; z-index: 100; transition: .3s; box-sizing: border-box; } .map_header.active{ opacity: 0; z-index: 49; } .logo_txt{ margin-left: 15px; color: #fff; font-size: 18px; } .logo_txt .collpase-icon{ margin-right: 5px; cursor: pointer; } .user_info{ padding-right: 30px; font-size: 0; display: flex; align-items: center; } .user_info .info-item{ display: inline-block; vertical-align: top; font-size: 14px; color: #e2e2e2; line-height: 50px; cursor: pointer; } .search-Panel{ display: block; color: #fff; text-align: center; margin-right: 30px; line-height: 60px; height: 60px; font-size: 18px; cursor: pointer; position: relative; display: flex; align-items: center; } .info-item .user_img{ position: relative; width: 30px; height: 30px; border-radius: 50%; top: 10px; } .info-item .user_nick{ font-size: 14px; } .drop-down{ position: relative; margin-left: 10px; } .drop-down::before{ position: absolute; content: ''; width: 0; height: 0; top: 50%; right: -15px; border: 5px solid transparent; border-top-color: #fff; margin-top: -2px; } .drop-down-list{ display: none; position: absolute; top: 55px; right: -20px; background: #fff; padding: 10px 0; line-height: 24px; min-width: 80px; text-align: right; } .drop-down-list::before{ position: absolute; bottom: 100%; right: 5px; width: 0; height: 0; content: ''; border: 5px solid transparent; border-bottom-color: #fff; } .drop-down-item{ padding: 0 15px; font-size: 14px; color: black; transition: color .3s; } .drop-down-item:hover{ color: #1890ff; } .left_echart{ position: absolute !important; height: 60%; left: 0; top: 0; width: 400px; z-index: 50; }