-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
486dec4
commit 314e813
Showing
15 changed files
with
348 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script setup lang="ts"> | ||
defineOptions({ | ||
name: 'BindWechat' | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div></div> | ||
</template> | ||
|
||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { $t } from '@/locales'; | ||
import { useRouterPush } from '@/hooks/common/router'; | ||
defineOptions({ | ||
name: 'CodeLogin' | ||
}); | ||
const { toggleLoginModule } = useRouterPush(); | ||
</script> | ||
|
||
<template> | ||
<AForm> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.phonePlaceholder')" /> | ||
</AFormItem> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.codePlaceholder')" /> | ||
</AFormItem> | ||
<AButton block size="large" shape="round" @click="toggleLoginModule('pwd-login')"> | ||
{{ $t('page.login.common.back') }} | ||
</AButton> | ||
</AForm> | ||
</template> | ||
|
||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<script setup lang="ts"> | ||
import { $t } from '@/locales'; | ||
import { loginModuleLabels } from '@/constants/app'; | ||
import { useRouterPush } from '@/hooks/common/router'; | ||
defineOptions({ | ||
name: 'PwdLogin' | ||
}); | ||
const { toggleLoginModule } = useRouterPush(); | ||
</script> | ||
|
||
<template> | ||
<AForm> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.userNamePlaceholder')" /> | ||
</AFormItem> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.passwordPlaceholder')" /> | ||
</AFormItem> | ||
<ASpace direction="vertical" size="large" class="w-full"> | ||
<div class="flex-y-center justify-between"> | ||
<ACheckbox>{{ $t('page.login.pwdLogin.rememberMe') }}</ACheckbox> | ||
<AButton type="link">{{ $t('page.login.pwdLogin.forgetPassword') }}</AButton> | ||
</div> | ||
<AButton type="primary" block size="large" shape="round">{{ $t('common.confirm') }}</AButton> | ||
<div class="flex-y-center justify-between"> | ||
<AButton class="flex-1" block @click="toggleLoginModule('code-login')"> | ||
{{ loginModuleLabels['code-login'] }} | ||
</AButton> | ||
<div class="w-12px"></div> | ||
<AButton class="flex-1" block @click="toggleLoginModule('register')"> | ||
{{ loginModuleLabels.register }} | ||
</AButton> | ||
</div> | ||
</ASpace> | ||
</AForm> | ||
</template> | ||
|
||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { $t } from '@/locales'; | ||
import { useRouterPush } from '@/hooks/common/router'; | ||
defineOptions({ | ||
name: 'CodeLogin' | ||
}); | ||
const { toggleLoginModule } = useRouterPush(); | ||
</script> | ||
|
||
<template> | ||
<AForm> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.phonePlaceholder')" /> | ||
</AFormItem> | ||
<AFormItem> | ||
<AInput size="large" :placeholder="$t('page.login.common.codePlaceholder')" /> | ||
</AFormItem> | ||
<AButton block size="large" shape="round" @click="toggleLoginModule('pwd-login')"> | ||
{{ $t('page.login.common.back') }} | ||
</AButton> | ||
</AForm> | ||
</template> | ||
|
||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script setup lang="ts"> | ||
defineOptions({ | ||
name: 'ResetPwd' | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div></div> | ||
</template> | ||
|
||
<style scoped></style> |
Oops, something went wrong.