default.vue 576 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <div id="app">
  3. <header-view></header-view>
  4. <nuxt/>
  5. </div>
  6. </template>
  7. <script>
  8. import HeaderView from '@/components/common/Header.vue'
  9. export default {
  10. components: {
  11. HeaderView
  12. },
  13. data () {
  14. return {
  15. activeTab: "apps"
  16. }
  17. },
  18. methods: {
  19. handleOpen(key, keyPath) {
  20. console.log(key, keyPath);
  21. }
  22. }
  23. }
  24. </script>
  25. <style>
  26. @import '@/assets/css/common.css';
  27. #app {
  28. max-width: 1206px;
  29. margin: 0 auto;
  30. }
  31. .page-content {
  32. margin: 122px auto 0;
  33. }
  34. </style>