Commit c430dbf4 by Jings

fix: 加大分页数量

parent 4930665a
......@@ -54,7 +54,7 @@ export default {
listsParams: {
// type: '', // 类型 0:客户分组,1:固化分组
pageNum: 1, // 页码,从1开始
pageSize: 20, // 页面大小
pageSize: 40, // 页面大小
totalPage: 1,
classifyName: '' // 分类名
},
......@@ -82,7 +82,7 @@ export default {
this.getMemberGroupList();
},
onScroll(e) {
if ((e.target.scrollTop + e.target.clientHeight) >= this.lists.length * 20 && !this.memberGroupLoading) {
if ((e.target.scrollTop + e.target.clientHeight) >= this.lists.length * 40 && !this.memberGroupLoading) {
this.onPageNumChange();
}
},
......@@ -261,7 +261,8 @@ export default {
</script>
<style lang="scss" scoped>
.add-category, .search-box {
.add-category,
.search-box {
padding: 0 15px;
}
.add-group {
......@@ -289,8 +290,8 @@ export default {
margin: 0 4px;
}
&:hover {
color: #2F54EB;
background: #F2F3F5;
color: #2f54eb;
background: #f2f3f5;
.icon:hover {
background: RGBA(229, 230, 235, 1);
}
......@@ -308,23 +309,22 @@ export default {
color: #303133;
overflow-y: auto;
.active-li {
color: #2F54EB;
background-color: #ebeffe;
.wrap span{
padding-left: 6px;
color: #2f54eb;
background-color: #ebeffe;
.wrap span {
padding-left: 6px;
color: #2f54eb;
}
.icon:hover {
background: #d8defc;
}
}
.wrap span{
.wrap span {
padding-left: 6px;
color: #303133;
}
}
.more {
line-height: 26px;
text-align: center;
......
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