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
| <template>
| <div class="indexPage">
| <div class="Top"><Top /></div>
| <div
| class="Bottom"
| :style="`height:calc(100% - ${hideTools ? '40px' : '128px'}); `"
| >
| <Viewer />
| </div>
| </div>
| </template>
|
| <script>
| import baseVuex from "@mixin/baseVuex";
| import Viewer from "@/components/map/Viewer";
| import Top from "@/components/top/Top";
|
| export default {
| name: "index",
| components: {
| Viewer,
| Top,
| },
| mixins: [baseVuex],
| data() {
| return {};
| },
| mounted() {},
| };
| </script>
|
| <style scoped lang="less">
| .indexPage {
| width: 100%;
| height: 100%;
| overflow: hidden;
| }
| .Bottom {
| width: 100%;
| }
| .Top {
| width: 100%;
| }
| </style>
|
|