From ec7f5ba1f7eb84507e1c8e7b6f66b1ecfbc22728 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 17 四月 2025 17:31:25 +0800 Subject: [PATCH] 线上监管 --- miniprogram_npm/tdesign-miniprogram/progress/README.en-US.md | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/progress/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/progress/README.en-US.md index c4b14b8..5f228cc 100644 --- a/miniprogram_npm/tdesign-miniprogram/progress/README.en-US.md +++ b/miniprogram_npm/tdesign-miniprogram/progress/README.en-US.md @@ -1,15 +1,39 @@ :: BASE_DOC :: ## API + ### Progress Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets)锛寀sed to set style on virtual component | N color | String / Object / Array | '' | Typescript锛歚string \| Array<string> \| Record<string, string>` | N -external-classes `v0.25.0` | Array | - | `['t-class', 't-class-bar', 't-class-label']` | N -label | String / Boolean / Slot | true | \- | N +label | String / Boolean / Slot | true | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N percentage | Number | 0 | \- | N -status | String | - | options锛歴uccess/error/warning/active銆俆ypescript锛歚StatusEnum` `type StatusEnum = 'success' \| 'error' \| 'warning' \| 'active'`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/progress/type.ts) | N +status | String | - | options: success/error/warning/active銆俆ypescript锛歚StatusEnum` `type StatusEnum = 'success' \| 'error' \| 'warning' \| 'active'`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/progress/type.ts) | N stroke-width | String / Number | - | \- | N -theme | String | line | options锛歭ine/plump/circle銆俆ypescript锛歚ThemeEnum` `type ThemeEnum = 'line' \| 'plump' \| 'circle'`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/progress/type.ts) | N +theme | String | line | options: line/plump/circle銆俆ypescript锛歚ThemeEnum` `type ThemeEnum = 'line' \| 'plump' \| 'circle'`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/progress/type.ts) | N track-color | String | '' | \- | N +### Progress External Classes + +className | Description +-- | -- +t-class | \- +t-class-bar | \- +t-class-label | \- + +### CSS Variables + +The component provides the following CSS variables, which can be used to customize styles. +Name | Default Value | Description +-- | -- | -- +--td-progress-circle-inner-bg-color | @font-white-1 | - +--td-progress-circle-width | 224rpx | - +--td-progress-circle-from | 0deg | - +--td-progress-inner-bg-color | @brand-color | - +--td-progress-line-stroke-width | 12rpx | - +--td-progress-stroke-circle-width | 12rpx | - +--td-progress-stroke-plump-width | 40rpx | - +--td-progress-track-bg-color | @bg-color-component | - + -- Gitblit v1.9.3