SearchTitle.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <div class="search-store-title">
  3. <span class="search-result">
  4. 搜索
  5. <span>"华商龙"</span>
  6. ,为您找到
  7. <span>1000</span>
  8. 家店铺:
  9. </span>
  10. <div class="tab-filter" >
  11. <div class="fl">&nbsp;&nbsp;| 产品信息(<span class="text-num"></span><span class="text-num"></span>)</div>
  12. <div class="fr">
  13. <div class="active"><a >综合排序</a></div>
  14. <div class=""><a >现货优选</a></div>
  15. <div class=""><a >型号精确</a></div>
  16. <div class="off">
  17. <a @click="list_open=!list_open">
  18. <span v-text="list_open?'收起':'展开'"></span>
  19. <i class="fa fa-angle-down" v-show="!list_open"></i>
  20. <i class="fa fa-angle-up"v-show="list_open"></i>
  21. </a>
  22. </div>
  23. </div>
  24. </div>
  25. </template>
  26. <script>
  27. export default {
  28. data () {
  29. return {
  30. keyword: this.$route.query.w
  31. }
  32. }
  33. }
  34. </script>
  35. <style>
  36. .search-store-title {
  37. margin: 10px 0;
  38. }
  39. .search-store-title .search-result {
  40. }
  41. .tab-filter{
  42. width: 1190px;
  43. height: 40px;
  44. margin: 0 auto;
  45. line-height: 40px;
  46. margin-bottom: 10px;
  47. background: #f1efef;
  48. }
  49. .tab-filter .fl,.tab-filter .fr{
  50. float: left;
  51. }
  52. .tab-filter .fl{
  53. font-size: 14px;
  54. }
  55. .tab-filter .fr{
  56. max-width: 1050px;
  57. }
  58. .tab-filter .fl span{
  59. font-size: 14px;
  60. }
  61. .tab-filter .fr div{
  62. float: left;
  63. margin: 0 5px;
  64. }
  65. .tab-filter .fr div.active a{
  66. border: #5078cb 1px solid;
  67. color: #5078cb;
  68. }
  69. .tab-filter .fr a{
  70. display: inline-block;
  71. padding: 1px 10px;
  72. border: #ccc 1px solid;
  73. line-height: 26px;
  74. font-size: 14px;
  75. text-align: center;
  76. color: #333;
  77. max-height: 30px;
  78. background: #fff;
  79. }
  80. .tab-filter .fr a i{
  81. /*margin-left: 5px;*/
  82. }
  83. .tab-filter .fr a:hover{
  84. border: #5078cb 1px solid;
  85. color: #5078cb;
  86. }
  87. .tab-filter .off{
  88. float: right;
  89. margin-right: 20px;
  90. color: black;
  91. }
  92. .tab-filter .off a:hover{
  93. border: none;
  94. color: #5078cb;
  95. }
  96. .tab-filter .off a{
  97. border: none;
  98. text-align: right;
  99. padding-left: 360px;
  100. background: none;
  101. color: #333;
  102. }
  103. .tab-filter .off a i{
  104. font-size: 16px;
  105. }
  106. .tab-filter .fr .form-control{
  107. width: 70px;
  108. height: 30px;
  109. border-radius: 0;
  110. padding-left: 5px;
  111. }
  112. </style>