diff --git a/components/miaoQRScanner.vue b/components/miaoQRScanner.vue new file mode 100644 index 0000000..b359133 --- /dev/null +++ b/components/miaoQRScanner.vue @@ -0,0 +1,101 @@ + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 876493d..57a7e3e 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "codemirror": "^6.0.1", "dayjs": "^1.11.13", "jsonwebtoken": "^9.0.2", + "jsqr": "^1.4.0", "markdown-it": "^14.1.0", "node-fetch": "^3.3.2", "nuxt": "^3.15.1", diff --git a/pages/tools/QRScanner.vue b/pages/tools/QRScanner.vue new file mode 100644 index 0000000..d17bce2 --- /dev/null +++ b/pages/tools/QRScanner.vue @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/pages/tools/fucksq.vue b/pages/tools/fucksq.vue index 187ba6a..b901460 100644 --- a/pages/tools/fucksq.vue +++ b/pages/tools/fucksq.vue @@ -4,11 +4,17 @@
- + + + + 扫码 + @@ -35,15 +41,22 @@
+
+ +
- \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4626b9e..202a4f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,6 +35,9 @@ importers: jsonwebtoken: specifier: ^9.0.2 version: 9.0.2 + jsqr: + specifier: ^1.4.0 + version: 1.4.0 markdown-it: specifier: ^14.1.0 version: 14.1.0 @@ -2174,6 +2177,9 @@ packages: resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==} engines: {node: '>=12', npm: '>=6'} + jsqr@1.4.0: + resolution: {integrity: sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==} + jwa@1.4.1: resolution: {integrity: sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==} @@ -5944,6 +5950,8 @@ snapshots: ms: 2.1.3 semver: 7.6.3 + jsqr@1.4.0: {} + jwa@1.4.1: dependencies: buffer-equal-constant-time: 1.0.1