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
2bcf468b
Commit
2bcf468b
authored
Feb 13, 2020
by
高浩杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善博客展示页
parent
892ee77d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
pages/blog/index.vue
+5
-2
No files found.
pages/blog/index.vue
View file @
2bcf468b
...
...
@@ -31,7 +31,9 @@
width=
"302px"
height=
"446px"
style=
"margin-top: 16px"
></card-container>
>
<user-card></user-card>
</card-container>
<card-container
title=
"热门标签"
width=
"302px"
...
...
@@ -58,9 +60,10 @@ import Pagination from "../../components/pc/pagination";
import
config
from
'../../action/config'
;
import
BlogCard
from
"../../components/pc/projectCard"
;
import
EmptyCard
from
"../../components/pc/emptyCard"
;
import
UserCard
from
"../../components/pc/userCard2"
;
export
default
{
components
:
{
EmptyCard
,
Pagination
,
CardContainer
,
NavWrap
,
BlogCard
},
components
:
{
UserCard
,
EmptyCard
,
Pagination
,
CardContainer
,
NavWrap
,
BlogCard
},
async
asyncData
({
$axios
}){
let
typeList
=
await
$axios
.
$get
(
config
.
api
.
get
.
BlogCategory
.
list
);
return
{
typeList
:
typeList
.
data
}
...
...
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