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

添加锅炉3D视频

parent 355b05f8
......@@ -318,7 +318,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<video
id="video"
type="video/mp4"
src="/video/video6487e9f1b9652.mp4"
src="/video/GYBoiler3D.mp4"
width="1280"
controls
muted
......@@ -520,7 +520,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' +
markerId +
'">' +
' <img src="/images/points1.png">' +
' <img src="/imgs/Gis/points1.png">' +
"</div>";
break;
case 2:
......@@ -529,7 +529,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' +
markerId +
'">' +
' <img src="/images/points2.png">' +
' <img src="/imgs/Gis/points2.png">' +
"</div>";
break;
case 3:
......@@ -538,7 +538,7 @@ export default defineComponent({
'<div class="custom-content-marker markerPoints" id="' +
markerId +
'">' +
' <img src="/images/points3.png">' +
' <img src="/imgs/Gis/points3.png">' +
"</div>";
break;
}
......@@ -1552,7 +1552,7 @@ export default defineComponent({
width: 95%;
height: 35px;
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 {
padding: 1% 5% 0 5%;
......@@ -1616,12 +1616,12 @@ export default defineComponent({
font-weight: bolder;
}
.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;
margin-bottom: 10px;
}
.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;
}
.jkBarBlock {
......
......@@ -6,11 +6,14 @@ const m = detectZoom();
if( window.screen.height * window.devicePixelRatio == 1080) {
document.body.style.zoom = 100 / Number(m);
}
var height = window.screen.height;
console.log(height);
if( window.screen.height * window.devicePixelRatio >= 1600) {
document.body.style.zoom = 132 / Number(m);
}
// if (window.screen.width * window.devicePixelRatio >= 3840) {
//   document.body.style.zoom = 100 / (Number(m) / 2)
// } 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>
<template>
......
......@@ -518,7 +518,7 @@ export default defineComponent({
}
function openMap(){
const routePath = '/iframe'; // 要导航到的路由路径
const routePath = '/GisHome'; // 要导航到的路由路径
// 打开新窗口并导航到指定路由
window.open(
`${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