...
|
...
|
@@ -54,9 +54,17 @@ |
54
|
54
|
</Button>
|
55
|
55
|
</ACol> -->
|
56
|
56
|
<ACol :md="11" :xs="24">
|
57
|
|
- <Button block @click="setLoginState(LoginStateEnum.MOBILE)">
|
|
57
|
+ <!-- <Button block @click="setLoginState(LoginStateEnum.MOBILE)">
|
58
|
58
|
{{ t('sys.login.mobileSignInFormTitle') }}
|
59
|
|
- </Button>
|
|
59
|
+ </Button> -->
|
|
60
|
+ <div class="flex justify-center cursor-pointer">
|
|
61
|
+ <div
|
|
62
|
+ @click="setLoginState(LoginStateEnum.MOBILE)"
|
|
63
|
+ class="flex justify-center icon-button"
|
|
64
|
+ >
|
|
65
|
+ <phone-filled :style="{ fontSize: '18px' }" />
|
|
66
|
+ </div>
|
|
67
|
+ </div>
|
60
|
68
|
</ACol>
|
61
|
69
|
</ARow>
|
62
|
70
|
</Form>
|
...
|
...
|
@@ -65,14 +73,13 @@ |
65
|
73
|
import { reactive, ref, unref, computed } from 'vue';
|
66
|
74
|
import { Checkbox, Form, Input, Row, Col, Button } from 'ant-design-vue';
|
67
|
75
|
import LoginFormTitle from './LoginFormTitle.vue';
|
68
|
|
-
|
69
|
76
|
import { useI18n } from '/@/hooks/web/useI18n';
|
70
|
77
|
import { useMessage } from '/@/hooks/web/useMessage';
|
71
|
|
-
|
72
|
78
|
import { useUserStore } from '/@/store/modules/user';
|
73
|
79
|
import { LoginStateEnum, useLoginState, useFormRules, useFormValid } from './useLogin';
|
74
|
80
|
import { getPlatForm } from '/@/api/oem';
|
75
|
81
|
import { createLocalStorage, createSessionStorage } from '/@/utils/cache';
|
|
82
|
+ import { PhoneFilled } from '@ant-design/icons-vue';
|
76
|
83
|
|
77
|
84
|
const ACol = Col;
|
78
|
85
|
const ARow = Row;
|
...
|
...
|
@@ -147,3 +154,13 @@ |
147
|
154
|
loading.value = false;
|
148
|
155
|
}
|
149
|
156
|
</script>
|
|
157
|
+
|
|
158
|
+<style lang="less" scoped>
|
|
159
|
+ .icon-button {
|
|
160
|
+ align-items: center;
|
|
161
|
+ border-radius: 50%;
|
|
162
|
+ background-color: #f7f7f7;
|
|
163
|
+ width: 2.8rem;
|
|
164
|
+ height: 2.8rem;
|
|
165
|
+ }
|
|
166
|
+</style> |
...
|
...
|
|