root 3 年 前
コミット
9f762465aa
3 ファイル変更136 行追加119 行削除
  1. 1 1
      css/Desktop/Taskbar.css
  2. 1 1
      index.html
  3. 134 117
      js/Desktop/DeskTop.js

+ 1 - 1
css/Desktop/Taskbar.css

@@ -1,7 +1,7 @@
 /*任务管理器*/
 
 /*任务栏*/
-.U_MD_D_RW      { z-index:99;width:100%; height:65px; position:absolute; left:0; bottom:0; background-color:#505050; border-radius:0 8px 0 8px; box-shadow:0 0 30px 5px #212121; -webkit-box-shadow:0 0 30px 5px #212121; }
+.U_MD_D_RW      { z-index:99;width:100%; height:65px; position:absolute; left:0; bottom:-60px; background-color:#505050; border-radius:0 8px 0 8px; box-shadow:0 0 30px 5px #212121; -webkit-box-shadow:0 0 30px 5px #212121; }
 #U_MD_D_RW      { width:800px; color:#FFF; height:100%; /*overflow: hidden;*/ float:left; }
 #U_MD_D_RW  div { color:#111; }
 #U_MD_D_RW .U_MD_D_BZMOA:hover   { /*background-color:transparent;*/background-color:#6F6F6F; border:0; padding:6px; }

+ 1 - 1
index.html

@@ -54,7 +54,7 @@
                 </div>
                 <div class="U_MD_D_K" id="U_MD_D_K" __top__="false">
                 </div>
-                <div class="U_MD_D_RW" onmouseover="U.MD.D.I.displayTaskbar(this)">
+                <div class="U_MD_D_RW" onmouseover="U.MD.D.I.displayTaskbar(this)" onmouseout="U.MD.D.I.hiddenTaskbarout(this)">
                     <div class="U_MD_D_RW_L">
                         <div class="U_MD_D_RW_I">
                             <div class="U_MD_D_RW_IO" title="点击隐藏" onclick="U.MD.D.I.hiddenTaskbar(this);">

+ 134 - 117
js/Desktop/DeskTop.js

@@ -46,7 +46,7 @@ U.MD.D.I.DeskIcon = [
  * 初始化桌面的起始函数
  *
  */
-U.MD.D.I.init = function() {
+U.MD.D.I.init = function () {
     if ($("#U_MD_D_K")[0]) {
         //初始化桌面图标
         U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0]);
@@ -67,19 +67,36 @@ U.MD.D.I.init = function() {
  *
  * @param  {element} 桌面元素
  */
-U.MD.D.I.hiddenTaskbar = function(el) {
+U.MD.D.I.hiddenTaskbar = function (el) {
     //任务栏位置变小
-    U.selectEl(el).parentElement(3).css({ "bottom": "-39px" });
+    U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
     //桌面的位置变大
     //  U.selectEl("#U_MD_D_K").css({ "left": "5px" });
 }
 
+
+/**
+ * 隐藏任务栏
+ *
+ * @param  {element} 桌面元素
+ */
+U.MD.D.I.hiddenTaskbarout = function (el) {
+    //任务栏位置变小
+    if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
+        //任务栏位置变化
+        U.selectEl(el).css({ "bottom": "-60px" });
+        //桌面的位置变大
+        //  U.selectEl("#U_MD_D_K").css({ "left": "5px" });
+    }
+}
+
+
 /**
  * 初始化打印桌面图标
  *
  * @param  {element} 桌面元素
  */
-U.MD.D.I.initDesktopIcons = function(el) {
+U.MD.D.I.initDesktopIcons = function (el) {
     var i, //用于循环
         _content, //桌面图标元素
         _iconcontent, //桌面图标元素
@@ -91,11 +108,11 @@ U.MD.D.I.initDesktopIcons = function(el) {
     for (i = 0; i < _DesktopIconInfo.length; i++) {
         _content = $$("div", {
             className: "U_MD_D_KO",
-            "onmousedown": U.UF.C.closure(function(obj) {
+            "onmousedown": U.UF.C.closure(function (obj) {
                 //防止拖动图标即打开了桌面应用
                 U.MD.D.click(this, obj);
             }, [_DesktopIconInfo[i]]),
-            "onclick": U.UF.C.closure(function(obj) {
+            "onclick": U.UF.C.closure(function (obj) {
                 //防止拖动图标即打开了桌面应用
                 U.MD.D.click(this, obj);
             }, [_DesktopIconInfo[i]])
@@ -115,7 +132,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
  *
  * @param  {element} 桌面元素
  */
-U.MD.D.I.displayTaskbar = function(el) {
+U.MD.D.I.displayTaskbar = function (el) {
     //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
     if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
         //任务栏位置变化
@@ -135,14 +152,14 @@ U.MD.D.I.displayTaskbar = function(el) {
  * @param  {object} 左右相距的距离
  * @return  {object} 命名空间
  */
-U.MD.D.iconPostion = function(childs, top, left) {
+U.MD.D.iconPostion = function (childs, top, left) {
     var i; //用于循环处理
     top = top || 15; //如果没有设置元素的间距处理默认上间距为15
     left = left || 20; //如果没有设置元素的间距处理默认左间距为15
     //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
     for (i = 0; i < childs.length; i++) {
         //如果竖排top超过了范围处理
-        if (top + 95 > US.height - 85) {
+        if (top + 95 > US.height - 10) {
             //left超过了页面范围处理,则向上重叠打印处理
             if ((left + 180) > US.width) {
                 top -= 115;
@@ -173,7 +190,7 @@ U.MD.D.iconPostion = function(childs, top, left) {
  * @param  {object} 左右相距的距离
  * @return  {object} 命名空间
  */
-U.MD.D.click = function(el, obj) {
+U.MD.D.click = function (el, obj) {
     var _buttonnumber = event.button; //点击的按钮的事件值
     U.UF.EV.stopBubble(); //阻止向上冒泡
     //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
@@ -199,7 +216,7 @@ U.MD.D.click = function(el, obj) {
  * 拖动的处理
  *
  */
-U.MD.D.iconMove = function() {
+U.MD.D.iconMove = function () {
     //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性   U.MD.D.I.IsDrag为true
     U.MD.D.I.IsDrag = true;
 }
@@ -210,7 +227,7 @@ U.MD.D.iconMove = function() {
  * @param  {element} 拖动的元素
  * @return  {object} 命名空间
  */
-U.MD.D.iconUp = function(el) {
+U.MD.D.iconUp = function (el) {
     var _top = 15,
         _left = 20,
         _margin,
@@ -244,7 +261,7 @@ U.MD.D.iconUp = function(el) {
 ----------[1]  左 left
 * @return  {object} 命名空间
 */
-U.MD.D.isOverlap = function(el, childs, postionarray) {
+U.MD.D.isOverlap = function (el, childs, postionarray) {
     //循环所有的图标
     for (var i = 0; i < childs.length; i++) {
         //判断有没有和该图标诶子重叠的元素
@@ -289,13 +306,13 @@ U.MD.D.isOverlap = function(el, childs, postionarray) {
 如果第一个参数为其他,则无第二个参数
 * @returns {array} 
 */
-U.MD.D.I.openApplication = function(str, obj, info) {
+U.MD.D.I.openApplication = function (str, obj, info) {
     obj = obj || {};
     var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
         _formdiv, //创建任务栏时同时弹出的窗体元素。
         _userinfo = US.userInfo, //登录用户信息
         _userid = obj.userid || _userinfo.UserId //登录用户id
-    ;
+        ;
     //选择应用处理
     switch (str) {
 
@@ -303,168 +320,168 @@ U.MD.D.I.openApplication = function(str, obj, info) {
             _formdiv = new U.UF.UI.form(
                 "项目管理",
                 $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=71160a48-11e2-11ec-80ad-005056b86db5&oid=45facc0a-1211-11ec-80ad-005056b86db5" }), {
-                    "id": "project",
-                    "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/project.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "project",
+                "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/project.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
         case "student":
             _formdiv = new U.UF.UI.form(
                 "学生管理",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/student?userid=71160a48-11e2-11ec-80ad-005056b86db5&oid=45facc0a-1211-11ec-80ad-005056b86db5" }), {
-                    "id": "student",
-                    "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "student",
+                "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "evaluate":
             _formdiv = new U.UF.UI.form(
                 "评价管理",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/works?userid=71160a48-11e2-11ec-80ad-005056b86db5&oid=45facc0a-1211-11ec-80ad-005056b86db5" }), {
-                    "id": "evaluate",
-                    "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/evaluation.png)" }, "name": "评价管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "evaluate",
+                "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/evaluation.png)" }, "name": "评价管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "class":
             _formdiv = new U.UF.UI.form(
                 "班级管理",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/class?userid=71160a48-11e2-11ec-80ad-005056b86db5&oid=45facc0a-1211-11ec-80ad-005056b86db5" }), {
-                    "id": "class",
-                    "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "class",
+                "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "my":
             _formdiv = new U.UF.UI.form(
                 "我的资料",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=71160a48-11e2-11ec-80ad-005056b86db5" }), {
-                    "id": "my",
-                    "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "my",
+                "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "notice":
             _formdiv = new U.UF.UI.form(
                 "通知公告",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/notice?userid=71160a48-11e2-11ec-80ad-005056b86db5" }), {
-                    "id": "notice",
-                    "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "notice",
+                "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "library":
             _formdiv = new U.UF.UI.form(
                 "素材库",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library?userid=71160a48-11e2-11ec-80ad-005056b86db5" }), {
-                    "id": "library",
-                    "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "library",
+                "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "whiteboard":
             _formdiv = new U.UF.UI.form(
                 "电子白板",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "whiteboard",
-                    "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "whiteboard",
+                "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "investigation":
             _formdiv = new U.UF.UI.form(
                 "问卷调查",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "investigation",
-                    "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "investigation",
+                "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "note":
             _formdiv = new U.UF.UI.form(
                 "便签分类",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "note",
-                    "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "note",
+                "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "score":
             _formdiv = new U.UF.UI.form(
                 "量规评分",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "score",
-                    "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "score",
+                "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "mind":
             _formdiv = new U.UF.UI.form(
                 "思维导图",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "mind",
-                    "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "mind",
+                "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
         case "doc":
             _formdiv = new U.UF.UI.form(
                 "协同文档",
                 $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
-                    "id": "doc",
-                    "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/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                "id": "doc",
+                "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/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             break;
 
 
@@ -478,14 +495,14 @@ U.MD.D.I.openApplication = function(str, obj, info) {
             _formdiv = new U.UF.UI.form("域名管理", _iframe, { id: "U_MD_DS_DomainShare", style: { "width": "370px", "height": "390px" } }).form;
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
+                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
             }
             break;
         case "disk": //个人网盘查看 
             _formdiv = U.MD.DK.initDisk(_userid, obj.directoryid); //根据网盘数据,并加载网盘,里面包含了url重写
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             }
             break;
         case "word": //Word打开
@@ -493,7 +510,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
             _formdiv = _wordinfo[0];
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-462px -296px", "name": "文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, _wordinfo[1]); } }
+                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-462px -296px", "name": "文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, _wordinfo[1]); } }
             }
             if (obj.UrlType != 'join') {
                 U.MD.N.urlWrite("word/" + _formdiv.id.substr(-36), "在线文档"); //word的url重写
@@ -503,7 +520,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
             _formdiv = U.MD.O.excel(_userinfo, obj);
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-523px -296px", "name": "Excel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-523px -296px", "name": "Excel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             }
             U.MD.N.urlWrite("excel/" + _formdiv.id.substr(-36), "Excel");
             break;
@@ -511,42 +528,42 @@ U.MD.D.I.openApplication = function(str, obj, info) {
             _formdiv = U.MD.D.Txt.textCreate();
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + obj.directoryid, "backgroundPostion": "-267px -413px", "name": "文本", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+                _taskbar = { "id": str + obj.directoryid, "backgroundPostion": "-267px -413px", "name": "文本", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             }
             U.MD.N.urlWrite("txt/" + _formdiv.id.substr(-36), "文本");
             break;
         case "lookupFriend":
             _formdiv = U.MD.F.S.popSearchFriendsOrGroupForm(0);
             //生成任务栏的变量
-            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "查找好友", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "查找好友", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             U.MD.N.urlWrite("lookupfriend/" + obj.directoryid.substr(-36), "查找好友"); //查找好友的url重写
             break;
         case "ftp": //Ftp 
             _formdiv = U.MD.F.S.popupsSearchFtp();
             //生成任务栏的变量
-            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-144px -413px", "name": "FTP", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-144px -413px", "name": "FTP", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             break;
         case "group": //群组
             _formdiv = U.MD.F.S.popupsSearchGroups(0);
             //生成任务栏的变量
-            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "群组", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "群组", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             break;
         case "set": //个人设置
             _formdiv = U.MD.U.P.userDataSet();
             if (_formdiv) {
                 //生成任务栏的变量
-                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "个人设置", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+                _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "个人设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             }
             break;
         case "systemSet": //系统设置 
             _formdiv = U.MD.D.B.init();
             //生成任务栏的变量
-            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "系统设置", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "系统设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             break;
         case "boomYun": //BoomYun 
             _formdiv = U.Boom.I.onload();
             //生成任务栏的变量
-            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-844px -419px", "name": "互联办公", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj); } }
+            _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-844px -419px", "name": "互联办公", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
             U.MD.N.urlWrite("boomyun", "互联办公"); //boomyun的url重写
             break;
         case "xz": //App下载