ant-design-vue/components/rate/demo/index.vue

66 lines
1.1 KiB
Vue
Raw Normal View History

2017-11-03 09:10:38 +00:00
<script>
2019-01-12 03:33:27 +00:00
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';
2018-03-21 07:45:01 +00:00
const md = {
cn: `# Rate
评分组件
## 何时使用
- 对评价进行展示
- 对事物进行快速的评级操作
## 代码演示`,
us: `# Rate
Rate component.
# When To Use
- Show evaluation.
- A quick rating operation on something.
## Examples
`,
2019-01-12 03:33:27 +00:00
};
2017-11-03 09:10:38 +00:00
export default {
2018-03-20 13:48:01 +00:00
category: 'Components',
subtitle: '评分',
type: 'Data Entry',
2018-03-21 07:45:01 +00:00
cols: 1,
2018-03-20 13:48:01 +00:00
title: 'Rate',
2018-03-21 07:45:01 +00:00
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>
2019-01-12 03:33:27 +00:00
);
2017-11-03 09:10:38 +00:00
},
2019-01-12 03:33:27 +00:00
};
2017-11-03 09:10:38 +00:00
</script>