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.
66 lines
1.1 KiB
66 lines
1.1 KiB
<script>
|
|
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
|
|
`,
|
|
};
|
|
export default {
|
|
category: 'Components',
|
|
subtitle: '评分',
|
|
type: 'Data Entry',
|
|
cols: 1,
|
|
title: 'Rate',
|
|
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>
|
|
);
|
|
},
|
|
};
|
|
</script>
|