lsc 1 year ago
parent
commit
23c16b7350

+ 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.9cf39242e91c18b3a6949cf039fbb361.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.e81042531bab735dba9a.js></script><script type=text/javascript src=./static/js/app.5c54f116c508d644cc13.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.73f7deecb5bc7c83b16eff172172d825.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.e81042531bab735dba9a.js></script><script type=text/javascript src=./static/js/app.5e318ce5bc907416e692.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.73f7deecb5bc7c83b16eff172172d825.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.73f7deecb5bc7c83b16eff172172d825.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.5e318ce5bc907416e692.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.5e318ce5bc907416e692.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 20 - 22
src/components/easy/studyStudent.vue

@@ -3949,30 +3949,28 @@ export default {
             var isLikes = false;
             var commentJson = [];
             var data = b[j];
-            if (i == b[j].tool) {
-              for (var k = 0; k < d.length; k++) {
-                //点赞
-                if (d[k].workId == b[j].id) {
-                  likesCount++;
-
-                  if (d[k].likesId == this.userid) {
-                    isLikes = true;
-                  }
+            for (var k = 0; k < d.length; k++) {
+              //点赞
+              if (d[k].workId == b[j].id) {
+                likesCount++;
+
+                if (d[k].likesId == this.userid) {
+                  isLikes = true;
                 }
               }
-              for (var l = 0; l < e.length; l++) {
-                //评论
-                if (e[l].workId == b[j].id) {
-                  if (e[l].comment != "") {
-                    commentCount++;
-                    commentJson.push({
-                      commentText: e[l].comment,
-                      commentTime: e[l].commentTime,
-                      commentPeople: e[l].commentPeople,
-                      userid: e[l].userid,
-                      wid: e[l].id,
-                    });
-                  }
+            }
+            for (var l = 0; l < e.length; l++) {
+              //评论
+              if (e[l].workId == b[j].id) {
+                if (e[l].comment != "") {
+                  commentCount++;
+                  commentJson.push({
+                    commentText: e[l].comment,
+                    commentTime: e[l].commentTime,
+                    commentPeople: e[l].commentPeople,
+                    userid: e[l].userid,
+                    wid: e[l].id,
+                  });
                 }
               }
             }

Some files were not shown because too many files changed in this diff