forked from didi/mand-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
592 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` | ||
- 正式公开发布 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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| |
Oops, something went wrong.