<template>
  <div>
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
  import { funWxShare } from './utils/wxShareConfig'

  export default {
    name: 'App',
    mounted () {
      funWxShare('驼驼银服', '家里用钱，就找驼驼银服，省心，省力，妥妥的！', location.href, location.protocol + '//api.tuotuoyinfu.com/img/logo.jpg')
    }
  }
</script>

<style lang="scss">
  @import "./assets/styles/reset";

  body {
    background: #F2F2F2;
  }
</style>
