root 2 年 前
コミット
f11686b631
3 ファイル変更12 行追加12 行削除
  1. 9 9
      js/Controls/Basic.js
  2. 0 0
      js/Controls/Basic.min.js
  3. 3 3
      js/Desktop/DeskTop.js

+ 9 - 9
js/Controls/Basic.js

@@ -1558,7 +1558,7 @@ U.UF.UI.Confirm = U.UF.UI.confirm = function (content, determineFun, cancelFun)
     //创建确定按钮 绑定点击事件,默认点击后执行关闭窗体函数
     $$("div", {
         "style": {
-            "cssText": "text-align: center; color: rgb(255,255,255); width: 92px; line-height:28px; background: rgb(48,126,208); border-radius: 5px;float: right; margin-right:29px; "
+            "cssText": "text-align: center; color: rgb(255,255,255); width: 92px; line-height:28px; background: rgb(48,126,208); float: right; margin-right:29px; "
         },
         innerHTML: "确定",
         onclick: function () {
@@ -1575,7 +1575,7 @@ U.UF.UI.Confirm = U.UF.UI.confirm = function (content, determineFun, cancelFun)
     //创建取消按钮 绑定点击事件,默认点击后执行关闭窗体函数
     $$("div", {
         "style": {
-            "cssText": "text-align: center; color: rgb(255,255,255); width: 92px; line-height:28px; background: rgb(48,126,208); border-radius: 5px;background: rgb(170,170,170); float: right; margin-right:21px;margin-left:29px;"
+            "cssText": "text-align: center; color: rgb(255,255,255); width: 92px; line-height:28px; background: rgb(48,126,208); background: rgb(170,170,170); float: right; margin-right:21px;margin-left:29px;"
         },
         "innerHTML": "取消",
         "onclick": function () {
@@ -1588,7 +1588,7 @@ U.UF.UI.Confirm = U.UF.UI.confirm = function (content, determineFun, cancelFun)
         "提示",
         _confirm, {
         "style": {
-            "cssText": "font-size: 14px; background: rgb(255,255,255); width: 310px; position: absolute; box-shadow: 0 0 10px 3px rgb(0,0,0); border-radius: 5px;"
+            "cssText": "font-size: 14px; background: rgb(255,255,255); width: 310px; position: absolute; box-shadow: 0 0 10px 3px rgb(0,0,0); "
         }
     }, {
         "istop": true,
@@ -1622,7 +1622,7 @@ U.UF.UI.Dialog = U.UF.UI.Dialog = function (content, callBackFun) {
     //调用Uform窗体创建函数将主体内容添加到窗体中
     var _form = new U.UF.UI.form("提示框", _dialog, {
         "style": {
-            "cssText": "font-size: 14px; width: 300px; background:#fff; position: absolute; top: 100px; left: 40%; box-shadow: 0 0 10px 3px black; border-radius: 5px;"
+            "cssText": "font-size: 14px; width: 300px; background:#fff; position: absolute; top: 100px; left: 40%; box-shadow: 0 0 10px 3px black; "
         }
     },
         null, {
@@ -1631,7 +1631,7 @@ U.UF.UI.Dialog = U.UF.UI.Dialog = function (content, callBackFun) {
     //创建确定按钮 并绑定点击函数,默认点击后执行关闭窗体函数
     $$("div", {
         "style": {
-            "cssText": "text-align: center; color: #fff; width: 30%; padding: 5px; background: #307ed0; border-radius: 5px;float: right; margin: 0 12px 12px 0;"
+            "cssText": "text-align: center; color: #fff; width: 30%; padding: 5px; background: #307ed0; float: right; margin: 0 12px 12px 0;"
         },
         innerHTML: "确定", // 绑定innerHTML
         onclick: function () {
@@ -1665,7 +1665,7 @@ U.UF.UI.alertClick = function (content, attr) {
     //调用Uform窗体创建函数将主体内容添加到窗体中
     var _form = new U.UF.UI.form("提示框", _content, {
         "style": {
-            "cssText": "font-size: 16px; width:320px; background: rgb(255,255,255);box-shadow: 0 0 10px 3px rgb(0,0,0); border-radius: 5px;"
+            "cssText": "font-size: 16px; width:320px; background: rgb(255,255,255);box-shadow: 0 0 10px 3px rgb(0,0,0); "
         }
     }, {
         "isnarrow": false,
@@ -1678,7 +1678,7 @@ U.UF.UI.alertClick = function (content, attr) {
     });
 
     //创建确定按钮 并绑定点击函数,默认点击后执行关闭窗体函数
-    $$("div", { "style": { "cssText": "text-align: center; color: #fff; width: 30%;max-width:150px; padding: 5px; background: #307ed0; border-radius: 5px;float: right; margin: 0 12px 12px 0;" }, innerHTML: "确定", onclick: function () { U.UF.F.closeWindow(_form.form); } }, _footer);
+    $$("div", { "style": { "cssText": "text-align: center; color: #fff; width: 30%;max-width:150px; padding: 5px; background: #307ed0; float: right; margin: 0 12px 12px 0;" }, innerHTML: "确定", onclick: function () { U.UF.F.closeWindow(_form.form); } }, _footer);
 }
 
 /**
@@ -1890,10 +1890,10 @@ U.UF.UI.form.prototype = {
             //窗体的统一属性设置,默认属性
             if (_formattr.style) {
                 _formattr.style.cssText = _formattr.style.cssText || "";
-                _formattr.style.cssText = "width: 70%; position: absolute; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden;  -moz-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -webkit-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px;" + _formattr.style.cssText;
+                _formattr.style.cssText = "width: 70%; position: absolute; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden;  -moz-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -webkit-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -moz- -webkit- border-radius:5px;" + _formattr.style.cssText;
             } else {
                 _formattr.style = {
-                    cssText: "width: 70%; position: absolute; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden;  -moz-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -webkit-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px;"
+                    cssText: "width: 70%; position: absolute; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden;  -moz-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -webkit-box-shadow:rgb(38 38 38) 0px 0px 12px 1px; box-shadow:rgb(38 38 38) 0px 0px 12px 1px; -moz- -webkit- border-radius:5px;"
                 };
             }
             _formattr.close = U.UF.C.apply(this, function () { //关闭窗体;

ファイルの差分が大きいため隠しています
+ 0 - 0
js/Controls/Basic.min.js


+ 3 - 3
js/Desktop/DeskTop.js

@@ -3006,10 +3006,10 @@ U.MD.D.I.openApplication = function (str, obj, info) {
                 "style": { "width": "460px", "height": "550px", "bottom": "20px", "right": "20px", "overflow": 'hidden' },
                 "onresize": function () { }
             }, {
-                closecallback: function () { $("#aichat").remove(); },
+                closecallback: function () { $("#aichat_icon").remove(); },
                 narrowcallback: function () {
-                    if (!$("#aichat")[0]) {
-                        $$("#aichat", { "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv.form); } }, $("#U_MD_D")[0])
+                    if (!$("#aichat_icon")[0]) {
+                        $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv.form); } }, $("#U_MD_D")[0])
                     }
                 },
             }, { "style": { "height": "36px" } }).form; //创建窗体

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません