mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 12:37:42 +08:00
9be58078d2
* feat(demo): A-B * feat(demo): update B-checkbox * feat(demo): update CheckBox -DatePicker * feat(demo): update DatePicker - Form * feat(demo): update Form - List * feat(demo): update List-pagination * feat(demo): update List - skeleton * feat(demo): update skeleton - switch * feat(demo): update skeleton - switch * feat(demo): update switch - upload * feat(demo): update watermark * fix(demo): del hashId
30 lines
619 B
Vue
30 lines
619 B
Vue
<docs>
|
||
---
|
||
order: 7
|
||
title:
|
||
zh-CN: 卡片式页签
|
||
en-US: Card type tab
|
||
---
|
||
|
||
## zh-CN
|
||
|
||
另一种样式的页签,不提供对应的垂直样式。
|
||
|
||
## en-US
|
||
|
||
Another type Tabs, which doesn't support vertical mode.
|
||
|
||
</docs>
|
||
|
||
<template>
|
||
<a-tabs v-model:activeKey="activeKey" type="card">
|
||
<a-tab-pane key="1" tab="Tab 1">Content of Tab Pane 1</a-tab-pane>
|
||
<a-tab-pane key="2" tab="Tab 2">Content of Tab Pane 2</a-tab-pane>
|
||
<a-tab-pane key="3" tab="Tab 3">Content of Tab Pane 3</a-tab-pane>
|
||
</a-tabs>
|
||
</template>
|
||
<script lang="ts" setup>
|
||
import { ref } from 'vue';
|
||
const activeKey = ref('1');
|
||
</script>
|