Commit 48500f89 by 无尘

fix:修改分页

parent 0381e316
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-12 10:18:30
* @LastEditors: 无尘
* @LastEditTime: 2019-12-06 09:58:01
* @LastEditTime: 2020-06-11 16:14:03
-->
<!DOCTYPE html>
<html>
......@@ -13,11 +13,6 @@
<meta charset="utf-8">
<link rel="shortcut icon" href="./favicon.ico" />
<title>分享有礼</title>
<!-- <script type='text/javascript'>
!function(e,t,n,g,i){e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},n=t.createElement("script"),tag=t.getElementsByTagName("script")[0],n.async=1,n.src=('https:'==document.location.protocol?'https://':'http://')+g,tag.parentNode.insertBefore(n,tag)}(window,document,"script","assets.giocdn.com/2.1/gio.js","gio");
gio('init','8be12240a3749eab', {});
gio('send');
</script> -->
</head>
<body style="background-color: #f0f2f5;min-width: 1400px;">
......@@ -42,6 +37,7 @@
<script src="//web-1251519181.file.myqcloud.com/components/card.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js"></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js"></script> -->
<script src="//web-1251519181.file.myqcloud.com/components/pagination.1.0.5.js"></script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -41,7 +41,7 @@ import finishedActive from '@/components/active/finished-active.vue';
</template>
</ul>
<div class="pagination text-right m-t-14" v-if="finishedData.length">
<el-pagination small :page-size="pageSize" :current-page="currentPage" layout="prev, pager, next" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </el-pagination>
<dm-pagination small :page-size="pageSize" :current-page="currentPage" layout="prev, pager, next" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </dm-pagination>
</div>
</div>
</div>
......
......@@ -40,7 +40,7 @@ import willStartActive from '@/components/active/will-start-active.vue';
</template>
</ul>
<div class="pagination text-right m-t-14" v-if="startData.length">
<el-pagination small :page-size="pageSize" :current-page="currentPage" layout="prev, pager, next" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </el-pagination>
<dm-pagination small :page-size="pageSize" :current-page="currentPage" layout="prev, pager, next" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </dm-pagination>
</div>
</div>
</template>
......
......@@ -75,7 +75,7 @@ import cardLog from '@/components/data-details/card-log.vue';
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -84,7 +84,7 @@ import cardLog from '@/components/data-details/card-log.vue';
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div>
</div>
</template>
......
......@@ -67,7 +67,7 @@ import inviteLog from '@/components/data-details/invite-log.vue';
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -76,7 +76,7 @@ import inviteLog from '@/components/data-details/invite-log.vue';
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div>
</div>
</template>
......
......@@ -91,7 +91,7 @@ import inviteTable from '@/components/data-details/invite-table.vue';
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -100,7 +100,7 @@ import inviteTable from '@/components/data-details/invite-table.vue';
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div>
</div>
</template>
......
......@@ -80,7 +80,7 @@ import invitedTable from '@/components/data-details/invited-table.vue';
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -89,7 +89,7 @@ import invitedTable from '@/components/data-details/invited-table.vue';
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div>
</div>
</template>
......
......@@ -74,7 +74,7 @@ import pointLog from '@/components/data-details/point-log.vue';
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -83,7 +83,7 @@ import pointLog from '@/components/data-details/point-log.vue';
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div>
</div>
</template>
......
......@@ -58,7 +58,7 @@
class="block common-wrap__page text-right m-t-24"
v-if="tableData.length != 0"
>
<el-pagination
<dm-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -67,7 +67,7 @@
:page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
> </el-pagination>
> </dm-pagination>
</div> -->
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment