|
@@ -43,6 +43,7 @@ U.MD.D.I.teacherDeskIcon = [
|
|
|
{ "Name": "项目进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
|
|
|
// { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
|
|
|
{ "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
|
|
|
+ { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
|
|
|
];
|
|
|
|
|
|
U.MD.D.I.studentDeskIcon = [
|
|
@@ -58,7 +59,7 @@ U.MD.D.I.studentDeskIcon = [
|
|
|
// { "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": "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)" } },
|
|
@@ -72,6 +73,7 @@ U.MD.D.I.studentDeskIcon = [
|
|
|
// { "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)" } },
|
|
|
+ { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
|
|
|
];
|
|
|
|
|
|
U.MD.D.I.schoolDeskIcon = [
|
|
@@ -621,6 +623,8 @@ window.addEventListener('message', function(e) { // 监听 message 事件
|
|
|
U.MD.D.I.openApplication("GeoGebra")
|
|
|
} else if (e.data.tools && e.data.tools == "39") {
|
|
|
U.MD.D.I.openApplication("studentEvaluate")
|
|
|
+ } else if (e.data.tools && e.data.tools == "44") {
|
|
|
+ U.MD.D.I.openInApplication("hanUrl", '', '', '')
|
|
|
}
|
|
|
|
|
|
});
|
|
@@ -652,14 +656,32 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
|
|
|
} else {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"项目详情",
|
|
|
- $$("iframe", { "allow":"camera *; microphone *","webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
- "id": "studyDetail",
|
|
|
- "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
- "onresize": function() {}
|
|
|
- }, {
|
|
|
- closecallback: function() {}
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
- _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "学习中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ $$("iframe", { "allow": "camera *; microphone *", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
+ "id": "studyDetail",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "学习中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case "hanUrl":
|
|
|
+ if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
+ setTimeout(() => {
|
|
|
+ U.MD.U.L.login();
|
|
|
+ }, 2000);
|
|
|
+ } else {
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "汉字宫",
|
|
|
+ $$("iframe", { "allow": "camera *; microphone *", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "http://school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
|
|
|
+ "id": "studyDetail",
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -1731,7 +1753,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "hanFamily":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"汉字家族",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
|
|
|
"id": "hanFamily",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -1743,7 +1765,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "hanClassics":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"国学经典",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
|
|
|
"id": "hanClassics",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -1755,7 +1777,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "hanTraining":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"笔画训练",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
|
|
|
"id": "hanTraining",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -1767,7 +1789,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "hanClass":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"书法课堂",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
|
|
|
"id": "hanClass",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -1779,7 +1801,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "han":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"汉字宫",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/home" }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
|
|
|
"id": "han",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|