App.vue
3.65 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--
* @Author: jiangbotao
* @Date: 2019-12-03 22:31:08
* @LastEditors: jiangbotao
* @LastEditTime: 2019-12-14 00:35:28
* @FilePath: \superglobevue\src\App.vue
-->
<template>
<a-layout id="components-layout-demo-top-side-2">
<a-layout-header class="header">
<a-icon type="compass" /> 温州项目VUE 3DMap示例(v10.0)
<a-menu
theme="dark"
mode="horizontal"
:defaultSelectedKeys="['2']"
:style="{ lineHeight: '64px' }"
>
</a-menu>
</a-layout-header>
<a-layout>
<a-layout-sider width="200" style="background: #fff">
<a-menu
mode="inline"
:defaultSelectedKeys="['1']"
:defaultOpenKeys="['sub1']"
:style="{ height: '100%', borderRight: 0 }"
>
<a-sub-menu key="sub1">
<span slot="title"><a-icon type="user" />3D展示</span>
<a-menu-item key="1_1"><router-link :to="'/'">建筑物白模</router-link></a-menu-item>
<a-menu-item key="1_2"><router-link :to="'/tdt'">天地图</router-link></a-menu-item>
<a-menu-item key="1_3"><router-link :to="'/changeview'">固定视图</router-link></a-menu-item>
<a-menu-item key="1_4"><router-link :to="'/split'">多视图展示</router-link></a-menu-item>
</a-sub-menu>
<a-sub-menu key="sub2">
<span slot="title"><a-icon type="laptop" />倾斜摄影</span>
<a-menu-item key="2_1"><router-link :to="'/ms3m'">多模型图层</router-link></a-menu-item>
<a-menu-item key="2_2"><router-link :to="'/s3m'">倾斜摄影数据</router-link></a-menu-item>
<a-menu-item key="2_3"><router-link :to="'/s3m_single_box'">单体化查询1</router-link></a-menu-item>
<a-menu-item key="2_4"><router-link :to="'/s3m_single'">单体化查询2</router-link></a-menu-item>
<a-menu-item key="2_5"><router-link :to="'/hyp'">大场景图层淹没</router-link></a-menu-item>
</a-sub-menu>
<a-sub-menu key="sub3">
<span slot="title"><a-icon type="notification" />空间分析与查询</span>
<a-menu-item key="9"><router-link :to="'/fire'">火灾分析</router-link></a-menu-item>
<a-menu-item key="10"><router-link :to="'/underground'">地面开挖</router-link></a-menu-item>
<a-menu-item key="11"><router-link :to="'/ymo'">地形淹没分析</router-link></a-menu-item>
<a-menu-item key="12"><router-link :to="'/spatial1'">空间点查询</router-link></a-menu-item>
<a-menu-item key="13"><router-link :to="'/spatial2'">空间面查询</router-link></a-menu-item>
</a-sub-menu>
</a-menu>
</a-layout-sider>
<a-layout style="padding: 10px 10px 10px 10px">
<a-layout-content :style="{ background: '#fff', padding: '12px', margin: 0, minHeight: '500px' }">
<div id="app" style="position: relative; width:100%;">
<router-view/>
</div>
</a-layout-content>
</a-layout>
</a-layout>
</a-layout>
<!-- <div id="app">
<router-view/>
</div> -->
</template>
<script>
export default {
name: 'App',
data() {
return {
collapsed: false,
};
},
}
</script>
<style lang="scss">
.ant-layout-header {
height: 64px;
padding: 0 50px;
line-height: 64px;
background: #0b5296;
color: white;
font-size: 30px;
border-bottom: 2px solid #bb5905;
}
.ant-layout {
height: 100%;
}
#components-layout-demo-top-side-2 .logo {
width: 120px;
height: 31px;
background: rgba(255, 255, 255, 0.2);
margin: 16px 28px 16px 0;
float: left;
}
#app{
height: 100%;
}
</style>