Blame view

src/layout/components/AppMain.vue 514 Bytes
赵千 committed
1 2 3
<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
任超 committed
4
      <router-view />
赵千 committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
    </transition>
  </section>
</template>
<script>
export default {
  name: 'AppMain',
  computed: {
    key () {
      return this.$route.path
    },
  },
}
</script>

<style lang="scss" scoped>
.hasTagsView {
  .app-main {
任超 committed
22
    height: calc(100% - 41px);
赵千 committed
23
    overflow-x: auto;
任超 committed
24
    padding: 5px;
任超 committed
25
    box-sizing: border-box;
任超 committed
26 27 28
    background-color: #EDF1F7;
    box-sizing: border-box;

赵千 committed
29 30 31
  }
}
</style>