From d34073301b644939b239846bb5a219c2cdc2d462 Mon Sep 17 00:00:00 2001 From: youngS Date: Fri, 15 Oct 2021 12:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/package.json | 1 + fir_client/src/components/FirDownload.vue | 34 +- fir_client/src/components/FirHeader.vue | 4 + fir_client/src/components/ShortDownload.vue | 34 +- .../src/components/user/FirUserAdvert.vue | 430 ++++++++++++++++++ fir_client/src/restful/index.js | 15 + fir_client/src/router/index.js | 6 + fir_ser/api/admin.py | 1 + .../api/migrations/0012_useraddisplayinfo.py | 32 ++ .../api/migrations/0013_auto_20211014_1617.py | 22 + ...alter_useraddisplayinfo_unique_together.py | 16 + fir_ser/api/models.py | 20 + fir_ser/api/urls.py | 2 + fir_ser/api/utils/auth.py | 11 + fir_ser/api/utils/baseutils.py | 17 +- fir_ser/api/utils/serializer.py | 19 + fir_ser/api/utils/utils.py | 8 +- fir_ser/api/views/apps.py | 2 +- fir_ser/api/views/download.py | 10 +- fir_ser/api/views/uploads.py | 22 +- 20 files changed, 688 insertions(+), 18 deletions(-) create mode 100644 fir_client/src/components/user/FirUserAdvert.vue create mode 100644 fir_ser/api/migrations/0012_useraddisplayinfo.py create mode 100644 fir_ser/api/migrations/0013_auto_20211014_1617.py create mode 100644 fir_ser/api/migrations/0014_alter_useraddisplayinfo_unique_together.py diff --git a/fir_client/package.json b/fir_client/package.json index f37e808..975839b 100644 --- a/fir_client/package.json +++ b/fir_client/package.json @@ -20,6 +20,7 @@ "vue": "^2.6.10", "vue-clipboard2": "^0.3.1", "vue-cookies": "^1.7.0", + "vue-cropper": "^0.5.7", "vue-lazyload": "^1.3.3", "vue-qr": "^2.3.0", "vue-router": "^3.1.3", diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index ff91dfa..683249e 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -218,10 +218,18 @@ 若安装异常,请复制UDID,发送给管理员 -