提交 0b0c9eb3 编写于 作者: U unknown

蓝白扁平

上级 b03b7240
......@@ -4,7 +4,7 @@
<div style="height: 44px; color: rgb(255, 255, 255); line-height: 44px;" class="MWF_dialod_title_text"></div>
</div>
<div class="MWF_dialod_content" style="text-align: left; padding: 0px; line-height:20px;background:#f5f5f5;overflow:auto;"></div>
<div class="MWF_dialod_button" style="height: 64px; margin: 0px 0px;background: #ffffff;">
<div class="MWF_dialod_button" style="height: 64px; margin: 0px 0px;background: #ffffff;border-top:1px solid #F0F0F0;">
<input type="button" class="MWF_dialod_cancel_button" style="display: none;"/>
<input type="button" class="MWF_dialod_ok_button" style="display: none;"/>
</div>
......
......@@ -143,7 +143,8 @@
},
"actionNode": {
"height": "64px",
"overflowe" : "hidden"
"overflowe" : "hidden",
"border-top" : "1px solid #F0F0F0"
},
"okActionNode": {
"height": "44px",
......
......@@ -273,7 +273,7 @@
},
"editStyles": {
"background-color": "#ffffff",
"text-align": "left",
"text-align": "right",
"height": "auto",
"border-top": "0px",
"border-left": "0px",
......@@ -288,7 +288,7 @@
"border-left": "0px",
"border-right" : "0px",
"border-bottom" : "1px solid #cfd9df",
"text-align": "left"
"text-align": "right"
},
"itemTitleStyles": {
"height": "16px",
......
......@@ -53,6 +53,9 @@
"margin-left": "0px"
}
},
"errorStyle" : {
"type" : "notice"
},
"selectorStyle" : {
"style" : "blue_flat_mobile",
"width" : "700",
......
......@@ -259,19 +259,31 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input = new Class({
//});
var node;
if( this.form.json.errorStyle ){
node = new Element("div",{
"styles" : this.form.json.errorStyle.node,
"text": text
});
if( this.form.json.errorStyle.close ){
var closeNode = new Element("div",{
"styles" : this.form.json.errorStyle.close ,
"events": {
"click" : function(){
this.destroy();
}.bind(node)
}
}).inject(node);
if( this.form.json.errorStyle.type === "notice" ){
if( !this.form.errorNoticing ){ //如果是弹出
this.form.errorNoticing = true;
this.form.notice(text, "error", this.node, null, null, {
onClose : function () {
alert(1);
this.form.errorNoticing = false;
}.bind(this)
});
}
}else{
node = new Element("div",{
"styles" : this.form.json.errorStyle.node,
"text": text
});
if( this.form.json.errorStyle.close ){
var closeNode = new Element("div",{
"styles" : this.form.json.errorStyle.close ,
"events": {
"click" : function(){
this.destroy();
}.bind(node)
}
}).inject(node);
}
}
}else{
node = new Element("div");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册