地图中心位置修改

yishuixian
徐景良 2023-09-04 17:05:22 +08:00
parent eb3a4b53f5
commit 96cbcb9e16
3 changed files with 14 additions and 24 deletions

View File

@ -2,8 +2,8 @@
"map3d": {
"scene": {
"center": {
"lat": 35.376128,
"lng": 118.036717,
"lat": 35.795011,
"lng": 118.628869,
"alt": 2779,
"heading": 1.3,
"pitch": -20.5

View File

@ -800,7 +800,7 @@ export default {
let graphic = new mars3d.graphic.BillboardEntity({
position:
localStorage.getItem("areaName") == "feixian"
? [118.031537, 35.43147, 246]
? [118.626282,35.775101, 246]
: [117.838645, 35.503401, 248.7],
style: {
image:

View File

@ -5,8 +5,8 @@
<div class="navigation-center">
<div class="navigation-item" v-for="(item,index) in routerlist" :key="index" :style="{'background':item.bgColor}" @click="goDetail(item)">
<div class="item-icon">
<img class="top-img" :src="'/img/navigation/top-'+(index+1)+'.png'" alt="">
<img class="bottom-img" :src="'/img/navigation/bottom-'+(index+1)+'.png'" alt="">
<img class="top-img" :src="'/img/navigation/top-'+item.icon+'.png'" alt="">
<img class="bottom-img" :src="'/img/navigation/bottom-'+item.icon+'.png'" alt="">
</div>
<div class="item-title">
{{item.lable}}
@ -27,7 +27,7 @@
<div class="code-container">
<div class="code-text">
扫码下载 APP
扫码<br/>下载 APP
</div>
<div class="code-image">
<img src="/img/navigation/code.png" alt="">
@ -55,27 +55,17 @@
routerlist:[
{
lable:"防灭火沙盘",
icon:"",
icon:"1",
url:"/home",
bgColor:"linear-gradient(180deg, #4CF6EA 0%, #3C31F5 100%)"
},{
lable:"网格化管理",
icon:"",
url:"/gridman",
bgColor:"linear-gradient(180deg, #DBA2FD 0%, #3C31F5 100%)"
},{
lable:"监测中心",
icon:"",
url:"http://60.213.14.14:6088/forestry/",
bgColor:"linear-gradient(180deg, #FEA887 0%, #EF3E70 100%)"
},{
lable:"数据中心",
icon:"",
icon:"4",
url:"http://223.99.16.253:9003/#/dashboard?id="+ localStorage.getItem("X-Token"),
bgColor:"linear-gradient(180deg, #E0FF13 0%, #086D3C 100%)"
},{
lable:"管理中心",
icon:"",
icon:"5",
url:"/dashboard",
bgColor:"linear-gradient(180deg, #FFDF2F 0%, #FB5757 100%)"
}
@ -134,7 +124,7 @@
}
.navigation-center{
width:1060px;
width:636px;
height:255px;
margin:30px auto;
}
@ -186,12 +176,12 @@
width:80px;
}
.two-code-center{
width:1040px;
width:616px;
height:172px;
margin:0px auto;
}
.two-code-center .two-code-item{
width:700px;
width:412px;
height:172px;
float:left;
background: #0E2C37;
@ -218,7 +208,7 @@
background:#eee;
}
.code-text{
width:220px;
width:100%;
padding:5px 20px;
min-height:30px;
text-align: center;
@ -272,7 +262,7 @@
}
.two-code-center .documation-item{
width:319px;
width:192px;
height:172px;
float:right;
background: #0E2C37;