|
@@ -1259,6 +1259,12 @@ window.addEventListener('message', function (e) { // 监听 message 事件
|
|
|
U.MD.D.I.openApplication("codeEdit")
|
|
|
} else if (e.data.tools && e.data.tools == "57") {
|
|
|
U.MD.D.I.openApplication("CocoPi")
|
|
|
+ } else if (e.data.tools && e.data.tools == "58") {
|
|
|
+ U.MD.D.I.openApplication("car")
|
|
|
+ } else if (e.data.tools && e.data.tools == "59") {
|
|
|
+ U.MD.D.I.openApplication("lineSearch")
|
|
|
+ } else if (e.data.tools && e.data.tools == "60") {
|
|
|
+ U.MD.D.I.openApplication("deepLearning")
|
|
|
} else if (e.data.tools && e.data.tools == "28") {
|
|
|
U.MD.D.I.openApplication("translation")
|
|
|
} else if (e.data.tools && e.data.tools == "37") {
|
|
@@ -2348,7 +2354,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
- case "CocoPi": //ai编程
|
|
|
+ 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" }), {
|
|
@@ -2360,6 +2366,42 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(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/" }), {
|
|
|
+ "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); } }
|
|
|
+ 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/" }), {
|
|
|
+ "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); } }
|
|
|
+ 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/#" }), {
|
|
|
+ "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); } }
|
|
|
+ break;
|
|
|
case "chatPDF": //ai编程
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"chatPDF",
|