Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cesium-frame
Overview
Overview
Details
Activity
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
jlc
cesium-frame
Commits
dc1c616d
Commit
dc1c616d
authored
Aug 01, 2024
by
jlc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:相机场景目录的新建
parent
f3f8be3a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
AsideMenuBar.vue
src/components/AsideMenuBar.vue
+14
-1
ElementMap.js
src/views/ElementMap.js
+8
-0
indexView.vue
src/views/indexView.vue
+12
-1
No files found.
src/components/AsideMenuBar.vue
View file @
dc1c616d
...
@@ -61,6 +61,17 @@
...
@@ -61,6 +61,17 @@
</el-menu-item>
</el-menu-item>
</el-sub-menu>
</el-sub-menu>
<el-sub-menu
index=
"14"
>
<
template
#
title
>
<el-icon><MapLocation
/></el-icon>
<span>
相机
</span>
</
template
>
<el-menu-item
v-for=
"item in elementCamera"
:key=
"item.id"
:index=
"item.title"
@
click=
"goAnchor(item.title)"
>
<el-icon><View
/></el-icon>
<span>
{{item.title}}
</span>
</el-menu-item>
</el-sub-menu>
<el-sub-menu
index=
"15"
>
<el-sub-menu
index=
"15"
>
<
template
#
title
>
<
template
#
title
>
<el-icon><SemiSelect
/></el-icon>
<el-icon><SemiSelect
/></el-icon>
...
@@ -91,13 +102,14 @@
...
@@ -91,13 +102,14 @@
<
script
setup
>
<
script
setup
>
import
{
ref
}
from
'vue'
;
import
{
ref
}
from
'vue'
;
import
{
MapLocation
,
SemiSelect
,
Grid
,
View
}
from
"@element-plus/icons-vue"
;
import
{
MapLocation
,
SemiSelect
,
Grid
,
View
}
from
"@element-plus/icons-vue"
;
import
{
elementSpaceMissionsMap
,
elementStationMap
,
elementMovingMap
,
elementGraphicMap
,
elementSceneSetMap
,
elementWeatherMap
,
elementAlgorithmMap
}
from
'@/views/ElementMap'
;
import
{
elementSpaceMissionsMap
,
elementStationMap
,
elementMovingMap
,
elementGraphicMap
,
elementSceneSetMap
,
element
CameraMap
,
element
WeatherMap
,
elementAlgorithmMap
}
from
'@/views/ElementMap'
;
const
elementSpaceMissions
=
ref
()
const
elementSpaceMissions
=
ref
()
const
elementStation
=
ref
()
const
elementStation
=
ref
()
const
elementMoving
=
ref
()
const
elementMoving
=
ref
()
const
elementGraphic
=
ref
()
const
elementGraphic
=
ref
()
const
elementSceneSet
=
ref
()
const
elementSceneSet
=
ref
()
const
elementCamera
=
ref
()
const
elementWeather
=
ref
()
const
elementWeather
=
ref
()
const
elementAlgorithm
=
ref
()
const
elementAlgorithm
=
ref
()
...
@@ -106,6 +118,7 @@ elementStation.value = elementStationMap;
...
@@ -106,6 +118,7 @@ elementStation.value = elementStationMap;
elementMoving
.
value
=
elementMovingMap
;
elementMoving
.
value
=
elementMovingMap
;
elementGraphic
.
value
=
elementGraphicMap
;
elementGraphic
.
value
=
elementGraphicMap
;
elementSceneSet
.
value
=
elementSceneSetMap
;
elementSceneSet
.
value
=
elementSceneSetMap
;
elementCamera
.
value
=
elementCameraMap
;
elementWeather
.
value
=
elementWeatherMap
;
elementWeather
.
value
=
elementWeatherMap
;
elementAlgorithm
.
value
=
elementAlgorithmMap
;
elementAlgorithm
.
value
=
elementAlgorithmMap
;
...
...
src/views/ElementMap.js
View file @
dc1c616d
...
@@ -142,6 +142,14 @@ export const elementSceneSetMap = {
...
@@ -142,6 +142,14 @@ export const elementSceneSetMap = {
}
}
}
}
// 相机
export
const
elementCameraMap
=
{
跟踪视角
:
{
title
:
'跟踪视角'
,
pngUrl
:
'/src/assets/Mapx.png'
}
}
// 天气
// 天气
export
const
elementWeatherMap
=
{
export
const
elementWeatherMap
=
{
雨
:
{
雨
:
{
...
...
src/views/indexView.vue
View file @
dc1c616d
...
@@ -46,6 +46,15 @@
...
@@ -46,6 +46,15 @@
</div>
</div>
</div>
</div>
<div
class=
"mt-10"
>
<div
class=
"mt-10"
>
<span
class=
"text-base font-bold"
>
相机
</span>
<div
style=
"overflow-y: auto"
class=
"container"
>
<div
v-for=
"item in elementCamera"
:key=
"item.id"
@
click=
"indexBtn(item.title)"
class=
"item-container"
>
<div
:id=
"item.title"
>
{{
item
.
title
}}
</div>
<img
:src=
"item.pngUrl"
width=
"250"
>
</div>
</div>
</div>
<div
class=
"mt-10"
>
<span
class=
"text-base font-bold"
>
天气
</span>
<span
class=
"text-base font-bold"
>
天气
</span>
<div
style=
"overflow-y: auto"
class=
"container"
>
<div
style=
"overflow-y: auto"
class=
"container"
>
<div
v-for=
"item in elementWeather"
:key=
"item.id"
@
click=
"indexBtn(item.title)"
class=
"item-container"
>
<div
v-for=
"item in elementWeather"
:key=
"item.id"
@
click=
"indexBtn(item.title)"
class=
"item-container"
>
...
@@ -69,7 +78,7 @@
...
@@ -69,7 +78,7 @@
<
script
setup
>
<
script
setup
>
import
{
ref
}
from
'vue'
;
import
{
ref
}
from
'vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
elementSpaceMissionsMap
,
elementStationMap
,
elementMovingMap
,
elementGraphicMap
,
elementSceneSetMap
,
elementWeatherMap
,
elementAlgorithmMap
}
from
'@/views/ElementMap'
;
import
{
elementSpaceMissionsMap
,
elementStationMap
,
elementMovingMap
,
elementGraphicMap
,
elementSceneSetMap
,
element
CameraMap
,
element
WeatherMap
,
elementAlgorithmMap
}
from
'@/views/ElementMap'
;
const
router
=
useRouter
()
const
router
=
useRouter
()
const
elementSpaceMissions
=
ref
()
const
elementSpaceMissions
=
ref
()
...
@@ -77,6 +86,7 @@ const elementStation = ref()
...
@@ -77,6 +86,7 @@ const elementStation = ref()
const
elementMoving
=
ref
()
const
elementMoving
=
ref
()
const
elementGraphic
=
ref
()
const
elementGraphic
=
ref
()
const
elementSceneSet
=
ref
()
const
elementSceneSet
=
ref
()
const
elementCamera
=
ref
()
const
elementWeather
=
ref
()
const
elementWeather
=
ref
()
const
elementAlgorithm
=
ref
()
const
elementAlgorithm
=
ref
()
...
@@ -85,6 +95,7 @@ elementStation.value = elementStationMap;
...
@@ -85,6 +95,7 @@ elementStation.value = elementStationMap;
elementMoving
.
value
=
elementMovingMap
;
elementMoving
.
value
=
elementMovingMap
;
elementGraphic
.
value
=
elementGraphicMap
;
elementGraphic
.
value
=
elementGraphicMap
;
elementSceneSet
.
value
=
elementSceneSetMap
;
elementSceneSet
.
value
=
elementSceneSetMap
;
elementCamera
.
value
=
elementCameraMap
;
elementWeather
.
value
=
elementWeatherMap
;
elementWeather
.
value
=
elementWeatherMap
;
elementAlgorithm
.
value
=
elementAlgorithmMap
;
elementAlgorithm
.
value
=
elementAlgorithmMap
;
...
...
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