绘制离线地图
This commit is contained in:
202
src/views/pqs/panorama/components/style/map.scss
Normal file
202
src/views/pqs/panorama/components/style/map.scss
Normal file
@@ -0,0 +1,202 @@
|
||||
.query-box-wrap {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: calc(50% - 305px);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
.Icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-image: url('@/assets/icons/网公司.svg');
|
||||
}
|
||||
.el-input__icon {
|
||||
font-size: 20px;
|
||||
color: #000;
|
||||
cursor: pointer;
|
||||
}
|
||||
.el-input {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.collapse {
|
||||
top: 65px;
|
||||
.collapse_none {
|
||||
height: 44px;
|
||||
width: 334px;
|
||||
text-align: center;
|
||||
line-height: 44px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.collapseBox {
|
||||
max-height: 240px;
|
||||
overflow-y: auto;
|
||||
.group-list__item {
|
||||
height: 55px;
|
||||
padding: 5px 12px;
|
||||
border-bottom: 1px solid #e4e7ed;
|
||||
display: grid;
|
||||
grid-auto-rows: 1fr 1fr;
|
||||
cursor: pointer;
|
||||
p:nth-child(1) {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
display: inline-block;
|
||||
width: 300px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
p:nth-child(2) {
|
||||
font-size: 12px;
|
||||
}
|
||||
&:hover {
|
||||
background-color: #009ea81a;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
:deep(.el-collapse-item__header) {
|
||||
height: 32px;
|
||||
border-bottom: 1px solid #e4e7ed;
|
||||
background-color: #f7fafd;
|
||||
padding-left: 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
:deep(.province-selector) {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 50%;
|
||||
.distribution__body {
|
||||
height: auto;
|
||||
}
|
||||
.province-selector__options {
|
||||
height: auto;
|
||||
}
|
||||
.province-op {
|
||||
width: 48%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.province-selector__button {
|
||||
width: 100px;
|
||||
padding: 4px 12px;
|
||||
span {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
.province-selector__options {
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
:deep(.sgmap-canvas) {
|
||||
width: 100% !important;
|
||||
}
|
||||
:deep(.sgmap-ctrl-bottom-right) {
|
||||
z-index: 0 !important;
|
||||
}
|
||||
:deep(.my-popup) {
|
||||
max-width: 400px !important;
|
||||
.popup-box {
|
||||
width: 300px;
|
||||
height: 70px;
|
||||
.popup_content {
|
||||
display: grid;
|
||||
grid-template-columns: 50px 1fr;
|
||||
img {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
}
|
||||
.title {
|
||||
font-weight: 550;
|
||||
}
|
||||
.state {
|
||||
width: 45px;
|
||||
margin-left: 5px;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
}
|
||||
.info {
|
||||
color: #18181b99;
|
||||
margin: 5px 0;
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
height: 14px;
|
||||
line-height: 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
-webkit-box-orient: vertical;
|
||||
&::after {
|
||||
display: inline-block;
|
||||
margin: 0 3px;
|
||||
content: ' ';
|
||||
width: 2px;
|
||||
height: 11px;
|
||||
background: #e5e6eb73;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.popup_footer {
|
||||
padding: 5px 5px;
|
||||
border-top: 1px solid #e5e6eb;
|
||||
color: var(--el-color-primary);
|
||||
span {
|
||||
margin-right: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.sgmap-popup-content {
|
||||
padding: 15px 10px 10px !important;
|
||||
}
|
||||
.sgmap-popup-close-button {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
:deep(.my-radiusPop) {
|
||||
.sgmap-popup-tip {
|
||||
display: none;
|
||||
}
|
||||
.sgmap-popup-content {
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
padding: 5px 5px !important;
|
||||
background-color: #00000000;
|
||||
color: #fff;
|
||||
}
|
||||
img {
|
||||
height: 40px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.infoBox {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
text-align: center;
|
||||
div {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#nrDeviceCard {
|
||||
position: absolute;
|
||||
top: 11px;
|
||||
right: 70px;
|
||||
width: 450px;
|
||||
z-index: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user