<template>
  <div class="content">共 <span class="red-tips">{{resultNum}}</span> 条搜索结果</div>
</template>

<script>
export default {
  name: 'SearchResult',
  data() {
    return {
      num: 0
    }
  },
  props: {
    /**
     * 搜索结果的数量
     */
    resultNum: {
      type: String,
      default: '0'
    }
  }
}
</script>

<style lang="scss" scoped>
  .content{
    color: #9FA6B3;
    font-size: 14px;
    padding: 8px 10px;
    background: #f5f5f5;
    .red-tips {
      color: #EB602F;
    }
  }
</style>
