Browse Source

首页课程开发

tanxue 3 years ago
parent
commit
e6c4e13f73
1 changed files with 8 additions and 2 deletions
  1. 8 2
      pages/index.vue

+ 8 - 2
pages/index.vue

@@ -613,8 +613,14 @@
       },
 
       applyFun() {
-        this.telDl = true;
-        this.sliderFun();
+        var browserWidth=document.documentElement.clientWidth;
+        if(browserWidth <= 768){
+          this.$router.push({ name: 'CourseDevelopPhone', query: {pageName: 'shouye',} });
+        }else{
+          this.telDl = true;
+          this.sliderFun();
+        }
+
       },
 
       dialogSave(){