wangxy 2 years ago
parent
commit
c42cf347a1
2 changed files with 18 additions and 2 deletions
  1. 8 0
      components/footer.vue
  2. 10 2
      components/footer2.vue

+ 8 - 0
components/footer.vue

@@ -118,6 +118,14 @@
       goaboutUs() {
       goaboutUs() {
         this.$router.push({name: 'introduction'});
         this.$router.push({name: 'introduction'});
       },
       },
+      // 新闻
+      goaboutNews(){
+        this.$router.push({ name: 'news' });
+      },
+      // 案例
+      goaboutAnli(){
+        this.$router.push({ name: 'news' });
+      },
     },
     },
   }
   }
 </script>
 </script>

+ 10 - 2
components/footer2.vue

@@ -16,8 +16,8 @@
              </dl>
              </dl>
              <dl>
              <dl>
                <dt>新闻资讯</dt>
                <dt>新闻资讯</dt>
-               <dd @click="goaboutUs">行业新闻</dd>
-               <dd @click="goaboutUs">成功案例</dd>
+               <dd @click="goaboutNews">行业新闻</dd>
+               <dd @click="goaboutAnli">成功案例</dd>
              </dl>
              </dl>
              <dl>
              <dl>
                <dt>联系我们</dt>
                <dt>联系我们</dt>
@@ -76,6 +76,14 @@
       goaboutUs(){
       goaboutUs(){
         this.$router.push({ name: 'introduction' });
         this.$router.push({ name: 'introduction' });
       },
       },
+      // 新闻
+      goaboutNews(){
+        this.$router.push({ name: 'news' });
+      },
+      // 案例
+      goaboutAnli(){
+        this.$router.push({ name: 'news' });
+      },
     },
     },
   }
   }
 </script>
 </script>