缩小API测速页面字体,与Dashboard风格统一

This commit is contained in:
wangxiaoji 2026-07-01 14:22:21 +08:00
parent ac1120fc33
commit 001ed4c17f
1 changed files with 4 additions and 4 deletions

View File

@ -314,7 +314,7 @@ const ApiTester = () => {
{/* 页面标题区 */} {/* 页面标题区 */}
<div className='flex flex-wrap items-end justify-between gap-4'> <div className='flex flex-wrap items-end justify-between gap-4'>
<div> <div>
<h1 className='text-3xl font-bold tracking-tight text-slate-900 md:text-4xl dark:text-white'> <h1 className='text-xl font-bold tracking-tight text-slate-900 md:text-2xl dark:text-white'>
API 快速测试 API 快速测试
</h1> </h1>
<p className='mt-2 text-xs text-slate-500 dark:text-white/50'> <p className='mt-2 text-xs text-slate-500 dark:text-white/50'>
@ -354,7 +354,7 @@ const ApiTester = () => {
{showKey ? <EyeOff size={14} /> : <Eye size={14} />} {showKey ? <EyeOff size={14} /> : <Eye size={14} />}
</button> </button>
</div> </div>
<div className='mt-2 text-xs text-slate-400 dark:text-white/40'> <div className='mt-2 text-[11px] text-slate-400 dark:text-white/40'>
{user?.token ? '已自动填充当前登录用户的 Token' : '请填写你的 API Key'} {user?.token ? '已自动填充当前登录用户的 Token' : '请填写你的 API Key'}
</div> </div>
</div> </div>
@ -419,7 +419,7 @@ const ApiTester = () => {
</button> </button>
</div> </div>
{customScenes.length === 0 ? ( {customScenes.length === 0 ? (
<div className='text-xs text-slate-400 dark:text-white/40'> <div className='text-[11px] text-slate-400 dark:text-white/40'>
调整完地址后点右上保存当前即可收藏到本地 调整完地址后点右上保存当前即可收藏到本地
</div> </div>
) : ( ) : (
@ -480,7 +480,7 @@ const ApiTester = () => {
</div> </div>
)} )}
<div className='mt-3 flex items-center gap-1.5 truncate font-mono text-xs text-slate-400 dark:text-white/40'> <div className='mt-3 flex items-center gap-1.5 truncate font-mono text-[11px] text-slate-400 dark:text-white/40'>
<span className='shrink-0'>实际请求</span> <span className='shrink-0'>实际请求</span>
<span className='truncate'>{finalEndpoint}</span> <span className='truncate'>{finalEndpoint}</span>
</div> </div>