<template>
  <div id="app">
    <div>
      <Header></Header>
    </div>
    <div style="flex: 1;">
      <router-view/>
    </div>
    <div>
      <Footer></Footer>
    </div>
  </div>
</template>
<script>
import Header from './views/header/index'
import Footer from './views/footer/index'

export default {
  name: 'App',
  components: {
    Header,
    Footer
  },
  data() {
    return {}
  },
  created() {
  },
}
</script>
<style lang="scss">
#app{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
*{
  padding: 0;
  margin: 0;
}
a{
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
li{
  list-style: none;
}
</style>
