<template>
  <div id="app">
    <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>
export default {
  name: 'app'
}
</script>

<style lang="less">
@import '~vux/src/styles/reset.less';

body {
  background-color: #fbf9fe;
}
div{
  -webkit-overflow-scrolling: touch;/* 解决ios滑动不流畅问题 */
}
.van-dialog__preview img{
  width: 100%;
  max-height: 100%;
}
</style>
