SanHQin 2 napja
szülő
commit
847b0ed473

+ 1 - 1
dist/index.html

@@ -27,7 +27,7 @@
     html,
     body{
       font-family: '黑体';
-    }</style><link href=./static/css/app.2c2e5dc1e758c038dcaee7a4018ba4ad.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b2299056e030e9dd4cb8.js></script><script type=text/javascript src=./static/js/app.e613ab6d2e2f77f4fd9c.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.f9988f280e78c31ec015dcd1d801048b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b2299056e030e9dd4cb8.js></script><script type=text/javascript src=./static/js/app.47e193e7eff2a2ddc894.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
dist/static/css/app.f9988f280e78c31ec015dcd1d801048b.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
dist/static/css/app.f9988f280e78c31ec015dcd1d801048b.css.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
dist/static/js/app.47e193e7eff2a2ddc894.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
dist/static/js/app.47e193e7eff2a2ddc894.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 41 - 37
src/components/index.vue

@@ -73,24 +73,7 @@
         <div>
           <div class="main_box">
             <div style="display:flex;flex-wrap:wrap" v-if="!typeCheck">
-              <div class="box_course" v-for="(item, index) in zoneClass" :key="index"  @click="
-                  goTo(
-                    '/courseDetail?courseId=' +
-                    item.courseId +
-                    '&userid=' +
-                    userid +
-                    '&oid=' +
-                    oid +
-                    '&org=' +
-                    org +
-                    '&cid=' +
-                    classId +
-                    '&tType=' +
-                    tType +
-                    '&screenType=' +
-                    screenType,item.courseId
-                  )
-                ">
+              <div class="box_course" v-for="(item, index) in zoneClass" :key="index"  @click="goToCourseDetail(item)">
                 <div class="wheel">
                   <img :src="
                     item.cover
@@ -149,24 +132,7 @@
               <div class="FirstTypeBox" v-for="(type, tindex) in CourseType2" :key="tindex">
                 <div class="title">{{ type.name }}</div>
                 <div style="display: flex;flex-flow: wrap;margin-top: 20px;">
-                  <div class="box_course" v-for="(item, index) in type.course" :key="tindex + '-' + index" @click="
-                     goTo(
-                        '/courseDetail?courseId=' +
-                        item.courseId +
-                        '&userid=' +
-                        userid +
-                        '&oid=' +
-                        oid +
-                        '&org=' +
-                        org +
-                        '&cid=' +
-                        classId +
-                        '&tType=' +
-                        tType +
-                        '&screenType=' +
-                        screenType,item.courseId
-                      )
-                    ">
+                  <div class="box_course" v-for="(item, index) in type.course" :key="tindex + '-' + index" @click="goToCourseDetail(item)">
                     <div class="wheel">
                       <img :src="
                         item.cover
@@ -532,7 +498,7 @@ export default {
           }
         }
       }
-      
+
       this.typea = ""
       this.typeb = ""
       this.typed = ""
@@ -909,6 +875,44 @@ export default {
       //   console.error(err);
       // });
     },
+    goToCourseDetail(item){
+      if(this.tType == '2' && item.state == 7){
+        this.goTo(
+          "/pptEasyClass?type="+
+            "&courseId=" +
+            item.courseId +
+            "&userid=" +
+            this.userid +
+            "&oid=" +
+            this.oid +
+            "&org=" +
+            this.org +
+            "&cid=" +
+            this.classId +
+            "&tType=" +
+            this.tType +
+            "&screenType=" +
+            this.screenType
+        );
+      }else{
+        this.goTo(
+          '/courseDetail?courseId=' +
+          item.courseId +
+          '&userid=' +
+          this.userid +
+          '&oid=' +
+          this.oid +
+          '&org=' +
+          this.org +
+          '&cid=' +
+          this.classId +
+          '&tType=' +
+          this.tType +
+          '&screenType=' +
+          this.screenType,item.courseId
+        );
+      }
+    }
   },
   beforeDestroy() {
     clearInterval(this.timer);

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott