perf: improve login page UI (#4142)

* perf: improve login page UI

* chore: update docs
This commit is contained in:
Vben
2024-08-13 21:17:10 +08:00
committed by GitHub
parent e8dff517ba
commit 738bc456c8
27 changed files with 86 additions and 85 deletions

View File

@@ -41,7 +41,7 @@ function reset() {
<template>
<Page description="用于需要操作标签页的场景" title="标签页">
<Card class="mb-5" title="打开/关闭标签页">
<div class="text-foreground/80 my-3">
<div class="text-foreground/80 mb-3">
如果标签页存在直接跳转切换如果标签页不存在则打开新的标签页
</div>
<div class="flex flex-wrap gap-3">
@@ -53,7 +53,7 @@ function reset() {
</Card>
<Card class="mb-5" title="标签页操作">
<div class="text-foreground/80 my-3">用于动态控制标签页的各种操作</div>
<div class="text-foreground/80 mb-3">用于动态控制标签页的各种操作</div>
<div class="flex flex-wrap gap-3">
<Button type="primary" @click="closeCurrentTab()">
关闭当前标签页
@@ -73,8 +73,7 @@ function reset() {
</Card>
<Card class="mb-5" title="动态标题">
<div class="text-lg font-semibold">动态标题</div>
<div class="text-foreground/80 my-3">
<div class="text-foreground/80 mb-3">
该操作不会影响页面标题仅修改Tab标题
</div>
<div class="flex flex-wrap items-center gap-3">
@@ -91,8 +90,7 @@ function reset() {
</Card>
<Card class="mb-5" title="最大打开数量">
<div class="text-lg font-semibold">最大打开数量</div>
<div class="text-foreground/80 my-3">
<div class="text-foreground/80 mb-3">
限制带参数的tab打开的最大数量 `route.meta.maxNumOfOpenTab` 控制
</div>
<div class="flex flex-wrap items-center gap-3">