diff --git a/package-lock.json b/package-lock.json index c07afbb..b8283a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "clipboard": "^2.0.11", "crypto-es": "^2.1.0", "nuxt": "^3.14.1592", + "qrcode.vue": "^3.6.0", "vue": "latest", "vue-router": "latest" }, @@ -7524,6 +7525,14 @@ "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==" }, + "node_modules/qrcode.vue": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/qrcode.vue/-/qrcode.vue-3.6.0.tgz", + "integrity": "sha512-vQcl2fyHYHMjDO1GguCldJxepq2izQjBkDEEu9NENgfVKP6mv/e2SU62WbqYHGwTgWXLhxZ1NCD1dAZKHQq1fg==", + "peerDependencies": { + "vue": "^3.0.0" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", diff --git a/package.json b/package.json index 53054a1..5c3fe36 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "clipboard": "^2.0.11", "crypto-es": "^2.1.0", "nuxt": "^3.14.1592", + "qrcode.vue": "^3.6.0", "vue": "latest", "vue-router": "latest" }, diff --git a/pages/index.vue b/pages/index.vue index c8a7a15..f08eaed 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -39,11 +39,18 @@ const tools = [ }, { id: 2, + title: '挪车码牌生成', + description: '生成挪车码牌,方便他人联系车主', + path: '/move-car-code', + available: true + }, + { + id: 3, title: '敬请期待', description: '更多工具正在开发中...', path: '', available: false - } + }, ]; diff --git a/pages/move-car-code/index.vue b/pages/move-car-code/index.vue new file mode 100644 index 0000000..08e0cb8 --- /dev/null +++ b/pages/move-car-code/index.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/pages/move-car-display/index.vue b/pages/move-car-display/index.vue new file mode 100644 index 0000000..2c37a1a --- /dev/null +++ b/pages/move-car-display/index.vue @@ -0,0 +1,195 @@ + + + + +