🎨 update

This commit is contained in:
landaiqing
2024-10-23 19:14:26 +08:00
parent 12160bb1b5
commit c998d953ce
5 changed files with 109 additions and 109 deletions

View File

@@ -79,7 +79,8 @@
</ATooltip>
</ACard>
</div>
<div v-if="showRotateCaptcha" class="mask">
<AModal v-model:open="showRotateCaptcha" :footer="null" :closable="false" width="375" :centered="true"
:maskClosable="false" :bodyStyle="{padding: 0}">
<!-- 滑动验证码 -->
<gocaptcha-rotate
class="gocaptcha-rotate"
@@ -90,7 +91,7 @@
}"
:events="resetPasswordRotateEvent"
/>
</div>
</AModal>
<div class="area">
<ul class="circles">
<li></li>
@@ -171,7 +172,7 @@ const rules: Record<string, Rule[]> = {
},
],
repassword: [
{validator: validateRepassword, trigger: 'blur'}
{required: true,validator: validateRepassword, trigger: 'blur'}
],
phone: [
{required: true, message: t('login.phoneValidate'), trigger: 'blur'},

View File

@@ -99,14 +99,6 @@
transform: translate(-50%, -50%);
}
.mask { /* 遮罩层的写法 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.area {