| | |
| | | </div> |
| | | |
| | | <div v-for="(temp,index) in data"> |
| | | <newArticle v-bind="temp" :index="index"></newArticle> |
| | | <newArticle v-bind="temp" :index="index" :typeId="typeId"></newArticle> |
| | | <!-- <box5 v-bind="temp"></box5> --> |
| | | </div> |
| | | |
| | |
| | | <a-row type="flex" justify="center"> |
| | | <div style="position:fixed;bottom: 10px;"> |
| | | <a-pagination @change="onChange" :showQuickJumper="true" :size="size" v-model="current" |
| | | :defaultPageSize="defaultPageSize" :pageSize="pageSize" :total="total" /> |
| | | :showLessItems="true" :defaultPageSize="defaultPageSize" :pageSize="pageSize" :total="total" /> |
| | | </div> |
| | | </a-row> |
| | | |
| | |
| | | <script> |
| | | import infiniteScroll from 'vue-infinite-scroll'; |
| | | import box5 from "../mini/box5-article.vue" |
| | | import babyActicle from '../../assets/baby.htm' |
| | | import newArticle from "../mini/box-new-article.vue" |
| | | import shijie from '../../assets/shijie.htm' |
| | | import { |
| | | queryBlogArticleList |
| | | } from '../../api/blogArticle.js' |
| | | |
| | | |
| | | |
| | | export default { |
| | |
| | | total: 1, |
| | | pageSize: 6, |
| | | current: 1, |
| | | defaultPageSize: 10 |
| | | defaultPageSize: 10, |
| | | }; |
| | | }, |
| | | created() { |