<template>
  <div class="layout">
    <keep-alive>
      <router-view></router-view> 
    </keep-alive>
    <tabbar></tabbar>
  </div>
</template>
<script>
import tabbar from './tabbar'
import { mapGetters } from "vuex";
export default {
  components: {
    tabbar
  },
  data () {
    return {
      show: false,
    }
  },
  computed: {
    ...mapGetters(["cartList"]),
  },
}
</script>
<style lang="less" scoped>
.layout {
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
}
</style>