Explorar o código

视图样式自定义

unknown %!s(int64=5) %!d(string=hai) anos
pai
achega
a06269df2d

+ 2 - 2
o2web/source/x_component_query_Query/Viewer.js

@@ -825,7 +825,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
                 this.loadCustomSearchContent();
             }
 
-            this.setContentHeightFun();
+            if(this.setContentHeightFun)this.setContentHeightFun();
         }.bind(this));
         this.searchCustomView();
     },
@@ -1061,7 +1061,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
                 this.viewSearchInputBoxNode.setStyle("display", "block");
                 this.viewSearchCustomActionNode.setStyle("display", "block");
 
-                this.setContentHeightFun();
+                if(this.setContentHeightFun)this.setContentHeightFun();
             }.bind(this));
             this.createViewNode({"filterList": this.json.filter ? this.json.filter.clone() : null});
         }

+ 6 - 6
o2web/source/x_component_query_ViewDesigner/$View/skin/styles_blue-flat.json

@@ -14,12 +14,12 @@
       "line-height": "40px",
       "height": "40px",
       "color": "#666666",
-      "background-color": "#EEE"
+      "background-color": "#F1F4F9"
     },
     "titleTd":{ //viewTitleColumnNode  viewTitleCellNode
       "font-weight": "bold",
       "padding": "0px 10px",
-      "border-bottom": "1px solid #CCC"
+      "border-bottom": "1px solid #dcdfe6"
     },
     "contentTr" : {
       "background": "#ffffff"
@@ -31,13 +31,13 @@
       "height": "30px",
       "line-height": "30px",
       "padding": "5px 5px",
-      "border-bottom": "1px solid #CCC"
+      "border-bottom": "1px solid #dcdfe6"
     },
     "contentGroupTd": {
       "padding": "5px 5px",
-      "border-bottom": "1px solid #CCC",
+      "border-bottom": "1px solid #dcdfe6",
       "font-weight": "bold",
-      "background-color": "#F6F6F6",
+      "background-color": "#F1F4F9",
       "cursor": "pointer"
     },
     "groupCollapseNode": {
@@ -95,7 +95,7 @@
         "padding-left" : "10px",
         "padding-right" : "10px",
         "border-top" : "0px",
-        "border-bottom" : "1px solid #4a90e2"
+        "border-bottom" : "1px solid #F1F4F9"
       }
     }
   },

+ 2 - 2
o2web/source/x_component_query_ViewDesigner/$View/skin/styles_blue-simple.json

@@ -14,7 +14,7 @@
       "line-height": "40px",
       "height": "40px",
       "color": "#666666",
-      "background-color": "#EEE"
+      "background-color": "#f1f1f1"
     },
     "titleTd":{ //viewTitleColumnNode  viewTitleCellNode
       "font-weight": "bold",
@@ -37,7 +37,7 @@
       "padding": "5px 5px",
       "border-bottom": "1px solid #CCC",
       "font-weight": "bold",
-      "background-color": "#F6F6F6",
+      "background-color": "#F9F9F9",
       "cursor": "pointer"
     },
     "groupCollapseNode": {

+ 1 - 1
o2web/source/x_component_query_ViewDesigner/$View/skin/styles_cmcc.json

@@ -91,7 +91,7 @@
       "container" : {
         "width" : "100%",
         "border-top" : "0px",
-        "border-bottom" : "1px solid #4a90e2"
+        "border-bottom" : "0px"
       }
     }
   },

+ 2 - 2
o2web/source/x_component_query_ViewDesigner/$View/skin/styles_red-simple.json

@@ -14,7 +14,7 @@
       "line-height": "40px",
       "height": "40px",
       "color": "#666666",
-      "background-color": "#EEE"
+      "background-color": "#f1f1f1"
     },
     "titleTd":{ //viewTitleColumnNode  viewTitleCellNode
       "font-weight": "bold",
@@ -37,7 +37,7 @@
       "padding": "5px 5px",
       "border-bottom": "1px solid #CCC",
       "font-weight": "bold",
-      "background-color": "#F6F6F6",
+      "background-color": "#F9F9F9",
       "cursor": "pointer"
     },
     "groupCollapseNode": {