<template>
  <div class="result-title text-muted">
    搜索"<span class="text-inverse" >{{keyword}}</span>"，为您找到
    <span class="text-num" v-text="good_list.total"></span> 个相关产品：
  </div>
</template>
<script>
  export default{
    props: ['keyword'],
    computed: {
      good_lists () {
        return this.$store.state.searchData.searchList.lists
      },
      good_list () {
        return this.good_lists.data
      }
    }
  }
</script>
<style scoped>
  #searchResult .result-title {
    margin-top: 5px;
    padding: 10px 5px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  .text-inverse {
    color: #f40!important;
  }
  .text-num {
    font-style: normal;
    font-family: verdana;
  }
</style>
