Commit c430dbf4 by Jings

fix: 加大分页数量

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