From b4033c002e21c1376d68be61622da56182a962e9 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 14 八月 2024 15:19:52 +0800 Subject: [PATCH] 修复设备信息表单生产失败 --- miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.en-US.md | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.en-US.md index eb73f94..8faa079 100644 --- a/miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.en-US.md +++ b/miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.en-US.md @@ -5,11 +5,19 @@ name | type | default | description | required -- | -- | -- | -- | -- +arrow-icon | String / Object | 'caret-down-small' | \- | N close-on-click-overlay | Boolean | true | \- | N duration | String / Number | 200 | \- | N external-classes | Array | - | `['t-class', 't-class-item', 't-class-label', 't-class-icon']` | N show-overlay | Boolean | true | \- | N z-index | Number | 11600 | \- | N + +### DropdownMenu Events + +name | params | description +-- | -- | -- +open | \- | \- +close | \- | \- ### DropdownItem Props @@ -33,3 +41,24 @@ change | `(value: DropdownValue)` | \- confirm | `(value: DropdownValue)` | \- reset | \- | \- +close | \- | \- + + +### CSS Variables +The component provides the following CSS variables, which can be used to customize styles. +Name | Default Value | Description +-- | -- | -- +--td-dropdown-menu-active-colorm | @brand-color | - +--td-dropdown-menu-bg-colorm | @bg-color-container | - +--td-dropdown-menu-border-width | 1px | - +--td-dropdown-menu-colorm | @font-gray-1 | - +--td-dropdown-menu-disabled-colorm | @font-gray-4 | - +--td-dropdown-menu-font-sizem | 28rpx | - +--td-dropdown-menu-icon-sizem | 48rpx | - +--td-dropdown-body-max-height | 560rpx | - +--td-dropdown-menu-bg-color | @bg-color-container | - +--td-tree-bg-color | @bg-color-container | - +--td-tree-item-active-color | @brand-color | - +--td-tree-item-font-size | 32rpx | - +--td-tree-item-height | 96rpx | - +--td-tree-root-bg-color | @bg-color-secondarycontainer | - -- Gitblit v1.9.3