fix: run 'pnpm format' update various components and improve layout structure

- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
This commit is contained in:
米山
2025-11-19 10:14:04 +08:00
parent fb8f36eeec
commit cd7c11c7d0
109 changed files with 158 additions and 157 deletions

View File

@@ -31,7 +31,7 @@ const inputComponent = h(Input);
<template>
<Page title="图标">
<template #description>
<div class="text-foreground/80 mt-2">
<div class="mt-2 text-foreground/80">
图标可在
<a
class="text-primary"

View File

@@ -20,7 +20,7 @@ async function handleClick(type: LoginExpiredModeType) {
<template>
<Page title="登录过期演示">
<template #description>
<div class="text-foreground/80 mt-2">
<div class="mt-2 text-foreground/80">
接口请求遇到401状态码时需要重新登录有两种方式
<p>1.转到登录页登录成功后跳转回原页面</p>
<p>

View File

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

View File

@@ -48,7 +48,7 @@ async function createWaterMark() {
<template>
<Page title="水印">
<template #description>
<div class="text-foreground/80 mt-2">
<div class="mt-2 text-foreground/80">
水印使用了
<a
class="text-primary"