Commit c00b64f7 by Administrator

Update index.vue

parent 0d00e347
......@@ -7,7 +7,7 @@
</card-container>
<card-container style="margin-top: 16px" title="热门博客" @listenCardConMore="changeRoute('/blog?type=all')">
<project-card v-for="(val,index) in blogList" :key="val.blogId" :info="val"></project-card>
<pagination ref="pagination" :paginationState="paginationState" :type="2" key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
<pagination ref="pagination" :paginationState="paginationState" :type="2" key="container5" style="margin:20px auto;" :pages="pages"></pagination>
</card-container>
</div>
<div class="home-container__r">
......@@ -155,10 +155,7 @@
},
changePage(currentPage){
//返回页数 请求新的数据
// this.dataGetBlogList(currentPage)
this.dataGetBlogList(currentPage)
},
dataGetBanner(){ //内容类型-0:幻灯,1:普通文章,3:广告
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment