From 5036880fc037e5d112206b93a729f60be12bf8ab Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 07 十一月 2024 17:03:13 +0800 Subject: [PATCH] 2024.11.07 bug修复 --- miniprogram_npm/tdesign-miniprogram/tabs/README.en-US.md | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/tabs/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/tabs/README.en-US.md index e57ca0e..4251321 100644 --- a/miniprogram_npm/tdesign-miniprogram/tabs/README.en-US.md +++ b/miniprogram_npm/tdesign-miniprogram/tabs/README.en-US.md @@ -7,9 +7,10 @@ -- | -- | -- | -- | -- animation | Object | - | Typescript锛歚TabAnimation` `type TabAnimation = { duration: number } & Record<string, any>`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/tabs/type.ts) | N external-classes | Array | - | `['t-class', 't-class-item', 't-class-active', 't-class-track']` | N -middle | Slot | - | \- | N +middle | Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N show-bottom-line | Boolean | true | \- | N space-evenly | Boolean | true | \- | N +split | Boolean | true | `1.1.10` | N sticky | Boolean | false | \- | N sticky-props | Object | - | Typescript锛歚StickyProps`锛孾Sticky API Documents](./sticky?tab=api)銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/tabs/type.ts) | N swipeable | Boolean | true | \- | N @@ -34,5 +35,29 @@ disabled | Boolean | false | \- | N icon | String / Object | - | `1.0.0-rc.1` | N label | String | - | \- | N -panel | String / Slot | - | \- | N +panel | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N value | String / Number | - | Typescript锛歚TabValue`锛孾Tabs API Documents](./tabs?tab=api)銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/tab-panel/type.ts) | N + + + +### CSS Variables +The component provides the following CSS variables, which can be used to customize styles. +Name | Default Value | Description +-- | -- | -- +--td-tab-border-color | @component-stroke | - +--td-tab-font-size | 28rpx | - +--td-tab-icon-size | 36rpx | - +--td-tab-item-active-color | @brand-color | - +--td-tab-item-color | @font-gray-1 | - +--td-tab-item-disabled-color | @font-gray-4 | - +--td-tab-item-height | 96rpx | - +--td-tab-item-tag-active-bg | @brand-color-light | - +--td-tab-item-tag-bg | @bg-color-secondarycontainer | - +--td-tab-item-tag-height | 64rpx | - +--td-tab-item-vertical-height | 108rpx | - +--td-tab-item-vertical-width | 208rpx | - +--td-tab-nav-bg-color | @bg-color-container | - +--td-tab-track-color | @brand-color | - +--td-tab-track-radius | 8rpx | - +--td-tab-track-thickness | 6rpx | - +--td-tab-track-width | 32rpx | - -- Gitblit v1.9.3