ResultTitle.vue 773 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div class="result-title text-muted">
  3. 搜索"<span class="text-inverse" >{{keyword}}</span>"
  4. <!--<span v-if="status != 1">暂无此型号</span>-->
  5. <span>,为您找到
  6. <span class="text-num" v-text="count || 0"></span> 条信息
  7. </span>:
  8. </div>
  9. </template>
  10. <script>
  11. export default{
  12. props: ['keyword', 'page', 'count'],
  13. data () {
  14. return {
  15. status: 1
  16. }
  17. }
  18. }
  19. </script>
  20. <style scoped>
  21. #searchResult .result-title {
  22. margin-top: 5px;
  23. padding: 10px 5px;
  24. min-height: 30px;
  25. line-height: 30px;
  26. font-size: 14px;
  27. }
  28. .text-inverse {
  29. color: #f40!important;
  30. word-break: break-all;
  31. }
  32. .text-num {
  33. font-style: normal;
  34. font-family: verdana;
  35. color: #0b7bef;
  36. }
  37. </style>