From 17e7836b1d0a7bd1a51d44ae071a88423a9f9370 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 08 三月 2021 17:57:16 +0800
Subject: [PATCH] 添加工具栏功能

---
 src/App.vue |   27 ++++++++-------------------
 1 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 010714e..11b7cc7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,36 +1,25 @@
 <template>
   <div id="app" ref="app">
-    <map-template></map-template>
+    <router-view/>
   </div>
 </template>
 
 <script>
-import MapTemplate from './views/MapTemplate.vue'
 
 export default {
   name: 'App',
-  components: {MapTemplate},
-  mounted(){
-    this.$nextTick(()=>{
-      let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; //娴忚鍣ㄩ珮搴�
-      let topH = this.$refs.app.offsetHeight;
-      console.log(h)
-      this.height = (h - topH) + "px"
-    })
+  mounted () {
   }
 }
 </script>
 
 <style>
-html,body,#app {
-  font-family: Avenir, Helvetica, Arial, sans-serif;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-  text-align: center;
+html, body, #app{
   color: #2c3e50;
-  padding: 0px;
-  margin: 0px;
-
-  text-align: left;
+  height: 100vh;
+  width: 100vw;
+  margin: 0;
+  padding: 0;
+  overflow: hidden;
 }
 </style>

--
Gitblit v1.8.0