Home.vue
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-05 21:29:53
* @FilePath: \superglobevue\src\views\Home.vue
-->
<template>
<el-container>
<el-header style="height: 50px;">
<i class="el-icon-s-opportunity"></i> 三维地理信息系统
</el-header>
<el-main style="padding: 0px;">
<viewer></viewer>
</el-main>
<el-footer style="height: 22px;">Footer</el-footer>
</el-container>
</template>
<script>
import viewer from "@/components/viewer_s3m_wz.vue";
export default {
name: "home",
data() {
return {
theme1: 'primary'
};
},
components: {
viewer
}
};
</script>
<style scoped>
.el-header {
height: 50px;
top: 0px;
position: absolute;
width: 100%;
background-color: #2d8cf0;
color: white;
text-align: left;
padding: 10px 0px;
padding-left: 10px;
z-index: 99;
font-size: 20pt;
}
.el-footer {
height: 22px;
bottom: 0px;
position: absolute;
width: 100%;
background-color: rgba(19, 17, 17, 0.5);
color: white;
text-align: left;
padding-top: 2px;
padding-left: 10px;
}
</style>