diff --git a/.husky/pre-commit b/.husky/pre-commit index 801ef3ddd..707871af4 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,5 +4,3 @@ pnpm test:unit pnpm typecheck pnpm lint - -git add . diff --git a/src/components/base/card/Card.vue b/src/components/base/card/Card.vue index df59db0ea..cb236de89 100644 --- a/src/components/base/card/Card.vue +++ b/src/components/base/card/Card.vue @@ -1,22 +1,29 @@ - - - {{ title }} - - - - + + + + {{ title }} + + + + + - + - - - - - - - 删除 - 更多 - - - - - - - - - - 标题 - - - 分类 - - - 标签 - - - 作者 - - - 操作 - - - - - - - - - - - - {{ post.title }} - 草稿 - - - Title - - Front-end Developer - - Email - - lindsay.walton@example.com - - - - - 分类 - - - 标签 - - - 作者 - - - 操作 - - - - + + + + + + + + + 分类 + 标签 + 作者 + 排序 - - + + + + + + + + + {{ post.title }} + + + + {{ tag.name }} + + + + + + 阅读 {{ post.visits }} + 评论 {{ post.commentCount }} + + + + + + + + 2020-01-07 + + + + + + + + + + + + + + + + Previous + + + Next + + + + + + Showing + 1 + to + 10 + of + 97 + results + + + + + + Previous + + + + + + 1 + + + 2 + + + 3 + + + ... + + + 8 + + + 9 + + + 10 + + + Next + + + + + + + + + + diff --git a/src/views/posts/posts-mock.ts b/src/views/posts/posts-mock.ts index b2c781f37..35dc553b9 100644 --- a/src/views/posts/posts-mock.ts +++ b/src/views/posts/posts-mock.ts @@ -1,7 +1,7 @@ export const posts = [ { id: 514, - title: "Halo 1.5.3 发布", + title: "Halo 1.5.3 发布了", status: "PUBLISHED", slug: "halo-153-released", editorType: "MARKDOWN",
+ Showing + 1 + to + 10 + of + 97 + results +