Browse Source

帮助中心跳转链接

yangc 7 years ago
parent
commit
10261e1869

+ 1 - 1
components/help/helpHeader.vue

@@ -21,7 +21,7 @@
                     ng-click="onAssociateClick(as)"></li>
             </ul>
         </div>-->
-        <span class="help-title">帮助中心</span>
+        <nuxt-link to="/help/home" class="help-title">帮助中心</nuxt-link>
       </div>
       </div>
   </div>

+ 6 - 1
components/help/left.vue

@@ -1,6 +1,8 @@
 <template>
   <div class="help-list">
-    <h2>帮助中心</h2>
+    <h2>
+      <nuxt-link to="/help/home">帮助中心</nuxt-link>
+    </h2>
     <!--<ul class="list-unstyled" style="margin-top: 10px;">
       <li v-for="nav01 in helps">
         <a :class="{'cur': nav01.isHide}" @click="toggleNav(nav01)"><span>{{nav01.item}}</span></a>
@@ -107,6 +109,9 @@
     text-align: center;
     margin: 0;
   }
+  .help-list h2 a {
+    color: #fff;
+  }
   .help-list ul{
     width: 200px;
     display: inline-block;

+ 3 - 1
pages/help/helpDetail/_id.vue

@@ -9,7 +9,9 @@
         </div>
         <div class="right">
           <div class="help-center">
-            <div class="help-head"><img src="/images/help/help-title.png"></div>
+            <div class="help-head">
+              <nuxt-link to="/help/home"><img src="/images/help/help-title.png"></nuxt-link>
+            </div>
             <div class="help-center-title">
               <nuxt-link :to="'/help/home'" style="font-size: 14px">帮助中心首页<i class="fa fa-angle-right"></i></nuxt-link>
               <span>

+ 3 - 1
pages/help/helpList/_id.vue

@@ -9,7 +9,9 @@
         </div>
         <div class="right">
           <div class="help-center">
-            <div class="help-head"><img src="/images/help/help-title.png"></div>
+            <div class="help-head">
+              <nuxt-link to="/help/home"><img src="/images/help/help-title.png"></nuxt-link>
+            </div>
             <div class="help-center-title">
               <nuxt-link :to="'/help/home'" style="font-size: 14px">帮助中心首页<i class="fa fa-angle-right"></i></nuxt-link>
               <span>

+ 3 - 1
pages/help/home.vue

@@ -9,7 +9,9 @@
         </div>
         <div class="right">
           <div class="help-center">
-            <div class="help-head"><img src="/images/help/help-title.png"></div>
+            <div class="help-head">
+              <nuxt-link to="/help/home"><img src="/images/help/help-title.png"></nuxt-link>
+            </div>
             <div class="help-center-title">
               <nuxt-link style="font-size: 14px" :to="'/help/home'">帮助中心首页</nuxt-link>
             </div>