跳到正文Skip to content

面板Panel PanelBlock

带标题栏的内容面板Content panel with a title bar

布局Layout Vue 组件Vue component

样式预览Preview

回调地址

授权码将发送到下列地址(仅 https)

https://your-app.com/oauth/callback

PropsProps3

名称Name类型Type必填Required默认值Default说明Notes
title string 否no —
subtitle string 否no —
tight boolean 否no —

SlotsSlots2

actions foot

Class 契约Class contract

照抄以下类名,不要自造——它们是本设计系统的唯一命名空间(anx- 前缀)。Copy these class names as-is — they are the system’s only namespace (anx- prefix).

anx-panel anx-panel__body anx-panel__body--tight anx-panel__foot anx-panel__head anx-panel__head-actions

源码Source

vue/ui/PanelBlock.vue 在 GitHub 上查看View on GitHub ↗