Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yindong-tongbai-automation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
yindong-tongbai-automation
Commits
f349e541
Commit
f349e541
authored
Mar 14, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init排水系统
parent
e441cbb6
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
55 additions
and
8 deletions
+55
-8
icon_click.png
src/assets/images/screen/hjjc/icon_click.png
+0
-0
icon_hover.png
src/assets/images/screen/hjjc/icon_hover.png
+0
-0
icon_normal.png
src/assets/images/screen/hjjc/icon_normal.png
+0
-0
bg.png
src/assets/images/screen/psxt/bg.png
+0
-0
button.png
src/assets/images/screen/psxt/button.png
+0
-0
button1.png
src/assets/images/screen/psxt/button1.png
+0
-0
button2.png
src/assets/images/screen/psxt/button2.png
+0
-0
gd.png
src/assets/images/screen/psxt/gd.png
+0
-0
icon1.png
src/assets/images/screen/psxt/icon1.png
+0
-0
item.png
src/assets/images/screen/psxt/item.png
+0
-0
item1.png
src/assets/images/screen/psxt/item1.png
+0
-0
title.png
src/assets/images/screen/psxt/title.png
+0
-0
index.vue
src/views/Screen/index.vue
+16
-1
hjjc.vue
src/views/Screen/items/hjjc.vue
+0
-3
home.vue
src/views/Screen/items/home.vue
+7
-4
psxt.vue
src/views/Screen/items/psxt.vue
+32
-0
No files found.
src/assets/images/screen/hjjc/icon_click.png
0 → 100644
View file @
f349e541
4 KB
src/assets/images/screen/hjjc/icon_hover.png
0 → 100644
View file @
f349e541
3.93 KB
src/assets/images/screen/hjjc/icon_normal.png
0 → 100644
View file @
f349e541
4.28 KB
src/assets/images/screen/psxt/bg.png
0 → 100644
View file @
f349e541
This diff is collapsed.
Click to expand it.
src/assets/images/screen/psxt/button.png
0 → 100644
View file @
f349e541
4.55 KB
src/assets/images/screen/psxt/button1.png
0 → 100644
View file @
f349e541
1.5 KB
src/assets/images/screen/psxt/button2.png
0 → 100644
View file @
f349e541
1.99 KB
src/assets/images/screen/psxt/gd.png
0 → 100644
View file @
f349e541
21 KB
src/assets/images/screen/psxt/icon1.png
0 → 100644
View file @
f349e541
287 Bytes
src/assets/images/screen/psxt/item.png
0 → 100644
View file @
f349e541
13 KB
src/assets/images/screen/psxt/item1.png
0 → 100644
View file @
f349e541
13.1 KB
src/assets/images/screen/psxt/title.png
0 → 100644
View file @
f349e541
14.4 KB
src/views/Screen/index.vue
View file @
f349e541
...
...
@@ -4,10 +4,15 @@
v-if=
"showMenu === 0"
style=
"position: absolute; top: 0; left: 0; right: 0; bottom: 0"
></home>
<psxt
v-if=
"showMenu === 3"
style=
"position: absolute; top: 0; left: 0; right: 0; bottom: 0"
></psxt>
<v-scale-screen
ref=
"scale-screen"
width=
"1920"
height=
"1080"
class=
"psxt-bg"
:fullScreen=
"true"
>
<div
class=
"container"
>
...
...
@@ -30,7 +35,12 @@
>
<p>
环境监测
</p>
</div>
<div
class=
"sub-item"
key=
""
:class=
"showMenu == 1 ? 'active' : ''"
>
<div
class=
"sub-item"
@
click=
"changeMenu(3)"
key=
""
:class=
"showMenu == 3 ? 'active' : ''"
>
<p>
排水系统
</p>
</div>
</div>
...
...
@@ -64,6 +74,7 @@
import
screenfull
from
"
screenfull
"
;
import
rydw
from
"
./items/rydw.vue
"
;
import
hjjc
from
"
./items/hjjc.vue
"
;
import
psxt
from
"
./items/psxt.vue
"
;
import
home
from
"
./items/home.vue
"
;
export
default
{
name
:
"
cockpit
"
,
...
...
@@ -71,6 +82,7 @@ export default {
home
,
rydw
,
hjjc
,
psxt
,
},
data
()
{
return
{
...
...
@@ -369,6 +381,9 @@ export default {
.poa
{
position
:
absolute
;
}
.psxt-bg
{
background
:
url("~@/assets/images/screen/psxt/bg.png")
no-repeat
center
;
}
/* 基础容器 */
.container
{
width
:
100%
;
...
...
src/views/Screen/items/hjjc.vue
View file @
f349e541
...
...
@@ -143,7 +143,6 @@
</div>
</div>
</div>
<!-- 弹窗内容 -->
</div>
</
template
>
<
script
>
...
...
@@ -698,8 +697,6 @@ export default {
color
:
#fdfeff
;
font-size
:
16px
;
font-weight
:
500
;
&
.is-checked
{
}
}
}
}
...
...
src/views/Screen/items/home.vue
View file @
f349e541
...
...
@@ -12,7 +12,8 @@ export default {
created
()
{
var
that
=
this
;
this
.
$nextTick
(()
=>
{
Cesium
.
Ion
.
defaultAccessToken
=
"
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ZmY5ZWUyZS00MjQwLTQzZjUtYTBjZi02ZWZiYzJhMmY2NTYiLCJpZCI6MTMxMzY5LCJpYXQiOjE3NDE2NzY4Mzh9.QD-8cQI_VqPG2t-S8KxLyMFux0R429lfTdhQWrdeWhE
"
;
Cesium
.
Ion
.
defaultAccessToken
=
"
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ZmY5ZWUyZS00MjQwLTQzZjUtYTBjZi02ZWZiYzJhMmY2NTYiLCJpZCI6MTMxMzY5LCJpYXQiOjE3NDE2NzY4Mzh9.QD-8cQI_VqPG2t-S8KxLyMFux0R429lfTdhQWrdeWhE
"
;
const
viewer
=
new
Cesium
.
Viewer
(
"
cesiumContainer
"
,
{
homeButton
:
false
,
sceneModePicker
:
false
,
...
...
@@ -38,7 +39,9 @@ export default {
// 调整模型高度
var
heightOffset
=
-
330.0
;
// 调整这个值以匹配地形高度
var
boundingSphere
=
tileset
.
boundingSphere
;
var
cartographic
=
Cesium
.
Cartographic
.
fromCartesian
(
boundingSphere
.
center
);
var
cartographic
=
Cesium
.
Cartographic
.
fromCartesian
(
boundingSphere
.
center
);
var
surface
=
Cesium
.
Cartesian3
.
fromRadians
(
cartographic
.
longitude
,
...
...
@@ -60,7 +63,7 @@ export default {
tileset
.
modelMatrix
=
Cesium
.
Matrix4
.
fromTranslation
(
translation
);
tileset
.
maximumMemoryUsage
=
1024
*
1024
;
tileset
.
maximumMemoryUsage
=
1024
*
1024
;
tileset
.
maximumScreenSpaceError
=
4
;
// 开启地形深度检测
...
...
@@ -84,4 +87,4 @@ export default {
height
:
100%
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/Screen/items/psxt.vue
0 → 100644
View file @
f349e541
<
template
>
<div
class=
"app-container home"
>
<div
id=
"cesiumContainer"
></div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
cesium
"
,
data
()
{
return
{};
},
created
()
{},
methods
:
{},
};
</
script
>
<
style
scoped
lang=
"scss"
>
.home
{
width
:
100%
;
height
:
100%
;
background
:
url("~@/assets/images/screen/psxt/bg.png")
no-repeat
center
;
display
:
flex
;
justify-content
:
center
;
padding-top
:
155px
;
#cesiumContainer
{
width
:
1800px
;
height
:
745px
;
background
:
url("~@/assets/images/screen/psxt/gd.png")
no-repeat
center
;
background-size
:
1800px
745px
;
}
}
</
style
>
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