wangguoyu 4 年之前
父节点
当前提交
44e0d1516e
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. 5 2
      pages/index.vue
  2. 3 0
      pages/resources/index.vue

+ 5 - 2
pages/index.vue

@@ -267,6 +267,7 @@
                                              }),
                                            ]);
       return {
+
          topCarousels: res1.data.data||[],
          bannerList: res2.data.data||[],
 
@@ -580,10 +581,12 @@
     },
     methods:    {
       clickBanner(data){
+      /*  console.log(data);
         if(data.url){
-          window.open(data.url)
+         // window.open(data.url)
         }
-
+*/
+        this.$router.push({ name: 'indexEducation' });
       },
 
       applyFun() {

+ 3 - 0
pages/resources/index.vue

@@ -128,6 +128,9 @@
     },
     computed: {},
     methods:  {
+      goIntroductionPage(){
+        this.$router.push({ name: 'introduction' });
+      },
       checkInfo(data) {
         const opt = {
           id: data.code,