Skip to content

Commit

Permalink
fix: 夜间模式分页样式
Browse files Browse the repository at this point in the history
  • Loading branch information
sl1673495 committed Jul 25, 2019
1 parent f524c86 commit 26b58ee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/page/playlists/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
:img="item.coverImgUrl"
/>
</div>
<div class="pagination">
<div
class="pagination"
v-show="playlists.length"
>
<el-pagination
layout="prev, pager, next"
:total="total"
Expand Down
10 changes: 10 additions & 0 deletions src/style/element-overwrite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,13 @@ $input-height: 24px;
}
}
}

// pagination
.el-pagination, .el-pagination button, .el-pager li {
background: var(--body-bgcolor) !important;
color: var(--font-color) !important;

.active {
color: $theme-color !important;
}
}

0 comments on commit 26b58ee

Please sign in to comment.