App.vue 565 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <router-view />
  3. </template>
  4. <script setup>
  5. import { onMounted } from "vue";
  6. import { getSceneData } from "@syjy/base/api";
  7. onMounted(() => {
  8. getSceneData();
  9. });
  10. </script>
  11. <style lang="scss">
  12. @import "@/assets/main.css";
  13. body {
  14. width: 100%;
  15. height: 100vh;
  16. overflow: hidden;
  17. overflow-x: auto;
  18. }
  19. #app {
  20. position: relative;
  21. width: 100%;
  22. height: 100%;
  23. background: url("@/assets/images/bg-min.jpg") no-repeat center / cover;
  24. }
  25. .el-popper {
  26. color: #999999;
  27. font-size: 14px !important;
  28. }
  29. .tips-popper {
  30. max-width: 227px;
  31. }
  32. </style>