From 717e3c67fe03f2282d8d75282db33bde4fabcec1 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sat, 26 Oct 2024 21:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 24 ++- components/config/PrivacyAgreementPoup.vue | 2 +- components/list/dynamic/dynamicItem.vue | 2 +- components/user/certificationPopup.vue | 251 +++++++++++++++++++++++++++++ components/user/createDetailPopup.vue | 4 +- pages.json | 39 +++-- pages/index/center.vue | 5 +- pages/index/index.vue | 169 ++++++++++++------- pages_order/auth/wxLogin.vue | 8 +- pages_order/auth/wxUserInfo.vue | 217 ++++++++++++++++++++++--- static/image/logo.jpg | Bin 0 -> 34088 bytes static/logo.png | Bin 4023 -> 0 bytes store/store.js | 26 +-- uni.scss | 2 +- 14 files changed, 639 insertions(+), 110 deletions(-) create mode 100644 components/user/certificationPopup.vue create mode 100644 static/image/logo.jpg delete mode 100644 static/logo.png diff --git a/api/api.js b/api/api.js index 1a6fd0b..00af5ed 100644 --- a/api/api.js +++ b/api/api.js @@ -23,12 +23,19 @@ const config = { }, // 修改个人信息接口 updateInfo: { - url: '/info/updateInfo', + url: '/token/updateInfo', method: 'POST', auth: true, limit : 500, showLoading : true, }, + // 获取个人信息接口 + getInfo: { + url: '/token/getInfo', + method: 'GET', + auth: true, + limit : 500, + }, //隐私政策 getPrivacyPolicy: { url: '/login/getPrivacyPolicy', @@ -125,6 +132,21 @@ const config = { url: '/token/publishPost', method: 'POST', limit : 1000, + auth : true, + }, + //店铺认证 + companyAuthentication: { + url: '/token/companyAuthentication', + method: 'POST', + limit : 1000, + auth : true, + }, + //个人认证 + personalAuthentication: { + url: '/token/personalAuthentication', + method: 'POST', + limit : 1000, + auth : true, }, } diff --git a/components/config/PrivacyAgreementPoup.vue b/components/config/PrivacyAgreementPoup.vue index 4367b5c..7d29952 100644 --- a/components/config/PrivacyAgreementPoup.vue +++ b/components/config/PrivacyAgreementPoup.vue @@ -2,7 +2,7 @@ - diff --git a/components/list/dynamic/dynamicItem.vue b/components/list/dynamic/dynamicItem.vue index 1e95743..048651b 100644 --- a/components/list/dynamic/dynamicItem.vue +++ b/components/list/dynamic/dynamicItem.vue @@ -38,7 +38,7 @@ - + diff --git a/components/user/certificationPopup.vue b/components/user/certificationPopup.vue new file mode 100644 index 0000000..09cb58e --- /dev/null +++ b/components/user/certificationPopup.vue @@ -0,0 +1,251 @@ + + + + + diff --git a/components/user/createDetailPopup.vue b/components/user/createDetailPopup.vue index 6e46a75..59e9e1a 100644 --- a/components/user/createDetailPopup.vue +++ b/components/user/createDetailPopup.vue @@ -55,11 +55,11 @@ \ No newline at end of file diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index 0fe75d8..06288e2 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -1,7 +1,8 @@