diff --git a/devui/rate/index.ts b/devui/rate/index.ts
index 172f6b02301061548f55bf66b798a1bd6c33a19a..1c62125e953cf2f8c4458f6355acc9646d50326b 100644
--- a/devui/rate/index.ts
+++ b/devui/rate/index.ts
@@ -1,16 +1,16 @@
-import type { App } from 'vue'
-import Rate from './src/rate'
+import type { App } from "vue";
+import Rate from "./src/rate";
-Rate.install = function(app: App) {
- app.component(Rate.name, Rate)
-}
+Rate.install = function (app: App) {
+ app.component(Rate.name, Rate);
+};
-export { Rate }
+export { Rate };
export default {
- title: 'Rate 评分',
- category: '数据录入',
- install(app: App): void {
- app.use(Rate as any)
- }
-}
+ title: "Rate 评分",
+ category: "数据录入",
+ install(app: App): void {
+ app.use(Rate as any);
+ },
+};
diff --git a/sites/components/rate/index.md b/sites/components/rate/index.md
new file mode 100644
index 0000000000000000000000000000000000000000..38de55f7e799169d42adfc42e94aa2fb984308b3
--- /dev/null
+++ b/sites/components/rate/index.md
@@ -0,0 +1,112 @@
+# Rate 等级评估
+
+等级评估。
+
+何时使用
+用户对一个产品进行评分时可以使用。
+
+## Demo
+
+
+
+```html
+
+```
+
+
+
+```html
+
+```
+
+
+
+```html
+
+```
+
+
+ 使用type参数
+
+
+
+
+
+
+
+
+
+
+
+
+## 如何使用
+
+### 只读模式
+
+在 module 中引入:
+
+```ts
+import { DRate } from "vue-devui";
+```
+
+在页面中使用:
+
+```html
+
+```
+
+# Rate
+
+## d-rate 参数
+
+| 参数 | 类型 | 默认值 | 描述 |
+| :-------: | :-----------------------------: | :----: | :------------------------------------------------------- |
+| read | `boolean` | false | 可选,设置是否为只读模式,只读模式无法交互 |
+| count | `number` | 5 | 可选,设置总等级数 |
+| type | `'success'\|'warning'\|'error'` | -- | 可选,设置当前评分的类型,不同类型对应不同颜色 |
+| color | `string` | -- | 可选,星星颜色 |
+| icon | `string` | -- | 可选,评分图标的样式,只支持 devUI 图标库中所有图标 |
+| character | `string` | -- | 可选,评分图标的样式,icon 与 character 只能设置其中一个 |
+
+