This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复页面跳转失效的bug

old
宇天 2018-01-27 10:59:05 +08:00
parent 0b47e23e96
commit c76a1b3264
2 changed files with 7 additions and 7 deletions

View File

@ -186,8 +186,8 @@ export default Anot.component('pager', {
if ((elem && elem.disabled) || currPage === val) { if ((elem && elem.disabled) || currPage === val) {
return return
} }
if (elem) { if (val && elem) {
if (val && val !== '...') { if (val !== '...') {
let link = elem.dataset.to let link = elem.dataset.to
if (link) { if (link) {

View File

@ -10,15 +10,15 @@
.do-pager {height:auto;text-align:center;font-size:14px;color: nth($cgr, 1); .do-pager {height:auto;text-align:center;font-size:14px;color: nth($cgr, 1);
&.mini {line-height:35px; &.mini {line-height:30px;
.button,.page {min-width:30px;height:30px}
}
&.medium {line-height:35px;
.button,.page {min-width:35px;height:35px} .button,.page {min-width:35px;height:35px}
} }
&.medium {line-height:40px; &.large {line-height:40px;
.button,.page {min-width:40px;height:40px} .button,.page {min-width:40px;height:40px}
} }
&.large {line-height:45px;
.button,.page {min-width:45px;height:45px}
}
.button,.page {display:inline-block;border:0;color: nth($cgr, 1);text-decoration:none;cursor:pointer;vertical-align:top;font-size:14px;font-weight:100; .button,.page {display:inline-block;border:0;color: nth($cgr, 1);text-decoration:none;cursor:pointer;vertical-align:top;font-size:14px;font-weight:100;