...
|
...
|
@@ -47,31 +47,36 @@ |
47
|
47
|
{{ t('sys.login.loginButton') }}
|
48
|
48
|
</Button>
|
49
|
49
|
</FormItem>
|
50
|
|
- <ARow class="enter-x flex justify-center">
|
51
|
|
- <!-- <ACol :md="11" :xs="24">
|
|
50
|
+ <!-- <ARow class="enter-x flex justify-center"> -->
|
|
51
|
+ <!-- <ACol :md="11" :xs="24">
|
52
|
52
|
<Button block @click="setLoginState(LoginStateEnum.LOGIN)">
|
53
|
53
|
{{ t('sys.login.userNameInFormTitle') }}
|
54
|
54
|
</Button>
|
55
|
55
|
</ACol> -->
|
56
|
|
- <ACol :md="11" :xs="24">
|
57
|
|
- <!-- <Button block @click="setLoginState(LoginStateEnum.MOBILE)">
|
|
56
|
+ <!-- <ACol :md="11" :xs="24"> -->
|
|
57
|
+ <!-- <Button block @click="setLoginState(LoginStateEnum.MOBILE)">
|
58
|
58
|
{{ t('sys.login.mobileSignInFormTitle') }}
|
59
|
59
|
</Button> -->
|
60
|
|
- <div class="flex justify-center cursor-pointer">
|
|
60
|
+ <!-- <div class="flex justify-center cursor-pointer">
|
61
|
61
|
<div
|
62
|
62
|
@click="setLoginState(LoginStateEnum.MOBILE)"
|
63
|
63
|
class="flex justify-center icon-button"
|
64
|
64
|
>
|
65
|
65
|
<phone-filled :style="{ fontSize: '18px' }" />
|
66
|
66
|
</div>
|
67
|
|
- </div>
|
68
|
|
- </ACol>
|
69
|
|
- </ARow>
|
|
67
|
+ </div> -->
|
|
68
|
+ <!-- </ACol> -->
|
|
69
|
+ <!-- </ARow> -->
|
|
70
|
+ <Divider class="enter-x">
|
|
71
|
+ <div @click="setLoginState(LoginStateEnum.MOBILE)" class="flex justify-center icon-button">
|
|
72
|
+ <mobile-filled :style="{ fontSize: '18px' }" />
|
|
73
|
+ </div>
|
|
74
|
+ </Divider>
|
70
|
75
|
</Form>
|
71
|
76
|
</template>
|
72
|
77
|
<script lang="ts" setup>
|
73
|
78
|
import { reactive, ref, unref, computed } from 'vue';
|
74
|
|
- import { Checkbox, Form, Input, Row, Col, Button } from 'ant-design-vue';
|
|
79
|
+ import { Checkbox, Form, Input, Row, Col, Button, Divider } from 'ant-design-vue';
|
75
|
80
|
import LoginFormTitle from './LoginFormTitle.vue';
|
76
|
81
|
import { useI18n } from '/@/hooks/web/useI18n';
|
77
|
82
|
import { useMessage } from '/@/hooks/web/useMessage';
|
...
|
...
|
@@ -79,7 +84,7 @@ |
79
|
84
|
import { LoginStateEnum, useLoginState, useFormRules, useFormValid } from './useLogin';
|
80
|
85
|
import { getPlatForm } from '/@/api/oem';
|
81
|
86
|
import { createLocalStorage, createSessionStorage } from '/@/utils/cache';
|
82
|
|
- import { PhoneFilled } from '@ant-design/icons-vue';
|
|
87
|
+ import { MobileFilled } from '@ant-design/icons-vue';
|
83
|
88
|
|
84
|
89
|
const ACol = Col;
|
85
|
90
|
const ARow = Row;
|
...
|
...
|
|