diff --git a/FrontEnd/components/user/cropImageDialog.vue b/FrontEnd/components/user/cropImageDialog.vue index 3532368..fd21379 100644 --- a/FrontEnd/components/user/cropImageDialog.vue +++ b/FrontEnd/components/user/cropImageDialog.vue @@ -127,8 +127,45 @@ export default { min-height: 717px; } @media screen and (min-width: 961px) { - min-height: 1000px; + min-height: 800px; } } +.vue-advanced-cropper{ + height: 600px !important; +} +.vue-advanced-cropper__stretcher{ + height: 600px !important; +} + +.vue-advanced-cropper__boundaries{ +height: 600px !important; +} +.vue-advanced-cropper__foreground{ + height: 600px !important; +} + +.vue-advanced-cropper__image-wrapper{ + height: 600px !important; +} + +.vue-advanced-cropper__background{ + height: 600px !important; +} + +//裁切 +.vue-circle-stencil .vue-circle-stencil--movable{ + height: 400px !important; + +} + +.vue-bounding-box .vue-circle-stencil__bounding-box{ + height: 400px !important; + +} + +.vue-preview__wrapper{ + height: 400px !important; + +} \ No newline at end of file diff --git a/FrontEnd/pages/user/forgot.vue b/FrontEnd/pages/user/forgot.vue index dbb9b85..1a6ebc2 100644 --- a/FrontEnd/pages/user/forgot.vue +++ b/FrontEnd/pages/user/forgot.vue @@ -190,7 +190,7 @@ export default { resetValid: false, disableBtn: false, resetSuccess: false, - countdown: 0, + countdown: 60, Email: "", userConfirmPass: "", userData: { @@ -258,16 +258,20 @@ export default { if(data){ this.result = data; this.disableBtn = !this.disableBtn; - // this.timeout = setInterval(() => { - // if (this.countdown > 0) { - // this.countdown--; - // } - // if (this.countdown === 0) { - // this.disableBtn = !this.disableBtn; - // this.countdown = 60; - // clearInterval(this.timeout); - // } - // }, 1000); + this.timeout = setInterval(() => { + if (this.countdown > 0) { + this.countdown--; + } + if (this.countdown == 0) { + + + this.disableBtn = false; + console.log(this.disableBtn); + this.countdown = 60; + console.log(this.countdown); + clearInterval(this.timeout); + } + }, 1000); } } })