7 Incheckningar 3f17f095a1 ... 9e51c699e3

Upphovsman SHA1 Meddelande Datum
  lsc 9e51c699e3 update 4 dagar sedan
  lsc 4450ee6b89 Merge branch 'beta' 4 dagar sedan
  lsc 92393dfe3d update 4 dagar sedan
  lsc 0daf1ea7b0 update 4 dagar sedan
  lsc 48f233cfbc update 4 dagar sedan
  lsc c26c70e541 update 4 dagar sedan
  lsc c475e41a9f update 4 dagar sedan
2 ändrade filer med 22 tillägg och 0 borttagningar
  1. 1 0
      js/Desktop/DeskTop.js
  2. 21 0
      uform.js

+ 1 - 0
js/Desktop/DeskTop.js

@@ -7456,6 +7456,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
     // if(iframeBool){
     //     U.UF.DL.loading($("iframe", _formdiv)[0].parentElement.parentElement)
     //     let onloadListener = $("iframe", _formdiv)[0].onload = () => {
+    //         console.log("iframe进入");
     //         U.UF.DL.uploading($("iframe", _formdiv)[0].parentElement.parentElement)
     //     };
     // }

+ 21 - 0
uform.js

@@ -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,