lsc %!s(int64=2) %!d(string=hai) anos
pai
achega
e7f31304bc

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/app.8cb912833159f973bb9a.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/app.8cb912833159f973bb9a.js.map


+ 2 - 2
src/components/pages/addCourse.vue

@@ -768,7 +768,7 @@
                         添加链接
                       </button>
                       <button class="info_btn" @click="pasteLine(itemTaskIndex)">
-                        粘贴链接
+                        嵌入代码
                       </button>
                       <button class="info_btn" @click="openSource(itemTaskIndex)">
                         添加资源
@@ -3886,7 +3886,7 @@ export default {
               i
             ].chapterData.push({
               name: "链接",
-              title: "粘贴链接",
+              title: "嵌入代码",
               url: match[1],
               type: 8,
             });

+ 1 - 1
src/components/pages/course.vue

@@ -9,7 +9,7 @@
       </div>
       <div class="student_button">
         <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
-        <!-- <el-button type="primary" class="bgColor" @click="goToCourse2()">极简添加</el-button> -->
+        <el-button type="primary" class="bgColor" @click="goToCourse2()">极简课程</el-button>
         <el-button type="primary" class="bgColor" @click="goToCourse()">添加课程</el-button>
       </div>
     </div>

+ 48 - 28
src/components/pages/easy/addCourse.vue

@@ -378,7 +378,7 @@
                             添加链接
                           </button>
                           <button class="info_btn" @click="pasteLine(itemTaskIndex)">
-                            粘贴链接
+                            嵌入代码
                           </button>
                           <button class="info_btn" @click="openSource(itemTaskIndex)">
                             添加资源
@@ -816,7 +816,7 @@
                         添加链接
                       </button>
                       <button class="info_btn" @click="pasteLine(itemTaskIndex)">
-                        粘贴链接
+                        嵌入代码
                       </button>
                       <button class="info_btn" @click="openSource(itemTaskIndex)">
                         添加资源
@@ -2113,7 +2113,7 @@
               ">
               返回课程
             </button>
-            <button class="info_btn" @click="nextSteps">
+            <button class="info_btn" @click="nextSteps" v-if="this.steps == 1">
               确认上传
             </button>
           </div>
@@ -3203,6 +3203,16 @@ export default {
                   task: "",
                   taskDetail: "",
                   chapterData: [],
+                  toolChoose: [
+                    {
+                      tool: [],
+                      toolDetail: "",
+                      toolType: 0,
+                      askCount: 1,
+                      askTitle: "",
+                      askJson: [{ askstitle: "", askItem: 1, checkList: [] }],
+                    },
+                  ],
                   toolText: "",
                   isShowTools: false,
                   askCount: 1,
@@ -3456,14 +3466,14 @@ export default {
       this.rightBoxHeight = $(".rightBox")[0].scrollHeight;
       // document.querySelector('.course_left').scrollHeight
       // document.querySelector('.stepsBottom2').scrollHeight
-      let stepsBottom2 =  $(".stepsBottom2")[0].clientHeight
+      let stepsBottom2 = $(".stepsBottom2")[0].clientHeight
       let client = $(".course_left")[0].clientHeight - stepsBottom2
-      let top =  $(".rightBox")[0].scrollTop - 400
-      if(top > client){
+      let top = $(".rightBox")[0].scrollTop - 400
+      if (top > client) {
         $('.stepsBottom2')[0].style.top = client + 'px'
-      }else if(top > 0){
+      } else if (top > 0) {
         $('.stepsBottom2')[0].style.top = top + 'px'
-      }else{
+      } else {
         $('.stepsBottom2')[0].style.top = '0px'
       }
     },
@@ -3699,19 +3709,19 @@ export default {
           );
           _this.$message.success("删除成功");
 
-         this.$nextTick(()=>{
-          $('.stepsBottom2')[0].style.transition = 'unset'
-          setTimeout(()=>{
-            let stepsBottom2 =  $(".stepsBottom2")[0].clientHeight
-            let client = $(".basic_box2")[0].clientHeight - stepsBottom2 - 100
-            let top =  $('.stepsBottom2')[0].offsetTop - 20
-            if(top > client){
-              $('.stepsBottom2')[0].style.top = client + 'px'
-            }
-            $('.stepsBottom2')[0].style.transition = 'all .5s'
-            this.$forceUpdate()
-          },500)
-         })
+          this.$nextTick(() => {
+            $('.stepsBottom2')[0].style.transition = 'unset'
+            setTimeout(() => {
+              let stepsBottom2 = $(".stepsBottom2")[0].clientHeight
+              let client = $(".basic_box2")[0].clientHeight - stepsBottom2 - 100
+              let top = $('.stepsBottom2')[0].offsetTop - 20
+              if (top > client) {
+                $('.stepsBottom2')[0].style.top = client + 'px'
+              }
+              $('.stepsBottom2')[0].style.transition = 'all .5s'
+              this.$forceUpdate()
+            }, 500)
+          })
         })
         .catch(() => {
           return;
@@ -3787,7 +3797,7 @@ export default {
               i
             ].chapterData.push({
               name: "链接",
-              title: "粘贴链接",
+              title: "嵌入代码",
               url: match[1],
               type: 8,
             });
@@ -4502,6 +4512,16 @@ export default {
         task: "",
         taskDetail: "",
         chapterData: [],
+        toolChoose: [
+          {
+            tool: [],
+            toolDetail: "",
+            toolType: 0,
+            askCount: 1,
+            askTitle: "",
+            askJson: [{ askstitle: "", askItem: 1, checkList: [] }],
+          },
+        ],
         toolText: "",
         isShowTools: false,
         askCount: 1,
@@ -4670,7 +4690,7 @@ export default {
         ) {
           this.unitJson[i].chapterInfo[0].taskJson[j].proVisible = false;
           this.unitJson[i].chapterInfo[0].taskJson[j].proVisible2 = false;
-          
+
           if (this.unitJson[i].chapterInfo[0].taskJson[j].eList) {
             this.unitJson[i].chapterInfo[0].taskJson[j].eList = this.unitJson[
               i
@@ -7364,7 +7384,7 @@ export default {
       this.selectCourseDetail();
     }, 500);
   },
-  mounted () {
+  mounted() {
     this.$nextTick(() => {
       //监听这个dom的scroll事件
       $('.rightBox')[0].addEventListener("scroll", this.scrollChange);
@@ -9107,7 +9127,7 @@ ol {
   align-items: center;
   width: calc(100% - 40px);
   padding: 20px 0;
-  margin:0 auto;
+  margin: 0 auto;
 }
 
 .stepsNav {
@@ -9881,9 +9901,9 @@ ol {
   overflow: hidden;
 }
 
-.course_left{
-  width:300px;
-  height:auto;
+.course_left {
+  width: 300px;
+  height: auto;
   position: relative;
 }
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio