代码调整

This commit is contained in:
Hooray
2025-04-30 15:20:59 +08:00
parent 824c64ae94
commit 8156aa1ff5
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ function open(url: string) {
<template>
<div>
<FaPageHeader title="基础组件">
<template #content>
<template #description>
<div class="space-y-2">
<p>框架内置 Element Plus 组件库,本页仅展示部分组件,更多组件及使用说明请查看 Element Plus 官网</p>
<FaButton variant="link" class="h-auto p-0" @click="eventBus.emit('global-ui-component-switch')">
+9 -6
View File
@@ -201,12 +201,15 @@ function open(url: string) {
<template>
<div>
<Alert />
<FaPageHeader title="过渡动画" description="结合 <transition> 组件使用">
<template #content>
<p>
安装命令:
<Command text="pnpm add animate.css" />
</p>
<FaPageHeader title="过渡动画">
<template #description>
<div class="space-y-2">
<p>结合 &lt;Transition&gt; 组件使用</p>
<p>
安装命令:
<Command text="pnpm add animate.css" />
</p>
</div>
</template>
<FaButton variant="outline" @click="open('https://github.com/animate-css/animate.css')">
<FaIcon name="i-ep:link" />