Prechádzať zdrojové kódy

Merge branch 'cherry-pick-bfdd347a' into 'develop'

Merge branch 'fix/CMS_categorynavi_execption' into 'develop'

See merge request o2oa/o2oa!1475
蔡祥熠 5 rokov pred
rodič
commit
8a368287c7

+ 13 - 6
o2web/source/x_component_cms_ColumnManager/$CategoryExplorer/default/css.wcss

@@ -403,9 +403,12 @@
   "newCategoryNaviNode" : {
   "newCategoryNaviNode" : {
 	"color" : "#333",
 	"color" : "#333",
 	"padding-left" : "45px",
 	"padding-left" : "45px",
-	"height" : "39px",
+	  "padding-right" : "10px",
+	"min-height" : "24px",
+	  "padding-top" : "8px",
+	  "padding-bottom" : "8px",
 	"font-weight" : "normal",
 	"font-weight" : "normal",
-	"line-height" : "39px",
+	"line-height" : "24px",
 	"font-family": "Microsoft YaHei",
 	"font-family": "Microsoft YaHei",
 	"overflow" : "hidden",
 	"overflow" : "hidden",
 	"font-size": "14px",
 	"font-size": "14px",
@@ -418,10 +421,13 @@
 	"cursor" : "pointer",
 	"cursor" : "pointer",
 	"color" : "#666",
 	"color" : "#666",
 	"padding-left" : "55px",
 	"padding-left" : "55px",
-	"height" : "39px",
+	  "padding-right" : "10px",
+	  "min-height" : "24px",
+	  "padding-top" : "8px",
+	  "padding-bottom" : "8px",
 	"overflow" : "hidden",
 	"overflow" : "hidden",
 	"font-weight" : "normal",
 	"font-weight" : "normal",
-	"line-height" : "39px",
+	"line-height" : "24px",
 	"font-family": "Microsoft YaHei",
 	"font-family": "Microsoft YaHei",
 	"font-size": "14px",
 	"font-size": "14px",
 	//"background" : "url(../x_component_cms_Module/$Main/default/icon/category_folder.png) no-repeat 20px 12px",
 	//"background" : "url(../x_component_cms_Module/$Main/default/icon/category_folder.png) no-repeat 20px 12px",
@@ -436,6 +442,7 @@
   "categoryNaviNode_selected" : {
   "categoryNaviNode_selected" : {
 	//"color" : "#447bbb",
 	//"color" : "#447bbb",
 	//"background-color" : "#f2f8ff"
 	//"background-color" : "#f2f8ff"
+	  "padding-top" : "30px",
 	"color" : "#fff",
 	"color" : "#fff",
 	"background-color" : "#3c76b7"
 	"background-color" : "#3c76b7"
   },
   },
@@ -647,7 +654,7 @@
   },
   },
   "categoryInput" : {
   "categoryInput" : {
 	"height" : "24px",
 	"height" : "24px",
-	"width" : "180px",
+	"width" : "210px",
 	"color" : "#666",
 	"color" : "#666",
 	"border" : "1px dashed #666"
 	"border" : "1px dashed #666"
   },
   },
@@ -676,7 +683,7 @@
 	//"box-shadow": "0px 2px 5px #999",
 	//"box-shadow": "0px 2px 5px #999",
 	"opacity": 1,
 	"opacity": 1,
 	"top" : "10px",
 	"top" : "10px",
