parent
6d064d7fcd
commit
9f61a9f133
@ -0,0 +1,181 @@
|
|||||||
|
.map-container {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mars-four-color {
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.four-color_name {
|
||||||
|
width: 100%;
|
||||||
|
background: url("../images/areaName.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff250;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-list {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
& > div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.lable-value {
|
||||||
|
background: url("../images/screen-list.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.lable-data {
|
||||||
|
width: 50%;
|
||||||
|
color: #612500;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.value-data {
|
||||||
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
color: #f7c75d;
|
||||||
|
font-family: "DIN-Regular-2";
|
||||||
|
span {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
& > div:last-child {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.multiple {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
bottom: 20px;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
z-index: 100;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background-image: url("../images/multipleList.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
.checkbox {
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
color: #ffffff;
|
||||||
|
background: linear-gradient(180deg, #072853 0%, #0079ff 100%);
|
||||||
|
border: 1px solid #0084ff;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.checked {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.btn-icon {
|
||||||
|
width: 15px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1920px) {
|
||||||
|
.mars-four-color {
|
||||||
|
top: -50px;
|
||||||
|
left: -50px;
|
||||||
|
}
|
||||||
|
.four-color_name {
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 37px;
|
||||||
|
}
|
||||||
|
.screen-list {
|
||||||
|
width: 233px;
|
||||||
|
right: -235px;
|
||||||
|
.lable-value {
|
||||||
|
height: 41px;
|
||||||
|
width: 234px;
|
||||||
|
margin-bottom: 3px;
|
||||||
|
padding: 0 6px;
|
||||||
|
.lable-data,
|
||||||
|
span {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.value-data {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.multiple {
|
||||||
|
width: 880px;
|
||||||
|
height: 87px;
|
||||||
|
padding: 0 180px;
|
||||||
|
|
||||||
|
.checkbox {
|
||||||
|
width: 112px;
|
||||||
|
height: 32px;
|
||||||
|
line-height: 32px;
|
||||||
|
font-size: 14px;
|
||||||
|
border-radius: 16px;
|
||||||
|
}
|
||||||
|
.btn-icon {
|
||||||
|
width: 15px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 2500px) {
|
||||||
|
.mars-four-color {
|
||||||
|
top: -80px;
|
||||||
|
left: -75px;
|
||||||
|
}
|
||||||
|
.four-color_name {
|
||||||
|
width: 150px;
|
||||||
|
height: 155px;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 55px;
|
||||||
|
}
|
||||||
|
.screen-list {
|
||||||
|
width: 330px;
|
||||||
|
right: -340px;
|
||||||
|
|
||||||
|
.lable-value {
|
||||||
|
height: 65px;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 0 12px;
|
||||||
|
.lable-data,
|
||||||
|
span {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
.value-data {
|
||||||
|
font-size: 44px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.multiple {
|
||||||
|
width: 1800px;
|
||||||
|
height: 178px;
|
||||||
|
padding: 0 360px;
|
||||||
|
.checkbox {
|
||||||
|
width: 228px;
|
||||||
|
height: 64.8px;
|
||||||
|
line-height: 64.8px;
|
||||||
|
font-size: 23px;
|
||||||
|
border-radius: 32px;
|
||||||
|
}
|
||||||
|
.btn-icon {
|
||||||
|
width: 29.47px;
|
||||||
|
height: 31.2px;
|
||||||
|
margin-right: 22px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
const mapOption = {
|
||||||
|
scene: {
|
||||||
|
resolutionScale: 0.5,
|
||||||
|
scene3DOnly: true,
|
||||||
|
requestRenderMode: true,
|
||||||
|
},
|
||||||
|
control: {
|
||||||
|
// contextmenu: { preventDefault: false, hasDefault: false },
|
||||||
|
},
|
||||||
|
terrain: {
|
||||||
|
show: false,
|
||||||
|
},
|
||||||
|
basemaps: [
|
||||||
|
{
|
||||||
|
name: "影像地图",
|
||||||
|
type: "xyz",
|
||||||
|
url: process.env.VUE_APP_BASE_API2 + "/{z}/{y}/{x}.png",
|
||||||
|
minimumLevel: 1,
|
||||||
|
maximumLevel: 16,
|
||||||
|
show: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
export default mapOption;
|
Loading…
Reference in new issue