From 0846e2a77fb1bf078c199b1f2a5994aad1afc4fa Mon Sep 17 00:00:00 2001 From: whychdw <49690745@qq.com> Date: 星期一, 19 四月 2021 14:03:23 +0800 Subject: [PATCH] 提交 --- src/App.vue | 31 ++++++++++++++++--------------- 1 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/App.vue b/src/App.vue index 55df315..34d0cd9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,29 @@ <template> - <div id="app"> - <img alt="Vue logo" src="./assets/logo.png"> - <HelloWorld msg="Welcome to Your Vue.js App"/> - </div> + <div id="app"> + <router-view></router-view> + </div> </template> <script> -import HelloWorld from './components/HelloWorld.vue' export default { - name: 'App', - components: { - HelloWorld - } + name: 'App', } </script> <style> +body { + height: 100vh; + overflow-y: hidden; +} #app { - font-family: Avenir, Helvetica, Arial, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-align: center; - color: #2c3e50; - margin-top: 60px; + height: 100%; + background-color: #031D67; + background-image: url("./assets/images/video-bg.jpg"); + overflow-x: hidden; +} +#app:before { + display: table; + content: " "; } </style> -- Gitblit v1.9.1