许宏杰 3 months ago
parent c1a630e215
commit 8173542db8

@ -53,9 +53,8 @@
.video-dialog { .video-dialog {
background-color: transparent; background-color: transparent;
// width: 750px; width: 750px;
width: 25%; height: 500px;
height: 50%;
.el-dialog__header { .el-dialog__header {
padding: 0; padding: 0;
} }
@ -69,7 +68,14 @@
display: none; display: none;
} }
} }
@media (min-width: 2500px) {
.video-dialog {
background-color: transparent;
width: 25% !important;
height: 50% !important;
}
}
// //
.carPopup { .carPopup {
.mars3d-popup-tip-container { .mars3d-popup-tip-container {
@ -138,6 +144,7 @@
height: 79%; height: 79%;
width: 100%; width: 100%;
overflow-y: auto; overflow-y: auto;
padding: 10px;
} }
.sub-title { .sub-title {
width: 120px; width: 120px;

@ -359,8 +359,8 @@ export default {
position: relative; position: relative;
// flex: 0 0 calc(100% / 6); /* 5 */ // flex: 0 0 calc(100% / 6); /* 5 */
flex: 1; flex: 1;
width: 140px; width: 130px;
height: 140px; height: 130px;
margin-right: 10px; margin-right: 10px;
.video-src { .video-src {
width: 100%; width: 100%;
@ -471,7 +471,7 @@ export default {
@media (min-width: 2500px) { @media (min-width: 2500px) {
.video-title { .video-title {
margin-bottom: 8px; margin-bottom: 12px;
} }
.main-title, .main-title,
.title-btn { .title-btn {

@ -198,6 +198,12 @@ export default {
heading: 357.9, heading: 357.9,
pitch: -31.5, pitch: -31.5,
}, },
cameraController: {
enableZoom: true,
enableTranslate: true,
enableRotate: true,
enableTilt: true,
},
}); });
map.fixedLight = true; // gltf map.fixedLight = true; // gltf
// //

@ -94,6 +94,12 @@ export default {
heading: 357.9, heading: 357.9,
pitch: -31.5, pitch: -31.5,
}, },
cameraController: {
enableZoom: true,
enableTranslate: true,
enableRotate: true,
enableTilt: true,
},
}); });
this.map = map; this.map = map;
@ -187,11 +193,11 @@ export default {
// parseFloat(lastPoint.lat), // parseFloat(lastPoint.lat),
// ]), // ]),
// positions: [[parseFloat(lastPoint.lng), parseFloat(lastPoint.lat)]], // positions: [[parseFloat(lastPoint.lng), parseFloat(lastPoint.lat)]],
camera: { // camera: {
type: "gs", // type: "gs",
heading: 0, // heading: 0,
radius: 3000, // radius: 3000,
}, // },
model: { model: {
show: true, show: true,
url: this.carUrl, url: this.carUrl,
@ -460,7 +466,7 @@ export default {
top: 238px; top: 238px;
& > div { & > div {
width: 340px !important; width: 350px !important;
img { img {
height: 80px !important; height: 80px !important;
} }
@ -469,5 +475,8 @@ export default {
} }
} }
} }
.video-list {
padding: 20px !important;
}
} }
</style> </style>

@ -1,13 +1,12 @@
const mapOption = { const mapOption = {
scene: { scene: {
resolutionScale: 0.5, resolutionScale: 0.7,
scene3DOnly: true, scene3DOnly: true,
requestRenderMode: true, requestRenderMode: true,
fog: false, fog: false,
fxaa: false, fxaa: false,
removeDblClick: true, removeDblClick: true,
requestRenderMode: false,
scene3DOnly: false,
sceneMode: 3, sceneMode: 3,
shadows: false, shadows: false,
showMoon: false, showMoon: false,
@ -16,7 +15,7 @@ const mapOption = {
showSun: false, showSun: false,
}, },
control: { control: {
// contextmenu: { preventDefault: false, hasDefault: false }, contextmenu: { preventDefault: false, hasDefault: false },
}, },
terrain: { terrain: {
show: false, show: false,

Loading…
Cancel
Save