Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
97eba399
authored
2019-12-11 19:34:39 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
b53c8fb1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/components/pagination/pagination.scss
src/components/pagination/pagination.vue
src/components/pagination/pagination.scss
View file @
97eba39
...
...
@@ -40,8 +40,8 @@
}
.disabled
{
color
:
#888888
;
.
pagination-
disabled
{
//
color: #888888;
}
.active
{
...
...
src/components/pagination/pagination.vue
View file @
97eba39
...
...
@@ -3,13 +3,13 @@
<div
class=
"comp"
>
<div
class=
"pagination gird-g"
>
<div
class=
"pagination-item"
>
<span
class=
"pointer"
:class=
"
{'disabled' : cur == 1}">
<span
class=
"pointer"
:class=
"
{'
pagination-
disabled' : cur == 1}">
<a
@
click=
"prevPage()"
>
{{
$t
(
'pagination.firstPage'
)
}}
</a>
</span>
<span
@
click=
"selPage(index)"
class=
"page-num pointer"
v-for=
"(index,idx) in indexs"
:key=
"idx"
v-bind:class=
"
{ 'active': cur == index}">
<a>
{{
index
}}
</a>
</span>
<span
class=
"pointer"
:class=
"
{'disabled' : cur == total}">
<span
class=
"pointer"
:class=
"
{'
pagination-
disabled' : cur == total}">
<a
@
click=
"nextPage()"
>
{{
$t
(
'pagination.nextPage'
)
}}
</a>
</span>
</div>
...
...
Please
register
or
sign in
to post a comment