Skip to content

Commit 343a176

Browse files
committed
Move 'Forgot Password' link below toggle button
Relocated the 'Forgot Password' link in the login form from above the submit button to below the account toggle button for improved UI consistency.
1 parent a96ffa1 commit 343a176

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

src/components/Auth.vue

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@
7777
class="mb-4"
7878
/>
7979

80-
<!-- Forgot Password Link -->
81-
<div v-if="isLogin" class="text-right mb-3">
82-
<v-btn
83-
variant="text"
84-
color="primary"
85-
size="small"
86-
@click="showForgotPassword"
87-
>
88-
忘记密码?
89-
</v-btn>
90-
</div>
91-
9280
<v-btn
9381
type="submit"
9482
color="primary"
@@ -109,6 +97,17 @@
10997
{{ isLogin ? '没有账户?注册' : '已有账户?登录' }}
11098
</v-btn>
11199
</div>
100+
101+
<!-- Forgot Password Link (below toggle button) -->
102+
<div v-if="isLogin" class="text-center mt-2">
103+
<v-btn
104+
variant="text"
105+
color="primary"
106+
@click="showForgotPassword"
107+
>
108+
忘记密码?
109+
</v-btn>
110+
</div>
112111
</v-form>
113112

114113
<v-alert

0 commit comments

Comments
 (0)