<template>
  <div id="app">
    <!-- <keep-alive :exclude="/^[a-zA-Z]*Detail$/"> -->
      <router-view></router-view>
    <!-- </keep-alive> -->
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import { Toast, Dialog, Tabbar, TabbarItem} from 'vant';
import { Getter, Action } from 'vuex-class';

@Component({
  components: {
    [Tabbar.name]: Tabbar,
    [TabbarItem.name]: TabbarItem,
  },
})
export default class App extends Vue {
  @Action('getUserInfo') private getUserInfo!: () => void;

  private mounted() {
    this.getUserInfo();
  }
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
html{
  background: #F9FBFF;
}
</style>
