ソースを参照

docs(fixednav、tabs、rate): edit api type

richard1015 3 年 前
コミット
3ac2c754eb

+ 15 - 15
src/packages/__VUE/fixednav/doc.en-US.md

@@ -137,14 +137,14 @@ const navList = reactive([
 ### Props
 | Attribute           | Description                                         | Type    | Default                      |
 |:--------------------|:----------------------------------------------------|:--------|:-----------------------------|
-| visible             | visible is                                          | Boolean | false                        |
-| nav-list            | Suspended list content data                         | Array   | []                           |
-| active-color`3.2.1` | list active button color                            | String  | #fa2c19 Inherit theme color  |
-| active-text         | Stow list button copy                               | String  | Close Nav                    |
-| un-active-text      | Expand list button copy                             | String  | Open Nav                     |
-| type                | Navigation direction, optional value `left` `right` | String  | right                        |
-| overlay             | Whether to display the mask when expanding          | Boolean | true                         |
-| position            | `fixed` Vertical position                           | Object  | {top: 'auto',bottom: 'auto'} |
+| visible             | visible is                                          | boolean | false                        |
+| nav-list            | Suspended list content data                         | array   | []                           |
+| active-color`3.2.1` | list active button color                            | string  | #fa2c19 Inherit theme color  |
+| active-text         | Stow list button copy                               | string  | Close Nav                    |
+| un-active-text      | Expand list button copy                             | string  | Open Nav                     |
+| type                | Navigation direction, optional value `left` `right` | string  | right                        |
+| overlay             | Whether to display the mask when expanding          | boolean | true                         |
+| position            | `fixed` Vertical position                           | object  | {top: 'auto',bottom: 'auto'} |
 
 
 ### Events
@@ -167,12 +167,12 @@ const navList = reactive([
 
 The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
 
-| Name | Default Value | Description |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-fixednav-bg-color| _var(--nut-white)_  | -  |
-| --nut-fixednav-font-color| _var(--nut-black)_  | -  |
-| --nut-fixednav-index| _201_  | -  |
-| --nut-fixednav-btn-bg| _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_  | -  |
-| --nut-fixednav-item-active-color| _var(--nut-primary-color)_  | -  |
+| Name                             | Default Value                                                                             |
+|----------------------------------|-------------------------------------------------------------------------------------------|
+| --nut-fixednav-bg-color          | _var(--nut-white)_                                                                        |
+| --nut-fixednav-font-color        | _var(--nut-black)_                                                                        |
+| --nut-fixednav-index             | _201_                                                                                     |
+| --nut-fixednav-btn-bg            | _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_ |
+| --nut-fixednav-item-active-color | _var(--nut-primary-color)_                                                                |
 
     

+ 15 - 15
src/packages/__VUE/fixednav/doc.md

@@ -138,14 +138,14 @@ const navList = reactive([
 ### Props
 | 字段                | 说明                       | 类型    | 默认值                       |
 |:--------------------|:---------------------------|:--------|:-----------------------------|
-| visible             | 是否打开                   | Boolean | false                        |
-| nav-list            | 悬浮列表内容数据           | Array   | []                           |
-| active-color`3.2.1` | 选中按钮文案颜色           | String  | #fa2c19 默认集成主题色       |
-| active-text         | 收起列表按钮文案           | String  | 收起导航                     |
-| un-active-text      | 展开列表按钮文案           | String  | 快速导航                     |
-| type                | 导航方向,可选值 left right | String  | right                        |
-| overlay             | 展开时是否显示遮罩         | Boolean | true                         |
-| position            | fixed 垂直位置             | Object  | {top: 'auto',bottom: 'auto'} |
+| visible             | 是否打开                   | boolean | false                        |
+| nav-list            | 悬浮列表内容数据           | array   | []                           |
+| active-color`3.2.1` | 选中按钮文案颜色           | string  | #fa2c19 默认集成主题色       |
+| active-text         | 收起列表按钮文案           | string  | 收起导航                     |
+| un-active-text      | 展开列表按钮文案           | string  | 快速导航                     |
+| type                | 导航方向,可选值 left right | string  | right                        |
+| overlay             | 展开时是否显示遮罩         | boolean | true                         |
+| position            | fixed 垂直位置             | object  | {top: 'auto',bottom: 'auto'} |
 
 
 ### Events
@@ -168,12 +168,12 @@ const navList = reactive([
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-fixednav-bg-color| _var(--nut-white)_  | -  |
-| --nut-fixednav-font-color| _var(--nut-black)_  | -  |
-| --nut-fixednav-index| _201_  | -  |
-| --nut-fixednav-btn-bg| _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_  | -  |
-| --nut-fixednav-item-active-color| _var(--nut-primary-color)_  | -  |
+| 名称                             | 默认值                                                                                    |
+|----------------------------------|-------------------------------------------------------------------------------------------|
+| --nut-fixednav-bg-color          | _var(--nut-white)_                                                                        |
+| --nut-fixednav-font-color        | _var(--nut-black)_                                                                        |
+| --nut-fixednav-index             | _201_                                                                                     |
+| --nut-fixednav-btn-bg            | _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_ |
+| --nut-fixednav-item-active-color | _var(--nut-primary-color)_                                                                |
 
     

+ 15 - 15
src/packages/__VUE/fixednav/doc.taro.md

@@ -142,14 +142,14 @@ return {
 ### Props
 | 字段                | 说明                       | 类型    | 默认值                       |
 |:--------------------|:---------------------------|:--------|:-----------------------------|
-| visible             | 是否打开                   | Boolean | false                        |
-| nav-list            | 悬浮列表内容数据           | Array   | []                           |
-| active-color`3.2.1` | 选中按钮文案颜色           | String  | #fa2c19 默认集成主题色       |
-| active-text         | 收起列表按钮文案           | String  | 收起导航                     |
-| un-active-text      | 展开列表按钮文案           | String  | 快速导航                     |
-| type                | 导航方向,可选值 left right | String  | right                        |
-| overlay             | 展开时是否显示遮罩         | Boolean | true                         |
-| position            | fixed 垂直位置             | Object  | {top: 'auto',bottom: 'auto'} |
+| visible             | 是否打开                   | boolean | false                        |
+| nav-list            | 悬浮列表内容数据           | array   | []                           |
+| active-color`3.2.1` | 选中按钮文案颜色           | string  | #fa2c19 默认集成主题色       |
+| active-text         | 收起列表按钮文案           | string  | 收起导航                     |
+| un-active-text      | 展开列表按钮文案           | string  | 快速导航                     |
+| type                | 导航方向,可选值 left right | string  | right                        |
+| overlay             | 展开时是否显示遮罩         | boolean | true                         |
+| position            | fixed 垂直位置             | object  | {top: 'auto',bottom: 'auto'} |
 
 
 ### Events
@@ -173,12 +173,12 @@ return {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-fixednav-bg-color| _var(--nut-white)_  | -  |
-| --nut-fixednav-font-color| _var(--nut-black)_  | -  |
-| --nut-fixednav-index| _201_  | -  |
-| --nut-fixednav-btn-bg| _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_  | -  |
-| --nut-fixednav-item-active-color| _var(--nut-primary-color)_  | -  |
+| 名称                             | 默认值                                                                                    |
+|----------------------------------|-------------------------------------------------------------------------------------------|
+| --nut-fixednav-bg-color          | _var(--nut-white)_                                                                        |
+| --nut-fixednav-font-color        | _var(--nut-black)_                                                                        |
+| --nut-fixednav-index             | _201_                                                                                     |
+| --nut-fixednav-btn-bg            | _linear-gradient(135deg, var(--nut-primary-color) 0%, var(--nut-primary-color-end) 100%)_ |
+| --nut-fixednav-item-active-color | _var(--nut-primary-color)_                                                                |
 
     

+ 15 - 15
src/packages/__VUE/rate/doc.en-US.md

@@ -156,17 +156,17 @@ export default {
 ## API
 ### Props
 
-| Attribute          | Description                                                                      | Type    | Default          |
-|--------------------|----------------------------------------------------------------------------------|---------|------------------|
-| v-model            | The current number of stars, you can use v-model to bind data in both directions | Number  | -                |
-| count              | Total number of stars                                                            | Number  | 5                |
-| active-color       | Icon selection color                                                             | String  | #fa200c          |
-| void-color         | Icon unselected color                                                            | String  | #ccc             |
-| allow-half         | half star                                                                        | Boolean | false            |
-| readonly           | read-only                                                                        | Boolean | false            |
-| disabled           | whether to disable                                                               | Boolean | false            |
-| spacing            | spacing                                                                          | Number  | 20               |
-| touchable | Whether to allow select rate by touch gesture                                    | Boolean | true             |
+| Attribute    | Description                                                                      | Type    | Default |
+|--------------|----------------------------------------------------------------------------------|---------|---------|
+| v-model      | The current number of stars, you can use v-model to bind data in both directions | number  | -       |
+| count        | Total number of stars                                                            | number  | 5       |
+| active-color | Icon selection color                                                             | string  | #fa200c |
+| void-color   | Icon unselected color                                                            | string  | #ccc    |
+| allow-half   | half star                                                                        | boolean | false   |
+| readonly     | read-only                                                                        | boolean | false   |
+| disabled     | whether to disable                                                               | boolean | false   |
+| spacing      | spacing                                                                          | number  | 20      |
+| touchable    | Whether to allow select rate by touch gesture                                    | boolean | true    |
 
 
 ### Events
@@ -180,7 +180,7 @@ export default {
 
 The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
 
-| Name | Default Value | Description |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-rate-icon-color|  _var(--nut-primary-color)_  | -  |
-| --nut-rate-icon-void-color|  _var(--nut-disable-color)_  | -  |
+| Name                       | Default Value              |
+|----------------------------|----------------------------|
+| --nut-rate-icon-color      | _var(--nut-primary-color)_ |
+| --nut-rate-icon-void-color | _var(--nut-disable-color)_ |

+ 15 - 15
src/packages/__VUE/rate/doc.md

@@ -157,17 +157,17 @@ export default {
 ## API
 ### Props
 
-| 字段                               | 说明                                      | 类型    | 默认值           |
-|------------------------------------|-------------------------------------------|---------|------------------|
-| v-model                            | 当前 star 数,可使用 v-model 双向绑定数据 | Number  | -                |
-| count                              | star 总数                                 | Number  | 5                |
-| active-color                       | 图标选中颜色                              | String  | #fa200c          |
-| void-color                         | 图标未选中颜色                            | String  | #ccc             |
-| allow-half                         | 是否半星                                  | Boolean | false            |
-| readonly                           | 是否只读                                  | Boolean | false            |
-| disabled                           | 是否禁用                                  | Boolean | false            |
-| spacing                            | 间距                                      | Number  | 20               |
-| touchable | 是否可以通过滑动手势选择评分              | Boolean | true             |
+| 字段         | 说明                                      | 类型    | 默认值  |
+|--------------|-------------------------------------------|---------|---------|
+| v-model      | 当前 star 数,可使用 v-model 双向绑定数据 | number  | -       |
+| count        | star 总数                                 | number  | 5       |
+| active-color | 图标选中颜色                              | string  | #fa200c |
+| void-color   | 图标未选中颜色                            | string  | #ccc    |
+| allow-half   | 是否半星                                  | boolean | false   |
+| readonly     | 是否只读                                  | boolean | false   |
+| disabled     | 是否禁用                                  | boolean | false   |
+| spacing      | 间距                                      | number  | 20      |
+| touchable    | 是否可以通过滑动手势选择评分              | boolean | true    |
 
 ### Events
 | 字段   | 说明                       | 回调参数 |
@@ -180,7 +180,7 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-rate-icon-color|  _var(--nut-primary-color)_  | -  |
-| --nut-rate-icon-void-color|  _var(--nut-disable-color)_  | -  |
+| 名称                       | 默认值                     |
+|----------------------------|----------------------------|
+| --nut-rate-icon-color      | _var(--nut-primary-color)_ |
+| --nut-rate-icon-void-color | _var(--nut-disable-color)_ |

+ 19 - 19
src/packages/__VUE/rate/doc.taro.md

@@ -194,21 +194,21 @@ export default {
 ## API
 ### Props
 
-| 字段                               | 说明                                      | 类型    | 默认值           |
-|------------------------------------|-------------------------------------------|---------|------------------|
-| v-model                            | 当前 star 数,可使用 v-model 双向绑定数据 | Number  | -                |
-| count                              | star 总数                                 | Number  | 5                |
-| icon-size                          | star 大小                                 | Number  | 18               |
-| active-color                       | 图标选中颜色                              | String  | #fa200c          |
-| void-color                         | 图标未选中颜色                            | String  | #ccc             |
-| unchecked-icon                     | 使用图标(未选中)[图标名称](#/zh-CN/component/icon)        | String  | star-n           |
-| checked-icon                       | 使用图标(选中)[图标名称](#/zh-CN/component/icon)          | String  | star-fill-n      |
-| font-class-name                    | 自定义icon 字体基础类名                   | String  | `nutui-iconfont` |
-| class-prefix                       | 自定义icon 类名前缀,用于使用自定义图标   | String  | `nut-icon`       |
-| allow-half                         | 是否半星                                  | Boolean | false            |
-| readonly                           | 是否只读                                  | Boolean | false            |
-| disabled                           | 是否禁用                                  | Boolean | false            |
-| spacing                            | 间距                                      | Number  | 20               |
+| 字段            | 说明                                               | 类型    | 默认值           |
+|-----------------|----------------------------------------------------|---------|------------------|
+| v-model         | 当前 star 数,可使用 v-model 双向绑定数据          | number  | -                |
+| count           | star 总数                                          | number  | 5                |
+| icon-size       | star 大小                                          | number  | 18               |
+| active-color    | 图标选中颜色                                       | string  | #fa200c          |
+| void-color      | 图标未选中颜色                                     | string  | #ccc             |
+| unchecked-icon  | 使用图标(未选中)[图标名称](#/zh-CN/component/icon) | string  | star-n           |
+| checked-icon    | 使用图标(选中)[图标名称](#/zh-CN/component/icon)   | string  | star-fill-n      |
+| font-class-name | 自定义icon 字体基础类名                            | string  | `nutui-iconfont` |
+| class-prefix    | 自定义icon 类名前缀,用于使用自定义图标            | string  | `nut-icon`       |
+| allow-half      | 是否半星                                           | Boolean | false            |
+| readonly        | 是否只读                                           | Boolean | false            |
+| disabled        | 是否禁用                                           | Boolean | false            |
+| spacing         | 间距                                               | number  | 20               |
 
 ### Events
 | 字段   | 说明                       | 回调参数 |
@@ -221,7 +221,7 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-rate-icon-color|  _var(--nut-primary-color)_  | -  |
-| --nut-rate-icon-void-color|  _var(--nut-disable-color)_  | -  |
+| 名称                       | 默认值                     |
+|----------------------------|----------------------------|
+| --nut-rate-icon-color      | _var(--nut-primary-color)_ |
+| --nut-rate-icon-void-color | _var(--nut-disable-color)_ |

+ 35 - 35
src/packages/__VUE/tabs/doc.en-US.md

@@ -331,21 +331,21 @@ export default {
 
 ### Tabs Props
 
-| Attribute            | Description                                                                                                                        | Type          | Default    |
-|----------------------|------------------------------------------------------------------------------------------------------------------------------------|---------------|------------|
-| v-model              | Index of active tab                                                                                                                | number,string | 0          |
-| color                | Label selection color                                                                                                              | string        | #1a1a1a    |
-| background           | Tab bar background color                                                                                                           | string        | #f5f5f5    |
-| direction            | Use landscape orientation optional value `horizontal`、`vertical`                                                                  | string        | horizontal |
-| type                 | Check the bottom display style optional value `line`、`smile`                                                                      | string        | line       |
-| title-scroll         | Is the tab bar scrollable                                                                                                          | boolean       | false      |
-| ellipsis             | Whether to omit too long title text                                                                                                | boolean       | true       |
-| animated-time        | Switch animation duration, unit ms 0 means no animation                                                                            | number,string | 300        |
-| title-gutter         | Label gap                                                                                                                          | number,string | 0          |
-| size        | Tab bar font size optional value  `large` `normal` `small`                                                                         | string        | normal     |
-| auto-height | Automatic height. When set to `true`, `nut-tabs` and `nut-tabs__content` will change with the height of the current `nut-tab-pane`. | boolean       | false      |
-| sticky | Whether to use sticky mode| boolean       | false      |
-| top | Sticky offset top | number       | 0      |
+| Attribute     | Description                                                                                                                         | Type             | Default    |
+|---------------|-------------------------------------------------------------------------------------------------------------------------------------|------------------|------------|
+| v-model       | Index of active tab                                                                                                                 | number \| string | 0          |
+| color         | Label selection color                                                                                                               | string           | #1a1a1a    |
+| background    | Tab bar background color                                                                                                            | string           | #f5f5f5    |
+| direction     | Use landscape orientation optional value `horizontal`、`vertical`                                                                   | string           | horizontal |
+| type          | Check the bottom display style optional value `line`、`smile`                                                                       | string           | line       |
+| title-scroll  | Is the tab bar scrollable                                                                                                           | boolean          | false      |
+| ellipsis      | Whether to omit too long title text                                                                                                 | boolean          | true       |
+| animated-time | Switch animation duration, unit ms 0 means no animation                                                                             | number \| string | 300        |
+| title-gutter  | Label gap                                                                                                                           | number \| string | 0          |
+| size          | Tab bar font size optional value  `large` `normal` `small`                                                                          | string           | normal     |
+| auto-height   | Automatic height. When set to `true`, `nut-tabs` and `nut-tabs__content` will change with the height of the current `nut-tab-pane`. | boolean          | false      |
+| sticky        | Whether to use sticky mode                                                                                                          | boolean          | false      |
+| top           | Sticky offset top                                                                                                                   | number           | 0          |
 
 ### Tabs Slots
 
@@ -382,24 +382,24 @@ export default {
 
 The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
 
-| Name | Default Value | Description |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-tabs-tab-smile-color| _var(--nut-primary-color)_  |  -  |
-| --nut-tabs-titles-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-large-font-size| _var(--nut-font-size-3)_  |  -  |
-| --nut-tabs-titles-item-font-size| _var(--nut-font-size-2)_  |  -  |
-| --nut-tabs-titles-item-small-font-size| _var(--nut-font-size-1)_  |  -  |
-| --nut-tabs-titles-item-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-item-active-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-background-color| _var(--nut-help-color)_  |  -  |
-| --nut-tabs-horizontal-tab-line-color| _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-horizontal-titles-height| _46px_  |  -  |
-| --nut-tabs-horizontal-titles-item-min-width| _50px_  |  -  |
-| --nut-tabs-horizontal-titles-item-active-line-width| _40px_  |  -  |
-| --nut-tabs-vertical-tab-line-color| _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-vertical-titles-item-height| _40px_  |  -  |
-| --nut-tabs-vertical-titles-item-active-line-height| _14px_  |  -  |
-| --nut-tabs-vertical-titles-width| _100px_  |  -  |
-| --nut-tabs-titles-item-line-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-line-opacity| _1_  |  -  |
+| Name                                                | Default Value                                                                      |
+|-----------------------------------------------------|------------------------------------------------------------------------------------|
+| --nut-tabs-tab-smile-color                          | _var(--nut-primary-color)_                                                         |
+| --nut-tabs-titles-border-radius                     | _0_                                                                                |
+| --nut-tabs-titles-item-large-font-size              | _var(--nut-font-size-3)_                                                           |
+| --nut-tabs-titles-item-font-size                    | _var(--nut-font-size-2)_                                                           |
+| --nut-tabs-titles-item-small-font-size              | _var(--nut-font-size-1)_                                                           |
+| --nut-tabs-titles-item-color                        | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-item-active-color                 | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-background-color                  | _var(--nut-help-color)_                                                            |
+| --nut-tabs-horizontal-tab-line-color                | _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |
+| --nut-tabs-horizontal-titles-height                 | _46px_                                                                             |
+| --nut-tabs-horizontal-titles-item-min-width         | _50px_                                                                             |
+| --nut-tabs-horizontal-titles-item-active-line-width | _40px_                                                                             |
+| --nut-tabs-vertical-tab-line-color                  | _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_ |
+| --nut-tabs-vertical-titles-item-height              | _40px_                                                                             |
+| --nut-tabs-vertical-titles-item-active-line-height  | _14px_                                                                             |
+| --nut-tabs-vertical-titles-width                    | _100px_                                                                            |
+| --nut-tabs-titles-item-line-border-radius           | _0_                                                                                |
+| --nut-tabs-titles-item-line-opacity                 | _1_                                                                                |
 

+ 35 - 35
src/packages/__VUE/tabs/doc.md

@@ -331,21 +331,21 @@ export default {
 
 ### Tabs Props
 
-| 参数                 | 说明                                                                                              | 类型          | 默认值     |
-|----------------------|---------------------------------------------------------------------------------------------------|---------------|------------|
-| v-model              | 绑定当前选中标签的标识符                                                                          | number,string | 0          |
-| color                | 标签选中色                                                                                        | string        | #1a1a1a    |
-| background           | 标签栏背景颜色                                                                                    | string        | #f5f5f5    |
-| direction            | 使用横纵方向 可选值 horizontal、vertical                                                          | string        | horizontal |
-| type                 | 选中底部展示样式 可选值 line、smile                                                               | string        | line       |
-| title-scroll         | 标签栏是否可以滚动                                                                                | boolean       | false      |
-| ellipsis             | 是否省略过长的标题文字                                                                            | boolean       | true       |
-| animated-time        | 切换动画时长,单位 ms 0 代表无动画                                                                 | number,string | 300        |
-| title-gutter         | 标签间隙                                                                                          | number,string | 0          |
-| size       | 标签栏字体尺寸大小 可选值  large normal small                                                     | string        | normal     |
-| auto-height | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs__content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean       | false      |
-| sticky | 是否使用粘性布局 | boolean       | false      |
-| top | 粘性布局下的吸顶距离 | number       | 0      |
+| 参数          | 说明                                                                                               | 类型             | 默认值     |
+|---------------|----------------------------------------------------------------------------------------------------|------------------|------------|
+| v-model       | 绑定当前选中标签的标识符                                                                           | number \| string | 0          |
+| color         | 标签选中色                                                                                         | string           | #1a1a1a    |
+| background    | 标签栏背景颜色                                                                                     | string           | #f5f5f5    |
+| direction     | 使用横纵方向 可选值 horizontal、vertical                                                           | string           | horizontal |
+| type          | 选中底部展示样式 可选值 line、smile                                                                | string           | line       |
+| title-scroll  | 标签栏是否可以滚动                                                                                 | boolean          | false      |
+| ellipsis      | 是否省略过长的标题文字                                                                             | boolean          | true       |
+| animated-time | 切换动画时长,单位 ms 0 代表无动画                                                                  | number \| string | 300        |
+| title-gutter  | 标签间隙                                                                                           | number \| string | 0          |
+| size          | 标签栏字体尺寸大小 可选值  large normal small                                                      | string           | normal     |
+| auto-height   | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs__content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean          | false      |
+| sticky        | 是否使用粘性布局                                                                                   | boolean          | false      |
+| top           | 粘性布局下的吸顶距离                                                                               | number           | 0          |
 
 ### Tabs Slots
 
@@ -382,24 +382,24 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-tabs-tab-smile-color| _var(--nut-primary-color)_  |  -  |
-| --nut-tabs-titles-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-large-font-size| _var(--nut-font-size-3)_  |  -  |
-| --nut-tabs-titles-item-font-size| _var(--nut-font-size-2)_  |  -  |
-| --nut-tabs-titles-item-small-font-size| _var(--nut-font-size-1)_  |  -  |
-| --nut-tabs-titles-item-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-item-active-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-background-color| _var(--nut-help-color)_  |  -  |
-| --nut-tabs-horizontal-tab-line-color| _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-horizontal-titles-height| _46px_  |  -  |
-| --nut-tabs-horizontal-titles-item-min-width| _50px_  |  -  |
-| --nut-tabs-horizontal-titles-item-active-line-width| _40px_  |  -  |
-| --nut-tabs-vertical-tab-line-color| _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-vertical-titles-item-height| _40px_  |  -  |
-| --nut-tabs-vertical-titles-item-active-line-height| _14px_  |  -  |
-| --nut-tabs-vertical-titles-width| _100px_  |  -  |
-| --nut-tabs-titles-item-line-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-line-opacity| _1_  |  -  |
+| 名称                                                | 默认值                                                                             |
+|-----------------------------------------------------|------------------------------------------------------------------------------------|
+| --nut-tabs-tab-smile-color                          | _var(--nut-primary-color)_                                                         |
+| --nut-tabs-titles-border-radius                     | _0_                                                                                |
+| --nut-tabs-titles-item-large-font-size              | _var(--nut-font-size-3)_                                                           |
+| --nut-tabs-titles-item-font-size                    | _var(--nut-font-size-2)_                                                           |
+| --nut-tabs-titles-item-small-font-size              | _var(--nut-font-size-1)_                                                           |
+| --nut-tabs-titles-item-color                        | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-item-active-color                 | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-background-color                  | _var(--nut-help-color)_                                                            |
+| --nut-tabs-horizontal-tab-line-color                | _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |
+| --nut-tabs-horizontal-titles-height                 | _46px_                                                                             |
+| --nut-tabs-horizontal-titles-item-min-width         | _50px_                                                                             |
+| --nut-tabs-horizontal-titles-item-active-line-width | _40px_                                                                             |
+| --nut-tabs-vertical-tab-line-color                  | _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_ |
+| --nut-tabs-vertical-titles-item-height              | _40px_                                                                             |
+| --nut-tabs-vertical-titles-item-active-line-height  | _14px_                                                                             |
+| --nut-tabs-vertical-titles-width                    | _100px_                                                                            |
+| --nut-tabs-titles-item-line-border-radius           | _0_                                                                                |
+| --nut-tabs-titles-item-line-opacity                 | _1_                                                                                |
 

+ 33 - 33
src/packages/__VUE/tabs/doc.taro.md

@@ -331,19 +331,19 @@ export default {
 
 ### Tabs Props
 
-| 参数                 | 说明                                                                                              | 类型          | 默认值     |
-|----------------------|---------------------------------------------------------------------------------------------------|---------------|------------|
-| v-model              | 绑定当前选中标签的标识符                                                                          | number,string | 0          |
-| color                | 标签选中色                                                                                        | string        | #1a1a1a    |
-| background           | 标签栏背景颜色                                                                                    | string        | #f5f5f5    |
-| direction            | 使用横纵方向 可选值 horizontal、vertical                                                          | string        | horizontal |
-| type                 | 选中底部展示样式 可选值 line、smile                                                               | string        | line       |
-| title-scroll         | 标签栏是否可以滚动                                                                                | boolean       | false      |
-| ellipsis             | 是否省略过长的标题文字                                                                            | boolean       | true       |
-| animated-time        | 切换动画时长,单位 ms 0 代表无动画                                                                 | number,string | 300        |
-| title-gutter         | 标签间隙                                                                                          | number,string | 0          |
-| size        | 标签栏字体尺寸大小 可选值  large normal small                                                     | string        | normal     |
-| auto-height | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs__content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean       | false      |
+| 参数          | 说明                                                                                               | 类型             | 默认值     |
+|---------------|----------------------------------------------------------------------------------------------------|------------------|------------|
+| v-model       | 绑定当前选中标签的标识符                                                                           | number \| string | 0          |
+| color         | 标签选中色                                                                                         | string           | #1a1a1a    |
+| background    | 标签栏背景颜色                                                                                     | string           | #f5f5f5    |
+| direction     | 使用横纵方向 可选值 horizontal、vertical                                                           | string           | horizontal |
+| type          | 选中底部展示样式 可选值 line、smile                                                                | string           | line       |
+| title-scroll  | 标签栏是否可以滚动                                                                                 | boolean          | false      |
+| ellipsis      | 是否省略过长的标题文字                                                                             | boolean          | true       |
+| animated-time | 切换动画时长,单位 ms 0 代表无动画                                                                  | number \| string | 300        |
+| title-gutter  | 标签间隙                                                                                           | number \| string | 0          |
+| size          | 标签栏字体尺寸大小 可选值  large normal small                                                      | string           | normal     |
+| auto-height   | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs__content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean          | false      |
 
 ### Tabs Slots
 
@@ -380,24 +380,24 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
 
-| 名称                                    | 默认值                     | 描述 |
-| --------------------------------------- | -------------------------- | ---- |
-| --nut-tabs-tab-smile-color| _var(--nut-primary-color)_  |  -  |
-| --nut-tabs-titles-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-large-font-size| _var(--nut-font-size-3)_  |  -  |
-| --nut-tabs-titles-item-font-size| _var(--nut-font-size-2)_  |  -  |
-| --nut-tabs-titles-item-small-font-size| _var(--nut-font-size-1)_  |  -  |
-| --nut-tabs-titles-item-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-item-active-color| _var(--nut-title-color)_  |  -  |
-| --nut-tabs-titles-background-color| _var(--nut-help-color)_  |  -  |
-| --nut-tabs-horizontal-tab-line-color| _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-horizontal-titles-height| _46px_  |  -  |
-| --nut-tabs-horizontal-titles-item-min-width| _50px_  |  -  |
-| --nut-tabs-horizontal-titles-item-active-line-width| _40px_  |  -  |
-| --nut-tabs-vertical-tab-line-color| _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |  -  |
-| --nut-tabs-vertical-titles-item-height| _40px_  |  -  |
-| --nut-tabs-vertical-titles-item-active-line-height| _14px_  |  -  |
-| --nut-tabs-vertical-titles-width| _100px_  |  -  |
-| --nut-tabs-titles-item-line-border-radius| _0_  |  -  |
-| --nut-tabs-titles-item-line-opacity| _1_  |  -  |
+| 名称                                                | 默认值                                                                             |
+|-----------------------------------------------------|------------------------------------------------------------------------------------|
+| --nut-tabs-tab-smile-color                          | _var(--nut-primary-color)_                                                         |
+| --nut-tabs-titles-border-radius                     | _0_                                                                                |
+| --nut-tabs-titles-item-large-font-size              | _var(--nut-font-size-3)_                                                           |
+| --nut-tabs-titles-item-font-size                    | _var(--nut-font-size-2)_                                                           |
+| --nut-tabs-titles-item-small-font-size              | _var(--nut-font-size-1)_                                                           |
+| --nut-tabs-titles-item-color                        | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-item-active-color                 | _var(--nut-title-color)_                                                           |
+| --nut-tabs-titles-background-color                  | _var(--nut-help-color)_                                                            |
+| --nut-tabs-horizontal-tab-line-color                | _linear-gradient(90deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_  |
+| --nut-tabs-horizontal-titles-height                 | _46px_                                                                             |
+| --nut-tabs-horizontal-titles-item-min-width         | _50px_                                                                             |
+| --nut-tabs-horizontal-titles-item-active-line-width | _40px_                                                                             |
+| --nut-tabs-vertical-tab-line-color                  | _linear-gradient(180deg,var(--nut-primary-color) 0%,var(--nut-active-color) 100%)_ |
+| --nut-tabs-vertical-titles-item-height              | _40px_                                                                             |
+| --nut-tabs-vertical-titles-item-active-line-height  | _14px_                                                                             |
+| --nut-tabs-vertical-titles-width                    | _100px_                                                                            |
+| --nut-tabs-titles-item-line-border-radius           | _0_                                                                                |
+| --nut-tabs-titles-item-line-opacity                 | _1_                                                                                |