|
@@ -624,7 +624,7 @@ window.addEventListener('message', function(e) { // 监听 message 事件
|
|
|
} 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", '', '', '')
|
|
|
+ // U.MD.D.I.openInApplication("hanUrl")
|
|
|
}
|
|
|
|
|
|
});
|
|
@@ -656,34 +656,34 @@ 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); } }
|
|
|
- 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); } }
|
|
|
+ $$("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 "studyDetail":
|
|
|
+ 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": "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;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|