lsc 2 年之前
父节点
当前提交
49387e287b
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      js/Desktop/DeskTop.js

+ 10 - 10
js/Desktop/DeskTop.js

@@ -2357,7 +2357,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         case "CocoPi": //CocoPi
             _formdiv = new U.UF.UI.form(
                 "CocoPi",
-                $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://v.cocorobo.cn" }), {
+                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://v.cocorobo.cn" }), {
                 "id": "CocoPi",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2368,39 +2368,39 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "car": //学科工具
             _formdiv = new U.UF.UI.form(
-                "car",
-                $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
+                "学科工具",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
                 "id": "car",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
             }, {
                 closecallback: function () { }
             }, { "style": { "height": "36px" } }).form; //创建窗体
-            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "car", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
+            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "学科工具", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
         case "lineSearch": //路径搜索
             _formdiv = new U.UF.UI.form(
-                "lineSearch",
-                $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
+                "路径搜索",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
                 "id": "lineSearch",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
             }, {
                 closecallback: function () { }
             }, { "style": { "height": "36px" } }).form; //创建窗体
-            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "lineSearch", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
+            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
         case "deepLearning": //深度学习
             _formdiv = new U.UF.UI.form(
-                "deepLearning",
-                $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
+                "深度学习",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
                 "id": "deepLearning",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
             }, {
                 closecallback: function () { }
             }, { "style": { "height": "36px" } }).form; //创建窗体
-            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "deepLearning", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
+            _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
         case "chatPDF": //ai编程
             _formdiv = new U.UF.UI.form(