App.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <div id="app" v-loading="defaultLoading">
  3. <!-- <transition name="fade" mode="out-in"> -->
  4. <router-view />
  5. <!-- </transition> -->
  6. </div>
  7. </template>
  8. <script>
  9. // import "@/assets/style/index.css";
  10. export default {
  11. created() {},
  12. computed: {
  13. defaultLoading() {
  14. return this.$store.state.settings.loading;
  15. },
  16. },
  17. methods: {},
  18. };
  19. </script>
  20. <style lang="scss">
  21. // ::v-deep body .el-menu--horizontal .el-menu .el-menu-item {
  22. // color: #000 !important;
  23. // background-color: #fff !important;
  24. // }
  25. // ::v-deep body .el-menu--horizontal .el-menu .el-submenu__title {
  26. // color: #000 !important;
  27. // background-color: #fff !important;
  28. // }
  29. body {
  30. width: 100%;
  31. height: 100%;
  32. }
  33. ::v-deep .vue-recycle-scroller__item-wrapper::-webkit-scrollbar {
  34. display: block !important;
  35. }
  36. // ::-webkit-scrollbar {
  37. // display: none;
  38. // }
  39. // ::-webkit-scrollbar {
  40. // display: none;
  41. // }
  42. .fade-enter-active,
  43. .fade-leave-active {
  44. transition: opacity 0.5s ease;
  45. }
  46. .fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
  47. opacity: 0;
  48. }
  49. </style>
  50. <style scoped>
  51. #app .theme-picker {
  52. display: none;
  53. }
  54. </style>
  55. <style>
  56. /* ::v-deep .el-color-dropdown .el-color-dropdown__main-wrapper {
  57. display: none !important;
  58. }
  59. .el-color-svpanel {
  60. display: none !important;
  61. }
  62. .el-color-hue-slider {
  63. display: none !important;
  64. } */
  65. </style>