123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <template>
- <div id="app">
- <transition name="fade" mode="out-in">
- <!-- <keep-alive>
- <router-view v-if='$route.meta != null && $route.meta.keepAlive'/>
- </keep-alive> -->
- <router-view />
- </transition>
- </div>
- </template>
- <script>
- export default {
- name: 'app',
- components: {}
- }
- </script>
- <style lang="scss">
- body {
- margin: 0px;
- padding: 0px;
- font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
- font-size: 14px;
- -webkit-font-smoothing: antialiased;
- }
- #app {
- position: absolute;
- top: 0px;
- bottom: 0px;
- width: 100%;
- }
- .el-submenu [class^=fa] {
- vertical-align: baseline;
- margin-right: 10px;
- }
- .el-menu-item [class^=fa] {
- vertical-align: baseline;
- margin-right: 10px;
- }
- .toolbar {
- background: #f2f2f2;
- padding: 10px;
- .el-form-item {
- margin-bottom: 10px;
- }
- }
- .fade-enter-active,
- .fade-leave-active {
- transition: all .2s ease;
- }
- .fade-enter,
- .fade-leave-active {
- opacity: 0;
- }
- </style>
|