.content { width: 100%; height: 100%; // min-width: 1024px; // min-height: 768px; box-sizing: border-box; padding: 1px; position: relative; #map { width: 100%; height: 100%; } } //左侧工作区 .leftDiv { width: 400px; height: 100%; background-color: #fff; overflow: hidden; position: absolute; left: 0px; top: 0px; z-index: 10; box-sizing: border-box; padding: 3px; } //左侧工作区 显隐图标 .publicButton { display: block; width: 30px; height: 30px; color: #fff; position: absolute; top: 50%; margin-top: -15px; z-index: 11; cursor:pointer; } .leftHide { left: 400px; } .leftShow { left: 0px;; } .leftDivShow { margin-left: 0px; transition: margin-left 0.5s; } .leftDivHide { margin-left: -500px; transition: margin-left 0.5s; } //文本溢出 .overflowText { overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } .mat-icon, label, button, p, span {cursor:pointer;} //左上搜索 .searchInput { width: 340px; max-height: 500px; overflow: hidden; position: absolute; left: 30px; top: 15px; z-index: 5; display: flex; flex-direction: column; .clearIcon { position: absolute; color: rgb(73, 71, 71); top: 0px; right: 40px; width: 36px; height: 36px; line-height: 46px; display: inline-block; text-align: center; } .searchDataDiv { background-color: #fff; flex: 1; overflow-y: auto; border-right: 1px solid rgb(228, 225, 225); box-shadow: inset 0px 0px 3px #bdb8b8; } input { width: 300px; height: 36px; outline: none; border-radius: 8px 0 0 8px; box-sizing: border-box; padding-left: 5px; border: 1px solid rgb(228, 225, 225); } button { width: 40px; height: 36px; border-radius: 0px 8px 8px 0; float: right; border: none; outline: none; background-color: #0080FF; .mat-icon { font-size: 26px; vertical-align: bottom; color: #fff; } } .searchCompany { width: 100%; height: 26px; margin: 3px 0; box-sizing: border-box; display: flex; align-items: center; justify-self: center; p { flex: 1; font-size: 14px; padding-left: 10px; } :last-child { color: #999; font-size: 10px; } } } .searchCompany:hover { background-color: rgb(228, 228, 228);cursor:pointer; } //左侧导航路线 .routeGIS { width: 340px; max-height: 700px; overflow: hidden; position: absolute; border-radius: 10px; background-color: #0080FF; left: 30px; top: 15px; z-index: 6; display: flex; flex-direction: column; .routeHeader { width: 100%; height: 140px; min-height: 140px; position: relative; display: flex; align-items: center; justify-content: center; .routeLeft { width: 26px; text-align: center; margin: 0 5px; box-sizing: border-box; .mat-icon { font-size: 24px; color: #fff; } } .routeContent { flex: 1; //起点终点 input .routeEveryRow { position: relative; height: 30px; margin: 3px 0; label { position: absolute; color: #fff; } .routeText { font-size: 14px; top: 5.5px; left: 5px; } .routeClear { top: 5px; right: 13px; mat-icon{ font-size: 22px; width: 22px; height: 22px; color: #333333; opacity: 0.16; } } input { width: 80%; padding-left: 25px; height: 30px; border-radius: 5px; border: none; outline: none; color: #fff; background-color: #0874DE; } } } } //导航内容区 .routeCenter::-webkit-scrollbar { display: none; /* Chrome Safari */ } .routeCenter { width: 100%; overflow-y: auto; scrollbar-width: none; /* Firefox */ box-sizing: border-box; background-color: #fff; border-radius: 0 0 10px 10px; border: 1px solid rgb(201, 197, 197); >div { width: 100%; height: 30px; line-height: 30px; box-sizing: border-box; margin: 5px 0; font-size: 12px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } //div >div:not(:first-child){ padding: 0 10px; box-sizing: border-box; } .routeTypeExplain label { margin: 0 10px; } .routeCenterTB { p { display: inline-block; margin-right: 10px; width: 30px; height: 30px; border-radius: 50%; color: #fff; text-align: center; font-size: 14px; } .orientation { color: #0080FF; } } } } .routeGISPublicIcon { position: absolute; color: #fff; font-size: 14px; } //导航 定位部分公共样式 //选择路线 方案 button .routeType { margin: 0 10px; outline: none; border: none; background-color: transparent; font-size: 14px; font-weight: 550; color: rgb(122, 116, 116); } .selectRouteType { color: #0080FF; } //右上角div .rightTopBox{ width: 590px; position: absolute; right: 30px; top: 15px; .topbox{ width: 100%; height: 40px; display: flex; justify-content: space-around; background: #FFFFFF; border-radius: 6px; align-items: center; box-sizing: border-box; padding: 0 12px; .titleItem{ cursor: pointer; display: flex; align-items: center; color: #0080FF; height: 100%; img{ margin-right: 5px; } span{ font-size: 15px; } } .selectedItem{ border-bottom: 2px solid #0080FF; } } .contantbox{ width: 100%; background: #fff; margin-top: 3px; border-radius: 6px; .keyUnitBox,.waterBox,.coverageBox,.fireForceBox,.linkageForcesBox{ box-sizing: border-box; padding:8px 15px; // cursor: default; font-size: 14px; color: #333333; } .inputList{ .inputItem{ margin-top: 8px; display: flex; flex-wrap: wrap; mat-checkbox{ margin-right: 15px; } } .btnbox{ display: flex; align-items: center; justify-content: space-between; button{ cursor: pointer; } .submit{ width: 68px; height: 30px; text-align: center; border: 0; background: #0080FF; opacity: 1; border-radius: 4px; color: #fff; } .cancel{ width: 96px; height: 30px; background: #EEF1F5; opacity: 1; border-radius: 4px; border: 0; color: #333333; } } } .coverageBox{ .topbox{ display: flex; align-items: center; justify-content: space-between; } .contantbox{ display: flex; align-items: center; div{ width: 140px; height: 100px; position: relative; margin-right: 16px; border: 2px solid #fff; box-sizing: border-box; img{ width: 100%; height: 100%; cursor: pointer; } span{ position: absolute; right: 2px; bottom: 2px; display: inline-block; background-color: #0080FF; color: #fff; padding: 0 2px; } } .selectedPattern{ border: 4px solid #0080FF; } } } } } //测距离 .distanceBox{ box-sizing: border-box; padding:8px 15px; display: flex; justify-content: center; align-items: center; div{ display: flex; align-items: center; span{ cursor: default; } } .clearbutton{ border: none; border-radius: 4px; background-color:#FF3636; text-align: center; padding: 8px 20px; margin-left: 20px; margin-top: 5px; font-size: 14px; color: #FFFFFF; outline-color: #FFFFFF; } } @media screen and (max-width:1200px){ .leftDiv { width: 320px; } #leftHide{ left: 320px; } .rightTopBox{ right: 8px; } .searchInput,.routeGIS{ left: 18px; } .routeGIS{ max-height: 539px; } } @media screen and (min-width:1200px) and (max-width:1400px){ .leftDiv { width: 328px; } #leftHide{ left: 328px; } }