Skip to content

Commit

Permalink
site:add english doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jun 5, 2018
1 parent f4aed49 commit f958b88
Show file tree
Hide file tree
Showing 7 changed files with 592 additions and 7 deletions.
87 changes: 87 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
title: Change Log
---

### 1.3.0
`2018-06-01`
- Feature
- `Selector`, `TabPicker`增加`mask-closable`,支持蒙层点击关闭 #64
- `Cashier`更改渠道展示方式,当支付渠道为两个直接展示 #77
- `Capatcha`支持自定义按钮文案,支持通过`auto-countdown`控制验证码是否自动发送 #84
- `ActionSheet`增加`maxHeight`控制展示区域最大高度 #86
- `InputItem`增加类型`Number`, 支持其他Html Input标准类型 #95
- `Picker``DatePicker``TabPicker`点击取消或蒙层将会撤销选择更改
- Fix
- 修复`DatePicker`默认时间不在可选范围内的异常,将默认值教正至临近边界值 #75
- 修复部分文档错误信息

### 1.2.3
`2018-05-11`
- Fix
- 修复issue #78
- 站点更新

### 1.2.2
`2018-05-09`
- Fix
- 修复issue #67
- 修复issue #69
- 修复issue #72
- Feature
- 新增`vw`适配方案
- Popup适配iPhone X

<!-- CUTOFF -->
### 1.1.1
`2018-05-06`
- Fix
- 修复issue #62
- 修复issue #63

### 1.1.0
`2018-05-04`
- Feature
- `Swiper` 增加`fade`模式下的触摸滚动 #20
- `ImageViewer` 增加`v-model`控制展示和隐藏 #42
- `Toast` content 属性支持数字 #43

- Fix
- 修复`Picker`在联动数据时,重置`DefaultIndex`引起的滚动异常 # 50
- 修复构建时`Autoprefixer``display:box`的警告 #54

<!-- CUTOFF -->
### 1.0.9
`2018-04-26`
- 修复issue #47

### 1.0.8
`2018-04-24`
- Button组件点击事件无需`.native`修饰符
- 为Landscape组件增加`mask-closable`选项

### 1.0.6
`2018-04-20`
- 修复issue #29

<!-- CUTOFF -->
### 1.0.5
`2018-04-18`
- 修复issue #24

### 1.0.4
`2018-04-12`
- 修复components/index.js

### 1.0.2
`2018-04-12`
- 注入全局变量version

### 1.0.1
`2018-04-12`
- 修复错误的main指向

### 1.0.0
`2018-04-11`
- 正式公开发布


42 changes: 39 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@
title: 更新日志
---

### 1.3.0
`2018-06-01`
- Feature
- `Selector`, `TabPicker`增加`mask-closable`,支持蒙层点击关闭 #64
- `Cashier`更改渠道展示方式,当支付渠道为两个直接展示 #77
- `Capatcha`支持自定义按钮文案,支持通过`auto-countdown`控制验证码是否自动发送 #84
- `ActionSheet`增加`maxHeight`控制展示区域最大高度 #86
- `InputItem`增加类型`Number`, 支持其他Html Input标准类型 #95
- `Picker``DatePicker``TabPicker`点击取消或蒙层将会撤销选择更改
- Fix
- 修复`DatePicker`默认时间不在可选范围内的异常,将默认值教正至临近边界值 #75
- 修复部分文档错误信息

### 1.2.3
`2018-05-11`
- Fix
- 修复issue #78
- 站点更新

### 1.2.2
`2018-05-09`
- Fix
- 修复issue #67
- 修复issue #69
- 修复issue #72
- Feature
- 新增`vw`适配方案
- Popup适配iPhone X

<!-- CUTOFF -->
### 1.1.1
`2018-05-06`
- Fix
- 修复issue #62
- 修复issue #63

### 1.1.0
`2018-05-04`
- Feature
Expand All @@ -16,7 +52,7 @@ title: 更新日志
<!-- CUTOFF -->
### 1.0.9
`2018-04-26`
- 修复issue#47
- 修复issue #47

### 1.0.8
`2018-04-24`
Expand All @@ -25,12 +61,12 @@ title: 更新日志

### 1.0.6
`2018-04-20`
- 修复issue#29
- 修复issue #29

<!-- CUTOFF -->
### 1.0.5
`2018-04-18`
- 修复issue#24
- 修复issue #24

### 1.0.4
`2018-04-12`
Expand Down
47 changes: 47 additions & 0 deletions components/field/README.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: Field
preview: https://didi.github.io/mand-mobile/examples/#/field
---

The list of areas is vertically arranged to show the current content, status, and operations that can be performed

### Import

```javascript
import { Field, FieldItem } from 'mand-mobile'

Vue.component(Field.name, Field)
Vue.component(FieldItem.name, FieldItem)
```

### Code Examples
<!-- DEMO -->

### API

#### Field Props
|Props | Description | Type | Default | Note|
|----|-----|------|------|------|
|title|area title|String|-|-|

#### FieldItem Props
|Props | Description | Type | Default | Note|
|----|-----|------|------|------|
|name|item name|Number/String| `-1`|-|
|title|item title|String|-|-|
|brief|item subtitle|String|-|-|
|disabled|-|Boolean|`true`|-|
|arrow|arrow name|String|-|`arrow-up`, `arrow-right`, `arrow-down`, `arrow-left`|
|customized|item content customization|Boolean|whether it containss `slot`|-|
|align|item content position|String|`left`|`left`, `right`, `center`|
|value|item content|String|-|-|
|solid|item title is fixed width, beyond the automatic wrap|Boolean|`false`|-|

#### FieldItem Events

##### @click(name)
Item click

|Props | Description | Type |
|----|-----|------|
|name|item name|Number/String|
Loading

0 comments on commit f958b88

Please sign in to comment.