App.vue 677 B

123456789101112131415161718192021222324252627282930313233
  1. <script setup>
  2. import { ref, reactive, nextTick, onBeforeMount, onUnmounted } from "vue";
  3. import { useRouter } from "vue-router";
  4. import { useStore } from "vuex";
  5. const store = useStore();
  6. const router = useRouter();
  7. onBeforeMount(() => {
  8. // store.dispatch("pathSelect");
  9. // store.dispatch("busNum");
  10. // store.dispatch("newsAsync");
  11. // store.dispatch("sm_time");
  12. });
  13. </script>
  14. <template>
  15. <router-view></router-view>
  16. </template>
  17. <style lang="scss">
  18. #app {
  19. max-width: 1920px;
  20. width: 1920px;
  21. min-height: 100vh;
  22. max-height: 1080px;
  23. margin: 0;
  24. padding: 0;
  25. text-align: unset;
  26. // width: 100%;
  27. // height: 100%;
  28. // margin: 0;
  29. // padding: 0;
  30. }
  31. </style>