lsc vor 2 Jahren
Ursprung
Commit
2fce349b9e
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/components/index.vue
  2. 4 0
      src/components/studyStudent.vue

+ 1 - 0
src/components/index.vue

@@ -254,6 +254,7 @@ export default {
         });
     },
     getCourse(typeName, ftypeId, typeid, type) {
+      this.page = 1;
       if (typeName == "年级") {
         if (type == 1) {
           if (this.typeE.indexOf(typeid) != -1) {

+ 4 - 0
src/components/studyStudent.vue

@@ -400,6 +400,7 @@
               </div>
               <div style="padding: 10px 30px 0" v-if="showType == 2 || showType == 3">
                 <el-button type="primary" @click="checkFileFull(showType, pptImgUrl1)">全屏查看</el-button>
+                <el-button  v-if="isClickNav.indexOf('line') != -1" type="primary" @click="openLine(pptImgUrl1)">打开链接</el-button>
               </div>
               <div style="padding: 0px 30px" v-if="showType == 1">
                 <el-button type="primary" @click="checkFileFull(showType, text)">全屏查看</el-button>
@@ -4795,6 +4796,9 @@ export default {
       this.fulltype = type;
       this.fullUrl = url;
     },
+    openLine(url){
+      window.open(url)
+    },
     resize() {
       var a = document.getElementsByClassName("box_course")[0].offsetHeight;
       document.getElementsByClassName("vedioList")[0].style.height = a + "px";