Skip to content
  • This project
    • Loading...
  • Sign in

bdc / bdcjg-web

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • bdcjg-web
  • src
  • layout
  • components
  • AppMain.vue
  • 任超's avatar
    style:全局样式修改 · e64a60ba
    e64a60ba Browse Files
    任超 committed 2023-01-03 16:28:01 +0800
AppMain.vue 409 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
      <router-view />
    </transition>
  </section>
</template>
<script>
export default {
  name: 'AppMain',
  computed: {
    key () {
      return this.$route.path
    }
  }
}
</script>
<style lang="scss" scoped>
.app-main {
  height: calc(100vh - 70px);
  overflow-x: hidden;
  box-sizing: border-box;
}
</style>