Compare commits
No commits in common. "bab0ecce518161ed2df30f6133444d5eedf5e8b4" and "f853f6fce092db36885ff25de01bfb97b5dd07bc" have entirely different histories.
bab0ecce51
...
f853f6fce0
@ -46,7 +46,8 @@
|
|||||||
<el-form ref="loginForm" :model="loginForm" :rules="rules" class="login-form-l" autocomplete="on"
|
<el-form ref="loginForm" :model="loginForm" :rules="rules" class="login-form-l" autocomplete="on"
|
||||||
label-position="left">
|
label-position="left">
|
||||||
|
|
||||||
<el-form-item prop="username" style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
<el-form-item prop="username"
|
||||||
|
style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
||||||
<div class="user-input">
|
<div class="user-input">
|
||||||
<span class="svg-container icon-box">
|
<span class="svg-container icon-box">
|
||||||
<img src="../../assets/kyy/用户.svg" alt="">
|
<img src="../../assets/kyy/用户.svg" alt="">
|
||||||
@ -56,8 +57,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-tooltip v-model="capsTooltip" style="margin-bottom: 7px" content="Caps lock is On" placement="right"
|
<el-tooltip v-model="capsTooltip" style="margin-bottom: 7px"
|
||||||
manual>
|
content="Caps lock is On" placement="right" manual>
|
||||||
<el-form-item prop="password" class="password-mobile"
|
<el-form-item prop="password" class="password-mobile"
|
||||||
style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
||||||
<div class="user-input">
|
<div class="user-input">
|
||||||
@ -75,7 +76,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-form-item prop="mobile" style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
<el-form-item prop="mobile"
|
||||||
|
style="background-color: white; border: 1px solid #d9d9d9;width: 300px;">
|
||||||
<div class="user-input">
|
<div class="user-input">
|
||||||
<span class="svg-container icon-box">
|
<span class="svg-container icon-box">
|
||||||
<img src="../../assets/kyy/用户.svg" alt="">
|
<img src="../../assets/kyy/用户.svg" alt="">
|
||||||
@ -433,8 +435,7 @@ export default {
|
|||||||
// 轮询获取微信登录授权码
|
// 轮询获取微信登录授权码
|
||||||
pollWxCode() {
|
pollWxCode() {
|
||||||
this.getCodeTimer = setInterval(async () => {
|
this.getCodeTimer = setInterval(async () => {
|
||||||
try {
|
try {x // 请求微信授权码x
|
||||||
x // 请求微信授权码x
|
|
||||||
const res = await reqGetCodeAPI({ state: this.wxState });
|
const res = await reqGetCodeAPI({ state: this.wxState });
|
||||||
if (!res.status) return;
|
if (!res.status) return;
|
||||||
|
|
||||||
@ -878,7 +879,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.msg,
|
message: "登录成功~",
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@ -898,16 +899,14 @@ export default {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.msg,
|
message: "登录失败~",
|
||||||
|
|
||||||
type: "error",
|
type: "error",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.msg,
|
message: "请查看登录信息格式",
|
||||||
|
|
||||||
type: "error",
|
type: "error",
|
||||||
});
|
});
|
||||||
this.$refs.loginForm.resetFields();
|
this.$refs.loginForm.resetFields();
|
||||||
@ -1066,8 +1065,7 @@ $dark_gray: #889aa4;
|
|||||||
|
|
||||||
/* 统一表单项目样式 + 边距 */
|
/* 统一表单项目样式 + 边距 */
|
||||||
::v-deep .el-form-item {
|
::v-deep .el-form-item {
|
||||||
margin-bottom: 24px !important;
|
margin-bottom: 24px !important; /* 给错误提示预留空间 */
|
||||||
/* 给错误提示预留空间 */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 统一输入框外框 */
|
/* 统一输入框外框 */
|
||||||
@ -1190,7 +1188,6 @@ $dark_gray: #889aa4;
|
|||||||
top: 20px;
|
top: 20px;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-top1 {
|
.logo-top1 {
|
||||||
width: 260px !important;
|
width: 260px !important;
|
||||||
height: 80px !important;
|
height: 80px !important;
|
||||||
@ -1218,7 +1215,6 @@ $dark_gray: #889aa4;
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
@ -1245,4 +1241,4 @@ $dark_gray: #889aa4;
|
|||||||
padding: 30px 20px;
|
padding: 30px 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user