helpHeader.vue 2.8 KB

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