diff --git a/src/components/captcha.vue b/src/components/captcha.vue
index 9e2c67e..f215ad8 100644
--- a/src/components/captcha.vue
+++ b/src/components/captcha.vue
@@ -60,7 +60,7 @@ const mouseDown = (event: MouseEvent) => {
clickX = event.clientX
sliderLeft.value = clickX - trackLeft.value
minX.value = clickX
- maxX.value = minX.value + 190
+ maxX.value = minX.value + 230
}
}
@@ -69,15 +69,15 @@ const mouseMove = (event: MouseEvent) => {
sliderX.value = event.clientX - trackLeft.value - sliderLeft.value
if (sliderX.value < 0) {
sliderX.value = 0
- } else if (sliderX.value > 190) {
- sliderX.value = 190
+ } else if (sliderX.value > 230) {
+ sliderX.value = 230
}
}
}
const mouseUp = () => {
if (isMouseDown.value) {
- if (sliderX.value < 190) {
+ if (sliderX.value < 230) {
errorMsg("验证失败,请重新验证")
isCaptcha.value = "error"
slider.value.classList.add("slider-error")
@@ -91,7 +91,7 @@ const mouseUp = () => {
}
else {
successMsg("验证成功")
- sliderX.value = 190
+ sliderX.value = 230
isCaptcha.value = "success"
slider.value.classList.add("slider-success")
filled.value.classList.add("filled-success")
@@ -117,8 +117,8 @@ defineExpose({
\ No newline at end of file
diff --git a/src/views/login/third-login.vue b/src/views/login/third-login.vue
new file mode 100644
index 0000000..b831107
--- /dev/null
+++ b/src/views/login/third-login.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/register/register.vue b/src/views/register/register.vue
index 19905b8..ad3becf 100644
--- a/src/views/register/register.vue
+++ b/src/views/register/register.vue
@@ -1,10 +1,10 @@
@@ -119,6 +99,7 @@