From 77f91e45f0777c818c4d62e8c7353c230035fc43 Mon Sep 17 00:00:00 2001 From: ming680 <827668037@qq.com> Date: Wed, 25 Sep 2024 11:57:22 +0800 Subject: [PATCH] rate api --- docs/mobile/api/rate.en-US.md | 45 +++++++++++++++++++++++++++++++++++ docs/mobile/api/rate.md | 34 +++++++++++++++----------- 2 files changed, 65 insertions(+), 14 deletions(-) create mode 100644 docs/mobile/api/rate.en-US.md diff --git a/docs/mobile/api/rate.en-US.md b/docs/mobile/api/rate.en-US.md new file mode 100644 index 0000000000..829387a218 --- /dev/null +++ b/docs/mobile/api/rate.en-US.md @@ -0,0 +1,45 @@ +--- +title: Rate +description: Used to rate an action/thing. +spline: base +isComponent: true +toc: false +--- + +### Component Type + +Solid Rate + +{{ base }} + +Custom Rate + +{{ custom }} + +Customize the number of rate + +{{ count }} + +Descriptive rate + +{{ show-text }} + +### Component Status + +{{ action }} + +### Component Style + +rate size + +{{ size }} + +Set rate color + +{{ color }} + +### Special Style + +Vertical tape description rate + +{{ special }} diff --git a/docs/mobile/api/rate.md b/docs/mobile/api/rate.md index 99cd2481e0..e292acab67 100644 --- a/docs/mobile/api/rate.md +++ b/docs/mobile/api/rate.md @@ -6,34 +6,40 @@ isComponent: true toc: false --- -### 实心评分 +### 组件类型 -{{ filled }} +实心评分 -### 空心评分 +{{ base }} -{{ outline }} +自定义评分 -### 自定义数量评分 +{{ custom }} + +自定义评分数量 {{ count }} -### 半星评分 +带描述评分 + +{{ show-text }} -{{ allow-half }} +### 组件状态 -### 带描述评分 +{{ action }} -{{ text }} +### 组件样式 -### 禁用评分 +评分大小 -{{ disabled }} +{{ size }} -### 设置评分颜色 +设置评分颜色 {{ color }} -### 评价规格 +### 特殊样式 -{{ size }} +竖向带描述评分 + +{{ special }}