|
@@ -11590,6 +11590,27 @@ U.MD.U.L.login = U.MD.U.L.DLTC = function (fun) {
|
|
|
isenlarge: false,
|
|
|
isnarrow: false
|
|
|
}, { "style": { "height": "36px" } });
|
|
|
+ }else if(window.origin.includes('gm.cocorobo.cn')){
|
|
|
+ var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "width": "360px", "height": "480px", "src": "https://edu.cocorobo.cn/course/userVerify?type=2" });
|
|
|
+ new U.UF.UI.form("", _iframe,
|
|
|
+ {
|
|
|
+ "id": "U_MD_HomeC_Pop",
|
|
|
+ "style": { "width": "500px", "height": "90%", "overflow": 'hidden' },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isdrag: false,
|
|
|
+ isstretching: false,
|
|
|
+ isenlarge: false,
|
|
|
+ isnarrow: false
|
|
|
+ });
|
|
|
+ //跨域回调设置
|
|
|
+ U.UF.DL.iframeLoad(_iframe, function () {
|
|
|
+ //登录有的其他回调,如,登陆后直接打开好友聊天等
|
|
|
+ if (U.UF.C.isFunction(fun)) {
|
|
|
+ U.MD.U.L.loginCallBack = fun; //回调处理
|
|
|
+ }
|
|
|
+ _iframe.contentWindow.U.MD.U.L.loginCallBack = U.MD.U.L.defaultCallBack; //设置登录回调
|
|
|
+ });
|
|
|
} else {
|
|
|
var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "width": "360px", "height": "480px", "src": "https://edu.cocorobo.cn/course/login?type=2" });
|
|
|
new U.UF.UI.form("", _iframe,
|