密码修改界面优化
This commit is contained in:
parent
e84bf4a45d
commit
fc0202b530
@ -22,7 +22,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="userDlg" class="easyui-panel" title="修改密码" style="height:370px;padding:10px 20px;background-color:#EAF2FD; "
|
<div id="userDlg" class="easyui-panel" title="修改密码" style="height:370px;padding:10px 20px;background-color:#EAF2FD; "
|
||||||
buttons="#dlg-buttons" iconCls="icon-unlock" collapsible="true" closable="false">
|
iconCls="icon-unlock" collapsible="true" closable="false">
|
||||||
<form id="passwordFM" method="post" novalidate>
|
<form id="passwordFM" method="post" novalidate>
|
||||||
<div class="fitem" style="padding:5px">
|
<div class="fitem" style="padding:5px">
|
||||||
<label id="passwordLabel">原始密码 </label>
|
<label id="passwordLabel">原始密码 </label>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<div style="clear: both;"> </div>
|
<div style="clear: both;"> </div>
|
||||||
<div id="dlg-buttons">
|
<div id="dlg-buttons">
|
||||||
<a href="javascript:void(0)" id="savepassword" class="easyui-linkbutton" iconCls="icon-save">保存</a>
|
<a href="javascript:void(0)" id="savepassword" class="easyui-linkbutton" iconCls="icon-save">保存</a>
|
||||||
<a href="javascript:void(0)" id="cancelpassword" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
|
<a href="javascript:void(0)" id="cancelpassword" class="easyui-linkbutton" iconCls="icon-redo">重置</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -59,15 +59,14 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$("#userDlg").panel({height:webH-35});
|
$("#userDlg").panel({height:webH-35});
|
||||||
|
$("#dlg-buttons").css("padding-left","65px");
|
||||||
});
|
});
|
||||||
|
//重置
|
||||||
$("#cancelpassword").unbind().bind({
|
$("#cancelpassword").off("click").on("click",function(){
|
||||||
click:function()
|
$("#orgpassword").val("");
|
||||||
{
|
$("#password").val("");
|
||||||
history.go(-1);
|
$("#repassword").val("");
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//初始化键盘enter事件
|
//初始化键盘enter事件
|
||||||
$(document).keydown(function(event)
|
$(document).keydown(function(event)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user