ソースを参照

修改学生图标显示

zengyicheng 2 年 前
コミット
bf9ab8256d
1 ファイル変更34 行追加34 行削除
  1. 34 34
      js/Desktop/DeskTop.js

+ 34 - 34
js/Desktop/DeskTop.js

@@ -44,31 +44,31 @@ U.MD.D.I.teacherDeskIcon = [
 ];
 
 U.MD.D.I.studentDeskIcon = [
-    { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
+    // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
     { "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
-    { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
-    { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
-    { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
-    { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
-    { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
-    { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
+    // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
+    // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
+    // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
+    // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
+    // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
+    // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
     // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
-    { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
-    { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
-    { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
-    { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
-    { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
-    { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
-    { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
-    { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
-    { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
-    { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
-    { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
-    { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
-    { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
-    { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
-    { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
-    { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
+    // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
+    // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
+    // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
+    // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
+    // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
+    // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
+    // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
+    // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
+    // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
+    // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
+    // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
+    // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
+    // { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
+    // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
+    // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
+    // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
     // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
 ];
 
@@ -459,14 +459,14 @@ window.addEventListener('message', function(e) { // 监听 message 事件
     } else if (e.data.allScreen && e.data.allScreen == "3") {
         var _formel = document.getElementById("studentStudy");
         U.UF.F.windowZooming(_formel);
-    }else if (e.data.allScreen && e.data.allScreen == "6") {
+    } else if (e.data.allScreen && e.data.allScreen == "6") {
         var _formel = document.getElementById("study");
         //如果最大化了,那么就把他缩小
         if (_formel.ismaximize) {
             return;
         }
         U.UF.F.windowZooming(_formel);
-    }else if (e.data.allScreen && e.data.allScreen == "4") {
+    } else if (e.data.allScreen && e.data.allScreen == "4") {
         var _formel = document.getElementById("studyDetail");
         //如果最大化了,那么就把他缩小
         if (_formel.ismaximize) {
@@ -479,7 +479,7 @@ window.addEventListener('message', function(e) { // 监听 message 事件
             return;
         }
         U.UF.F.windowZooming(_formel);
-    }  else if (e.data.tools && e.data.tools == "1") {
+    } else if (e.data.tools && e.data.tools == "1") {
         // U.MD.D.I.openApplication("whiteboard")
         U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
     } else if (e.data.tools && e.data.tools == "2") {
@@ -491,7 +491,7 @@ window.addEventListener('message', function(e) { // 监听 message 事件
         U.MD.D.I.openApplication("investigation")
     } else if (e.data.tools && e.data.tools == "6") {
         // U.MD.D.I.openApplication("doc")
-            U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
+        U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
     } else if (e.data.tools && e.data.tools == "7") {
         // U.MD.D.I.openApplication("mindNetwork")
         U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
@@ -514,20 +514,20 @@ window.addEventListener('message', function(e) { // 监听 message 事件
     } else if (e.data.tools && e.data.tools == "26") {
         // U.MD.D.I.openApplication("courseDesign")
         U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
-    }else if (e.data.tools && e.data.tools == "31") {
+    } else if (e.data.tools && e.data.tools == "31") {
         U.MD.D.I.openApplication("netWorkPanel")
-    }else if (e.data.tools && e.data.tools == "32") {
+    } else if (e.data.tools && e.data.tools == "32") {
         U.MD.D.I.openApplication("codeEdit")
-    }else if (e.data.tools && e.data.tools == "28") {
+    } else if (e.data.tools && e.data.tools == "28") {
         U.MD.D.I.openApplication("translation")
-    }else if (e.data.tools && e.data.tools == "37") {
+    } else if (e.data.tools && e.data.tools == "37") {
         U.MD.D.I.openApplication("mohe")
-    }else if (e.data.tools && e.data.tools == "38") {
+    } else if (e.data.tools && e.data.tools == "38") {
         U.MD.D.I.openApplication("24game")
-    }else if (e.data.tools && e.data.tools == "39") {
+    } else if (e.data.tools && e.data.tools == "39") {
         U.MD.D.I.openApplication("GeoGebra")
     }
-    
+
 });
 
 U.MD.D.I.selectUser = function() {