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
8f2cd684
authored
2019-12-06 21:42:34 +0800
by
chiangbt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
20191205
1 parent
736da9bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
27 deletions
README.md
src/components/viewer_s3m_single.vue
src/components/viewer_s3m_wz.vue
src/theme/theme.less
src/views/Home.vue
README.md
View file @
8f2cd68
...
...
@@ -22,7 +22,7 @@ SuperGlobeVue是基于vue-cli3和supermap cesium 的一款Globe地球视图。
## 2、设置
### 项目依赖库安装
```
npm install
npm install
--registry https://registry.npm.taobao.org
```
### 代码编译及热启动
...
...
src/components/viewer_s3m_single.vue
View file @
8f2cd68
...
...
@@ -45,7 +45,6 @@
<
script
>
import
URL_CONFIG
from
"./../config/urlConfig.vue"
;
// import CesiumNavigation from "cesium-navigation-es6";
const
Cesium
=
window
.
Cesium
;
export
default
{
data
:
function
()
{
...
...
src/components/viewer_s3m_wz.vue
View file @
8f2cd68
This diff is collapsed.
Click to expand it.
src/theme/theme.less
0 → 100644
View file @
8f2cd68
@import '~view-design/src/styles/index.less';
// Here are the variables to cover, such as:
@primary-color: #8c0776;
\ No newline at end of file
src/views/Home.vue
View file @
8f2cd68
...
...
@@ -6,20 +6,31 @@
* @FilePath: \superglobevue\src\views\Home.vue
-->
<
template
>
<div
id=
"map"
>
<el-container>
<el-header
style=
"height: 50px;"
><i
class=
"el-icon-s-opportunity"
></i>
Header
</el-header>
<el-main>
<viewer></viewer>
</el-main>
<el-footer
style=
"height: 22px;"
>
Footer
</el-footer>
</el-container>
<!--
<div
id=
"map"
>
<div
id=
"header"
>
三维地理信息系统
</div>
<viewer></viewer>
</div>
<div
id=
"footer"
>
经纬度信息
</div>
</div>
-->
</
template
>
<
script
>
import
viewer
from
"@/components/viewer_
ymo
.vue"
;
import
viewer
from
"@/components/viewer_
s3m_wz
.vue"
;
export
default
{
name
:
"home"
,
data
()
{
return
{
isCollapse
:
true
};
return
{
theme1
:
'primary'
};
},
components
:
{
viewer
...
...
@@ -29,28 +40,27 @@ export default {
<
style
scoped
>
.el-header
{
padding
:
12px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-ms-flex-negative
:
0
;
flex-shrink
:
0
;
height
:
50px
;
top
:
0px
;
position
:
absolute
;
z-index
:
99
;
background-color
:
white
;
width
:
100%
;
margin-top
:
-1px
;
border-bottom
:
red
;
border-bottom-style
:
solid
;
border-bottom-width
:
2px
;
background-color
:
#2d8cf0
;
color
:
white
;
text-align
:
left
;
padding
:
10px
0px
;
padding-left
:
10px
;
z-index
:
99
;
font-size
:
20pt
;
}
.el-aside
{
width
:
200px
;
.el-footer
{
height
:
22px
;
bottom
:
0px
;
position
:
absolute
;
height
:
100%
;
z-index
:
98
;
margin-top
:
39px
;
margin-left
:
-20px
;
background-color
:
white
;
/* background-color: rgb(238, 241, 246); */
width
:
100%
;
background-color
:
rgba
(
19
,
17
,
17
,
0.5
)
;
color
:
white
;
text-align
:
left
;
padding-top
:
2px
;
padding-left
:
10px
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment