From 8c444abd0f834bc4903a2c3e39af912a085e4db8 Mon Sep 17 00:00:00 2001 From: pyt <626651354@qq.com> Date: 星期五, 21 三月 2025 16:53:54 +0800 Subject: [PATCH] 🎉 init --- src/App.vue | 37 +++++++++++++++++-------------------- 1 files changed, 17 insertions(+), 20 deletions(-) diff --git a/src/App.vue b/src/App.vue index dc9190c..509bdd2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,29 @@ <template> <div id="app"> - <nav> - <router-link to="/">Home</router-link> | - <router-link to="/about">About</router-link> - </nav> <router-view/> </div> </template> <style lang="less"> -#app { - font-family: Avenir, Helvetica, Arial, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - color: #2c3e50; +* { + margin: 0; + padding: 0; + box-sizing: border-box; } -nav { - padding: 30px; +html, body { + width: 100%; + height: 100%; + overflow: hidden; + background: #000033; +} - a { - font-weight: bold; - color: #2c3e50; - - &.router-link-exact-active { - color: #42b983; - } - } +#app { + font-family: "Microsoft YaHei", Arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + width: 100%; + height: 100%; + overflow: hidden; } </style> -- Gitblit v1.7.1