Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
海康威视
web-project
Commits
93fef193
Commit
93fef193
authored
Jul 16, 2024
by
王亚晖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加锅炉3D视频
parent
355b05f8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
13 deletions
+28
-13
GYBoiler3D.mp4
public/video/GYBoiler3D.mp4
+0
-0
video6487e9f1b9652.mp4
public/video/video6487e9f1b9652.mp4
+0
-0
screenDisplay.vue
src/components/screenDisplay.vue
+7
-7
screenDisplay.vue
src/views/Gis/screenDisplay.vue
+8
-5
home.vue
src/views/home.vue
+1
-1
html.vue
src/views/html.vue
+12
-0
No files found.
public/video/GYBoiler3D.mp4
0 → 100644
View file @
93fef193
File added
public/video/video6487e9f1b9652.mp4
deleted
100644 → 0
View file @
355b05f8
File deleted
src/components/screenDisplay.vue
View file @
93fef193
...
@@ -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="/im
age
s/points1.png">'
+
' <img src="/im
gs/Gi
s/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="/im
age
s/points2.png">'
+
' <img src="/im
gs/Gi
s/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="/im
age
s/points3.png">'
+
' <img src="/im
gs/Gi
s/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("/im
age
s/title_bg.png")
top
left
no-repeat
;
background
:
url("/im
gs/Gi
s/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("/im
age
s/icon_btn1.png")
center
center
no-repeat
;
background
:
url("/im
gs/Gi
s/icon_btn1.png")
center
center
no-repeat
;
color
:
#ffffff
;
color
:
#ffffff
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.btnGroup
.btn2
{
.btnGroup
.btn2
{
background
:
url("/im
age
s/icon_btn2.png")
center
center
no-repeat
;
background
:
url("/im
gs/Gi
s/icon_btn2.png")
center
center
no-repeat
;
color
:
#000000
;
color
:
#000000
;
}
}
.jkBarBlock
{
.jkBarBlock
{
...
...
src/views/Gis/screenDisplay.vue
View file @
93fef193
...
@@ -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
>
...
...
src/views/home.vue
View file @
93fef193
...
@@ -518,7 +518,7 @@ export default defineComponent({
...
@@ -518,7 +518,7 @@ export default defineComponent({
}
}
function
openMap
(){
function
openMap
(){
const
routePath
=
'/
ifra
me'
;
// 要导航到的路由路径
const
routePath
=
'/
GisHo
me'
;
// 要导航到的路由路径
// 打开新窗口并导航到指定路由
// 打开新窗口并导航到指定路由
window
.
open
(
window
.
open
(
`
${
routePath
}
`
,
`
${
routePath
}
`
,
...
...
src/views/html.vue
0 → 100644
View file @
93fef193
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment