From fefe4a3011fb472788abb2e7ffdbbc5a4f58623c Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期三, 05 六月 2024 14:10:16 +0800 Subject: [PATCH] feat:更新ui界面 --- src/App.vue | 33 ++++++++++----------------------- 1 files changed, 10 insertions(+), 23 deletions(-) diff --git a/src/App.vue b/src/App.vue index a97ef37..ddec269 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,19 @@ <template> <div id="app"> - <nav> - <router-link to="/">Home</router-link> | - <router-link to="/about">About</router-link> - </nav> - <router-view/> + <router-view></router-view> </div> </template> -<style lang="scss"> -#app { - font-family: Avenir, Helvetica, Arial, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - color: #2c3e50; +<script> + +export default { + name: 'app', } +</script> -nav { - padding: 30px; - - a { - font-weight: bold; - color: #2c3e50; - - &.router-link-exact-active { - color: #42b983; - } +<style> + body{ + margin: 0px; + padding: 0px; } -} </style> -- Gitblit v1.8.0