helpHeader.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <div class="user_center">
  3. <div class="wrap">
  4. <div class="wid1190">
  5. <div class="fl">
  6. <nuxt-link :to="'/'"><img src="/images/help/logo.png"/></nuxt-link>
  7. <!--<span>我的商城<a ng-href="{{homeUrl}}">返回商城首页</a> </span>-->
  8. </div>
  9. <!--<div class="nav">
  10. <ul>
  11. <li ng-class="{'active' : active == 'home'}"><a href="#home" class="active">首页</a></li>
  12. <li ng-class="{'active' : active == 'message'}" ><a href="#message">消息(0)</a></li>
  13. <li ng-class="{'active' : active == 'browsing-history'}" s><a href="#browsing-history">浏览历史</a></li>
  14. </ul>
  15. </div>-->
  16. <!--<div id="mall-search" class="search-right fr" ng-controller="SearchCtrl">
  17. <input type="text" ng-model="keyword" ng-change="onChange()" ng-search="search()" ng-focus="onFocus()" ng-blur="onBlur()" ng-keyup="onKeyup()"placeholder="型号/类别/品牌" />
  18. <a class="seek" ng-click="search()">搜索</a>
  19. <ul class="association" ng-show="associate || associateEnter" ng-mouseenter="onAssociateEnter()" ng-mouseleave="onAssociateLeave()">
  20. <li ng-repeat="as in associates" ng-bind="as" ng-class="{'active': $index==selectIndex}"
  21. ng-click="onAssociateClick(as)"></li>
  22. </ul>
  23. </div>-->
  24. <nuxt-link to="/help/home" class="help-title">帮助中心</nuxt-link>
  25. </div>
  26. </div>
  27. </div>
  28. </template>
  29. <script>
  30. export default {
  31. name: 'helpHeader'
  32. }
  33. </script>
  34. <style scoped>
  35. .user_center {
  36. width: 100%;
  37. margin: 0 auto;
  38. height: 80px;
  39. background: #5078cb;
  40. margin-top:-20px;
  41. }
  42. .wid1190{
  43. width: 100%;
  44. display: inline-block;
  45. }
  46. .user_center .fl {
  47. width: 230px;
  48. position: relative;
  49. }
  50. .user_center .fl a img {
  51. float: left;
  52. margin-top: 15px;
  53. }
  54. .user_center .fl span {
  55. font-size: 18px;
  56. color: #fff;
  57. position: relative;
  58. top: 15px;
  59. left: 10px;
  60. }
  61. .user_center .fl span a {
  62. width: 86px;
  63. height: 20px;
  64. display: inline-block;
  65. text-align: center;
  66. color: #fff;
  67. font-size: 11px;
  68. border: #fff 1px solid;
  69. border-radius: 10px;
  70. line-height: 20px;
  71. }
  72. .user_center .fl span a:hover {
  73. background: #d2272d;
  74. color: #fff;
  75. }
  76. .user_center .nav {
  77. background: none;
  78. width: 500px;
  79. float: left;
  80. margin-left: 20px;
  81. line-height: 80px;
  82. margin-bottom: 0px;
  83. }
  84. .user_center .nav ul {
  85. width: 100%;
  86. margin: 0px auto;
  87. }
  88. .user_center .nav ul li {
  89. font-size: 18px;
  90. width: 120px;
  91. float: left;
  92. text-align: center;
  93. position: relative;
  94. }
  95. .user_center .nav ul li a {
  96. color: #fff;
  97. height: 30px;
  98. display: inline-block;
  99. line-height: 30px;
  100. font-size: 14px;
  101. width: 100%;
  102. display: inline-block;
  103. }
  104. .user_center .wrap{
  105. width: 1190px;
  106. margin: 0 auto;
  107. }
  108. .help-title{
  109. float: right;
  110. line-height: 80px;
  111. font-size: 24px;
  112. color: #fff;
  113. margin-right: 20px;
  114. }
  115. </style>