diff --git a/o2web/source/x_component_process_FormDesigner/Module/ImageClipper/imageclipper.html b/o2web/source/x_component_process_FormDesigner/Module/ImageClipper/imageclipper.html index a8db9d9424ee6fe777d260c978596ef94045f53d..1d8268f54d426befdd6592954153bb7b8ebc99bd 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/ImageClipper/imageclipper.html +++ b/o2web/source/x_component_process_FormDesigner/Module/ImageClipper/imageclipper.html @@ -60,6 +60,7 @@
+ diff --git a/o2web/source/x_component_process_FormDesigner/lp/en.js b/o2web/source/x_component_process_FormDesigner/lp/en.js index 4cae90b56e507b44ba8d0da2d91f4bac85de292a..da78903a8a3641f1d805ab4b488b795314aef7e0 100644 --- a/o2web/source/x_component_process_FormDesigner/lp/en.js +++ b/o2web/source/x_component_process_FormDesigner/lp/en.js @@ -368,6 +368,7 @@ MWF.xApplication.process.FormDesigner.LP = { "appearance": "Appearance", "style": "Style", "attribute": "Attribute", + "imageStyle": "Image Style", "hideSystemTools": "SystemTools", "show": "Show", diff --git a/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js b/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js index 7ddd517d4ed59dbcebdc201b96fe01bc99f3ee76..27d07a8b11e8f55f77f4722457d3de65ab166e57 100644 --- a/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js +++ b/o2web/source/x_component_process_FormDesigner/lp/zh-cn.js @@ -367,6 +367,7 @@ MWF.xApplication.process.FormDesigner.LP = { "appearance": "外观类型", "style": "样式", "attribute": "属性", + "imageStyle": "图片样式", "hideSystemTools": "系统操作", "show": "显示", diff --git a/o2web/source/x_component_process_Xform/ImageClipper.js b/o2web/source/x_component_process_Xform/ImageClipper.js index eba8224f1c0125e8b7bcff5e83f7668e4ffa8449..0f91d57debbb2ce0b164ab61b32bcf065a253186 100644 --- a/o2web/source/x_component_process_Xform/ImageClipper.js +++ b/o2web/source/x_component_process_Xform/ImageClipper.js @@ -47,6 +47,7 @@ MWF.xApplication.process.Xform.ImageClipper = MWF.APPImageClipper = new Class( }) } } + if(this.json.imageStyles)img.setStyles(this.json.imageStyles); img.inject( this.node ); } if( this.readonly || this.json.isReadonly )return; @@ -146,6 +147,7 @@ MWF.xApplication.process.Xform.ImageClipper = MWF.APPImageClipper = new Class( }) } } + if(this.json.imageStyles)img.setStyles(this.json.imageStyles); }, selectImage: function(d, callback){