feat: add swagger page

This commit is contained in:
2025-05-12 21:56:41 +08:00
parent 8699a568d1
commit 74d40d25e2
4 changed files with 42 additions and 18 deletions

View File

@@ -5,19 +5,19 @@
<div class="flex flex-col w-full h-full">
<label class="input w-full my-3">
<img class="h-[1em] opacity-50" src="@/assets/user.svg" alt="User img" />
<input type="text" class="grow" placeholder="User Name" />
<input type="text" class="grow" placeholder="用户名" />
</label>
<label class="input w-full my-3">
<img class="h-[1em] opacity-50" src="@/assets/pwd.svg" alt="User img" />
<input type="text" class="grow" placeholder="User Name" />
<input type="text" class="grow" placeholder="密码" />
</label>
</div>
<div>
<RouterLink class="flex justify-end mx-3" to="/">Forget Password</RouterLink>
<RouterLink class="flex justify-end mx-3" to="/">忘记密码?</RouterLink>
</div>
<div class="card-actions flex items-end my-3">
<button class="btn flex-1">Sign Up</button>
<button class="btn btn-primary flex-3">Login</button>
<button class="btn flex-1">注册</button>
<button class="btn btn-primary flex-3">登录</button>
</div>
</div>
</div>