Skip to content

Commit

Permalink
docs: 更新 (#2003)
Browse files Browse the repository at this point in the history
* fix: popover

* fix: 代码回退

* feat: 文档修改

* feat: 修改Imagepreview

* feat: imagepreview文案修改

* feat: noticebar文案修改

* fix: noticebar小程序不能运行问题修改

* feat: 组件文档修改picker

* docs: 文案修改

* docs: countdown

* feat: image

* docs: 文本修改

* fix: imagepreview

* docs: 单位修改

* docs: 文档修噶
  • Loading branch information
yangxiaolu1993 authored Jan 4, 2023
1 parent 8f1a104 commit 6a9b1fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/packages/__VUE/layout/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ The Layout component provides a 24-column grid, by adding the span attribute on
| Field | Description | Type | Default
|----- | ----- | ----- | -----
| type | layout method, optional value is `flex` | string | `-`
| gutter | spacing between column elements (in `px`) | string \| number | `-`
| gutter | spacing between column elements (`px`) | string \| number | `-`
| justify | Flex main axis alignment, optional values are `start` `end` `center` `space-around` `space-between` `space-evenly` | string | `start`
| align | Flex cross axis alignment, optional values are `flex-start` `center` `flex-end` | string | `flex-start`
| flex-wrap | Whether flex wraps, optional values are `nowrap` `wrap` `reverse` | string | `nowrap`
Expand Down
8 changes: 5 additions & 3 deletions src/packages/__VUE/price/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</nut-cell>
<h2>{{ translate('title4') }}</h2>
<nut-cell>
<nut-price :price="8888.01" position="after" symbol="" />
<nut-price :price="8888.01" position="after" :symbol="translate('symbol')" />
</nut-cell>
<h2>{{ translate('title5') }}</h2>
<nut-cell>
Expand All @@ -41,14 +41,16 @@ const initTranslate = () =>
title2: '不保留小数',
title3: '货币符号',
title4: '货币符号位置',
title5: '千位分隔'
title5: '千位分隔',
symbol: ''
},
'en-US': {
title1: 'Support three sizes:small、normal、large',
title2: 'No decimals',
title3: 'Currency symbol',
title4: 'Currency symbol position',
title5: 'Separated by thousands'
title5: 'Separated by thousands',
symbol: 'RMB'
}
});
export default createDemo({
Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/price/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Three sizes are supported: small, normal, and large, and the default is normal.

``` html
<template>
<nut-price :price="8888.01" position="after" symbol="" />
<nut-price :price="8888.01" position="after" symbol="RMB" />
</template>
```

Expand Down

0 comments on commit 6a9b1fb

Please sign in to comment.