Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化价格文档描述和demo #1996

Merged
merged 24 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/packages/__VUE/addresslist/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ export default {
| Attribute | Description | Type | Default |
| ------------------ | ---------------- | ------- | ------ |
| data | Address array | Array | - |
| long-press | Long Press Function | Boolean | false |
| swipe-edition | Swipe right | Boolean | false |
| show-bottom-button | Whether to show the bottom button | Boolean | true |
| long-press | Long Press Function | boolean | false |
| swipe-edition | Swipe right | boolean | false |
| show-bottom-button | Whether to show the bottom button | boolean | true |

### Events

Expand Down Expand Up @@ -303,16 +303,16 @@ const dataMapOptions = {

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-addresslist-bg | _#fff_ |- |
| --nut-addresslist-border | _#f0f0f0_ |- |
| --nut-addresslist-font-color | _#333333_ |- |
| --nut-addresslist-font-size | _16px_ |- |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |- |
| --nut-addresslist-addr-font-color | _#666666_ |- |
| --nut-addresslist-addr-font-size | _12px_ |- |
| --nut-addresslist-set-bg | _#f5a623_ |- |
| --nut-addresslist-del-bg | _#e1251b_ |- |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |- |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |- |
| Name | Default Value |
| --------------------------------------- | -------------------------- |
| --nut-addresslist-bg | _#fff_ |
| --nut-addresslist-border | _#f0f0f0_ |
| --nut-addresslist-font-color | _#333333_ |
| --nut-addresslist-font-size | _16px_ |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |
| --nut-addresslist-addr-font-color | _#666666_ |
| --nut-addresslist-addr-font-size | _12px_ |
| --nut-addresslist-set-bg | _#f5a623_ |
| --nut-addresslist-del-bg | _#e1251b_ |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |
32 changes: 16 additions & 16 deletions src/packages/__VUE/addresslist/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| ------------------ | ---------------- | ------- | ------ |
| data | 地址数组 | Array | - |
| long-press | 长按功能 | Boolean | false |
| swipe-edition | 右滑功能 | Boolean | false |
| show-bottom-button | 是否展示底部按钮 | Boolean | true |
| long-press | 长按功能 | boolean | false |
| swipe-edition | 右滑功能 | boolean | false |
| show-bottom-button | 是否展示底部按钮 | boolean | true |

### Events

Expand Down Expand Up @@ -307,16 +307,16 @@ const dataMapOptions = {

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。

| 名称 | 默认值 | 描述 |
| --------------------------------------- | -------------------------- | ---- |
| --nut-addresslist-bg | _#fff_ |- |
| --nut-addresslist-border | _#f0f0f0_ |- |
| --nut-addresslist-font-color | _#333333_ |- |
| --nut-addresslist-font-size | _16px_ |- |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |- |
| --nut-addresslist-addr-font-color | _#666666_ |- |
| --nut-addresslist-addr-font-size | _12px_ |- |
| --nut-addresslist-set-bg | _#f5a623_ |- |
| --nut-addresslist-del-bg | _#e1251b_ |- |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |- |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |- |
| 名称 | 默认值 |
| --------------------------------------- | -------------------------- |
| --nut-addresslist-bg | _#fff_ |
| --nut-addresslist-border | _#f0f0f0_ |
| --nut-addresslist-font-color | _#333333_ |
| --nut-addresslist-font-size | _16px_ |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |
| --nut-addresslist-addr-font-color | _#666666_ |
| --nut-addresslist-addr-font-size | _12px_ |
| --nut-addresslist-set-bg | _#f5a623_ |
| --nut-addresslist-del-bg | _#e1251b_ |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |
32 changes: 16 additions & 16 deletions src/packages/__VUE/addresslist/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| ------------------ | ---------------- | ------- | ------ |
| data | 地址数组 | Array | - |
| long-press | 长按功能 | Boolean | false |
| swipe-edition | 右滑功能 | Boolean | false |
| show-bottom-button | 是否展示底部按钮 | Boolean | true |
| long-press | 长按功能 | boolean | false |
| swipe-edition | 右滑功能 | boolean | false |
| show-bottom-button | 是否展示底部按钮 | boolean | true |

### Events

Expand Down Expand Up @@ -300,17 +300,17 @@ const dataMapOptions = {

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。

| 名称 | 默认值 | 描述 |
| --------------------------------------- | -------------------------- | ---- |
| --nut-addresslist-bg | _#fff_ |- |
| --nut-addresslist-border | _#f0f0f0_ |- |
| --nut-addresslist-font-color | _#333333_ |- |
| --nut-addresslist-font-size | _16px_ |- |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |- |
| --nut-addresslist-addr-font-color | _#666666_ |- |
| --nut-addresslist-addr-font-size | _12px_ |- |
| --nut-addresslist-set-bg | _#f5a623_ |- |
| --nut-addresslist-del-bg | _#e1251b_ |- |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |- |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |- |
| 名称 | 默认值 |
| --------------------------------------- | -------------------------- |
| --nut-addresslist-bg | _#fff_ |
| --nut-addresslist-border | _#f0f0f0_ |
| --nut-addresslist-font-color | _#333333_ |
| --nut-addresslist-font-size | _16px_ |
| --nut-addresslist-mask-bg | _rgba(0, 0, 0, 0.4)_ |
| --nut-addresslist-addr-font-color | _#666666_ |
| --nut-addresslist-addr-font-size | _12px_ |
| --nut-addresslist-set-bg | _#f5a623_ |
| --nut-addresslist-del-bg | _#e1251b_ |
| --nut-addresslist-contnts-contact-default | _var(--nut-primary-color)_ |
| --nut-addresslist-contnts-contact-color | _var(--nut-white)_ |

44 changes: 22 additions & 22 deletions src/packages/__VUE/avatar/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,23 +224,23 @@ Icon and letter types can have custom colors and background colors

| Attribute | Description | Type | Default |
| -------- | ------------------------------------------------------------------- | ------ | ------ |
| size | The size of the avatar,eg `large`、`normal`、`small`,and numbers | StringNumber | normal |
| shape | shape of avatar,eg `square`、`round ` | String | round |
| color | color of text | String | #666 |
| bg-color | background color | String | #eee |
| size | The size of the avatar,eg `large`、`normal`、`small`,and numbers | stringnumber | normal |
| shape | shape of avatar,eg `square`、`round ` | string | round |
| color | color of text | string | #666 |
| bg-color | background color | string | #eee |

### AvatarGroup Props

| Attribute | Description | Type | Default |
| -------- | ---------------------------------------------------------------- | ------ | ------ |
| max-count | Max avatars to show | StringNumber | - |
| max-content | When the number of avatars exceeds, a avatar folding element will appear,The content of this element can be `...`、`more`、`+N` | String | +N |
| size | The size of the avatar,eg `large`、`normal`、`small`,支持直接输入数字 | StringNumber | normal |
| shape | The shape of avatar,eg `square`、`round` | String | round |
| max-color | color of text | String | #666 |
| max-bg-color | background color | String | #eee |
| span | Distance between avatars | String | -8 |
| zIndex | Hierarchy direction between avatar group,eg `left`、`right` | String | left |
| max-count | Max avatars to show | stringnumber | - |
| max-content | When the number of avatars exceeds, a avatar folding element will appear,The content of this element can be `...`、`more`、`+N` | string | +N |
| size | The size of the avatar,eg `large`、`normal`、`small`,支持直接输入数字 | stringnumber | normal |
| shape | The shape of avatar,eg `square`、`round` | string | round |
| max-color | color of text | string | #666 |
| max-bg-color | background color | string | #eee |
| span | Distance between avatars | string | -8 |
| zIndex | Hierarchy direction between avatar group,eg `left`、`right` | string | left |

### Avatar Slots

Expand All @@ -254,13 +254,13 @@ Icon and letter types can have custom colors and background colors

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-actionsheet-light-color | _#f6f6f6_ | - |
| --nut-avatar-square | _5px_ |- |
| --nut-avatar-large-width | _60px_ |- |
| --nut-avatar-large-height | _60px_ |- |
| --nut-avatar-small-width | _32px_ |- |
| --nut-avatar-small-height | _32px_ |- |
| --nut-avatar-normal-width | _40px_ |- |
| --nut-avatar-normal-height | _40px_ |- |
| Name | Default Value |
| --------------------------------------- | -------------------------- |
| --nut-actionsheet-light-color | _#f6f6f6_ |
| --nut-avatar-square | _5px_ |
| --nut-avatar-large-width | _60px_ |
| --nut-avatar-large-height | _60px_ |
| --nut-avatar-small-width | _32px_ |
| --nut-avatar-small-height | _32px_ |
| --nut-avatar-normal-width | _40px_ |
| --nut-avatar-normal-height | _40px_ |
44 changes: 22 additions & 22 deletions src/packages/__VUE/avatar/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,23 +224,23 @@ Icon 和字符型可以自定义颜色及背景色

| 字段 | 说明 | 类型 | 默认值 |
| -------- | --------------------------------------------------------- | ------ | ------ |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持输入数字 | StringNumber | normal |
| shape | 头像的形状,可选值为:`square`、`round ` | String | round |
| color | 字体颜色 | String | #666 |
| bg-color | 背景色 | String | #eee |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持输入数字 | stringnumber | normal |
| shape | 头像的形状,可选值为:`square`、`round ` | string | round |
| color | 字体颜色 | string | #666 |
| bg-color | 背景色 | string | #eee |

### AvatarGroup Props

| 字段 | 说明 | 类型 | 默认值 |
| -------- | ---------------------------------------------------------------- | ------ | ------ |
| max-count | 显示的最大头像个数 | StringNumber | - |
| max-content | 头像数量超出时,会出现一个头像折叠元素,该元素内容可为`...`、`more`、`+N` | String | +N |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持直接输入数字 | StringNumber | normal |
| shape | 头像的形状,可选值为:`square`、`round` | String | round |
| max-color | 头像折叠元素的字体颜色 | String | #666 |
| max-bg-color | 头像折叠元素的背景色 | String | #eee |
| span | 头像之间的间距 | String | -8 |
| zIndex | 组合头像之间的层级方向,可选值为:`left`、`right` | String | left |
| max-count | 显示的最大头像个数 | stringnumber | - |
| max-content | 头像数量超出时,会出现一个头像折叠元素,该元素内容可为`...`、`more`、`+N` | string | +N |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持直接输入数字 | stringnumber | normal |
| shape | 头像的形状,可选值为:`square`、`round` | string | round |
| max-color | 头像折叠元素的字体颜色 | string | #666 |
| max-bg-color | 头像折叠元素的背景色 | string | #eee |
| span | 头像之间的间距 | string | -8 |
| zIndex | 组合头像之间的层级方向,可选值为:`left`、`right` | string | left |
### Avatar Slots

|名称|描述|
Expand All @@ -253,13 +253,13 @@ Icon 和字符型可以自定义颜色及背景色

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件]()。

| 名称 | 默认值 | 描述 |
| --------------------------------------- | -------------------------- | ---- |
| --nut-actionsheet-light-color | _#f6f6f6_ | - |
| --nut-avatar-square | _5px_ |- |
| --nut-avatar-large-width | _60px_ |- |
| --nut-avatar-large-height | _60px_ |- |
| --nut-avatar-small-width | _32px_ |- |
| --nut-avatar-small-height | _32px_ |- |
| --nut-avatar-normal-width | _40px_ |- |
| --nut-avatar-normal-height | _40px_ |- |
| 名称 | 默认值 |
| --------------------------------------- | -------------------------- |
| --nut-actionsheet-light-color | _#f6f6f6_ |
| --nut-avatar-square | _5px_ |
| --nut-avatar-large-width | _60px_ |
| --nut-avatar-large-height | _60px_ |
| --nut-avatar-small-width | _32px_ |
| --nut-avatar-small-height | _32px_ |
| --nut-avatar-normal-width | _40px_ |
| --nut-avatar-normal-height | _40px_ |
44 changes: 22 additions & 22 deletions src/packages/__VUE/avatar/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,23 +224,23 @@ Icon 和字符型可以自定义颜色及背景色

| 字段 | 说明 | 类型 | 默认值 |
| -------- | --------------------------------------------------------- | ------ | ------ |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持输入数字 | StringNumber | normal |
| shape | 头像的形状,可选值为:`square`、`round ` | String | round |
| color | 字体颜色 | String | #666 |
| bg-color | 背景色 | String | #eee |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持输入数字 | stringnumber | normal |
| shape | 头像的形状,可选值为:`square`、`round ` | string | round |
| color | 字体颜色 | string | #666 |
| bg-color | 背景色 | string | #eee |

### AvatarGroup Props

| 字段 | 说明 | 类型 | 默认值 |
| -------- | ---------------------------------------------------------------- | ------ | ------ |
| max-count | 显示的最大头像个数 | StringNumber | - |
| max-content | 头像数量超出时,会出现一个头像折叠元素,该元素内容可为`...`、`more`、`+N` | String | +N |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持直接输入数字 | StringNumber | normal |
| shape | 头像的形状,可选值为:`square`、`round` | String | round |
| max-color | 头像折叠元素的字体颜色 | String | #666 |
| max-bg-color | 头像折叠元素的背景色 | String | #eee |
| span | 头像之间的间距 | String | -8 |
| zIndex | 组合头像之间的层级方向,可选值为:`left`、`right` | String | left |
| max-count | 显示的最大头像个数 | stringnumber | - |
| max-content | 头像数量超出时,会出现一个头像折叠元素,该元素内容可为`...`、`more`、`+N` | string | +N |
| size | 头像的大小,可选值为:`large`、`normal`、`small`,支持直接输入数字 | stringnumber | normal |
| shape | 头像的形状,可选值为:`square`、`round` | string | round |
| max-color | 头像折叠元素的字体颜色 | string | #666 |
| max-bg-color | 头像折叠元素的背景色 | string | #eee |
| span | 头像之间的间距 | string | -8 |
| zIndex | 组合头像之间的层级方向,可选值为:`left`、`right` | string | left |
### Avatar Slots

|名称|描述|
Expand All @@ -253,13 +253,13 @@ Icon 和字符型可以自定义颜色及背景色

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件]()。

| 名称 | 默认值 | 描述 |
| --------------------------------------- | -------------------------- | ---- |
| --nut-actionsheet-light-color | _#f6f6f6_ | - |
| --nut-avatar-square | _5px_ |- |
| --nut-avatar-large-width | _60px_ |- |
| --nut-avatar-large-height | _60px_ |- |
| --nut-avatar-small-width | _32px_ |- |
| --nut-avatar-small-height | _32px_ |- |
| --nut-avatar-normal-width | _40px_ |- |
| --nut-avatar-normal-height | _40px_ |- |
| 名称 | 默认值 |
| --------------------------------------- | -------------------------- |
| --nut-actionsheet-light-color | _#f6f6f6_ |
| --nut-avatar-square | _5px_ |
| --nut-avatar-large-width | _60px_ |
| --nut-avatar-large-height | _60px_ |
| --nut-avatar-small-width | _32px_ |
| --nut-avatar-small-height | _32px_ |
| --nut-avatar-normal-width | _40px_ |
| --nut-avatar-normal-height | _40px_ |
Loading