Browse Source

增加跳转链接

tanxue 3 years ago
parent
commit
bbed131303
1 changed files with 18 additions and 5 deletions
  1. 18 5
      pages/introduction/index.vue

+ 18 - 5
pages/introduction/index.vue

@@ -21,10 +21,10 @@
       <div class="client-container">
         <h4 class="client-title">我们提供什么</h4>
         <ul>
-          <li><div><p>在线考试系统的租赁/采购</p></div></li>
-          <li><div><p>在线培训系统的租赁/采购</p></div></li>
-          <li><div><p>课程定制开发服务</p></div></li>
-          <li><div><p>企业通用类课程资源</p></div></li>
+          <li><div @click="goExamPage"><p>在线考试系统的租赁/采购</p></div></li>
+          <li><div @click="goPeixun"><p>在线培训系统的租赁/采购</p></div></li>
+          <li><div @click="goKechengPage"><p>课程定制开发服务</p></div></li>
+          <li><div @click="goKechengZyPage"><p>企业通用类课程资源</p></div></li>
         </ul>
       </div>
     </div>
@@ -95,7 +95,20 @@
       }
     },
     computed: {},
-    methods:  {},
+    methods:  {
+      goExamPage(){
+        this.$router.push({ name: 'examsystem' });
+      },
+      goPeixun(){
+        this.$router.push({ name: 'trainsystem' });
+      },
+      goKechengPage(){
+        this.$router.push({ name: 'courseware' });
+      },
+      goKechengZyPage(){
+        this.$router.push({ name: 'courseResource' });
+      },
+    },
     created() {
 
     },