|
@@ -116,7 +116,7 @@ const resetPw = () => {
|
|
|
</script>
|
|
|
<template>
|
|
|
<div class="flex items-center justify-center login-bg !bg-center">
|
|
|
- <div class="relative login-item !bg-center mx-200px mt-60px w-full rounded-10px bg-white">
|
|
|
+ <div class="relative login-item !bg-center mx-200px mt-60px w-full rounded-20px bg-white">
|
|
|
<div class="absolute top-60px right-190px flex flex-col items-center">
|
|
|
<div class="text-32px font-500 text-dark-600 leading-38px">优巨引擎开发平台</div>
|
|
|
<div class="w-400px mt-28px">
|
|
@@ -131,18 +131,18 @@ const resetPw = () => {
|
|
|
<div class="flex flex-col items-center w-full mt-30px">
|
|
|
<a-form :model="formData" class="w-400px" v-if="!currentIdx">
|
|
|
<a-form-item>
|
|
|
- <a-input v-model:value="formData.mobile" class="h-50px text-16px" :maxlength="11" allowClear
|
|
|
+ <a-input size="large" v-model:value="formData.mobile" class=" text-16px" :maxlength="11" allowClear
|
|
|
placeholder="请输入手机号">
|
|
|
<template #prefix>
|
|
|
- <img class="w-28px h-28px" src="@/assets/images/17-1.png" alt="">
|
|
|
+ <img class="w-25px h-25px" src="@/assets/images/17-1.png" alt="">
|
|
|
</template>
|
|
|
</a-input>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-input-password v-model:value="formData.password" autocomplete class="h-50px" allowClear
|
|
|
+ <a-input-password size="large" v-model:value="formData.password" autocomplete class="" allowClear
|
|
|
placeholder="请输入登录密码">
|
|
|
<template #prefix>
|
|
|
- <img class="w-28px h-28px" src="@/assets/images/17-2.png" alt="">
|
|
|
+ <img class="w-25px h-25px" src="@/assets/images/17-2.png" alt="">
|
|
|
</template>
|
|
|
</a-input-password>
|
|
|
</a-form-item>
|
|
@@ -152,14 +152,14 @@ const resetPw = () => {
|
|
|
</div>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-button @click="loginPw" :disabled="!formData.mobile || !formData.password" class="w-full h-50px"
|
|
|
+ <a-button size="large" @click="loginPw" :disabled="!formData.mobile || !formData.password" class="w-full "
|
|
|
type="primary">登 录
|
|
|
</a-button>
|
|
|
</a-form-item>
|
|
|
</a-form>
|
|
|
<a-form :model="formData" class="w-400px" v-else>
|
|
|
<a-form-item>
|
|
|
- <a-input v-model:value="formData.mobile" class="h-50px text-16px" :maxlength="11" allowClear
|
|
|
+ <a-input size="large" v-model:value="formData.mobile" class=" text-16px" :maxlength="11" allowClear
|
|
|
placeholder="请输入手机号">
|
|
|
<template #prefix>
|
|
|
<img class="w-28px h-28px" src="@/assets/images/17-1.png" alt="">
|
|
@@ -168,13 +168,13 @@ const resetPw = () => {
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
<a-input-group compact>
|
|
|
- <a-input v-model:value="formData.code" allowClear placeholder="请输入验证码" class="h-50px"
|
|
|
+ <a-input size="large" v-model:value="formData.code" allowClear placeholder="请输入验证码" class=""
|
|
|
style="width: calc(100% - 130px)">
|
|
|
<template #prefix>
|
|
|
<img class="w-28px h-28px" src="@/assets/images/17-4.png" alt="">
|
|
|
</template>
|
|
|
</a-input>
|
|
|
- <a-button @click="doSendSms(1)" :disabled="!canSendSms" class="w-110px h-50px ml-20px" type="primary">
|
|
|
+ <a-button size="large" @click="doSendSms(1)" :disabled="!canSendSms" class="w-110px ml-20px" type="primary">
|
|
|
{{
|
|
|
verifyText
|
|
|
}}
|
|
@@ -182,7 +182,7 @@ const resetPw = () => {
|
|
|
</a-input-group>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-button @click="loginCode" :disabled="!formData.mobile || !formData.code" class="w-full h-50px"
|
|
|
+ <a-button size="large" @click="loginCode" :disabled="!formData.mobile || !formData.code" class="w-full "
|
|
|
type="primary">登 录
|
|
|
</a-button>
|
|
|
</a-form-item>
|
|
@@ -199,38 +199,38 @@ const resetPw = () => {
|
|
|
<a-modal class="reset" v-model:visible="visibleReset" :footer="null" centered title="重置密码">
|
|
|
<a-form :model="formState" class="w-400px mx-auto my-0">
|
|
|
<a-form-item>
|
|
|
- <a-input v-model:value="formState.mobile" :maxlength="11" allowClear placeholder="输入手机号">
|
|
|
+ <a-input size="large" v-model:value="formState.mobile" :maxlength="11" allowClear placeholder="输入手机号">
|
|
|
<template #prefix>
|
|
|
<MobileOutlined style="color: rgba(0, 0, 0, 0.25)" />
|
|
|
</template>
|
|
|
</a-input>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-input-password v-model:value="formState.newPassword" allowClear placeholder="输入新密码">
|
|
|
+ <a-input-password size="large" v-model:value="formState.newPassword" allowClear placeholder="输入新密码">
|
|
|
<template #prefix>
|
|
|
<LockOutlined style="color: rgba(0, 0, 0, 0.25)" />
|
|
|
</template>
|
|
|
</a-input-password>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-input-password v-model:value="formState.passwordAgain" allowClear placeholder="再次输入新密码">
|
|
|
+ <a-input-password size="large" v-model:value="formState.passwordAgain" allowClear placeholder="再次输入新密码">
|
|
|
<template #prefix>
|
|
|
<LockOutlined style="color: rgba(0, 0, 0, 0.25)" />
|
|
|
</template>
|
|
|
</a-input-password>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-input v-model:value="formState.code" :maxlength="4" placeholder="输入短信验证码" allowClear
|
|
|
+ <a-input size="large" v-model:value="formState.code" :maxlength="4" placeholder="输入短信验证码" allowClear
|
|
|
style="width: calc(100% - 130px)">
|
|
|
<template #prefix>
|
|
|
<MailOutlined style="color: rgba(0, 0, 0, 0.25)" />
|
|
|
</template>
|
|
|
</a-input>
|
|
|
- <a-button @click="doSendSms(2)" :disabled="!canSendSms" class="ml-20px w-110px" type="primary">{{ verifyText }}
|
|
|
+ <a-button size="large" @click="doSendSms(2)" :disabled="!canSendSms" class="ml-20px w-110px" type="primary">{{ verifyText }}
|
|
|
</a-button>
|
|
|
</a-form-item>
|
|
|
<a-form-item>
|
|
|
- <a-button @click="resetPw"
|
|
|
+ <a-button size="large" @click="resetPw"
|
|
|
:disabled="!formState.mobile || !formState.newPassword || !formState.passwordAgain || !formState.code"
|
|
|
class="w-full" type="primary">确认</a-button>
|
|
|
</a-form-item>
|
|
@@ -245,6 +245,7 @@ const resetPw = () => {
|
|
|
.login-item {
|
|
|
background-image: url(@/assets/images/4-1.png);
|
|
|
height: calc(100vh - 280px);
|
|
|
+ background-size: 100% 100%;
|
|
|
}
|
|
|
}
|
|
|
|