Commit 93fef193 authored by 王亚晖's avatar 王亚晖

添加锅炉3D视频

parent 355b05f8
...@@ -318,7 +318,7 @@ import AMapLoader from "@amap/amap-jsapi-loader"; ...@@ -318,7 +318,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<video <video
id="video" id="video"
type="video/mp4" type="video/mp4"
src="/video/video6487e9f1b9652.mp4" src="/video/GYBoiler3D.mp4"
width="1280" width="1280"
controls controls
muted muted
...@@ -520,7 +520,7 @@ export default defineComponent({ ...@@ -520,7 +520,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' + '<div class="custom-content-marker markerPoints" id="' +
markerId + markerId +
'">' + '">' +
' <img src="/images/points1.png">' + ' <img src="/imgs/Gis/points1.png">' +
"</div>"; "</div>";
break; break;
case 2: case 2:
...@@ -529,7 +529,7 @@ export default defineComponent({ ...@@ -529,7 +529,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' + '<div class="custom-content-marker markerPoints" id="' +
markerId + markerId +
'">' + '">' +
' <img src="/images/points2.png">' + ' <img src="/imgs/Gis/points2.png">' +
"</div>"; "</div>";
break; break;
case 3: case 3:
...@@ -538,7 +538,7 @@ export default defineComponent({ ...@@ -538,7 +538,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' + '<div class="custom-content-marker markerPoints" id="' +
markerId + markerId +
'">' + '">' +
' <img src="/images/points3.png">' + ' <img src="/imgs/Gis/points3.png">' +
"</div>"; "</div>";
break; break;
} }
...@@ -1552,7 +1552,7 @@ export default defineComponent({ ...@@ -1552,7 +1552,7 @@ export default defineComponent({
width: 95%; width: 95%;
height: 35px; height: 35px;
margin: 4% 0 0 5%; margin: 4% 0 0 5%;
background: url("/images/title_bg.png") top left no-repeat; background: url("/imgs/Gis/title_bg.png") top left no-repeat;
} }
.titleStyle p { .titleStyle p {
padding: 1% 5% 0 5%; padding: 1% 5% 0 5%;
...@@ -1616,12 +1616,12 @@ export default defineComponent({ ...@@ -1616,12 +1616,12 @@ export default defineComponent({
font-weight: bolder; font-weight: bolder;
} }
.btnGroup .btn1 { .btnGroup .btn1 {
background: url("/images/icon_btn1.png") center center no-repeat; background: url("/imgs/Gis/icon_btn1.png") center center no-repeat;
color: #ffffff; color: #ffffff;
margin-bottom: 10px; margin-bottom: 10px;
} }
.btnGroup .btn2 { .btnGroup .btn2 {
background: url("/images/icon_btn2.png") center center no-repeat; background: url("/imgs/Gis/icon_btn2.png") center center no-repeat;
color: #000000; color: #000000;
} }
.jkBarBlock { .jkBarBlock {
......
...@@ -6,11 +6,14 @@ const m = detectZoom(); ...@@ -6,11 +6,14 @@ const m = detectZoom();
if( window.screen.height * window.devicePixelRatio == 1080) { if( window.screen.height * window.devicePixelRatio == 1080) {
document.body.style.zoom = 100 / Number(m); document.body.style.zoom = 100 / Number(m);
} }
var height = window.screen.height;
console.log(height); // if (window.screen.width * window.devicePixelRatio >= 3840) {
if( window.screen.height * window.devicePixelRatio >= 1600) { //   document.body.style.zoom = 100 / (Number(m) / 2)
document.body.style.zoom = 132 / Number(m); // } else if (window.screen.width * window.devicePixelRatio >= 2560 && window.screen.width * window.devicePixelRatio <= 3840) {
} //   document.body.style.zoom = 100 / (Number(m) / 1.33)
// } else {
//   document.body.style.zoom = 100 / Number(m)
// }
</script> </script>
<template> <template>
......
...@@ -518,7 +518,7 @@ export default defineComponent({ ...@@ -518,7 +518,7 @@ export default defineComponent({
} }
function openMap(){ function openMap(){
const routePath = '/iframe'; // 要导航到的路由路径 const routePath = '/GisHome'; // 要导航到的路由路径
// 打开新窗口并导航到指定路由 // 打开新窗口并导航到指定路由
window.open( window.open(
`${routePath}`, `${routePath}`,
......
<template>
<div class="div"></div>
</template>
<style scoped>
.div {
width: 98%;
height: 95vh;
margin: 1%;
background-color: aquamarine;
border: 1px solid black;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment