Browse Source

Merge branch 'v4' of https://github.com/jdf2e/nutui into upstream_v4

lkjh3214 3 years ago
parent
commit
1afaa92a76

+ 0 - 1
src/packages/__VUE/address/demo.vue

@@ -286,7 +286,6 @@ export default createDemo({
       }
     };
     const close1 = (val: CalResult) => {
-      console.log(val);
       text.one = val.data.addressStr;
     };
 

+ 0 - 1
src/packages/__VUE/address/doc.en-US.md

@@ -70,7 +70,6 @@ app.use(Address);
           }
         };
         const close = val => {
-          console.log(val);
           text.value = val.data.addressStr;
         };
 

+ 5 - 5
src/packages/__VUE/address/doc.md

@@ -56,7 +56,7 @@ app.use(Address);
           town:[]
         })
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddress = () => {
           showPopup.value = !showPopup.value;
@@ -279,7 +279,7 @@ app.use(Address);
           }
         ]);
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddressExist = () => {
           showPopupExist.value = true;
@@ -313,7 +313,7 @@ app.use(Address);
   <nut-address
       v-model:visible="showPopupCustomImg"
       type="exist"
-      :existAddress="existAddress"
+      :exist-address="existAddress"
       @close="close"
       :is-show-custom-address="false"
       @selected="selected3"
@@ -374,7 +374,7 @@ app.use(Address);
           }
         ]);
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showCustomImg = () => {
           showPopupCustomImg.value = true;
@@ -500,7 +500,7 @@ app.use(Address);
           }
         ]);
         const backBtnIcon = ref('left')
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddressOther = () => {
           showPopupOther.value = true;

+ 1 - 1
src/packages/__VUE/configprovider/doc.en-US.md

@@ -43,7 +43,7 @@ Dark mode takes effect globally, making all NutUI components on the page dark.
         theme.value = v ? 'dark' : '';
       };
 
-      return { translate, switchChecked, switchChange, theme };
+      return { switchChecked, switchChange, theme };
     }
   };
 </script>

+ 1 - 1
src/packages/__VUE/configprovider/doc.md

@@ -45,7 +45,7 @@ app.use(ConfigProvider);
         theme.value = v ? 'dark' : '';
       };
 
-      return { translate, switchChecked, switchChange, theme };
+      return { switchChecked, switchChange, theme };
     }
   };
 </script>

+ 1 - 1
src/packages/__VUE/configprovider/doc.taro.md

@@ -45,7 +45,7 @@ app.use(ConfigProvider);
         theme.value = v ? 'dark' : '';
       };
 
-      return { translate, switchChecked, switchChange, theme };
+      return { switchChecked, switchChange, theme };
     }
   };
 </script>

+ 42 - 42
src/packages/__VUE/numberkeyboard/doc.en-US.md

@@ -285,28 +285,28 @@ export default{
 ## API
 ### Props
 
-| Attribute | Description | Type | Default |
-|----- | ----- | ----- | ----- |
-| v-model:visible | Whether to show keyboard | boolean | `false` | 
-| v-model | 	Current value		 | string | - |
-| title | Keyboard title | string | - |
-| type | Keyboard type  can be set to `rightColumn`   | string | `default` |
-| random-keys | Whether to shuffle the order of keys  | boolean | `false` |
-| custom-key | Content of bottom left key  | string [] | `Array form supports adding up to two` |
-| maxlength  | Value maxlength,Use with v-model | number \| string| `6` |
-| confirm-text  | Custom done button text,Such as "pay", "next", "submit" | string | `done` |
-| teleport    | Specify the mount node  | string         | `"body"`      |
-| pop-class    | Custom bullet box classname     | string         | -             |
+| Attribute       | Description                                             | Type             | Default                                |
+|-----------------|---------------------------------------------------------|------------------|----------------------------------------|
+| v-model:visible | Whether to show keyboard                                | boolean          | `false`                                |
+| v-model         | Current value                                           | string           | -                                      |
+| title           | Keyboard title                                          | string           | -                                      |
+| type            | Keyboard type  can be set to `rightColumn`              | string           | `default`                              |
+| random-keys     | Whether to shuffle the order of keys                    | boolean          | `false`                                |
+| custom-key      | Content of bottom left key                              | string []        | `Array form supports adding up to two` |
+| maxlength       | Value maxlength,Use with v-model                       | number \| string | `6`                                    |
+| confirm-text    | Custom done button text,Such as "pay", "next", "submit" | string           | `done`                                 |
+| teleport        | Specify the mount node                                  | string           | `"body"`                               |
+| pop-class       | Custom bullet box classname                             | string           | -                                      |
 
 
 ### Events
 
-| Event | Description | Arguments
-|----- | ----- | -----
-| input  | Emitted when a key is pressed                 | key: string |
-| delete | 	Emitted when the delete key is pressed               | -             |
-| close  | Emitted when the close button or non-keyboard area is clicked is clicked  | -             |
-| blur  | 	Emitted when the close button is clicked or the keyboard is blurred  | -             |
+| Event  | Description                                                              | Arguments   |
+|--------|--------------------------------------------------------------------------|-------------|
+| input  | Emitted when a key is pressed                                            | key: string |
+| delete | Emitted when the delete key is pressed                                   | -           |
+| close  | Emitted when the close button or non-keyboard area is clicked is clicked | -           |
+| blur   | Emitted when the close button is clicked or the keyboard is blurred      | -           |
 
 ## Theming
 
@@ -314,28 +314,28 @@ export default{
 
 The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/component/configprovider).
 
-| Name | Default Value |
-| --------------------------------------- | -------------------------- |
-|  --nut-numberkeyboard-width| _100%_  |
-|  --nut-numberkeyboard-padding| _0_  |
-|  --nut-numberkeyboard-background-color| _#f2f3f5_  |
-|  --nut-numberkeyboard-header-height| _34px_  |
-|  --nut-numberkeyboard-header-padding| _6px 0 0 0_  |
-|  --nut-numberkeyboard-header-color| _#646566_  |
-|  --nut-numberkeyboard-header-font-size| _16px_  |
-|  --nut-numberkeyboard-header-close-padding| _0 16px_  |
-|  --nut-numberkeyboard-header-close-color| _#576b95_  |
-|  --nut-numberkeyboard-header-close-font-size| _14px_  |
-|  --nut-numberkeyboard-header-close-background-color| _transparent_  |
-|  --nut-numberkeyboard-key-background-color| _#fff_  |
-|  --nut-numberkeyboard-key-active-background-color| _#ebedf0_  |
-|  --nut-numberkeyboard-key-height| _48px_  |
-|  --nut-numberkeyboard-key-line-height| _1.5_  |
-|  --nut-numberkeyboard-key-border-radius| _8px_  |
-|  --nut-numberkeyboard-key-font-size| _28px_  |
-|  --nut-numberkeyboard-key-font-size-color| _#333_  |
-|  --nut-numberkeyboard-key-finish-font-size| _16px_  |
-|  --nut-numberkeyboard-key-finish-font-size-color| _#fff_  |
-|  --nut-numberkeyboard-key-finish-background-color| _#1989fa_  |
-|  --nut-numberkeyboard-key-activeFinsh-background-color| _#0570db_  |
+| Name                                                  | Default Value |
+|-------------------------------------------------------|---------------|
+| --nut-numberkeyboard-width                            | _100%_        |
+| --nut-numberkeyboard-padding                          | _0_           |
+| --nut-numberkeyboard-background-color                 | _#f2f3f5_     |
+| --nut-numberkeyboard-header-height                    | _34px_        |
+| --nut-numberkeyboard-header-padding                   | _6px 0 0 0_   |
+| --nut-numberkeyboard-header-color                     | _#646566_     |
+| --nut-numberkeyboard-header-font-size                 | _16px_        |
+| --nut-numberkeyboard-header-close-padding             | _0 16px_      |
+| --nut-numberkeyboard-header-close-color               | _#576b95_     |
+| --nut-numberkeyboard-header-close-font-size           | _14px_        |
+| --nut-numberkeyboard-header-close-background-color    | _transparent_ |
+| --nut-numberkeyboard-key-background-color             | _#fff_        |
+| --nut-numberkeyboard-key-active-background-color      | _#ebedf0_     |
+| --nut-numberkeyboard-key-height                       | _48px_        |
+| --nut-numberkeyboard-key-line-height                  | _1.5_         |
+| --nut-numberkeyboard-key-border-radius                | _8px_         |
+| --nut-numberkeyboard-key-font-size                    | _28px_        |
+| --nut-numberkeyboard-key-font-size-color              | _#333_        |
+| --nut-numberkeyboard-key-finish-font-size             | _16px_        |
+| --nut-numberkeyboard-key-finish-font-size-color       | _#fff_        |
+| --nut-numberkeyboard-key-finish-background-color      | _#1989fa_     |
+| --nut-numberkeyboard-key-activeFinsh-background-color | _#0570db_     |
 

+ 40 - 40
src/packages/__VUE/numberkeyboard/doc.md

@@ -285,27 +285,27 @@ export default{
 ## API
 ### Props
 
-| 参数 | 说明 | 类型 | 默认值 |
-|----- | ----- | ----- | ----- |
-| v-model:visible | 是否显示键盘 | boolean | `false` |
-| v-model | 当前输入值		 | string | - | 
-| title | 键盘标题 | string | - |
-| type | 键盘模式  | string | `default`:默认样式<br>`rightColumn`:带右侧栏 |
-| random-keys | 随机数  | boolean | `false` |
-| custom-key | 自定义键盘额外的键  | string [] | `数组形式最多支持添加2个,超出默认取前2项` |
-| maxlength  | 输入值最大长度,结合 v-model 使用 | number \| string| `6` |
-| confirm-text  | 自定义完成按钮文字,如"支付","下一步","提交"等 | string | `完成` |
-| pop-class    | 自定义弹框类名     | String         | -             |
+| 参数            | 说明                                             | 类型             | 默认值                                         |
+|-----------------|--------------------------------------------------|------------------|------------------------------------------------|
+| v-model:visible | 是否显示键盘                                     | boolean          | `false`                                        |
+| v-model         | 当前输入值                                       | string           | -                                              |
+| title           | 键盘标题                                         | string           | -                                              |
+| type            | 键盘模式                                         | string           | `default`:默认样式<br>`rightColumn`:带右侧栏 |
+| random-keys     | 随机数                                           | boolean          | `false`                                        |
+| custom-key      | 自定义键盘额外的键                               | string []        | `数组形式最多支持添加2个,超出默认取前2项`      |
+| maxlength       | 输入值最大长度,结合 v-model 使用                | number \| string | `6`                                            |
+| confirm-text    | 自定义完成按钮文字,如"支付","下一步","提交"等 | string           | `完成`                                         |
+| pop-class       | 自定义弹框类名                                   | string           | -                                              |
 
 
 ### Events
 
-| 事件名 | 说明 | 回调参数
-|----- | ----- | -----
+| 事件名 | 说明                           | 回调参数 |
+|--------|--------------------------------|----------|
 | input  | 点击按键时触发                 | 按键内容 |
-| delete | 点击删除键时触发               | -             |
-| close  | 点击关闭按钮时触发  | -             |
-| blur  | 	点击关闭按钮或非键盘区域时触发  | -             |
+| delete | 点击删除键时触发               | -        |
+| close  | 点击关闭按钮时触发             | -        |
+| blur   | 点击关闭按钮或非键盘区域时触发 | -        |
 
 
 ## 主题定制
@@ -314,28 +314,28 @@ export default{
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/component/configprovider)。
 
-| 名称                                    | 默认值                     |
-| --------------------------------------- | -------------------------- |
-|  --nut-numberkeyboard-width| _100%_  |
-|  --nut-numberkeyboard-padding| _0_  |
-|  --nut-numberkeyboard-background-color| _#f2f3f5_  |
-|  --nut-numberkeyboard-header-height| _34px_  |
-|  --nut-numberkeyboard-header-padding| _6px 0 0 0_  |
-|  --nut-numberkeyboard-header-color| _#646566_  |
-|  --nut-numberkeyboard-header-font-size| _16px_  |
-|  --nut-numberkeyboard-header-close-padding| _0 16px_  |
-|  --nut-numberkeyboard-header-close-color| _#576b95_  |
-|  --nut-numberkeyboard-header-close-font-size| _14px_  |
-|  --nut-numberkeyboard-header-close-background-color| _transparent_  |
-|  --nut-numberkeyboard-key-background-color| _#fff_  |
-|  --nut-numberkeyboard-key-active-background-color| _#ebedf0_  |
-|  --nut-numberkeyboard-key-height| _48px_  |
-|  --nut-numberkeyboard-key-line-height| _1.5_  |
-|  --nut-numberkeyboard-key-border-radius| _8px_  |
-|  --nut-numberkeyboard-key-font-size| _28px_  |
-|  --nut-numberkeyboard-key-font-size-color| _#333_  |
-|  --nut-numberkeyboard-key-finish-font-size| _16px_  |
-|  --nut-numberkeyboard-key-finish-font-size-color| _#fff_  |
-|  --nut-numberkeyboard-key-finish-background-color| _#1989fa_  |
-|  --nut-numberkeyboard-key-activeFinsh-background-color| _#0570db_  |
+| 名称                                                  | 默认值        |
+|-------------------------------------------------------|---------------|
+| --nut-numberkeyboard-width                            | _100%_        |
+| --nut-numberkeyboard-padding                          | _0_           |
+| --nut-numberkeyboard-background-color                 | _#f2f3f5_     |
+| --nut-numberkeyboard-header-height                    | _34px_        |
+| --nut-numberkeyboard-header-padding                   | _6px 0 0 0_   |
+| --nut-numberkeyboard-header-color                     | _#646566_     |
+| --nut-numberkeyboard-header-font-size                 | _16px_        |
+| --nut-numberkeyboard-header-close-padding             | _0 16px_      |
+| --nut-numberkeyboard-header-close-color               | _#576b95_     |
+| --nut-numberkeyboard-header-close-font-size           | _14px_        |
+| --nut-numberkeyboard-header-close-background-color    | _transparent_ |
+| --nut-numberkeyboard-key-background-color             | _#fff_        |
+| --nut-numberkeyboard-key-active-background-color      | _#ebedf0_     |
+| --nut-numberkeyboard-key-height                       | _48px_        |
+| --nut-numberkeyboard-key-line-height                  | _1.5_         |
+| --nut-numberkeyboard-key-border-radius                | _8px_         |
+| --nut-numberkeyboard-key-font-size                    | _28px_        |
+| --nut-numberkeyboard-key-font-size-color              | _#333_        |
+| --nut-numberkeyboard-key-finish-font-size             | _16px_        |
+| --nut-numberkeyboard-key-finish-font-size-color       | _#fff_        |
+| --nut-numberkeyboard-key-finish-background-color      | _#1989fa_     |
+| --nut-numberkeyboard-key-activeFinsh-background-color | _#0570db_     |
 

+ 40 - 40
src/packages/__VUE/numberkeyboard/doc.taro.md

@@ -275,27 +275,27 @@ export default{
 ## API
 ### Props
 
-| 参数 | 说明 | 类型 | 默认值 |
-|----- | ----- | ----- | ----- |
-| v-model:visible | 是否显示键盘 | boolean | `false` | 
-| v-model | 当前输入值		 | string | - |
-| title | 键盘标题 | string | - |
-| type | 键盘模式  | string | `default`:默认样式<br>`rightColumn`:带右侧栏 |
-| random-keys | 随机数  | boolean | `false` |
-| custom-key | 自定义键盘额外的键  | string [] | `数组形式最多支持添加2个,超出默认取前2项` |
-| overlay | 是否显示遮罩  | boolean| false |
-| maxlength  | 输入值最大长度,结合 v-model 使用 | number \| string| `6` |
-| confirm-text  | 自定义完成按钮文字,如"支付","下一步","提交"等 | string | `完成` |
-| pop-class    | 自定义弹框类名     | string         | -             |
+| 参数            | 说明                                             | 类型             | 默认值                                         |
+|-----------------|--------------------------------------------------|------------------|------------------------------------------------|
+| v-model:visible | 是否显示键盘                                     | boolean          | `false`                                        |
+| v-model         | 当前输入值                                       | string           | -                                              |
+| title           | 键盘标题                                         | string           | -                                              |
+| type            | 键盘模式                                         | string           | `default`:默认样式<br>`rightColumn`:带右侧栏 |
+| random-keys     | 随机数                                           | boolean          | `false`                                        |
+| custom-key      | 自定义键盘额外的键                               | string []        | `数组形式最多支持添加2个,超出默认取前2项`      |
+| overlay         | 是否显示遮罩                                     | boolean          | false                                          |
+| maxlength       | 输入值最大长度,结合 v-model 使用                | number \| string | `6`                                            |
+| confirm-text    | 自定义完成按钮文字,如"支付","下一步","提交"等 | string           | `完成`                                         |
+| pop-class       | 自定义弹框类名                                   | string           | -                                              |
 
 
 ### Events
 
-| 事件名 | 说明 | 回调参数
-|----- | ----- | -----
+| 事件名 | 说明                           | 回调参数 |
+|--------|--------------------------------|----------|
 | input  | 点击按键时触发                 | 按键内容 |
-| delete | 点击删除键时触发               | -             |
-| close  | 点击关闭按钮或非键盘区域时触发  | -             |
+| delete | 点击删除键时触发               | -        |
+| close  | 点击关闭按钮或非键盘区域时触发 | -        |
 
 
 ## 主题定制
@@ -304,27 +304,27 @@ export default{
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/component/configprovider)。
 
-| 名称                                    | 默认值                     |
-| --------------------------------------- | -------------------------- |
-|  --nut-numberkeyboard-width| _100%_  |
-|  --nut-numberkeyboard-padding| _0_  |
-|  --nut-numberkeyboard-background-color| _#f2f3f5_  |
-|  --nut-numberkeyboard-header-height| _34px_  |
-|  --nut-numberkeyboard-header-padding| _6px 0 0 0_  |
-|  --nut-numberkeyboard-header-color| _#646566_  |
-|  --nut-numberkeyboard-header-font-size| _16px_  |
-|  --nut-numberkeyboard-header-close-padding| _0 16px_  |
-|  --nut-numberkeyboard-header-close-color| _#576b95_  |
-|  --nut-numberkeyboard-header-close-font-size| _14px_  |
-|  --nut-numberkeyboard-header-close-background-color| _transparent_  |
-|  --nut-numberkeyboard-key-background-color| _#fff_  |
-|  --nut-numberkeyboard-key-active-background-color| _#ebedf0_  |
-|  --nut-numberkeyboard-key-height| _48px_  |
-|  --nut-numberkeyboard-key-line-height| _1.5_  |
-|  --nut-numberkeyboard-key-border-radius| _8px_  |
-|  --nut-numberkeyboard-key-font-size| _28px_  |
-|  --nut-numberkeyboard-key-font-size-color| _#333_  |
-|  --nut-numberkeyboard-key-finish-font-size| _16px_  |
-|  --nut-numberkeyboard-key-finish-font-size-color| _#fff_  |
-|  --nut-numberkeyboard-key-finish-background-color| _#1989fa_  |
-|  --nut-numberkeyboard-key-activeFinsh-background-color| _#0570db_  |
+| 名称                                                  | 默认值        |
+|-------------------------------------------------------|---------------|
+| --nut-numberkeyboard-width                            | _100%_        |
+| --nut-numberkeyboard-padding                          | _0_           |
+| --nut-numberkeyboard-background-color                 | _#f2f3f5_     |
+| --nut-numberkeyboard-header-height                    | _34px_        |
+| --nut-numberkeyboard-header-padding                   | _6px 0 0 0_   |
+| --nut-numberkeyboard-header-color                     | _#646566_     |
+| --nut-numberkeyboard-header-font-size                 | _16px_        |
+| --nut-numberkeyboard-header-close-padding             | _0 16px_      |
+| --nut-numberkeyboard-header-close-color               | _#576b95_     |
+| --nut-numberkeyboard-header-close-font-size           | _14px_        |
+| --nut-numberkeyboard-header-close-background-color    | _transparent_ |
+| --nut-numberkeyboard-key-background-color             | _#fff_        |
+| --nut-numberkeyboard-key-active-background-color      | _#ebedf0_     |
+| --nut-numberkeyboard-key-height                       | _48px_        |
+| --nut-numberkeyboard-key-line-height                  | _1.5_         |
+| --nut-numberkeyboard-key-border-radius                | _8px_         |
+| --nut-numberkeyboard-key-font-size                    | _28px_        |
+| --nut-numberkeyboard-key-font-size-color              | _#333_        |
+| --nut-numberkeyboard-key-finish-font-size             | _16px_        |
+| --nut-numberkeyboard-key-finish-font-size-color       | _#fff_        |
+| --nut-numberkeyboard-key-finish-background-color      | _#1989fa_     |
+| --nut-numberkeyboard-key-activeFinsh-background-color | _#0570db_     |

+ 2 - 2
src/packages/__VUE/popover/doc.en-US.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### Basic Usage
 
-Popover supports both light and dark styles. The default is light style. Set the theme property to `dark` to switch to dark style.
+Popover supports both light and dark styles. The default is light style. Set the `theme` property to `dark` to switch to dark style.
 
 :::demo
 ```html

+ 2 - 2
src/packages/__VUE/popover/doc.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### 基础用法
 
-Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 theme 属性设置为 dark 可切换为暗黑风格。
+Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 `theme` 属性设置为 `dark` 可切换为暗黑风格。
 
 :::demo
 ```html

+ 2 - 2
src/packages/__VUE/popover/doc.taro.md

@@ -12,13 +12,13 @@ import { createApp } from 'vue';
 import { Popover } from '@nutui/nutui-taro';
 
 const app = createApp();
-app.use(Popup);
+app.use(Popover);
 ```
 
 
 ### 基础用法
 
-Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 theme 属性设置为 dark 可切换为暗黑风格。
+Popover 支持明朗和暗黑两种风格,默认为明朗风格,将 `theme` 属性设置为 `dark` 可切换为暗黑风格。
 
 :::demo
 ```html

+ 29 - 29
src/packages/__VUE/tag/doc.en-US.md

@@ -126,29 +126,29 @@ export default {
 ## API
 ### Props  
 
-| Attribute | Description | Type | Default |
-|------------|--------------------------------------------------|---------|-----------|
+| Attribute  | Description                                                   | Type    | Default   |
+|------------|---------------------------------------------------------------|---------|-----------|
 | type       | Label type,can be set `primary` `success` `danger` `warning` | string  | `default` |
-| color      | Label color                                         | string  | `-`         |
-| text-color | Text color, which takes precedence over the `color` attribute| string  | `white`   |
-| plain      | Whether it is plain | boolean | `false`   |
-| round      | Whether it is round                                   | boolean | `false`   |
-| mark       | Whether it is mark                                   | boolean | `false`   |
-| closeable  | Whether it is a closeable tag       | boolean | `false`   |
+| color      | Label color                                                   | string  | `-`       |
+| text-color | Text color, which takes precedence over the `color` attribute | string  | `white`   |
+| plain      | Whether it is plain                                           | boolean | `false`   |
+| round      | Whether it is round                                           | boolean | `false`   |
+| mark       | Whether it is mark                                            | boolean | `false`   |
+| closeable  | Whether it is a closeable tag                                 | boolean | `false`   |
 
 
 ### Slots
 
-| Name   | Description           |
-|---------|--------------|
+| Name    | Description           |
+|---------|-----------------------|
 | default | Label display content |
 
 ### Events
 
-| Event             | Description                     | Arguments        |
-|----------|----------|----------|
-| click    | click event | event    |
-| close    | close event | event    |
+| Event | Description | Arguments |
+|-------|-------------|-----------|
+| click | click event | `event`   |
+| close | close event | `event`   |
 
 ## Theming
 
@@ -156,18 +156,18 @@ export default {
 
 The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/component/configprovider).
 
-| Name | Default Value |
-| --------------------------------------- | -------------------------- |
-| --nut-tag-font-size| _12px_ |
-| --nut-tag-default-border-radius| _4px_ |
-| --nut-tag-round-border-radius| _8px_ |
-| --nut-tag-default-background-color| _#000000_ |
-| --nut-tag-primary-background-color| _#3460fa_ |
-| --nut-tag-success-background-color| _#4fc08d_ |
-| --nut-tag-danger-background-color| _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
-| --nut-tag-danger-background-color-plain| _#df3526_ |
-| --nut-tag-warning-background-color| _#f3812e_ |
-| --nut-tag-default-color| _#ffffff_ |
-| --nut-tag-border-width| _1px_ |
-| --nut-tag-plain-background-color| _#fff_ |
-| --nut-tag-height| _auto_ |
+| Name                                    | Default Value                                                                                        |
+|-----------------------------------------|------------------------------------------------------------------------------------------------------|
+| --nut-tag-font-size                     | _12px_                                                                                               |
+| --nut-tag-default-border-radius         | _4px_                                                                                                |
+| --nut-tag-round-border-radius           | _8px_                                                                                                |
+| --nut-tag-default-background-color      | _#000000_                                                                                            |
+| --nut-tag-primary-background-color      | _#3460fa_                                                                                            |
+| --nut-tag-success-background-color      | _#4fc08d_                                                                                            |
+| --nut-tag-danger-background-color       | _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
+| --nut-tag-danger-background-color-plain | _#df3526_                                                                                            |
+| --nut-tag-warning-background-color      | _#f3812e_                                                                                            |
+| --nut-tag-default-color                 | _#ffffff_                                                                                            |
+| --nut-tag-border-width                  | _1px_                                                                                                |
+| --nut-tag-plain-background-color        | _#fff_                                                                                               |
+| --nut-tag-height                        | _auto_                                                                                               |

+ 26 - 26
src/packages/__VUE/tag/doc.md

@@ -127,15 +127,15 @@ export default {
 ## API
 ### Props 
 
-| 参数       | 说明                                             | 类型    | 默认值    |
-|------------|--------------------------------------------------|---------|-----------|
+| 参数       | 说明                                                         | 类型    | 默认值    |
+|------------|--------------------------------------------------------------|---------|-----------|
 | type       | 标签类型,可选值为 `primary`、`success`、`danger`、`warning` | string  | `default` |
-| color      | 标签颜色                                         | string  | `-`         |
-| text-color | 文本颜色,优先级高于 `color` 属性                    | string  | `white`   |
-| plain      | 是否为空心样式                                   | boolean | `false`   |
-| round      | 是否为圆角样式                                   | boolean | `false`   |
-| mark       | 是否为标记样式                                   | boolean | `false`   |
-| closeable  | 是否为可关闭标签                                 | boolean | `false`   |
+| color      | 标签颜色                                                     | string  | `-`       |
+| text-color | 文本颜色,优先级高于 `color` 属性                            | string  | `white`   |
+| plain      | 是否为空心样式                                               | boolean | `false`   |
+| round      | 是否为圆角样式                                               | boolean | `false`   |
+| mark       | 是否为标记样式                                               | boolean | `false`   |
+| closeable  | 是否为可关闭标签                                             | boolean | `false`   |
 
 
 ### Slots
@@ -147,9 +147,9 @@ export default {
 ### Events
 
 | 事件名 | 说明     | 回调参数 |
-|----------|----------|----------|
-| click    | 点击事件 | event    |
-| close    | 关闭事件 | event    |
+|--------|----------|----------|
+| click  | 点击事件 | `event`  |
+| close  | 关闭事件 | `event`  |
 
 
 ## 主题定制
@@ -158,18 +158,18 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/component/configprovider)。
 
-| 名称                                    | 默认值                     |
-| --------------------------------------- | -------------------------- |
-| --nut-tag-font-size| _12px_ |
-| --nut-tag-default-border-radius| _4px_ |
-| --nut-tag-round-border-radius| _8px_ |
-| --nut-tag-default-background-color| _#000000_ |
-| --nut-tag-primary-background-color| _#3460fa_ |
-| --nut-tag-success-background-color| _#4fc08d_ |
-| --nut-tag-danger-background-color| _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
-| --nut-tag-danger-background-color-plain| _#df3526_ |
-| --nut-tag-warning-background-color| _#f3812e_ |
-| --nut-tag-default-color| _#ffffff_ |
-| --nut-tag-border-width| _1px_ |
-| --nut-tag-plain-background-color| _#fff_ |
-| --nut-tag-height| _auto_ |
+| 名称                                    | 默认值                                                                                               |
+|-----------------------------------------|------------------------------------------------------------------------------------------------------|
+| --nut-tag-font-size                     | _12px_                                                                                               |
+| --nut-tag-default-border-radius         | _4px_                                                                                                |
+| --nut-tag-round-border-radius           | _8px_                                                                                                |
+| --nut-tag-default-background-color      | _#000000_                                                                                            |
+| --nut-tag-primary-background-color      | _#3460fa_                                                                                            |
+| --nut-tag-success-background-color      | _#4fc08d_                                                                                            |
+| --nut-tag-danger-background-color       | _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
+| --nut-tag-danger-background-color-plain | _#df3526_                                                                                            |
+| --nut-tag-warning-background-color      | _#f3812e_                                                                                            |
+| --nut-tag-default-color                 | _#ffffff_                                                                                            |
+| --nut-tag-border-width                  | _1px_                                                                                                |
+| --nut-tag-plain-background-color        | _#fff_                                                                                               |
+| --nut-tag-height                        | _auto_                                                                                               |

+ 26 - 26
src/packages/__VUE/tag/doc.taro.md

@@ -127,15 +127,15 @@ export default {
 ## API
 ### Props 
 
-| 参数       | 说明                                             | 类型    | 默认值    |
-|------------|--------------------------------------------------|---------|-----------|
+| 参数       | 说明                                                         | 类型    | 默认值    |
+|------------|--------------------------------------------------------------|---------|-----------|
 | type       | 标签类型,可选值为 `primary`、`success`、`danger`、`warning` | string  | `default` |
-| color      | 标签颜色                                         | string  | `- `        |
-| text-color | 文本颜色,优先级高于 `color` 属性                    | string  | `white`   |
-| plain      | 是否为空心样式                                   | boolean | `false`   |
-| round      | 是否为圆角样式                                   | boolean | `false`   |
-| mark       | 是否为标记样式                                   | boolean | `false`   |
-| closeable  | 是否为可关闭标签                                 | boolean | `false`   |
+| color      | 标签颜色                                                     | string  | `- `      |
+| text-color | 文本颜色,优先级高于 `color` 属性                            | string  | `white`   |
+| plain      | 是否为空心样式                                               | boolean | `false`   |
+| round      | 是否为圆角样式                                               | boolean | `false`   |
+| mark       | 是否为标记样式                                               | boolean | `false`   |
+| closeable  | 是否为可关闭标签                                             | boolean | `false`   |
 
 
 ### Slots
@@ -147,9 +147,9 @@ export default {
 ### Events
 
 | 事件名 | 说明     | 回调参数 |
-|----------|----------|----------|
-| click    | 点击事件 | event    |
-| close    | 关闭事件 | event    |
+|--------|----------|----------|
+| click  | 点击事件 | `event`  |
+| close  | 关闭事件 | `event`  |
 
 ## 主题定制
 
@@ -157,18 +157,18 @@ export default {
 
 组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/component/configprovider)。
 
-| 名称                                    | 默认值                     |
-| --------------------------------------- | -------------------------- |
-| --nut-tag-font-size| _12px_ |
-| --nut-tag-default-border-radius| _4px_ |
-| --nut-tag-round-border-radius| _8px_ |
-| --nut-tag-default-background-color| _#000000_ |
-| --nut-tag-primary-background-color| _#3460fa_ |
-| --nut-tag-success-background-color| _#4fc08d_ |
-| --nut-tag-danger-background-color| _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
-| --nut-tag-danger-background-color-plain| _#df3526_ |
-| --nut-tag-warning-background-color| _#f3812e_ |
-| --nut-tag-default-color| _#ffffff_ |
-| --nut-tag-border-width| _1px_ |
-| --nut-tag-plain-background-color| _#fff_ |
-| --nut-tag-height| _auto_ |
+| 名称                                    | 默认值                                                                                               |
+|-----------------------------------------|------------------------------------------------------------------------------------------------------|
+| --nut-tag-font-size                     | _12px_                                                                                               |
+| --nut-tag-default-border-radius         | _4px_                                                                                                |
+| --nut-tag-round-border-radius           | _8px_                                                                                                |
+| --nut-tag-default-background-color      | _#000000_                                                                                            |
+| --nut-tag-primary-background-color      | _#3460fa_                                                                                            |
+| --nut-tag-success-background-color      | _#4fc08d_                                                                                            |
+| --nut-tag-danger-background-color       | _linear-gradient(135deg,rgba(242, 20, 12, 1) 0%,rgba(232, 34, 14, 1) 70%,rgba(242, 77, 12, 1) 100%)_ |
+| --nut-tag-danger-background-color-plain | _#df3526_                                                                                            |
+| --nut-tag-warning-background-color      | _#f3812e_                                                                                            |
+| --nut-tag-default-color                 | _#ffffff_                                                                                            |
+| --nut-tag-border-width                  | _1px_                                                                                                |
+| --nut-tag-plain-background-color        | _#fff_                                                                                               |
+| --nut-tag-height                        | _auto_                                                                                               |