|
@@ -3,6 +3,8 @@
|
3
|
3
|
<link rel="stylesheet" href="@ConfigHelper.GetCDNPrefix()/assets/css/info.css">
|
4
|
4
|
<link href="@ConfigHelper.GetCDNPrefix()/assets/css/rate.css" rel="stylesheet" />
|
5
|
5
|
<link rel="stylesheet" href="@ConfigHelper.GetCDNPrefix()/assets/css/pikaday.css">
|
|
6
|
+ <link rel="stylesheet" href="@ConfigHelper.GetCDNPrefix()/assets/plugins/page/paging.css">
|
|
7
|
+
|
6
|
8
|
<style>
|
7
|
9
|
.filterInp .d-close {
|
8
|
10
|
position: absolute;
|
|
@@ -12,8 +14,9 @@
|
12
|
14
|
padding: 0 5px;
|
13
|
15
|
color: #b0b0b0;
|
14
|
16
|
}
|
|
17
|
+
|
15
|
18
|
.filterInp .d-close.d-hide {
|
16
|
|
- display:none;
|
|
19
|
+ display: none;
|
17
|
20
|
}
|
18
|
21
|
</style>
|
19
|
22
|
}
|
|
@@ -65,7 +68,7 @@
|
65
|
68
|
<span>利率适用期:</span>
|
66
|
69
|
<div class="filterInp filDate">
|
67
|
70
|
<input type="text" id="date_start" readonly value="@(Model.StartTime.HasValue?Model.StartTime.Value.ToString("yyyy-MM-dd"):"")" date-start="@(Model.StartTime.HasValue?Model.StartTime.Value.ToString("yyyy-MM-dd"):"")"> <i class="arraw"></i>
|
68
|
|
- <span class="d-close @(Model.StartTime.HasValue?"":"d-hide")" date-name="date-start">×</span>
|
|
71
|
+ <span class="d-close @(Model.StartTime.HasValue?"":"d-hide")" date-name="date-start">×</span>
|
69
|
72
|
</div>
|
70
|
73
|
</label>
|
71
|
74
|
<label for="">
|
|
@@ -102,6 +105,7 @@
|
102
|
105
|
</tr>
|
103
|
106
|
}
|
104
|
107
|
</table>
|
|
108
|
+ <div class="pageDiv"></div>
|
105
|
109
|
</div>
|
106
|
110
|
</div>
|
107
|
111
|
</div>
|
|
@@ -109,6 +113,7 @@
|
109
|
113
|
@section script{
|
110
|
114
|
<script src="/assets/plugins/date/pikaday.js"></script>
|
111
|
115
|
<script src="/assets/plugins/date/moment.js"></script>
|
|
116
|
+ <script src="/assets/plugins/page/jquery.page.js"></script>
|
112
|
117
|
<script>
|
113
|
118
|
$('.filSelect').click(function () {
|
114
|
119
|
if ($('.filOption').css('display') === "none") {
|
|
@@ -177,7 +182,7 @@
|
177
|
182
|
$('.d-close').on('click',function(){
|
178
|
183
|
$(this).siblings('input').val('').attr($(this).attr('date-name'), '');
|
179
|
184
|
$(this).hide();
|
180
|
|
- return false;
|
|
185
|
+ return false;
|
181
|
186
|
})
|
182
|
187
|
|
183
|
188
|
|
|
@@ -266,4 +271,20 @@
|
266
|
271
|
|
267
|
272
|
})
|
268
|
273
|
</script>
|
|
274
|
+ @*分页*@
|
|
275
|
+ <script>
|
|
276
|
+ //分页
|
|
277
|
+ var pageSize =10;
|
|
278
|
+ var rowsCount = @(Model.RowsCount);
|
|
279
|
+ var pageIndex = @(Model.PageIndex);
|
|
280
|
+ $(".pageDiv").createPage({
|
|
281
|
+ pageCount: Math.ceil(rowsCount / pageSize), //总页数
|
|
282
|
+ current: pageIndex, //当前页
|
|
283
|
+ turndown: 'false',
|
|
284
|
+ backFn: function (p) {
|
|
285
|
+ pageIndex = p;
|
|
286
|
+ location.href = "@Url.Action("Index", "publicInfo", new {TypeId= Model.TypeId})&pageIndex=" + pageIndex + "&pageSize=" + pageSize;
|
|
287
|
+ }
|
|
288
|
+ });
|
|
289
|
+ </script>
|
269
|
290
|
}
|