<template>
  <div class="navigation">
    <div class="r_l"><router-link to="/"><img :src='iconHome'>首页</router-link></div>
    <div class="r_l"><router-link to="/product"><img :src='iconOrder'>订单</router-link></div>
    <div class="r_l"><router-link to="/mine"><img :src='iconMine'>我的</router-link></div>
    <div class="clear"></div>
  </div>
</template>

<script>
export default {
  name: 'navigation',
  data () {
    return {
      iconHome: 'http://oduj3utzz.bkt.clouddn.com/icon-home.png',
      iconHomeActive: 'http://oduj3utzz.bkt.clouddn.com/icon-home-active.png',
      iconOrder: 'http://oduj3utzz.bkt.clouddn.com/icon-order.png',
      iconOrderActive: 'http://oduj3utzz.bkt.clouddn.com/icon-order-active.png',
      iconMine: 'http://oduj3utzz.bkt.clouddn.com/icon-mine.png',
      iconMineActive: 'http://oduj3utzz.bkt.clouddn.com/icon-mine-active.png'
    }
  }
}
</script>

<style scoped>
.navigation{
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  /*border-top:1px solid #212121;*/
  /*padding: .5em 0;*/
  background-color: #FFF;
}
.navigation div.r_l{
  width: 33.33%;
  background-color: #f7fff6;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.navigation div.r_l a{
  display: block;
  width: 100%;
  /*line-height: 3rem;*/
  text-decoration: none;
  color: #707070;
  font-size: 13px;
}
.navigation div.r_l a img{
  width: 20px;
  margin: 0 auto;
  margin-top: 5px;
  display: block;
}
</style>
