|
|
@@ -17,7 +17,7 @@
|
|
|
<a-form-item
|
|
|
label="账号"
|
|
|
name="phonenumber"
|
|
|
- :rules="[{ required: true, message: '请输入账号' }]"
|
|
|
+ :rules="[{ required: true, message: '请输入账号' }]"
|
|
|
>
|
|
|
<a-input v-model:value="formState.phonenumber" size="large" placeholder="请输入账号"/>
|
|
|
</a-form-item>
|
|
|
@@ -43,7 +43,7 @@
|
|
|
</div>
|
|
|
<div class="login-wrap">
|
|
|
<div class="top">
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#1890ff" fill-opacity="1" d="M0,288L48,266.7C96,245,192,203,288,202.7C384,203,480,245,576,245.3C672,245,768,203,864,202.7C960,203,1056,245,1152,272C1248,299,1344,309,1392,314.7L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>
|
|
|
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#1890ff" fill-opacity="1" d="M0,288L48,266.7C96,245,192,203,288,202.7C384,203,480,245,576,245.3C672,245,768,203,864,202.7C960,203,1056,245,1152,272C1248,299,1344,309,1392,314.7L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>
|
|
|
</div>
|
|
|
</div>
|
|
|
<a-layout-footer class="footer">
|
|
|
@@ -85,8 +85,8 @@ export default defineComponent({
|
|
|
loading.value = true
|
|
|
const res = await Api.loginbyaccount({
|
|
|
"accountno":formState.phonenumber,
|
|
|
- "password":md5(formState.password),
|
|
|
- "systemclient": "cweb"
|
|
|
+ "password":md5(formState.password),
|
|
|
+ "systemclient": "web"
|
|
|
})
|
|
|
if (res.code === 1) {
|
|
|
if (res.account_list[0].status == 'INACTIVE')
|
|
|
@@ -95,7 +95,7 @@ export default defineComponent({
|
|
|
accountList.value = res.account_list
|
|
|
store.defaultAccount(res.account_list[0])
|
|
|
router.replace({path:'/home'})
|
|
|
-
|
|
|
+
|
|
|
} else {
|
|
|
loading.value = false
|
|
|
message.error(res.msg)
|
|
|
@@ -178,7 +178,7 @@ export default defineComponent({
|
|
|
overflow: hidden; /* 隐藏超出部分 */
|
|
|
max-width: 700px; /* 固定宽度为 200 像素 */
|
|
|
animation: typingH 5s forwards;
|
|
|
-
|
|
|
+
|
|
|
display: inline-block; /* 让行内元素可以自适应宽度、允许换行 */
|
|
|
}
|
|
|
|
|
|
@@ -207,4 +207,4 @@ export default defineComponent({
|
|
|
font-size: 15px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|