|
@@ -6046,6 +6046,24 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
|
|
+ case "opencCscl2":
|
|
|
|
|
+ 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 *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
|
|
|
|
|
+ "id": "futureClass",
|
|
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
|
|
+ "onresize": function () { }
|
|
|
|
|
+ }, {
|
|
|
|
|
+ closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
|
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
+ break;
|
|
|
|
|
+ }
|
|
|
case "openCourseUpdate":
|
|
case "openCourseUpdate":
|
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|