-	"right" : "5px",
+	"left" : "55px",
 	"z-index": 100
 	"z-index": 100
   },
   },
   "actionNodeStyles": {
   "actionNodeStyles": {

+ 24 - 17
o2web/source/x_component_cms_Module/$Main/default/css.wcss

@@ -227,9 +227,11 @@
     "overflow" : "hidden",
     "overflow" : "hidden",
     "cursor" : "pointer",
     "cursor" : "pointer",
     "color" : "#333",
     "color" : "#333",
-    "height" : "40px",
+    "min-height" : "24px",
+    "padding-top" : "8px",
+    "padding-bottom" : "8px",
     "font-weight" : "normal",
     "font-weight" : "normal",
-    "line-height" : "40px",
+    "line-height" : "24px",
     "font-family": "Microsoft YaHei",
     "font-family": "Microsoft YaHei",
     "font-size": "15px",
     "font-size": "15px",
     "background" : "url(../x_component_cms_Module/$Main/default/icon/category_folder.png) no-repeat 38px 12px",
     "background" : "url(../x_component_cms_Module/$Main/default/icon/category_folder.png) no-repeat 38px 12px",
@@ -246,47 +248,47 @@
     "color" : "#333"
     "color" : "#333"
   },
   },
   "categoryNaviTextNode" : {
   "categoryNaviTextNode" : {
-    "float" : "left",
-    "margin-left" : "33px"
+    "margin-right" : "10px",
+    "margin-left" : "65px"
   },
   },
   "emptyExpendNode" : {
   "emptyExpendNode" : {
-    "height" : "40px",
+    "height" : "24px",
     "width" : "16px",
     "width" : "16px",
     "float" : "left",
     "float" : "left",
     //"margin-top" : "12px",
     //"margin-top" : "12px",
     "margin-left" : "16px"
     "margin-left" : "16px"
   },
   },
   "categoryExpendNode" : {
   "categoryExpendNode" : {
-    "height" : "40px",
+    "height" : "24px",
     "width" : "16px",
     "width" : "16px",
     "float" : "left",
     "float" : "left",
     //"margin-top" : "12px",
     //"margin-top" : "12px",
     "margin-left" : "16px",
     "margin-left" : "16px",
-    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_down.png) no-repeat 0px 12px"
+    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_down.png) no-repeat 0px 4px"
   },
   },
   "categoryExpendNode_selected" : {
   "categoryExpendNode_selected" : {
-    "height" : "40px",
+    "height" : "24px",
     "width" : "16px",
     "width" : "16px",
     "float" : "left",
     "float" : "left",
     //"margin-top" : "12px",
     //"margin-top" : "12px",
     "margin-left" : "16px",
     "margin-left" : "16px",
-    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_down_selected.png) no-repeat 0px 12px"
+    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_down_selected.png) no-repeat 0px 4px"
   },
   },
   "categoryCollapseNode" : {
   "categoryCollapseNode" : {
-    "height" : "40px",
+    "height" : "24px",
     "width" : "16px",
     "width" : "16px",
     "float" : "left",
     "float" : "left",
     //"margin-top" : "12px",
     //"margin-top" : "12px",
     "margin-left" : "16px",
     "margin-left" : "16px",
-    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_right.png) no-repeat 0px 12px"
+    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_right.png) no-repeat 0px 4px"
   },
   },
   "categoryCollapseNode_selected" : {
   "categoryCollapseNode_selected" : {
-    "height" : "40px",
+    "height" : "24px",
     "width" : "16px",
     "width" : "16px",
     "float" : "left",
     "float" : "left",
     //"margin-top" : "12px",
     //"margin-top" : "12px",
     "margin-left" : "16px",
     "margin-left" : "16px",
-    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_right_selected.png) no-repeat 0px 12px"
+    "background": "url(../x_component_cms_Module/$Main/default/icon/arrow_right_selected.png) no-repeat 0px 4px"
   },
   },
 
 
   "viewNaviListNode" : {
   "viewNaviListNode" : {
@@ -298,8 +300,10 @@
     "cursor" : "pointer",
     "cursor" : "pointer",
     "color" : "#333",
     "color" : "#333",
     "padding-left" : "65px",
     "padding-left" : "65px",
-    "height" : "40px",
-    "line-height" : "40px",
+    "min-height" : "24px",
+    "line-height" : "24px",
+    "padding-top" : "8px",
+    "padding-bottom" : "8px",
     "font-family": "Microsoft YaHei",
     "font-family": "Microsoft YaHei",
     "font-size": "15px",
     "font-size": "15px",
     "background" : "url(../x_component_cms_Module/$Main/default/icon/category_all3.png) no-repeat 38px 12px",
     "background" : "url(../x_component_cms_Module/$Main/default/icon/category_all3.png) no-repeat 38px 12px",
@@ -321,8 +325,11 @@
     "cursor" : "pointer",
     "cursor" : "pointer",
     "color" : "#666",
     "color" : "#666",
     "padding-left" : "65px",
     "padding-left" : "65px",
-    "height" : "40px",
-    "line-height" : "40px",
+    "padding-right" : "10px",
+    "min-height" : "24px",
+    "line-height" : "24px",
+    "padding-top" : "8px",
+    "padding-bottom" : "8px",
     "font-family": "Microsoft YaHei",
     "font-family": "Microsoft YaHei",
     "font-size": "14px",
     "font-size": "14px",
     "background-color": "#f7f7f7"
     "background-color": "#f7f7f7"