24 changed files with 188 additions and 75 deletions
@ -0,0 +1,23 @@ |
|||
<script lang="ts" setup> |
|||
import { useRouter } from 'vue-router'; |
|||
|
|||
import { Fallback } from '@vben/common-ui'; |
|||
|
|||
import { Button } from 'ant-design-vue'; |
|||
|
|||
defineOptions({ name: 'BreadcrumbLateralDetail' }); |
|||
|
|||
const router = useRouter(); |
|||
</script> |
|||
|
|||
<template> |
|||
<Fallback |
|||
description="面包屑导航-平级模式-详情页" |
|||
status="coming-soon" |
|||
title="注意观察面包屑导航变化" |
|||
> |
|||
<template #action> |
|||
<Button @click="router.go(-1)">返回</Button> |
|||
</template> |
|||
</Fallback> |
|||
</template> |
|||
@ -0,0 +1,27 @@ |
|||
<script lang="ts" setup> |
|||
import { useRouter } from 'vue-router'; |
|||
|
|||
import { Fallback } from '@vben/common-ui'; |
|||
|
|||
import { Button } from 'ant-design-vue'; |
|||
|
|||
defineOptions({ name: 'BreadcrumbLateral' }); |
|||
|
|||
const router = useRouter(); |
|||
|
|||
function details() { |
|||
router.push({ name: 'BreadcrumbLateralDetail' }); |
|||
} |
|||
</script> |
|||
|
|||
<template> |
|||
<Fallback |
|||
description="点击查看详情,并观察面包屑导航变化" |
|||
status="coming-soon" |
|||
title="面包屑导航-平级模式" |
|||
> |
|||
<template #action> |
|||
<Button type="primary" @click="details">点击查看详情</Button> |
|||
</template> |
|||
</Fallback> |
|||
</template> |
|||
@ -0,0 +1,13 @@ |
|||
<script lang="ts" setup> |
|||
import { Fallback } from '@vben/common-ui'; |
|||
|
|||
defineOptions({ name: 'BreadcrumbLevelDetail' }); |
|||
</script> |
|||
|
|||
<template> |
|||
<Fallback |
|||
description="面包屑导航-层级模式-详情页" |
|||
status="coming-soon" |
|||
title="注意观察面包屑导航变化" |
|||
/> |
|||
</template> |
|||
Loading…
Reference in new issue