优化所有页面的搜索框样式
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
<!-- 指定以IE8的方式来渲染 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
|
||||
<link type="text/css" rel="stylesheet" href="/css/jsherp.css"/>
|
||||
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
|
||||
@@ -18,19 +20,18 @@
|
||||
<body>
|
||||
<!-- 数据显示table -->
|
||||
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="消息列表" iconCls="icon-list">
|
||||
<table id="searchTable">
|
||||
<tr>
|
||||
<td>消息标题:</td>
|
||||
<td>
|
||||
<input name="searchMsgTitle" id="searchMsgTitle" style="width:150px;"/>
|
||||
</td>
|
||||
<td> </td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="box-body form-inline">
|
||||
<div class="form-group">
|
||||
<label class="control-label">消息标题:</label>
|
||||
<div class="control-inline">
|
||||
<input type="text" id="searchMsgTitle" name="searchMsgTitle" value="" maxlength="100" class="easyui-textbox width-90"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
|
||||
</div>
|
||||
</div>
|
||||
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
|
||||
</div>
|
||||
|
||||
@@ -254,7 +255,7 @@
|
||||
}
|
||||
|
||||
function showMsgDetails(pageNo, pageSize) {
|
||||
var name = $.trim($("#searchMsgTitle").val());
|
||||
var name = $.trim($("#searchMsgTitle").textbox("getValue"));
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/msg/list",
|
||||
@@ -284,7 +285,7 @@
|
||||
//重置按钮
|
||||
$("#searchResetBtn").unbind().bind({
|
||||
click: function () {
|
||||
$("#searchMsgTitle").val("");
|
||||
$("#searchMsgTitle").textbox("clear");
|
||||
//加载完以后重新初始化
|
||||
$("#searchBtn").click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user