<template>
  <div class="navTitle">{{navTitle}}</div>
</template>

<script>
export default {
  name: 'navTitle',
  data () {
    return {
      navTitle: '首页',
      iconLocal: 'http://oduj3utzz.bkt.clouddn.com/icon_local.png'
    }
  }
}
</script>

<style scoped>
.navTitle{
  width: 100%;
  text-align: center;
  padding: 0.2rem 0;
  background-color: #FFF;
  position: relative;
}
.navTitle::after{
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  top:5px;
  left: 5px;
  background: url('http://oduj3utzz.bkt.clouddn.com/icon_local.png');
  background-size: 25px;
  background-repeat: no-repeat;
  /*border: 1px solid;*/
}
.navTitle img{
  display: block;
  width: 25px;
  margin-left: 15px;
}
</style>
