<template>
  <div id="app">
     <van-nav-bar  
      @click-left="onClickFanhui"     
      style="background-color:#1989fa;"
    >
     <template #title > 
       <van-col style="color:#ffffff;font-weight:900;">移动销售</van-col> 
    </template>
     <template #left>  
        <i class="fa fa-home" aria-hidden="true" style="color:#ffffff;font-size:18px;"></i>
    </template>
    
    </van-nav-bar>
    <router-view style="margin-top:5px;"/>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
  onClickFanhui:function(){
    this.$router.push('/saleindex')
  }
}
}

</script>

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