From f2d3b6632ba6784ce1a44a2d6025cb318ec49d6d Mon Sep 17 00:00:00 2001 From: barney <15270405776@163.com> Date: Mon, 3 Oct 2022 00:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=8F=AF=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=88=86=E7=B1=BB,=E5=89=8D=E7=AB=AF=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E7=94=A8=E7=BB=84=E5=90=88=E5=BC=8Fapi=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 +++ db.sqlite3 | Bin 196608 -> 221184 bytes drf_vue_blog/settings.py | 2 +- frontend/src/components/ArticleList.vue | 154 ++++++++++++++--------- frontend/src/components/BlogHeader.vue | 26 ++-- frontend/src/components/CommentView.vue | 2 - frontend/src/utils/authorization.js | 2 +- frontend/src/views/ArticleDetailView.vue | 38 +++--- frontend/src/views/ArticleEdit.vue | 59 +++++++-- frontend/src/views/LoginView.vue | 79 +++++++----- frontend/src/views/UserCenterView.vue | 95 ++++++++------ media/avatar/20221002/20210703222015.png | Bin 0 -> 22854 bytes media/avatar/20221002/Blog.jpg | Bin 0 -> 103186 bytes 13 files changed, 307 insertions(+), 170 deletions(-) create mode 100644 media/avatar/20221002/20210703222015.png create mode 100644 media/avatar/20221002/Blog.jpg 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 cf459eabfc40f9fd2dc81af14c359613ce1547f4..c37e410a285718a29af1d56dd702db05165ab7d3 100644 GIT binary patch literal 221184 zcmeFa4R}*WnkFjAvSrJbPrwjE9N-{BuwyJs=jgu!X=7|K7z4H;kdP5a(y=ToOF~Ds zF*LK7ga8SI{D%b6`RV+1et>jHLLk6A+cSHg`MG<0W@mSLc4y{p&sehAy)(Uc_HNHS zJG;+wzp6S%=Sa2;VLH>HyUauBoT{(B`s%H!ud2SPI@PNVB}|E}dSl z`!37sbOuSM)4Acl1OAu6|3Ua~g#XH)UU?|~3p{Lrx>6u8Fuy=#_cQ;*{G##~mG@PC zS@G{p|D)oqvVUC~F+N-JUkv}-uv!0{?kB~0-CD@_gL6%_gU$MJDH;!p`-I{2KwwxB zQ-Me-F`Sghb2Lm|1MuK;@-BPG9tsS{qk9X#|1S9Bs3|ehN6-bO~j>u`iwH+ zb%tCaA17kTrV-DTbD@JLur-p(4Y=wMx#C z%q`~)s#G2u$n3IeD4M3cqS26q67jScPY2RtNfA{kuHWf#i_Rb}8kLTjp-j}!Krt>F zxm9XZe+nXin7tNL?O2okFryZU8f97np+s1W3qxYS?ht~!$0ewxp~k8%UJNSHEwaAl zoInXE!dV*+@2E1>wzldY|4v#6#z;HGtsgt85R$4}3PUV%Ci+^}bhT^sNg*ME6%+{@ zg#wL;DYkoaAKSgHtBc*z)48d&XD7R{eJ9(xt#5N@H?Z8)-rWbHVkR@j>S^z2?`iLD zYwy)0DyPxNu0^3eSftMG&c4ppuCAT3XZzY|m2kRD)3~cx+*%rqhwYW7+U92c<241) z;ufX>l)P6JgOLP(tH2{V;?_z9)7~OvkKJEks$H@~|3rO0WVy;`E&|eRp_3FOX*7|7 z8aX1QLIX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(2(dk?LAA)ZymQRFULr|lp=-H zh@6Z^_THS#-<(7`$#binVoUo5)gGD=wB|6@OENm#i4NkDoxtWIirx%gekADXFKs~nTqGWxkl|&3P9J~uN(Qz!2;=#WYKGDR!4BJbbA#{& z1cU>&AYq>sv;)n!p+u5WQ8g7!hNAIgQkF5+K5xdGbQ?tzr>)aR zo{A6;Ng*YYP?O{i>>2Ae3*6!d8Y49(q}|+%z2Dt8ckpqm5DW(WSKb((J^ag$p8n>_ z)hCb6j__93UmK8N5k*}PJtBGW|w{3e@CajG;f?W$pnSs8JEmi+_WwNkx z(br~IB7Rv-NyK~79o&g4BFU5#3nkS^OpW370(s15HsjN}2BV3~4{yObv_|-bP8~VRDYHudN~j869s=stTjifzC{%MEW8FU z!*N28ex^$Y?t`uLHee)57>Qy=!p2D0Ss4qX!ZRxT9c_YXR*z`{-bXFQhzN`b@1#!i zTDE9KIjj=-&9~tBWm@iGJTE``FdldKZ(Hsxvl}&8!E%@2AT#0qyuTP5ZPWF|E$Dtj zP{&cT87df-7y=B74StFqo1v0osohXc(P1%^G2{&*MLTbBFvJEsMUf}eiU=Bfbn4{w zUVEE*7AGoYKbLMvKmsr9+`{+OW(u6?r#dP)FxI1hMf8)z=f zvg5*Afn~=mJ1%6;aqutrgq-Gk#3AR%X`Uk9JVx9x1Bc)RBEBENqwpZ)NYDKTIrpE# pB|w< 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 @@