Procházet zdrojové kódy

门户页面,修复页面设计脚本附签显示不正常的问题

unknown před 5 roky
rodič
revize
4957620500

+ 1 - 0
o2web/gulpapps.js

@@ -61,6 +61,7 @@ var apps = [
     { "folder": "x_component_process_StatDesigner", "tasks": ["move", "min"] },
     { "folder": "x_component_process_TaskCenter", "tasks": ["move", "min"] },
     { "folder": "x_component_process_ViewDesigner", "tasks": ["move", "min"] },
+    { "folder": "x_component_process_WidgetDesigner", "tasks": ["move", "min"] },
     { "folder": "x_component_process_Work", "tasks": ["move", "min"] },
     { "folder": "x_component_process_Xform", "tasks": ["move", "min"] },
     { "folder": "x_component_Profile", "tasks": ["move", "min"] },

+ 1 - 1
o2web/source/x_component_portal_PageDesigner/$Main/bottom/pageToolbars.html

@@ -1,7 +1,7 @@
 <div id="MWFFormToolbar">
 	<span MWFnodetype="MWFToolBarSeparator"></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="save.gif" title="保存表单" MWFButtonAction="savePage" MWFButtonText=""></span>
-	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>
+<!--	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>-->
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="preview.png" title="预览" MWFButtonAction="previewPage" MWFButtonText=""></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="print.gif" title="打印" MWFButtonAction="printPage" MWFButtonText=""></span>
 

+ 1 - 1
o2web/source/x_component_portal_PageDesigner/$Main/default/pageToolbars.html

@@ -1,7 +1,7 @@
 <div id="MWFFormToolbar">
 	<span MWFnodetype="MWFToolBarSeparator"></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="save.gif" title="保存表单" MWFButtonAction="savePage" MWFButtonText=""></span>
-	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>
+<!--	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>-->
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="preview.png" title="预览" MWFButtonAction="previewPage" MWFButtonText=""></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="print.gif" title="打印" MWFButtonAction="printPage" MWFButtonText=""></span>
 	

+ 19 - 0
o2web/source/x_component_portal_WidgetDesigner/$Main/bottom/css.wcss

@@ -360,4 +360,23 @@
             "border": "1px solid #999",
             "background": "url("+"/x_component_portal_PageDesigner/$Main/bottom/editCancel_bg.png) no-repeat"
         },
+		"designTabScriptAreaNode": {
+			"height": "100%"
+		},
+		"designTabHtmlAreaNode": {
+			"height": "100%"
+		},
+		"designTabScriptPcAreaNode": {
+			"height": "100%"
+		},
+		"designTabScriptMobileAreaNode": {
+			"height": "100%",
+			"display": "none"
+		},
+		"scriptPageDragNode": {
+			"opacity": 0.7,
+			"border": "2px dashed #999",
+			"background-color": "#CCC",
+			"position": "absolute"
+		}
 }

+ 20 - 1
o2web/source/x_component_portal_WidgetDesigner/$Main/default/css.wcss

@@ -358,5 +358,24 @@
         "box-shadow": "0px 0px 0px #666",
         "border": "1px solid #999",
         "background": "url("+"/x_component_portal_PageDesigner/$Main/default/editCancel_bg.png) no-repeat"
-    }
+    },
+	"designTabScriptAreaNode": {
+		"height": "100%"
+	},
+	"designTabHtmlAreaNode": {
+		"height": "100%"
+	},
+	"designTabScriptPcAreaNode": {
+		"height": "100%"
+	},
+	"designTabScriptMobileAreaNode": {
+		"height": "100%",
+		"display": "none"
+	},
+	"scriptPageDragNode": {
+		"opacity": 0.7,
+		"border": "2px dashed #999",
+		"background-color": "#CCC",
+		"position": "absolute"
+	}
 }

+ 1 - 1
o2web/source/x_component_portal_WidgetDesigner/$Main/default/pageToolbars.html

@@ -1,7 +1,7 @@
 <div id="MWFFormToolbar">
 	<span MWFnodetype="MWFToolBarSeparator"></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="save.gif" title="保存表单" MWFButtonAction="savePage" MWFButtonText=""></span>
-	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>
+<!--	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="saveNew.gif" title="保存为模板" MWFButtonAction="savePageAsTemplate" MWFButtonText=""></span>-->
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="preview.png" title="预览" MWFButtonAction="previewPage" MWFButtonText=""></span>
 	<span MWFnodetype="MWFToolBarButton" MWFButtonImage="print.gif" title="打印" MWFButtonAction="printPage" MWFButtonText=""></span>