Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蒋波涛
/
super_globe_vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fa498086
authored
2019-12-05 13:26:12 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'20191205'
1 parent
b6afb12c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
130 additions
and
12 deletions
package-lock.json
package.json
src/components/viewer_s3m.vue
src/components/viewer_s3m_single.vue
src/components/viewer_tdt.vue
src/main.js
src/views/Home.vue
package-lock.json
View file @
fa49808
This diff is collapsed.
Click to expand it.
package.json
View file @
fa49808
...
...
@@ -9,8 +9,8 @@
"lint"
:
"vue-cli-service lint"
},
"dependencies"
:
{
"ant-design-vue"
:
"^1.4.8"
,
"core-js"
:
"^3.4.3"
,
"element-ui"
:
"^2.13.0"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
},
...
...
src/components/viewer_s3m.vue
View file @
fa49808
...
...
@@ -101,5 +101,16 @@ export default {
</
script
>
<
style
>
.sm-compass
{
pointer-events
:
auto
;
position
:
absolute
;
right
:
10px
;
top
:
70px
;
width
:
128px
;
height
:
128px
;
overflow
:
hidden
;
}
.sm-zoom
{
top
:
190px
;
}
</
style
>
...
...
src/components/viewer_s3m_single.vue
View file @
fa49808
...
...
@@ -2,7 +2,7 @@
* @Author: jiangbotao
* @Date: 2019-12-03 22:52:56
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
4 23:31:19
* @LastEditTime: 2019-12-0
5 13:16:55
* @FilePath: \superglobevue\src\components\viewer.vue
-->
<
template
>
...
...
@@ -168,9 +168,9 @@ export default {
<
style
>
.compass
{
top
:
1
0px
;
top
:
6
0px
;
}
.navigation-controls
{
top
:
1
2
0px
;
top
:
1
8
0px
;
}
</
style
>
...
...
src/components/viewer_tdt.vue
View file @
fa49808
...
...
@@ -4,7 +4,7 @@
* 2、添加了超图发布的矢量瓦片服务
* @Date: 2019-12-02 09:05:50
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-0
4 22:37:19
* @LastEditTime: 2019-12-0
5 13:14:46
* @FilePath: \WebGL_Webpack_Vue\components\viewer.vue
-->
<
template
>
...
...
@@ -90,5 +90,16 @@ export default {
</
script
>
<
style
>
.sm-compass
{
pointer-events
:
auto
;
position
:
absolute
;
right
:
10px
;
top
:
70px
;
width
:
128px
;
height
:
128px
;
overflow
:
hidden
;
}
.sm-zoom
{
top
:
190px
;
}
</
style
>
\ No newline at end of file
...
...
src/main.js
View file @
fa49808
/*
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-05 11:16:09
* @FilePath: \superglobevue\src\main.js
*/
import
Vue
from
'vue'
import
ElementUI
from
'element-ui'
import
'element-ui/lib/theme-chalk/index.css'
import
App
from
'./App.vue'
import
router
from
'./router'
Vue
.
config
.
productionTip
=
false
Vue
.
use
(
ElementUI
)
new
Vue
({
router
,
...
...
src/views/Home.vue
View file @
fa49808
...
...
@@ -2,22 +2,108 @@
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-05 1
0:46:13
* @LastEditTime: 2019-12-05 1
3:17:59
* @FilePath: \superglobevue\src\views\Home.vue
-->
<
template
>
<div
id=
"map"
>
<viewer></viewer>
</div>
<el-container
style=
"height: 100%; border: 1px solid #eee"
>
<el-container>
<el-header
style=
"text-align: left; font-size: 28px"
>
<i
class=
"el-icon-map-location"
></i>
三维
</el-header>
<el-main>
<el-aside
width=
"66px"
style=
"background-color: white"
>
<el-menu
default-active=
"1-4-1"
class=
"el-menu-vertical-demo"
:collapse=
"isCollapse"
>
<el-submenu
index=
"1"
>
<template
slot=
"title"
>
<i
class=
"el-icon-location"
></i>
<span
slot=
"title"
>
地图操作
</span>
</
template
>
<el-menu-item-group>
<span
slot=
"title"
>
分组一
</span>
<el-menu-item
index=
"1-1"
>
选项1
</el-menu-item>
<el-menu-item
index=
"1-2"
>
选项2
</el-menu-item>
</el-menu-item-group>
<el-menu-item-group
title=
"分组2"
>
<el-menu-item
index=
"1-3"
>
选项3
</el-menu-item>
</el-menu-item-group>
<el-submenu
index=
"1-4"
>
<span
slot=
"title"
>
选项4
</span>
<el-menu-item
index=
"1-4-1"
>
选项1
</el-menu-item>
</el-submenu>
</el-submenu>
<el-menu-item
index=
"2"
>
<i
class=
"el-icon-menu"
></i>
<span
slot=
"title"
>
空间查询
</span>
</el-menu-item>
<el-submenu
index=
"3"
>
<
template
slot=
"title"
>
<i
class=
"el-icon-location"
></i>
<span
slot=
"title"
>
地图操作
</span>
</
template
>
<el-menu-item-group>
<span
slot=
"title"
>
分组一
</span>
<el-menu-item
index=
"3-1"
>
淹没分析
</el-menu-item>
<el-menu-item
index=
"3-2"
>
选项2
</el-menu-item>
</el-menu-item-group>
<el-menu-item-group
title=
"分组2"
>
<el-menu-item
index=
"3-3"
>
选项3
</el-menu-item>
</el-menu-item-group>
<el-submenu
index=
"3-4"
>
<span
slot=
"title"
>
选项4
</span>
<el-menu-item
index=
"3-4-1"
>
选项1
</el-menu-item>
</el-submenu>
</el-submenu>
</el-menu>
</el-aside>
<div
id=
"map"
>
<viewer></viewer>
</div>
</el-main>
</el-container>
</el-container>
</template>
<
script
>
import
viewer
from
"@/components/viewer_
tdt
.vue"
;
import
viewer
from
"@/components/viewer_
s3m_single
.vue"
;
export
default
{
name
:
"home"
,
data
()
{
return
{
isCollapse
:
true
};
},
components
:
{
viewer
}
};
</
script
>
<
style
scoped
>
.el-header
{
padding
:
12px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-ms-flex-negative
:
0
;
flex-shrink
:
0
;
position
:
absolute
;
z-index
:
99
;
background-color
:
white
;
width
:
100%
;
margin-top
:
-1px
;
border-bottom
:
red
;
border-bottom-style
:
solid
;
border-bottom-width
:
2px
;
}
.el-aside
{
width
:
200px
;
position
:
absolute
;
height
:
100%
;
z-index
:
98
;
margin-top
:
39px
;
margin-left
:
-20px
;
background-color
:
white
;
/* background-color: rgb(238, 241, 246); */
}
</
style
>
...
...
Please
register
or
sign in
to post a comment