From 00a96d6881dd10ae7d3c4f5437bfceaabe677723 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 14 十一月 2024 10:55:29 +0800 Subject: [PATCH] bug修复 --- miniprogram_npm/tdesign-miniprogram/popup/README.en-US.md | 29 ++++++++++++++++++++++++----- 1 files changed, 24 insertions(+), 5 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/popup/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/popup/README.en-US.md index 3aa395d..dc58ce2 100644 --- a/miniprogram_npm/tdesign-miniprogram/popup/README.en-US.md +++ b/miniprogram_npm/tdesign-miniprogram/popup/README.en-US.md @@ -1,19 +1,23 @@ :: BASE_DOC :: ## API + ### Popup Props name | type | default | description | required -- | -- | -- | -- | -- -close-btn | Boolean / Slot | - | \- | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets)锛寀sed to set style on virtual component | N +close-btn | Boolean / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N close-on-overlay-click | Boolean | true | \- | N -content | String / Slot | - | \- | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +default-visible | Boolean | - | Typescript锛歚boolean` | N duration | Number | 240 | \- | N -external-classes | Array | - | `['t-class', 't-class-overlay', 't-class-content']` | N -overlay-props | Object | {} | \- | N -placement | String | top | options锛歵op/left/right/bottom/center | N +overlay-props | Object | {} | Typescript锛歚OverlayProps`锛孾Overlay API Documents](./overlay?tab=api)銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/popup/type.ts) | N +placement | String | top | options: top/left/right/bottom/center | N prevent-scroll-through | Boolean | true | \- | N show-overlay | Boolean | true | \- | N +using-custom-navbar | Boolean | false | \- | N visible | Boolean | false | Typescript锛歚boolean` | N default-visible | Boolean | undefined | uncontrolled property銆俆ypescript锛歚boolean` | N z-index | Number | 11500 | \- | N @@ -23,3 +27,18 @@ name | params | description -- | -- | -- visible-change | `(visible: boolean, trigger: PopupSource) ` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/popup/type.ts)銆�<br/>`type PopupSource = 'close-btn' \| 'overlay'`<br/> +### Popup External Classes + +className | Description +-- | -- +t-class | \- +t-class-content | \- + +### CSS Variables + +The component provides the following CSS variables, which can be used to customize styles. +Name | Default Value | Description +-- | -- | -- +--td-popup-bg-color | @bg-color-container | - +--td-popup-border-radius | @radius-default | - +--td-popup-close-btn-color | @text-color-primary | - -- Gitblit v1.9.3