vendorHeader.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <div class="user_header clearfix">
  3. <div class="container">
  4. <!--Logo商标-->
  5. <div class="user_header-brand pull-left">
  6. <nuxt-link :to="'/'">
  7. <img src="/images/vendor/logo.png" class="mall-logo"/>
  8. <!-- <div class="mall-slogan">
  9. <p>For the World<br/>为世界电子产业创造价值</p>
  10. </div> -->
  11. </nuxt-link>
  12. </div>
  13. <!--搜索-->
  14. <div class="user_header-search">
  15. <search-box :SelectItem="false"></search-box>
  16. </div>
  17. <!--统计-->
  18. <!-- <div class="header-count pull-right">
  19. <count-box></count-box>
  20. </div> -->
  21. </div>
  22. </div>
  23. </template>
  24. <script>
  25. import SearchBox from './Search.vue'
  26. import CountBox from './count/Box.vue'
  27. export default {
  28. name: 'home-header',
  29. components: {
  30. SearchBox,
  31. CountBox
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. @import '~assets/scss/variables';
  37. .user_header {
  38. width: 100%;
  39. margin: 0px auto;
  40. height: 80px;
  41. background: #5078cb;
  42. .user_header-brand {
  43. .mall-logo {
  44. margin-top: 15px;
  45. }
  46. .mall-slogan {
  47. line-height: 20px;
  48. font-weight: bold;
  49. color: $primary;
  50. border-left: 1px solid $primary;
  51. padding-left: 12px;
  52. margin-left: 118px;
  53. margin-top: 20px;
  54. }
  55. }
  56. .user_header-search {
  57. margin-top: 20px;
  58. margin-left: 75px;
  59. float: right
  60. }
  61. }
  62. </style>