Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
c00b64f7
Commit
c00b64f7
authored
Dec 31, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.vue
parent
0d00e347
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
pages/index.vue
+2
-5
No files found.
pages/index.vue
View file @
c00b64f7
...
...
@@ -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:广告
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment