<template>
  <div id="app">
    <router-view/>
    <Loading />
    <Dialog />
  </div>
</template>

<script>
import Loading from '@/components/Loading'
import Dialog from '@/components/Dialog'
export default {
  name: 'root-view',
  components: {
    Loading,
    Dialog
  }
}
</script>

<style lang="less">
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #app {
    height: 100%;
    background-color: #eee;
    overflow: auto;
  }
</style>
