You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/calendar/demo/index.vue

51 lines
1.1 KiB

7 years ago
<script>
import Basic from './basic'
import Card from './card'
import NoticeCalendar from './notice-calendar'
import Select from './select'
import CN from '../index.zh-CN.md'
import US from '../index.en-US.md'
const md = {
cn: `# Calendar 日历
按照日历形式展示数据的容器
## 何时使用
当数据是日期或按照日期划分时例如日程课表价格日历等农历等目前支持年/月切换
## 代码演示`,
us: `# Calendar
Container for displaying data in calendar form.
## When To Use
7 years ago
When data is in the form of dates, such as schedules, timetables, prices calendar, lunar calendar. This component also supports Year/Month switch.
## Examples
`,
7 years ago
}
export default {
category: 'Components',
type: 'Data Display',
subtitle: '日历',
cols: 1,
title: 'Calendar',
render () {
return (
<div>
<md cn={md.cn} us={md.us}/>
<Basic />
<Card />
<NoticeCalendar />
<Select />
<api>
<CN slot='cn' />
<US/>
</api>
</div>
)
},
}
</script>