Skip to content

Commit

Permalink
perf: 登录界面去专有化
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed May 12, 2024
1 parent f69b14c commit 28533b5
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions frontend/src/pages/auth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<v-card title="提示">

<v-card-text>
<p>请给墙号(QQ: 2297454588)发送</p>
<p>请给墙号发送</p>
<p><strong>#注册账号</strong></p>
<p>来获得初始密码。</p>
</v-card-text>
Expand All @@ -32,7 +32,28 @@
</template>
</v-dialog>
/
<small class="cursor" @click="resetPassword">重置密码</small>
<v-dialog max-width="500">
<template v-slot:activator="{ props: activatorProps }">
<small v-bind="activatorProps" class="cursor">忘记密码</small>
</template>

<template v-slot:default="{ isActive }">
<v-card title="提示">

<v-card-text>
<p>请给墙号发送</p>
<p><strong>#重置密码</strong></p>
<p>以重置密码为随机密码</p>
</v-card-text>

<v-card-actions>
<v-spacer></v-spacer>

<v-btn text="好的👌" @click="isActive.value = false"></v-btn>
</v-card-actions>
</v-card>
</template>
</v-dialog>
</div>


Expand Down

0 comments on commit 28533b5

Please sign in to comment.