lsc 11 tháng trước cách đây
mục cha
commit
d057e0777c

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.b530d7384fd0be5f8479f498228f2d78.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.85f22e7b4ab99591785c.js></script><script type=text/javascript src=./static/js/app.4a74079f5c8f588cf124.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.ea64c8574fe04ba4b05b8b685277836b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.85f22e7b4ab99591785c.js></script><script type=text/javascript src=./static/js/app.dda05761b81a9d74fa44.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/app.ea64c8574fe04ba4b05b8b685277836b.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/app.ea64c8574fe04ba4b05b8b685277836b.css.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.dda05761b81a9d74fa44.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.dda05761b81a9d74fa44.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 3 - 0
src/components/pages/aiAddCourse/addCourse.vue

@@ -12946,6 +12946,9 @@ export default {
       this.$forceUpdate();
     },
     openAiDialog(clickType, type, callback, index, tindex) {
+      if(clickType == 1){
+        return;
+      }
       if (this.courseName == "") {
         this.$message.error("请补充填写课程名称");
         return;

+ 2 - 3
src/components/pages/aiAddCourse/aiCreateVideoDialog.vue

@@ -92,15 +92,14 @@ export default {
             this.$emit('update:dialogVisibleAiCreateVideo', false)
         },
         openUrl(url){
-            window.open('http://www.youtube.com/watch?v='+url)
+            window.open('https://www.youtube.com/embed/'+url)
         },
         checkUrl(name,id) {
             let json = {
                 name: "链接",
                 title: name,
-                url: 'http://www.youtube.com/watch?v='+id,
+                url: 'https://www.youtube.com/embed/'+id,
                 type: 8,
-                name: "链接",
             }
             this.$emit('createAiVideo', json)
         },

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

@@ -594,7 +594,8 @@ export default {
       // this.$router.push(path);
     },
     oepnTemplate(){
-      this.dialogVisibleTemplate = true;
+      this.goToCourseTemplate('');
+      // this.dialogVisibleTemplate = true;
     },
     goToCourseTemplate(tid){
       this.$router.push(

+ 28 - 0
src/components/pages/test/add/components/checkOrder.vue

@@ -440,6 +440,19 @@ export default {
         },
         editCheck(index, item) {
 
+        },
+        setJsonCheck(newItems){
+            let _index = this.checkC.replace("x", "").split("-");
+            let cJson = {}
+            if (this.ctype == 1) {
+                cJson = newItems[_index[0]].json ? JSON.parse(JSON.stringify(newItems[_index[0]].json)) : '';
+            } else if (this.ctype == 2) {
+                cJson = newItems[_index[0]].array[_index[1]].json ? JSON.parse(JSON.stringify(newItems[_index[0]].array[_index[1]].json)) : '';
+            } else if (this.ctype == 3) {
+                cJson = newItems[_index[0]].array[_index[1]].array[_index[2]].json ? JSON.parse(JSON.stringify(newItems[_index[0]].array[_index[1]].array[_index[2]].json)) : '';
+            }
+            this.$emit("update:cJson", cJson)
+            this.$forceUpdate()
         },
         dragStart(val, i, index) {
             if (this.isdrag != index) {
@@ -478,7 +491,12 @@ export default {
             newItems.splice(this.oldIndex, 1);
             // 在列表中目标位置增加新的节点
             newItems.splice(this.newIndex, 0, this.oldData);
+            console.log('................',...newItems);
+            /* 修改选中的并且切换的题目 */
+            this.setJsonCheck(newItems)
+
             this.$emit("changeJson", [...newItems]);
+
             this.typeIndex = "";
             this.newIndex = "";
             this.dragType = "";
@@ -536,6 +554,11 @@ export default {
             } else {
                 newItems[this.newIndex].array.splice(this.newIndex2, 0, this.oldData);
             }
+
+            /* 修改选中的并且切换的题目 */
+            this.setJsonCheck(newItems)
+            
+
             this.$emit("changeJson", [...newItems]);
             this.typeIndex = "";
             this.newIndex = "";
@@ -597,6 +620,11 @@ export default {
             } else {
                 newItems[this.newIndex].array.splice(this.newIndex2, 0, this.oldData);
             }
+
+            /* 修改选中的并且切换的题目 */
+            this.setJsonCheck(newItems)
+
+
             this.$emit("changeJson", [...newItems]);
             this.typeIndex = "";
             this.newIndex = "";

+ 1 - 0
src/components/pages/test/add/edit/index.vue

@@ -78,6 +78,7 @@ export default {
       return s ? JSON.parse(JSON.stringify(s)) : ''
     },
     changeJson(json) {
+      console.log(json);
       this.$emit("update:cJson", json);
     }
   },

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác