'20191213'
Showing
12 changed files
with
189 additions
and
27 deletions
This diff is collapsed.
Click to expand it.
| ... | @@ -9,6 +9,7 @@ | ... | @@ -9,6 +9,7 @@ | 
| 9 | "lint": "vue-cli-service lint" | 9 | "lint": "vue-cli-service lint" | 
| 10 | }, | 10 | }, | 
| 11 | "dependencies": { | 11 | "dependencies": { | 
| 12 | "ant-design-vue": "^1.4.10", | ||
| 12 | "core-js": "^3.4.3", | 13 | "core-js": "^3.4.3", | 
| 13 | "vue": "^2.6.10", | 14 | "vue": "^2.6.10", | 
| 14 | "vue-router": "^3.1.3" | 15 | "vue-router": "^3.1.3" | ... | ... | 
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ | 
| 2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao | 
| 3 | * @Date: 2019-12-03 22:31:08 | 3 | * @Date: 2019-12-03 22:31:08 | 
| 4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao | 
| 5 | * @LastEditTime: 2019-12-07 17:35:42 | 5 | * @LastEditTime: 2019-12-14 00:41:13 | 
| 6 | * @FilePath: \superglobevue\public\index.html | 6 | * @FilePath: \superglobevue\public\index.html | 
| 7 | --> | 7 | --> | 
| 8 | <!DOCTYPE html> | 8 | <!DOCTYPE html> | 
| ... | @@ -30,11 +30,11 @@ | ... | @@ -30,11 +30,11 @@ | 
| 30 | } | 30 | } | 
| 31 | </style> | 31 | </style> | 
| 32 | </head> | 32 | </head> | 
| 33 | <body> | 33 | <body style="padding: 0px; margin: 0px; overflow: hidden;"> | 
| 34 | <noscript> | 34 | <noscript> | 
| 35 | <strong>We're sorry but superglobevue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | 35 | <strong>We're sorry but superglobevue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | 
| 36 | </noscript> | 36 | </noscript> | 
| 37 | <div id="app"></div> | 37 | <div id="app"></div> | 
| 38 | <!-- built files will be auto injected --> | 38 | <!-- built files will be auto injected --> | 
| 39 | </body> | 39 | </body s> | 
| 40 | </html> | 40 | </html> | ... | ... | 
| ... | @@ -2,25 +2,100 @@ | ... | @@ -2,25 +2,100 @@ | 
| 2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao | 
| 3 | * @Date: 2019-12-03 22:31:08 | 3 | * @Date: 2019-12-03 22:31:08 | 
| 4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao | 
| 5 | * @LastEditTime: 2019-12-10 10:16:09 | 5 | * @LastEditTime: 2019-12-14 00:35:28 | 
| 6 | * @FilePath: \superglobevue\src\App.vue | 6 | * @FilePath: \superglobevue\src\App.vue | 
| 7 | --> | 7 | --> | 
| 8 | <template> | 8 | <template> | 
| 9 | <div id="app"> | 9 | <a-layout id="components-layout-demo-top-side-2"> | 
| 10 | <a-layout-header class="header"> | ||
| 11 | <a-icon type="compass" />  温州项目VUE 3DMap示例(v10.0) | ||
| 12 | <a-menu | ||
| 13 | theme="dark" | ||
| 14 | mode="horizontal" | ||
| 15 | :defaultSelectedKeys="['2']" | ||
| 16 | :style="{ lineHeight: '64px' }" | ||
| 17 | > | ||
| 18 | </a-menu> | ||
| 19 | </a-layout-header> | ||
| 20 | <a-layout> | ||
| 21 | <a-layout-sider width="200" style="background: #fff"> | ||
| 22 | <a-menu | ||
| 23 | mode="inline" | ||
| 24 | :defaultSelectedKeys="['1']" | ||
| 25 | :defaultOpenKeys="['sub1']" | ||
| 26 | :style="{ height: '100%', borderRight: 0 }" | ||
| 27 | > | ||
| 28 | <a-sub-menu key="sub1"> | ||
| 29 | <span slot="title"><a-icon type="user" />3D展示</span> | ||
| 30 | <a-menu-item key="1_1"><router-link :to="'/'">建筑物白模</router-link></a-menu-item> | ||
| 31 | <a-menu-item key="1_2"><router-link :to="'/tdt'">天地图</router-link></a-menu-item> | ||
| 32 | <a-menu-item key="1_3"><router-link :to="'/changeview'">固定视图</router-link></a-menu-item> | ||
| 33 | <a-menu-item key="1_4"><router-link :to="'/split'">多视图展示</router-link></a-menu-item> | ||
| 34 | </a-sub-menu> | ||
| 35 | <a-sub-menu key="sub2"> | ||
| 36 | <span slot="title"><a-icon type="laptop" />倾斜摄影</span> | ||
| 37 | <a-menu-item key="2_1"><router-link :to="'/ms3m'">多模型图层</router-link></a-menu-item> | ||
| 38 | <a-menu-item key="2_2"><router-link :to="'/s3m'">倾斜摄影数据</router-link></a-menu-item> | ||
| 39 | <a-menu-item key="2_3"><router-link :to="'/s3m_single_box'">单体化查询1</router-link></a-menu-item> | ||
| 40 | <a-menu-item key="2_4"><router-link :to="'/s3m_single'">单体化查询2</router-link></a-menu-item> | ||
| 41 | <a-menu-item key="2_5"><router-link :to="'/hyp'">大场景图层淹没</router-link></a-menu-item> | ||
| 42 | </a-sub-menu> | ||
| 43 | <a-sub-menu key="sub3"> | ||
| 44 | <span slot="title"><a-icon type="notification" />空间分析与查询</span> | ||
| 45 | <a-menu-item key="9"><router-link :to="'/fire'">火灾分析</router-link></a-menu-item> | ||
| 46 | <a-menu-item key="10"><router-link :to="'/underground'">地面开挖</router-link></a-menu-item> | ||
| 47 | <a-menu-item key="11"><router-link :to="'/ymo'">地形淹没分析</router-link></a-menu-item> | ||
| 48 | <a-menu-item key="12"><router-link :to="'/spatial1'">空间点查询</router-link></a-menu-item> | ||
| 49 | <a-menu-item key="13"><router-link :to="'/spatial2'">空间面查询</router-link></a-menu-item> | ||
| 50 | </a-sub-menu> | ||
| 51 | </a-menu> | ||
| 52 | </a-layout-sider> | ||
| 53 | <a-layout style="padding: 10px 10px 10px 10px"> | ||
| 54 | <a-layout-content :style="{ background: '#fff', padding: '12px', margin: 0, minHeight: '500px' }"> | ||
| 55 | <div id="app" style="position: relative; width:100%;"> | ||
| 10 | <router-view/> | 56 | <router-view/> | 
| 11 | </div> | 57 | </div> | 
| 58 | </a-layout-content> | ||
| 59 | </a-layout> | ||
| 60 | </a-layout> | ||
| 61 | </a-layout> | ||
| 62 | <!-- <div id="app"> | ||
| 63 | <router-view/> | ||
| 64 | </div> --> | ||
| 12 | </template> | 65 | </template> | 
| 13 | 66 | ||
| 14 | <style lang="scss"> | 67 | <script> | 
| 15 | body{ | 68 | export default { | 
| 16 | padding: 0px; | 69 | name: 'App', | 
| 17 | margin: 0px; | 70 | data() { | 
| 18 | } | 71 | return { | 
| 19 | #app { | 72 | collapsed: false, | 
| 20 | font-family: 'Avenir', Helvetica, Arial, sans-serif; | 73 | }; | 
| 21 | -webkit-font-smoothing: antialiased; | 74 | }, | 
| 22 | -moz-osx-font-smoothing: grayscale; | ||
| 23 | text-align: center; | ||
| 24 | color: #2c3e50; | ||
| 25 | } | 75 | } | 
| 76 | </script> | ||
| 77 | |||
| 78 | <style lang="scss"> | ||
| 79 | .ant-layout-header { | ||
| 80 | height: 64px; | ||
| 81 | padding: 0 50px; | ||
| 82 | line-height: 64px; | ||
| 83 | background: #0b5296; | ||
| 84 | color: white; | ||
| 85 | font-size: 30px; | ||
| 86 | border-bottom: 2px solid #bb5905; | ||
| 87 | } | ||
| 88 | .ant-layout { | ||
| 89 | height: 100%; | ||
| 90 | } | ||
| 91 | #components-layout-demo-top-side-2 .logo { | ||
| 92 | width: 120px; | ||
| 93 | height: 31px; | ||
| 94 | background: rgba(255, 255, 255, 0.2); | ||
| 95 | margin: 16px 28px 16px 0; | ||
| 96 | float: left; | ||
| 97 | } | ||
| 98 | #app{ | ||
| 99 | height: 100%; | ||
| 100 | } | ||
| 26 | </style> | 101 | </style> | ... | ... | 
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ | 
| 4 | * 当到一定尺度后开始可以改变视角 | 4 | * 当到一定尺度后开始可以改变视角 | 
| 5 | * @Date: 2019-12-03 21:30:29 | 5 | * @Date: 2019-12-03 21:30:29 | 
| 6 | * @LastEditors: jiangbotao | 6 | * @LastEditors: jiangbotao | 
| 7 | * @LastEditTime: 2019-12-04 20:25:49 | 7 | * @LastEditTime: 2019-12-13 19:59:16 | 
| 8 | * @FilePath: \WebGL_Webpack_Vue\components\viewer6.vue | 8 | * @FilePath: \WebGL_Webpack_Vue\components\viewer6.vue | 
| 9 | --> | 9 | --> | 
| 10 | <template> | 10 | <template> | ... | ... | 
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ | 
| 3 | * 添加倾斜摄影场景和倾斜摄影图层 | 3 | * 添加倾斜摄影场景和倾斜摄影图层 | 
| 4 | * @Date: 2019-12-02 09:05:50 | 4 | * @Date: 2019-12-02 09:05:50 | 
| 5 | * @LastEditors: jiangbotao | 5 | * @LastEditors: jiangbotao | 
| 6 | * @LastEditTime: 2019-12-12 14:02:01 | 6 | * @LastEditTime: 2019-12-13 20:04:38 | 
| 7 | * @FilePath: \WebGL_Webpack_Vue\components\viewer.vue | 7 | * @FilePath: \WebGL_Webpack_Vue\components\viewer.vue | 
| 8 | --> | 8 | --> | 
| 9 | <template> | 9 | <template> | ... | ... | 
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ | 
| 6 | * 3、使用Popup来弹出倾斜摄影覆盖面的信息 | 6 | * 3、使用Popup来弹出倾斜摄影覆盖面的信息 | 
| 7 | * @Date: 2019-12-03 22:52:56 | 7 | * @Date: 2019-12-03 22:52:56 | 
| 8 | * @LastEditors: jiangbotao | 8 | * @LastEditors: jiangbotao | 
| 9 | * @LastEditTime: 2019-12-10 10:39:05 | 9 | * @LastEditTime: 2019-12-13 20:05:50 | 
| 10 | * @FilePath: \superglobevue\src\components\viewer.vue | 10 | * @FilePath: \superglobevue\src\components\viewer.vue | 
| 11 | --> | 11 | --> | 
| 12 | <template> | 12 | <template> | ... | ... | 
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ | 
| 4 | * 使用场景中的HYP对象 | 4 | * 使用场景中的HYP对象 | 
| 5 | * @Date: 2019-12-02 09:05:50 | 5 | * @Date: 2019-12-02 09:05:50 | 
| 6 | * @LastEditors: jiangbotao | 6 | * @LastEditors: jiangbotao | 
| 7 | * @LastEditTime: 2019-12-07 13:52:58 | 7 | * @LastEditTime: 2019-12-14 00:46:44 | 
| 8 | * @FilePath: \WebGL_Webpack_Vue\components\viewer.vue | 8 | * @FilePath: \WebGL_Webpack_Vue\components\viewer.vue | 
| 9 | --> | 9 | --> | 
| 10 | <template> | 10 | <template> | 
| ... | @@ -170,7 +170,7 @@ export default { | ... | @@ -170,7 +170,7 @@ export default { | 
| 170 | color: black; | 170 | color: black; | 
| 171 | } | 171 | } | 
| 172 | #setingBar{ | 172 | #setingBar{ | 
| 173 | width:150px; | 173 | /* width:150px; */ | 
| 174 | height:110px; | 174 | height:110px; | 
| 175 | background: rgba(42, 42, 42, 0.4); | 175 | background: rgba(42, 42, 42, 0.4); | 
| 176 | padding: 8px; | 176 | padding: 8px; | ... | ... | 
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ | 
| 3 | * @Author: jiangbotao | 3 | * @Author: jiangbotao | 
| 4 | * @Date: 2019-12-03 22:52:56 | 4 | * @Date: 2019-12-03 22:52:56 | 
| 5 | * @LastEditors: jiangbotao | 5 | * @LastEditors: jiangbotao | 
| 6 | * @LastEditTime: 2019-12-10 11:01:35 | 6 | * @LastEditTime: 2019-12-14 00:42:39 | 
| 7 | * @FilePath: \superglobevue\src\components\viewer.vue | 7 | * @FilePath: \superglobevue\src\components\viewer.vue | 
| 8 | --> | 8 | --> | 
| 9 | <template> | 9 | <template> | 
| ... | @@ -156,6 +156,15 @@ export default { | ... | @@ -156,6 +156,15 @@ export default { | 
| 156 | .sm-zoom { | 156 | .sm-zoom { | 
| 157 | top: 130px; | 157 | top: 130px; | 
| 158 | } | 158 | } | 
| 159 | .param-container { | ||
| 160 | background-color: rgba(255, 255, 255, 0.75); | ||
| 161 | padding: 5px; | ||
| 162 | border: 1px solid #267eb7; | ||
| 163 | border-radius: 10px; | ||
| 164 | color: black; | ||
| 165 | border-radius: 5px; | ||
| 166 | padding: 2px; | ||
| 167 | } | ||
| 159 | label { | 168 | label { | 
| 160 | display: inline-block; | 169 | display: inline-block; | 
| 161 | margin-right: 1rem; | 170 | margin-right: 1rem; | ... | ... | 
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ | 
| 3 | * @Author: jiangbotao | 3 | * @Author: jiangbotao | 
| 4 | * @Date: 2019-12-07 14:24:01 | 4 | * @Date: 2019-12-07 14:24:01 | 
| 5 | * @LastEditors: jiangbotao | 5 | * @LastEditors: jiangbotao | 
| 6 | * @LastEditTime: 2019-12-09 11:46:57 | 6 | * @LastEditTime: 2019-12-14 00:49:56 | 
| 7 | * @FilePath: \superglobevue\src\components\viewer_3dmodel.vue | 7 | * @FilePath: \superglobevue\src\components\viewer_3dmodel.vue | 
| 8 | --> | 8 | --> | 
| 9 | <template> | 9 | <template> | 
| ... | @@ -31,7 +31,6 @@ | ... | @@ -31,7 +31,6 @@ | 
| 31 | </div> | 31 | </div> | 
| 32 | <div id="toolbar" class="param-container tool-bar"> | 32 | <div id="toolbar" class="param-container tool-bar"> | 
| 33 | <div> | 33 | <div> | 
| 34 | <label style="color:#FFFFFF ">图层开挖:</label> | ||
| 35 | <button id="excavation" >绘制挖掘面</button> | 34 | <button id="excavation" >绘制挖掘面</button> | 
| 36 | <button id="dig" >进行倾斜开挖</button> | 35 | <button id="dig" >进行倾斜开挖</button> | 
| 37 | </div> | 36 | </div> | 
| ... | @@ -175,4 +174,14 @@ export default { | ... | @@ -175,4 +174,14 @@ export default { | 
| 175 | background-color:#78c300; | 174 | background-color:#78c300; | 
| 176 | border-color:#c5e591; | 175 | border-color:#c5e591; | 
| 177 | } | 176 | } | 
| 177 | #dig { | ||
| 178 | color:rgb(255, 255, 255); | ||
| 179 | font-size:14px;padding-top:4px;padding-bottom:4px;padding-left:33px;padding-right:33px; | ||
| 180 | border-width:2px;border-color:rgb(74, 99, 31);border-style:solid;border-radius:11px; | ||
| 181 | background-color:rgb(44, 89, 128);} | ||
| 182 | #dig:hover{ | ||
| 183 | color:#ffffff; | ||
| 184 | background-color:#78c300; | ||
| 185 | border-color:#c5e591; | ||
| 186 | } | ||
| 178 | </style> | 187 | </style> | 
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... | 
| ... | @@ -2,14 +2,17 @@ | ... | @@ -2,14 +2,17 @@ | 
| 2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao | 
| 3 | * @Date: 2019-12-03 22:31:08 | 3 | * @Date: 2019-12-03 22:31:08 | 
| 4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao | 
| 5 | * @LastEditTime: 2019-12-07 13:39:25 | 5 | * @LastEditTime: 2019-12-13 19:57:31 | 
| 6 | * @FilePath: \superglobevue\src\main.js | 6 | * @FilePath: \superglobevue\src\main.js | 
| 7 | */ | 7 | */ | 
| 8 | import Vue from 'vue' | 8 | import Vue from 'vue' | 
| 9 | import Antd from 'ant-design-vue' | ||
| 9 | import App from './App' | 10 | import App from './App' | 
| 10 | import router from './router' | 11 | import router from './router' | 
| 12 | import 'ant-design-vue/dist/antd.css' | ||
| 11 | 13 | ||
| 12 | Vue.config.productionTip = false | 14 | Vue.config.productionTip = false | 
| 15 | Vue.use(Antd) | ||
| 13 | 16 | ||
| 14 | new Vue({ | 17 | new Vue({ | 
| 15 | router, | 18 | router, | ... | ... | 
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ | 
| 2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao | 
| 3 | * @Date: 2019-12-03 22:31:08 | 3 | * @Date: 2019-12-03 22:31:08 | 
| 4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao | 
| 5 | * @LastEditTime: 2019-12-04 08:09:41 | 5 | * @LastEditTime: 2019-12-13 20:08:15 | 
| 6 | * @FilePath: \superglobevue\src\router\index.js | 6 | * @FilePath: \superglobevue\src\router\index.js | 
| 7 | */ | 7 | */ | 
| 8 | import Vue from 'vue'; | 8 | import Vue from 'vue'; | 
| ... | @@ -14,7 +14,72 @@ const routes = [ | ... | @@ -14,7 +14,72 @@ const routes = [ | 
| 14 | { | 14 | { | 
| 15 | path: "/", | 15 | path: "/", | 
| 16 | name: "home", | 16 | name: "home", | 
| 17 | component: () => import("../views/Home.vue") | 17 | component: () => import("./../components/viewer_3dmodel.vue") | 
| 18 | }, | ||
| 19 | { | ||
| 20 | path: "/tdt", | ||
| 21 | name: "home", | ||
| 22 | component: () => import("./../components/viewer_tdt.vue") | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | path: "/changeview", | ||
| 26 | name: "home", | ||
| 27 | component: () => import("./../components/viewer_changeview.vue") | ||
| 28 | }, | ||
| 29 | { | ||
| 30 | path: "/split", | ||
| 31 | name: "home", | ||
| 32 | component: () => import("./../components/viewer_split.vue") | ||
| 33 | }, | ||
| 34 | { | ||
| 35 | path: "/fire", | ||
| 36 | name: "home", | ||
| 37 | component: () => import("./../components/viewer_fire.vue") | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | path: "/underground", | ||
| 41 | name: "home", | ||
| 42 | component: () => import("./../components/viewer_underground.vue") | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | path: "/ymo", | ||
| 46 | name: "home", | ||
| 47 | component: () => import("./../components/viewer_ymo.vue") | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | path: "/s3m", | ||
| 51 | name: "home", | ||
| 52 | component: () => import("./../components/viewer_s3m.vue") | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | path: "/ms3m", | ||
| 56 | name: "home", | ||
| 57 | component: () => import("./../components/viewer_ms3m.vue") | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | path: "/s3m_single_box", | ||
| 61 | name: "home", | ||
| 62 | component: () => import("./../components/viewer_s3m_single_box.vue") | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | path: "/s3m_single", | ||
| 66 | name: "home", | ||
| 67 | component: () => import("./../components/viewer_s3m_single.vue") | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | path: "/hyp", | ||
| 71 | name: "home", | ||
| 72 | component: () => import("./../components/viewer_s3mbhyp.vue") | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | path: "/spatial1", | ||
| 76 | name: "home", | ||
| 77 | component: () => import("./../components/viewer_spatialquery.vue") | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | path: "/spatial2", | ||
| 81 | name: "home", | ||
| 82 | component: () => import("./../components/viewer_spatialquery_tl.vue") | ||
| 18 | } | 83 | } | 
| 19 | ]; | 84 | ]; | 
| 20 | 85 | ... | ... | 
- 
Please register or sign in to post a comment