From c0f4b7db9bfc35f68c6a02d1e1a586efa83f268f Mon Sep 17 00:00:00 2001 From: cyonjan Date: Wed, 14 May 2025 13:24:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- package-lock.json | 24 +++ package.json | 1 + src/components/WechatCode.vue | 351 +++++++++++++++++----------------- src/views/Login.vue | 64 ++++++- 5 files changed, 259 insertions(+), 183 deletions(-) diff --git a/index.html b/index.html index ba4403d..67efe4b 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + diff --git a/package-lock.json b/package-lock.json index 9a02135..b790f30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "vite": "^6.3.5", "vite-plugin-vue-devtools": "^7.7.6", "vite-plugin-windicss": "^1.9.4", + "vue-next-wxlogin": "^1.0.4", "windicss": "^3.5.6" } }, @@ -2392,6 +2393,18 @@ "url": "https://github.com/sponsors/mesqueeb" } }, + "node_modules/core-js": { + "version": "3.42.0", + "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.42.0.tgz", + "integrity": "sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -4507,6 +4520,17 @@ } } }, + "node_modules/vue-next-wxlogin": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/vue-next-wxlogin/-/vue-next-wxlogin-1.0.4.tgz", + "integrity": "sha512-gJR8Zyp0tDWGcHPDkIJmTD50oblPbu7kPODmucj5d/sHYJw3VegD7xDsgRCSmT6+sT2lPBXFr8OTy2TQuMMmNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-js": "^3.6.5", + "vue": "^3.0.0" + } + }, "node_modules/vue-router": { "version": "4.5.1", "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.5.1.tgz", diff --git a/package.json b/package.json index 4c01ec3..e2d7be4 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "vite": "^6.3.5", "vite-plugin-vue-devtools": "^7.7.6", "vite-plugin-windicss": "^1.9.4", + "vue-next-wxlogin": "^1.0.4", "windicss": "^3.5.6" } } diff --git a/src/components/WechatCode.vue b/src/components/WechatCode.vue index 2b03a39..958c208 100644 --- a/src/components/WechatCode.vue +++ b/src/components/WechatCode.vue @@ -1,189 +1,188 @@ - - - + \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue index 6a5f282..efe9eb0 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -21,7 +21,7 @@
@@ -32,7 +32,7 @@ @@ -58,7 +58,7 @@
-
+
-
+