|
@@ -5070,6 +5070,8 @@ window.addEventListener('message', function (e) { // 监听 message 事件
|
|
|
U.MD.D.I.openApplication("project")
|
|
|
} else if (e.data.tools && e.data.tools == "71") {
|
|
|
U.MD.D.I.openApplication("aigptCourse")
|
|
|
+ } else if (e.data.tools && e.data.tools == "72") {
|
|
|
+ U.MD.D.I.openInApplication("gptConfig", e.data.data)
|
|
|
} else if (e.data.tools && e.data.tools == "1s") {
|
|
|
U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
|
|
|
} else if (e.data.tools && e.data.tools == "3s") {
|
|
@@ -5607,6 +5609,17 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
break;
|
|
|
}
|
|
|
+ case "gptConfig":
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ data.name ? data.name : "应用中心",
|
|
|
+ $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": data.url }), {
|
|
|
+ "id": "gptConfig" + data.id,
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
U.MD.D.I.openApplication = function (str, obj, info) {
|