lsc пре 1 година
родитељ
комит
6c09e89d53

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.181c621598dab4498b366ec1fef5c814.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.8d7171b1fe858bda1433.js></script><script type=text/javascript src=./static/js/app.a77da28d6a76e0cc39ce.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.65488e343faf7ec1f29d77fcb89429a3.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.8d7171b1fe858bda1433.js></script><script type=text/javascript src=./static/js/app.77a668921b22b8bf21e7.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/css/app.65488e343faf7ec1f29d77fcb89429a3.css


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/css/app.65488e343faf7ec1f29d77fcb89429a3.css.map


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/app.77a668921b22b8bf21e7.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/app.77a668921b22b8bf21e7.js.map


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 16 - 3
src/components/studyStudent.vue

@@ -5059,6 +5059,7 @@ export default {
       workTypeC: false,
       isAnswer: false,
       timer: null,
+      opertimer: null,
       showType: 0,
       fileType: 0,
       showPDF: false,
@@ -7959,6 +7960,7 @@ export default {
             } else {
               this.isClickNav = "video0";
             }
+            this.setOperationTime();
           } else {
             this.courseDetail = res.data[0][0];
             this.chapInfoList = JSON.parse(this.courseDetail.chapters);
@@ -7975,7 +7977,6 @@ export default {
           if(this.courseDetail.userid == this.userid && this.IsFollow){
             this.setCTask();
           }
-          this.setoTime();
           let _this = this;
           if (_this.timer) {
             clearInterval(_this.timer);
@@ -8022,13 +8023,23 @@ export default {
           console.error(err);
         });
     },
-    setoTime(){
+    setOperationTime(){
+      let _this = this
+      if (_this.opertimer) {
+            clearInterval(_this.opertimer);
+            _this.opertimer = null;
+      }
+      _this.opertimer = setInterval(() => {
+        _this.setoTime('600000')
+      }, 600000);
+    },
+    setoTime(time){
       let params = [
         {
           uid: this.userid,
           cid: this.id,
           type: '2',
-          time: '5',
+          time: time,
         },
       ];
       this.ajax
@@ -9930,6 +9941,8 @@ export default {
     window.onresize = null;
     clearInterval(this.timer);
     this.timer = null;
+    clearInterval(this.opertimer);
+    this.opertimer = null;
   },
   computed: {
     contentConvent() {

Неке датотеке нису приказане због велике количине промена