App.vue 460 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <app-header/>
  3. <div id="app-main">
  4. <router-view />
  5. </div>
  6. </template>
  7. <script>
  8. import appHeader from '@/components/Header.vue'
  9. export default {
  10. components:{
  11. appHeader
  12. }
  13. }
  14. </script>
  15. <style lang="scss" scoped>
  16. #app-main{
  17. height: 91.11vh;
  18. background-image: url(@/assets/bg.png);
  19. background-repeat: no-repeat;
  20. background-size: 100% 100%;
  21. padding: 20px;
  22. box-sizing: border-box;
  23. overflow: hidden;
  24. }
  25. </style>