<template>
  <div id="app">
    <transition name="fade">>
      <router-view class="child-view"  />
    </transition>
  </div>
</template>

<script>
// setSize();
// addEventListener('resize',setSize);
// function setSize() {
//     document.documentElement.style.fontSize = document.documentElement.clientWidth/375*10+'px';
// }
export default {
  name: 'App',
  mounted(){
  },
}
</script>

<style >
@import url("/assets/css/iconfont.css");
#app {
  overflow: auto;
  -webkit-overflow-scrolling:touch;
  font-family: "Helvetica Neue",
  Helvetica,
  "PingFang SC",
  "Hiragino Sans GB",
  "Microsoft YaHei",
  "微软雅黑",
  Arial,
  sans-serif;
}
  html,body,#app{
    width: 100%;
    /* max-width: 1024px; */
    overflow: auto;
  }
  *{
    margin: auto;
    padding: auto;
  }
.child-view {
  /* position: relative; */
  min-height: 100vh;
  width: 100%;
  transition: all .5s;
    color: #333333;
}
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
.van-popup{overflow: visible;}


</style>
