🚸 优化用户体验

This commit is contained in:
ronger 2021-04-27 21:40:22 +08:00
parent 6d840142ff
commit bdf87c07df
5 changed files with 12 additions and 6 deletions

View File

@ -38,11 +38,13 @@
这里什么都没有!
</el-col>
<el-col>
<div class="vertical-container text-center">
<div class="vertical-container text-center" style="padding-top: 10px;">
<el-pagination :hide-on-single-page="true" v-model="portfolios.pagination"
layout="prev, pager, next"
:current-page="portfolios.pagination.currentPage"
:total="portfolios.pagination.total"
prev-text="上一页"
next-text="下一页"
@current-change="currentChange">
</el-pagination>
</div>

View File

@ -14,11 +14,13 @@
</el-card>
</el-col>
<el-col>
<div class="vertical-container text-center">
<div class="vertical-container text-center" style="padding-top: 10px;">
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
layout="prev, pager, next"
:current-page="articles.pagination.currentPage"
:total="articles.pagination.total"
prev-text="上一页"
next-text="下一页"
@current-change="currentChange">
</el-pagination>
</div>

View File

@ -33,11 +33,13 @@
</el-table>
</el-col>
<el-col>
<div class="vertical-container text-center">
<div class="vertical-container text-center" style="padding-top: 10px;">
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
layout="prev, pager, next"
:current-page="articles.pagination.currentPage"
:total="articles.pagination.total"
prev-text="上一页"
next-text="下一页"
@current-change="currentChange">
</el-pagination>
</div>

View File

@ -25,7 +25,7 @@
</el-col>
</el-col>
<el-col>
<el-divider><i class="el-icon-loading"></i></el-divider>
<el-divider></el-divider>
<el-col>
<article-list :articles="articles" @currentChange="currentChangeArticle"></article-list>
</el-col>

View File

@ -7,12 +7,12 @@
</el-breadcrumb>
</el-col>
<el-col>
<el-divider><i class="el-icon-loading"></i></el-divider>
<el-divider></el-divider>
</el-col>
<el-col>
<el-input v-model="searchText" @input="searchUnbindArticle" placeholder="输入帖子标题,回车检索"></el-input>
</el-col>
<el-col>
<el-col style="padding-top: 10px;">
<portfolio-manager-bind-list :idPortfolio="idPortfolio" :articles="articles"
@currentChange="currentChangeArticle"></portfolio-manager-bind-list>
</el-col>