登录页文字修改

This commit is contained in:
2025-04-16 14:13:32 +08:00
parent 60ed4f5ff7
commit 6adad52d1a
8 changed files with 2489 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
</div>
</div>
</div>
<div class="center-line" style="margin-top: 15vh;">
<div class="center-line" style="margin-top: 40px;">
<!-- logo -->
<div class="logo">
<div class="center-justify" style="height: 80px; width: 300px;">
@@ -83,17 +83,22 @@ const onSubmit = () => {
text: 'Loading',
background: 'rgba(0, 0, 0, 0.7)',
});
console.log('submit!');
setUserPass(formData.value);
login({
userId: formData.value.userId,
password: formData.value.password,
}).then((res) => {
loading.close();
console.log(res)
if (res) {
setToken(res.currcode);
setUser(res);
router.push('/nav');
if (res.activeYn == 'Y') {
setToken(res.currcode);
setUser(res);
router.push('/nav');
} else {
alert('账号未启用');
}
} else {
alert('账号或密码错误');
}

View File

@@ -21,7 +21,7 @@
公会账号
</div>
<el-input :disabled="!(isTk && tkData[index].code == 0)" v-model="tkData[index].account"
style="height: 50px;" placeholder="请输入登录账号" clearable />
placeholder="请输入登录账号" clearable />
</div>
<div class="from-input-item">
@@ -29,7 +29,7 @@
公会密码
</div>
<el-input :disabled="!(isTk && tkData[index].code == 0)" v-model="tkData[index].password"
style="height: 50px;" type="password" placeholder="请输入登录密码" show-password />
type="password" placeholder="请输入登录密码" show-password />
</div>
<el-button class="open-login" style="margin-left: 60px;"
@@ -576,6 +576,7 @@ label {
::v-deep(.el-input__wrapper) {
width: 218px;
height: 44px;
}
.el-input {