From 3480b40d323169cb4de2e1072e42b99ed99fba53 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:00:40 +0800 Subject: [PATCH] submit --- package-lock.json | 63 ++++++++ package.json | 2 + src/apis/index.js | 7 + src/assets/images/zu1179@2x.png | Bin 0 -> 988 bytes src/components/operateTitle/index.vue | 21 ++- src/main.js | 4 +- src/router/index.js | 5 + src/stores/userStore.js | 12 ++ src/views/reg-details/index.vue | 190 +++++++++++++++++++++++ src/views/upload-id-card/content/one.vue | 181 ++++++++++++++------- src/views/upload-id-card/content/two.vue | 57 +++++-- src/views/upload-id-card/index.vue | 22 +++ 12 files changed, 496 insertions(+), 68 deletions(-) create mode 100644 src/assets/images/zu1179@2x.png create mode 100644 src/stores/userStore.js create mode 100644 src/views/reg-details/index.vue diff --git a/package-lock.json b/package-lock.json index fcf3399..e9e3754 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,9 @@ "@vant/area-data": "^1.5.1", "@varlet/ui": "^2.22.2", "axios": "^1.6.7", + "dayjs": "^1.11.10", "normalize.css": "^8.0.1", + "pinia": "^2.1.7", "vant": "^4.8.4", "vue": "^3.3.11", "vue-router": "^4.2.5" @@ -1352,6 +1354,50 @@ "node": ">=8.6" } }, + "node_modules/pinia": { + "version": "2.1.7", + "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.1.7.tgz", + "integrity": "sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==", + "dependencies": { + "@vue/devtools-api": "^6.5.0", + "vue-demi": ">=0.14.5" + }, + "peerDependencies": { + "@vue/composition-api": "^1.4.0", + "typescript": ">=4.4.4", + "vue": "^2.6.14 || ^3.3.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/pinia/node_modules/vue-demi": { + "version": "0.14.7", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", + "hasInstallScript": true, + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/pkg-types": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.0.3.tgz", @@ -2659,6 +2705,23 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "pinia": { + "version": "2.1.7", + "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.1.7.tgz", + "integrity": "sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==", + "requires": { + "@vue/devtools-api": "^6.5.0", + "vue-demi": ">=0.14.5" + }, + "dependencies": { + "vue-demi": { + "version": "0.14.7", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", + "requires": {} + } + } + }, "pkg-types": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.0.3.tgz", diff --git a/package.json b/package.json index 1fac350..798d789 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "@vant/area-data": "^1.5.1", "@varlet/ui": "^2.22.2", "axios": "^1.6.7", + "dayjs": "^1.11.10", "normalize.css": "^8.0.1", + "pinia": "^2.1.7", "vant": "^4.8.4", "vue": "^3.3.11", "vue-router": "^4.2.5" diff --git a/src/apis/index.js b/src/apis/index.js index 5771d34..3eca1a3 100644 --- a/src/apis/index.js +++ b/src/apis/index.js @@ -23,3 +23,10 @@ export const upload_img = (data) => { data }) } +export const scan_id_card = (data) => { + return request({ + url: '/register/scan_id_card', + method: 'post', + data + }) +} diff --git a/src/assets/images/zu1179@2x.png b/src/assets/images/zu1179@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..8e06c6195c24f56bbb008a224549e00e51cdff93 GIT binary patch literal 988 zcmV<210(#2P)Px&mPtfGR9Hu~msyAvR}hB3GMczyT!IU@M57XvU=)oTE)gOkf+*y{1tbXx1W9}n z5y_MIAigOQP(%kb3W6et4?@(5!?<8DAd0v#=zt538)Mup`yWq_JvaBB?hMy@>U+DE zzpLu}RmUhO?%o0T3>XFU1G)iSgZaO}W8gM$0k~>ruZy_0JSBJU0!#zO0iE;o!~3Ve z-$0$2J&D;w0l52QU?%WU!N8?z0`ixc)mO4F3&7o#+J(UIb_Omry8`SpGnJ~1{0D%$ ze;R`Ks8aCM&7%OKA?vpd0C)cw_$f44mE*U#Q=@J%vxlkkRsin)A@ChA;C)2S_`C^h zH?!yZFALxsU}}Nj-GMKFVSt_`&A>I_TzJlNqsBba3c%gvXa&$I$1*(?%2qkiR~-XR z3IacP7 zjEHC!Amn=i9jkJpWBVKo z0hkAjk0_}*rvOFLnz~8LRhQ8CpAp}u1mFi?P(QK}5fa+F6G_+O)ec4r#`vR~g=lJ~wXcVsn3XNExBOt#o6W{A10A2`y zzA!fJeo4-(8d0fKN{fg}rqZbaH$@Dd34j9hi72HFC4#9f5#9LrTQxinrbo86xG+O4{Crm)33y^K>+3elX9Fc0!9YrlT&ejIT59+`^AixfZaKM zPYS@$U=-68v;7zxYpGBx z{eK706p8+piltD14YPhUa3%nQ!*SC)9XFAb7SV~}oxsIFoH4V5DFA)JuYqt1HhPO% zb{|OXR4&Z|0jva~?Klou(9xOkf1*cpvmnZGL9Lk`m3?+2(lYXW6<0EWSP&X%wZaPY@uIHD5Mlc|BE literal 0 HcmV?d00001 diff --git a/src/components/operateTitle/index.vue b/src/components/operateTitle/index.vue index 2294611..5bdfe1c 100644 --- a/src/components/operateTitle/index.vue +++ b/src/components/operateTitle/index.vue @@ -1,11 +1,30 @@