Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
79648579
Commit
79648579
authored
Sep 27, 2016
by
qingwei.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pagination: fix icon style, fixed #163
parent
3f39e02e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
CHANGELOG.md
CHANGELOG.md
+1
-0
packages/pagination/src/pager.vue
packages/pagination/src/pager.vue
+12
-4
No files found.
CHANGELOG.md
View file @
79648579
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
-
新增特性 Menu 组件中若选中子菜单项现在会自动展开所有父级菜单
-
新增特性 Menu 组件中若选中子菜单项现在会自动展开所有父级菜单
-
修复 vue-popper 引入 popper 路径错误
-
修复 vue-popper 引入 popper 路径错误
-
修复 DatePicker 初始值是合法时间类型但无法设置成功的问题
-
修复 DatePicker 初始值是合法时间类型但无法设置成功的问题
-
修复 Pagination 的图标没有正确切换样式, #163
#### 非兼容性更新
#### 非兼容性更新
-
Menu 组件的
`unique-opend`
属性修正为
`unique-opened`
-
Menu 组件的
`unique-opend`
属性修正为
`unique-opened`
...
...
packages/pagination/src/pager.vue
View file @
79648579
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
:class=
"[quickprevIconClass]"
:class=
"[quickprevIconClass]"
v-if=
"showPrevMore"
v-if=
"showPrevMore"
@
mouseenter=
"quickprevIconClass = 'el-icon-d-arrow-left'"
@
mouseenter=
"quickprevIconClass = 'el-icon-d-arrow-left'"
@
mouseleave=
"quickprevIconClass = 'el-icon-more'"
@
mouseleave=
"quickprevIconClass = 'el-icon-more'"
>
>
</li>
</li>
<li
<li
v-for=
"pager in pagers"
v-for=
"pager in pagers"
...
@@ -21,8 +20,7 @@
...
@@ -21,8 +20,7 @@
:class=
"[quicknextIconClass]"
:class=
"[quicknextIconClass]"
v-if=
"showNextMore"
v-if=
"showNextMore"
@
mouseenter=
"quicknextIconClass = 'el-icon-d-arrow-right'"
@
mouseenter=
"quicknextIconClass = 'el-icon-d-arrow-right'"
@
mouseleave=
"quicknextIconClass = 'el-icon-more'"
@
mouseleave=
"quicknextIconClass = 'el-icon-more'"
>
>
</li>
</li>
<li
<li
:class=
"
{ active: currentPage === pageCount }"
:class=
"
{ active: currentPage === pageCount }"
...
@@ -41,6 +39,16 @@
...
@@ -41,6 +39,16 @@
pageCount
:
Number
pageCount
:
Number
},
},
watch
:
{
showPrevMore
(
val
)
{
if
(
!
val
)
this
.
quickprevIconClass
=
'
el-icon-more
'
;
},
showNextMore
(
val
)
{
if
(
!
val
)
this
.
quicknextIconClass
=
'
el-icon-more
'
;
}
},
methods
:
{
methods
:
{
onPagerClick
(
event
)
{
onPagerClick
(
event
)
{
const
target
=
event
.
target
;
const
target
=
event
.
target
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment