|
@@ -116,16 +116,11 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!--<div id="pagination" style="padding-top: 15px;margin-bottom: 15px"></div>-->
|
|
|
- <div id="pagination" style="margin:15px 0 15px 0;"></div>
|
|
|
-
|
|
|
- <div class="row">
|
|
|
- </div>
|
|
|
+ <hr>
|
|
|
+ <div id="pagination"></div>
|
|
|
</div>
|
|
|
|
|
|
- <hr class="simple" color="#6f5499" />
|
|
|
-
|
|
|
-
|
|
|
+ <hr>
|
|
|
|
|
|
<!---->
|
|
|
<div class="container-fluid">
|
|
@@ -188,7 +183,7 @@
|
|
|
let post_data = {
|
|
|
'token': $.cookie('access_token'),
|
|
|
'page': 1,
|
|
|
- 'line': 10,
|
|
|
+ 'line': 5,
|
|
|
};
|
|
|
InitIndex(post_data)
|
|
|
// $('#pagination').pagination({
|
|
@@ -216,7 +211,7 @@
|
|
|
// console.log(data['res'])
|
|
|
console.log(data)
|
|
|
addTable(data['res'])
|
|
|
- let count_page = Math.ceil(data['res']['count'] / 10)
|
|
|
+ let count_page = Math.ceil(data['res']['count'] / 5)
|
|
|
$('#pagination').pagination({
|
|
|
pages: count_page, //总页数
|
|
|
// pages: 10000, //总页数
|
|
@@ -247,7 +242,7 @@
|
|
|
let post_data = {
|
|
|
'token': $.cookie('access_token'),
|
|
|
'page': page,
|
|
|
- 'line': 10
|
|
|
+ 'line': 5
|
|
|
};
|
|
|
$.postJSON(
|
|
|
http_ip_prot + 'langWord/query', JSON.stringify(post_data),
|
|
@@ -465,7 +460,7 @@
|
|
|
post_data = {
|
|
|
'token': $.cookie('access_token'),
|
|
|
'page': 1,
|
|
|
- 'line': 10,
|
|
|
+ 'line': 5,
|
|
|
'searchKey': searchKey,
|
|
|
'searchVal': searchVal
|
|
|
};
|
|
@@ -473,7 +468,7 @@
|
|
|
post_data = {
|
|
|
'token': $.cookie('access_token'),
|
|
|
'page': 1,
|
|
|
- 'line': 10,
|
|
|
+ 'line': 5,
|
|
|
};
|
|
|
}
|
|
|
InitIndex(post_data)
|