Home.vue
1.03 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
<!--
* @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>
<div id="map">
<viewer></viewer>
</div>
</template>
<script>
import viewer from "@/components/viewer_ymo.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>