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/rate/demo/index.vue

66 lines
1.1 KiB

7 years ago
<script>
7 years ago
import Basic from './basic.md'
import Half from './half.md'
import Text from './text.md'
import Disabled from './disabled.md'
import Clear from './clear.md'
import Character from './character.md'
import CN from '../index.zh-CN.md'
import US from '../index.en-US.md'
const md = {
cn: `# Rate
评分组件
## 何时使用
- 对评价进行展示
- 对事物进行快速的评级操作
## 代码演示`,
us: `# Rate
Rate component.
# When To Use
- Show evaluation.
- A quick rating operation on something.
## Examples
`,
}
7 years ago
export default {
7 years ago
category: 'Components',
subtitle: '评分',
type: 'Data Entry',
7 years ago
cols: 1,
7 years ago
title: 'Rate',
7 years ago
render () {
return (
<div>
<md cn={md.cn} us={md.us}/>
<br/>
<Basic/>
<br/>
<Half/>
<br/>
<Text/>
<br/>
<Disabled/>
<br/>
<Clear/>
<br/>
<Character/>
<br/>
<api>
<template slot='cn'>
<CN/>
</template>
<US/>
</api>
</div>
)
7 years ago
},
}
</script>