diff --git a/luckydiamond/package-lock.json b/luckydiamond/package-lock.json index fb08b50..d2bcad2 100644 --- a/luckydiamond/package-lock.json +++ b/luckydiamond/package-lock.json @@ -13,7 +13,8 @@ "core-js": "^3.8.3", "vue": "^3.2.13", "vue-recaptcha": "^3.0.0-alpha.6", - "vue-router": "^4.2.5" + "vue-router": "^4.2.5", + "vue3-recaptcha2": "^1.8.0" }, "devDependencies": { "@babel/core": "^7.12.16", @@ -11664,6 +11665,11 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "node_modules/vue3-recaptcha2": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/vue3-recaptcha2/-/vue3-recaptcha2-1.8.0.tgz", + "integrity": "sha512-lICGpLGv9wsdVjgWZ0usbZ+Ki52YX5kOzjt8l/ADun9GxdjJ5/AkGpxE7dZ+mG3VcE4ASZG2B/nYWB4wWFadvQ==" + }, "node_modules/watchpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", diff --git a/luckydiamond/package.json b/luckydiamond/package.json index 86a5368..2c700af 100644 --- a/luckydiamond/package.json +++ b/luckydiamond/package.json @@ -14,7 +14,8 @@ "core-js": "^3.8.3", "vue": "^3.2.13", "vue-recaptcha": "^3.0.0-alpha.6", - "vue-router": "^4.2.5" + "vue-router": "^4.2.5", + "vue3-recaptcha2": "^1.8.0" }, "devDependencies": { "@babel/core": "^7.12.16", diff --git a/luckydiamond/public/index.html b/luckydiamond/public/index.html index f33031e..e0d7f12 100644 --- a/luckydiamond/public/index.html +++ b/luckydiamond/public/index.html @@ -25,7 +25,7 @@ We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue. -
+ diff --git a/luckydiamond/src/components/CaptchaComponent.vue b/luckydiamond/src/components/CaptchaComponent.vue new file mode 100644 index 0000000..434b5da --- /dev/null +++ b/luckydiamond/src/components/CaptchaComponent.vue @@ -0,0 +1,45 @@ + +Вы подтверждаете правильность введенных данных при создании вывода.
-