diff --git a/README.md b/README.md index 700fda9..d32a7af 100644 --- a/README.md +++ b/README.md @@ -1 +1,21 @@ ### 基于django3和vue3的博客项目 + +#### 1、博客首页展示 + +![image-20221003002818644](C:\Users\15270\AppData\Roaming\Typora\typora-user-images\image-20221003002818644.png) + +#### 2.发布文章界面 + +![image-20221003002550725](C:\Users\15270\AppData\Roaming\Typora\typora-user-images\image-20221003002550725.png) + +#### 3.登录、注册界面 + +![image-20221003002956157](C:\Users\15270\AppData\Roaming\Typora\typora-user-images\image-20221003002956157.png) + +#### 4.用户管理界面 + +![image-20221003002845601](C:\Users\15270\AppData\Roaming\Typora\typora-user-images\image-20221003002845601.png) + +#### 5.更新文章界面 + +![image-20221003003047933](C:\Users\15270\AppData\Roaming\Typora\typora-user-images\image-20221003003047933.png) \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index cf459ea..c37e410 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/drf_vue_blog/settings.py b/drf_vue_blog/settings.py index 53aa989..3a30b39 100644 --- a/drf_vue_blog/settings.py +++ b/drf_vue_blog/settings.py @@ -122,7 +122,7 @@ STATIC_URL = '/static/' REST_FRAMEWORK = { 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', # 每页5条记录 - 'PAGE_SIZE': 5, + 'PAGE_SIZE': 3, # 使用django-filter后端过滤引擎 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'], 'DEFAULT_AUTHENTICATION_CLASSES': ( diff --git a/frontend/src/components/ArticleList.vue b/frontend/src/components/ArticleList.vue index d53a03b..89e1d58 100644 --- a/frontend/src/components/ArticleList.vue +++ b/frontend/src/components/ArticleList.vue @@ -1,31 +1,43 @@