feat(card-list): 添加字段列数配置支持多列布局
- 新增 fieldColumns 配置项控制卡片内字段排列列数 - 支持通过 colSpan 设置字段跨列显示 - 优化卡片内容布局样式和字段显示效果 - 调整对账模块相关页面布局
This commit is contained in:
14
apps/finance/src/views/test.vue
Normal file
14
apps/finance/src/views/test.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { TabPane, Tabs } from 'ant-design-vue';
|
||||
|
||||
const activeKey = ref(1);
|
||||
</script>
|
||||
<template>
|
||||
<div>
|
||||
<Tabs v-model:active-key="activeKey" :style="{ height: '200px' }">
|
||||
<TabPane v-for="i in 30" :key="i" :tab="`Tab-${i}`">Content of tab {{ i }}</TabPane>
|
||||
</Tabs>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user