App.vue 432 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div id="app">
  3. <main-layout></main-layout>
  4. </div>
  5. </template>
  6. <script>
  7. import mainLayout from '@/layout/main-layout.vue';
  8. export default {
  9. name: 'app',
  10. components: {
  11. mainLayout,
  12. },
  13. };
  14. </script>
  15. <style lang="less">
  16. html {
  17. overflow-x: hidden;
  18. overflow-y: auto;
  19. }
  20. body {
  21. margin: 0;
  22. overflow-x: hidden;
  23. }
  24. .textOver {
  25. overflow: hidden;
  26. text-overflow: ellipsis;
  27. white-space: nowrap;
  28. }
  29. </style>