样式修复

main
许宏杰 1 week ago
parent 68a808263d
commit 9dc0ebc706

@ -20,7 +20,12 @@
<!--引入mars3d库lib-->
<link href="./lib/mars3d/mars3d.css" rel="stylesheet" type="text/css" />
<% if (process.env.NODE_ENV === 'production' ) { %>
<script src="./lib/mars3d/mars3d.js" type="text/javascript"></script>
<% } else {%>
<script src="./lib/mars3d/mars3d-dev.js" type="text/javascript"></script>
<% } %>
<!-- 插件 -->
<!-- <script

File diff suppressed because one or more lines are too long

@ -75,7 +75,7 @@ export default {
selectedItems: [],
graphicLayer: null,
baseUrl: basePathUrl + "lib/geoJson/tileset.json",
carUrl: basePathUrl + "lib/qiche.gltf",
carUrl: basePathUrl + "static/qiche.gltf",
map: null,
mapLayer: {},
options: {
@ -101,7 +101,7 @@ export default {
},
control: {
// contextmenu: { preventDefault: false, hasDefault: false },
contextmenu: { preventDefault: false, hasDefault: false },
},
},
show: false,
@ -344,7 +344,7 @@ export default {
cursor: pointer;
position: absolute;
top: 103px;
left: 554px;
left: calc(554px + 24px);
z-index: 100;
width: 80px;
height: 32px;

@ -53,11 +53,11 @@ export default {
},
},
control: {
// contextmenu: { preventDefault: false, hasDefault: false },
contextmenu: { preventDefault: false, hasDefault: false },
},
},
Line: [],
carUrl: basePathUrl + "lib/qiche.gltf",
carUrl: basePathUrl + "static/qiche.gltf",
};
},
components: { MarsMap, grids },
@ -260,7 +260,8 @@ export default {
cursor: pointer;
position: absolute;
top: 103px;
left: 554px;
left: calc(554px + 24px);
z-index: 100;
width: 80px;
height: 32px;
@ -320,7 +321,7 @@ export default {
}
.video-list {
position: absolute;
bottom: 25px;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
z-index: 100;

@ -26,11 +26,11 @@ export default {
options: {
scene: {
center: {
lat: -9.65789,
lng: 110.718514,
alt: 13807610.5,
heading: 351.3,
pitch: -73,
lat: -37.965698,
lng: 112.204315,
alt: 12742072.3,
heading: 353.7,
pitch: -56.7,
},
showSun: false,
showMoon: false,
@ -49,7 +49,7 @@ export default {
},
},
control: {
// contextmenu: { preventDefault: false, hasDefault: false },
contextmenu: { preventDefault: false, hasDefault: false },
},
basemaps: [
{
@ -77,10 +77,10 @@ export default {
map.setSceneOptions({
cameraController: {
// enableZoom: false,
// enableTranslate: false,
// enableRotate: false,
// enableTilt: false,
enableZoom: false,
enableTranslate: false,
enableRotate: false,
enableTilt: false,
},
});
@ -357,7 +357,7 @@ export default {
.island {
position: absolute;
right: 544px;
bottom: calc(34px + 9px);
bottom: calc(30px + 9px);
z-index: 60;
width: 160px;
height: 200px;

Loading…
Cancel
Save