修改登录页样式
This commit is contained in:
@@ -12,41 +12,24 @@
|
||||
</div>
|
||||
<el-form :rules="rules" ref="formRef" size="large" class="login-form" :model="form">
|
||||
<el-form-item prop="username">
|
||||
<el-input
|
||||
ref="usernameRef"
|
||||
v-model="form.username"
|
||||
type="text"
|
||||
clearable
|
||||
placeholder="用户名"
|
||||
autocomplete="off"
|
||||
>
|
||||
<el-input ref="usernameRef" v-model="form.username" type="text" clearable style="width: 368px"
|
||||
placeholder="用户名" autocomplete="off">
|
||||
<template #prefix>
|
||||
<span class="iconfont icon-yonghu" style="color: #003078"></span>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="password">
|
||||
<el-input
|
||||
ref="passwordRef"
|
||||
v-model="form.password"
|
||||
type="password"
|
||||
placeholder="密码"
|
||||
show-password
|
||||
autocomplete="off"
|
||||
>
|
||||
<el-input ref="passwordRef" v-model="form.password" type="password" placeholder="密码" show-password
|
||||
style="width: 368px" autocomplete="off">
|
||||
<template #prefix>
|
||||
<span class="iconfont icon-mima" style="color: #003078"></span>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
:loading="state.submitLoading"
|
||||
class="submit-btn"
|
||||
round
|
||||
type="info"
|
||||
@click="onSubmit(formRef)"
|
||||
>
|
||||
<el-button :loading="state.submitLoading" class="submit-btn" round style="width: 368px" type="info"
|
||||
@click="onSubmit(formRef)">
|
||||
登录
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user