Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be92072c
authored
Apr 23, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
滚动优化
1 parent
a8c710b2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
18 deletions
linkwe-pc/src/components/Pagination/index.vue
linkwe-pc/src/components/SelectQrCode.vue
linkwe-pc/src/components/SelectStaffQrCode.vue
linkwe-pc/src/layout/components/AppMain.vue
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/styles/index.scss
linkwe-pc/src/components/Pagination/index.vue
View file @
be92072
...
...
@@ -44,6 +44,9 @@ export default {
type
:
Boolean
,
default
:
true
,
},
scrollElement
:
{
type
:
Object
,
},
},
computed
:
{
currentPage
:
{
...
...
@@ -89,13 +92,13 @@ export default {
<
style
scoped
>
.pagination-container
{
position
:
sticky
;
bottom
:
-20px
;
margin-bottom
:
-20px
;
bottom
:
0
;
z-index
:
9
;
text-align
:
right
;
background
:
#fff
;
border-top
:
1px
solid
#f8f8f8
;
margin-bottom
:
-20px
;
padding
:
15px
5px
20px
;
text-align
:
right
;
border-top
:
1px
solid
#f8f8f8
;
}
.pagination-container.hidden
{
display
:
none
;
...
...
linkwe-pc/src/components/SelectQrCode.vue
View file @
be92072
...
...
@@ -124,14 +124,6 @@ export default {
@
focus=
"showSelectTag = true"
placeholder=
"请选择客群标签"
/>
<el-button
icon=
"el-icon-search"
circle
@
click=
"getList(1)"
></el-button>
<el-pagination
class=
"fr"
@
current-change=
"getList"
:current-page=
"query.pageNum"
:page-size=
"query.pageSize"
layout=
"prev, pager, next"
:total=
"total"
></el-pagination>
</el-form-item>
</el-form>
<el-table
:data=
"list"
v-loading=
"loading"
>
...
...
@@ -160,6 +152,12 @@ export default {
<el-table-column
label=
"活码客群数"
align=
"center"
prop=
"chatGroupNum"
></el-table-column>
<el-table-column
prop=
"chatGroupMemberTotalNum"
label=
"群总人数"
align=
"center"
></el-table-column>
</el-table>
<pagination
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
layout=
"total,prev, pager, next, jumper"
@
pagination=
"getList()"
/>
</div>
<div
slot=
"footer"
>
<el-button
@
click=
"Pvisible = false"
>
取 消
</el-button>
...
...
linkwe-pc/src/components/SelectStaffQrCode.vue
View file @
be92072
...
...
@@ -211,6 +211,7 @@ export default {
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
layout=
"total,prev, pager, next, jumper"
@
pagination=
"getList()"
/>
</div>
</el-col>
...
...
linkwe-pc/src/layout/components/AppMain.vue
View file @
be92072
...
...
@@ -87,7 +87,7 @@ export default {
padding
:
0
15px
0
20px
;
}
.container
{
position
:
relative
;
position
:
initial
!important
;
//
用以解决加载遮罩层随内容滚动问题
height
:
100%
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
...
...
linkwe-pc/src/styles/element-ui.scss
View file @
be92072
...
...
@@ -577,9 +577,4 @@
width
:
5px
;
}
// 让加载遮罩层不随内容滚动
.el-loading-mask
{
// position: sticky;
// height: 100%;
}
// }
linkwe-pc/src/styles/index.scss
View file @
be92072
...
...
@@ -337,6 +337,11 @@ div:focus {
display
:
flex
;
flex-direction
:
column
;
flex
:
none
;
.g-card
{
.pagination-container
{
bottom
:
-20px
;
}
}
}
}
}
...
...
@@ -344,3 +349,12 @@ div:focus {
.card-group-index
+
.g-card
{
margin-top
:
0
;
}
.page.container
>
.g-card
{
overflow
:
initial
;
}
.el-dialog__body
{
.pagination-container
{
padding-bottom
:
0
!
important
;
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment