App.vue 490 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <div id="app" class="custom-theme">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. import i18n from '@/locales/i18n'
  8. export default {
  9. name: 'App'
  10. }
  11. </script>
  12. <style lang="scss">
  13. body,html,#app{
  14. margin: 0;
  15. height: 100%;
  16. width: 100%;
  17. overflow: hidden;
  18. }
  19. .loading{
  20. animation: loading 800ms infinite alternate;
  21. }
  22. @keyframes loading {
  23. from{
  24. background: #e1e1e1;
  25. }
  26. to{
  27. background: #f1f1f1;
  28. }
  29. }
  30. *{
  31. box-sizing: border-box;
  32. }
  33. </style>