mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
362 lines
16 KiB
Markdown
362 lines
16 KiB
Markdown
## 更新日志
|
||
|
||
## [v0.4.5](https://github.com/youzan/vant-weapp/tree/v0.4.5)
|
||
`2018-10-31`
|
||
|
||
**Improvements**
|
||
|
||
- Icon: 添加新图标question2 [\#839](https://github.com/youzan/vant-weapp/pull/839)
|
||
- Steps: 优化样式 [\#835](https://github.com/youzan/vant-weapp/pull/835)
|
||
|
||
**Bug Fixes**
|
||
|
||
- Icon:修复商品角标icon兼容性问题 [\#840](https://github.com/youzan/vant-weapp/pull/840)
|
||
|
||
## [v0.4.4](https://github.com/youzan/vant-weapp/tree/v0.4.4)
|
||
`2018-10-31`
|
||
|
||
**Improvements**
|
||
|
||
- Search: 新增 error 属性 [\#820](https://github.com/youzan/vant-weapp/pull/820)
|
||
- Search: 新增 input-align 属性 [\#819](https://github.com/youzan/vant-weapp/pull/819)
|
||
- SwipeCell: 新增 swipe-cell 组件 [\#815](https://github.com/youzan/vant-weapp/pull/815)
|
||
|
||
**Bug Fixes**
|
||
|
||
- Panel: header-class 不生效 [\#831](https://github.com/youzan/vant-weapp/pull/831)
|
||
- Tab: 动态设置tab时底部划线样式问题 [\#816](https://github.com/youzan/vant-weapp/pull/816)
|
||
- ellipsis 样式不生效 [\#810](https://github.com/youzan/vant-weapp/pull/810)
|
||
|
||
## [v0.4.3](https://github.com/youzan/vant-weapp/tree/v0.4.3)
|
||
`2018-10-24`
|
||
|
||
**Improvements**
|
||
|
||
- Icon:优化商品角标icon [\#804](https://github.com/youzan/vant-weapp/pull/804)
|
||
- Toast: 新增 context 属性 [\#800](https://github.com/youzan/vant-weapp/pull/800)
|
||
- GoodsAction: 支持open-type等更多Button API [\#798](https://github.com/youzan/vant-weapp/pull/798)
|
||
- GoodsAction: 支持传入外部样式类 [\#795](https://github.com/youzan/vant-weapp/pull/795)
|
||
|
||
**Bug Fixes**
|
||
|
||
- ActionSheet: 修复背景色样式问题 [\#807](https://github.com/youzan/vant-weapp/pull/807)
|
||
|
||
## [v0.4.2](https://github.com/youzan/vant-weapp/tree/v0.4.2)
|
||
`2018-10-19`
|
||
|
||
**Improvements**
|
||
|
||
- Area: 支持海外地区码 [\#782](https://github.com/youzan/vant-weapp/pull/782)
|
||
- Tag: 新增 size 属性 [\#791](https://github.com/youzan/vant-weapp/pull/791)
|
||
- Tag: 新增 round 属性 [\#791](https://github.com/youzan/vant-weapp/pull/791)
|
||
- Tag: 新增 color 属性 [\#791](https://github.com/youzan/vant-weapp/pull/791)
|
||
- Icon: 新增 card-o 图标 [\#777](https://github.com/youzan/vant-weapp/pull/777)
|
||
- GoodsAction: 新增 loading 属性 [\#790](https://github.com/youzan/vant-weapp/pull/790)
|
||
- GoodsAction: 新增 disabled 属性 [\#790](https://github.com/youzan/vant-weapp/pull/790)
|
||
- Search: 新增 placeholder-style 属性 [\#788](https://github.com/youzan/vant-weapp/pull/788)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Field input-align 属性不生效的问题 [\#789](https://github.com/youzan/vant-weapp/pull/789)
|
||
- 修复 Notify color 参数无效问题 [\#783](https://github.com/youzan/vant-weapp/pull/783)
|
||
- 修复 Tabbar 使用插槽时 info 属性不生效的问题 [\#779](https://github.com/youzan/vant-weapp/pull/779)
|
||
|
||
## [v0.4.1](https://github.com/youzan/vant-weapp/tree/v0.4.1)
|
||
`2018-10-17`
|
||
|
||
**Improvements**
|
||
|
||
- Cell: 优化左右图标未对齐问题 [\#763](https://github.com/youzan/vant-weapp/pull/763)
|
||
- Dialog: 增加 stopLoading 方法 [\#757](https://github.com/youzan/vant-weapp/pull/757)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Card 描述过长时文字溢出的问题 [\#768](https://github.com/youzan/vant-weapp/pull/768)
|
||
- 修复 SubmitBar 按钮文字过大时显示不全的问题 [\#771](https://github.com/youzan/vant-weapp/pull/771)
|
||
- 修复 Tab 在 card 类型下 color 属性错误的问题 [\#767](https://github.com/youzan/vant-weapp/pull/767)
|
||
|
||
## [v0.4.0](https://github.com/youzan/vant-weapp/tree/v0.4.0)
|
||
`2018-10-15`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 GoodsAction 组件 [\#736](https://github.com/youzan/vant-weapp/pull/736) [\#759](https://github.com/youzan/vant-weapp/pull/759)
|
||
- Card: 新增 thumb-mode 属性 [\#733](https://github.com/youzan/vant-weapp/pull/733)
|
||
- Card: 新增 origin-price 属性 [\#745](https://github.com/youzan/vant-weapp/pull/745)
|
||
- Dialog: 支持文本通过换行符进行换行 [\#725](https://github.com/youzan/vant-weapp/pull/725)
|
||
- Tab: z-index 默认值调整为 1 [\#749](https://github.com/youzan/vant-weapp/pull/749)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Area 第一项无法选中的问题 [\#722](https://github.com/youzan/vant-weapp/pull/722)
|
||
- 修复 ActionSheet 由于外部样式类优先级导致的样式问题 [\#748](https://github.com/youzan/vant-weapp/pull/748)
|
||
- 修复 Button 在朴素样式下 loading 样式错误的问题 [\#760](https://github.com/youzan/vant-weapp/pull/760)
|
||
- 修复 Cell 由于外部样式类优先级导致的样式问题 [\#746](https://github.com/youzan/vant-weapp/pull/746)
|
||
- 修复 SubmitBar 文字颜色过浅的问题
|
||
- 修复 Tab 在 card 类型下样式错误的问题 [\#742](https://github.com/youzan/vant-weapp/pull/742)
|
||
|
||
## [v0.3.8](https://github.com/youzan/vant-weapp/tree/v0.3.8)
|
||
`2018-10-09`
|
||
|
||
**Improvements**
|
||
|
||
- Tab: 样式升级 [\#719](https://github.com/youzan/vant-weapp/pull/719)
|
||
- Badge: 样式升级 [\#718](https://github.com/youzan/vant-weapp/pull/718)
|
||
- Dialog: 样式升级 [\#717](https://github.com/youzan/vant-weapp/pull/717)
|
||
- TreeSelect: 适配 ipad [\#715](https://github.com/youzan/vant-weapp/pull/715)
|
||
- Card: 新增 lazyLoad 属性 [\#707](https://github.com/youzan/vant-weapp/pull/707)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Cell 边框在部分情况下无法展示的问题 [\#714](https://github.com/youzan/vant-weapp/pull/714)
|
||
- 修复 Stepper 在 ipad 下高度错误的问题 [\#716](https://github.com/youzan/vant-weapp/pull/716)
|
||
- 修复 Stepper disabled 状态下仍然可以点击的问题 [\#709](https://github.com/youzan/vant-weapp/pull/709)
|
||
|
||
|
||
|
||
## [v0.3.7](https://github.com/youzan/vant-weapp/tree/v0.3.7)
|
||
`2018-10-08`
|
||
|
||
**Improvements**
|
||
|
||
- Button: 优化禁用状态样式 [\#702](https://github.com/youzan/vant-weapp/pull/702)
|
||
- Button: 新增 round 属性 [\#704](https://github.com/youzan/vant-weapp/pull/704)
|
||
- Card: 新增 tag 属性 [\#705](https://github.com/youzan/vant-weapp/pull/705)
|
||
- Card: 新增 link-type 属性 [\#706](https://github.com/youzan/vant-weapp/pull/706)
|
||
- Card: 新增 thumb-link 属性 [\#706](https://github.com/youzan/vant-weapp/pull/706)
|
||
- Checkbox: 支持在原生 form 组件内使用 [\#694](https://github.com/youzan/vant-weapp/pull/694)
|
||
- Radio: 支持在原生 form 组件内使用 [\#694](https://github.com/youzan/vant-weapp/pull/694)
|
||
- Tab:新增 z-index 属性 [\#695](https://github.com/youzan/vant-weapp/pull/695)
|
||
- NoticeBar: 优化样式 [\#699](https://github.com/youzan/vant-weapp/pull/699)
|
||
|
||
|
||
## [v0.3.6](https://github.com/youzan/vant-weapp/tree/v0.3.6)
|
||
`2018-09-30`
|
||
|
||
**Improvements**
|
||
|
||
- Icon: 新增 custom-style 属性 [\#677](https://github.com/youzan/vant-weapp/pull/677)
|
||
- Field: 新增 placeholder-style 属性 [\#678](https://github.com/youzan/vant-weapp/pull/678)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Field readonly 属性不生效的问题 [\#679](https://github.com/youzan/vant-weapp/pull/679)
|
||
|
||
## [v0.3.5](https://github.com/youzan/vant-weapp/tree/v0.3.5)
|
||
`2018-09-29`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Checkbox 复选框组件 [\#666](https://github.com/youzan/vant-weapp/pull/666)
|
||
- 优化样式代码,减少体积 [\#660](https://github.com/youzan/vant-weapp/pull/660)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Area 数据为空时报错的问题 [\#661](https://github.com/youzan/vant-weapp/pull/661)
|
||
- 修复 Tab active 属性默认值错误的问题 [\#665](https://github.com/youzan/vant-weapp/pull/665)
|
||
|
||
|
||
## [v0.3.4](https://github.com/youzan/vant-weapp/tree/v0.3.4)
|
||
`2018-09-27`
|
||
|
||
**Improvements**
|
||
|
||
- 使用 TypeScript 重构组件 [\#604](https://github.com/youzan/vant-weapp/pull/604)
|
||
- 编译工具升级至 babel 7 和 precss 3.0 [\#656](https://github.com/youzan/vant-weapp/pull/656) [\#655](https://github.com/youzan/vant-weapp/pull/655)
|
||
- 新增 Radio 单选框组件 [\#629](https://github.com/youzan/vant-weapp/pull/629)
|
||
- Button: 新增 id 属性 [\#650](https://github.com/youzan/vant-weapp/pull/650)
|
||
- Dialog: 支持 open-type 回调事件 [\#651](https://github.com/youzan/vant-weapp/pull/651)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 ActionSheet 边框缺失的问题 [\#619](https://github.com/youzan/vant-weapp/pull/619)
|
||
- 修复 Cell 使用 title 插槽时长度错误的问题 [\#642](https://github.com/youzan/vant-weapp/pull/642)
|
||
- 修复 Search 无法获取到输入值的问题 [\#641](https://github.com/youzan/vant-weapp/pull/641)
|
||
- 修复 Steps 样式错误的问题 [\#627](https://github.com/youzan/vant-weapp/pull/627)
|
||
- 修复 SubmitBar 金额为空时仍然显示合计的问题 [\#635](https://github.com/youzan/vant-weapp/pull/635)
|
||
- 修复 Toast 触发 touch 事件时报错的问题 [\#618](https://github.com/youzan/vant-weapp/pull/618)
|
||
|
||
|
||
## [v0.3.3](https://github.com/youzan/vant-weapp/tree/v0.3.3)
|
||
`2018-09-20`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Area 组件 [\#591](https://github.com/youzan/vant-weapp/pull/591)
|
||
- 新增 SubmitBar 组件 [\#597](https://github.com/youzan/vant-weapp/pull/597)
|
||
- ActionSheet: 新增 z-index 属性 [\#610](https://github.com/youzan/vant-weapp/pull/610)
|
||
- Popup: 新增 custom-style 属性 [\#598](https://github.com/youzan/vant-weapp/pull/598)
|
||
- Tab: 新增 border 属性 [\#595](https://github.com/youzan/vant-weapp/pull/595)
|
||
- Tab: 支持传入外部样式类 [\#612](https://github.com/youzan/vant-weapp/pull/612)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复部分组件在基础库 2.2.3 以下版本报错的问题 [\#613](https://github.com/youzan/vant-weapp/pull/613)
|
||
- 修复 Card centered 属性不生效的问题 [\#584](https://github.com/youzan/vant-weapp/pull/584)
|
||
- 修复 Cell value 为空时 title 最大宽度错误的问题 [\#609](https://github.com/youzan/vant-weapp/pull/609)
|
||
- 修复 Dialog Promise 状态错误的问题 [\#585](https://github.com/youzan/vant-weapp/pull/585)
|
||
- 修复 Field 边框长度溢出的问题 [\#601](https://github.com/youzan/vant-weapp/pull/601)
|
||
- 修复 Layout offset 属性不生效的问题 [\#615](https://github.com/youzan/vant-weapp/pull/615)
|
||
- 修复 Tag 边框样式问题 [\#606](https://github.com/youzan/vant-weapp/pull/606)
|
||
- 修复 Toast 滚动穿透问题 [\#586](https://github.com/youzan/vant-weapp/pull/586)
|
||
|
||
|
||
## [v0.3.2](https://github.com/youzan/vant-weapp/tree/v0.3.2)
|
||
`2018-09-13`
|
||
|
||
**Improvements**
|
||
|
||
- Dialog: 新增弹出动画 [\#548](https://github.com/youzan/vant-weapp/pull/548)
|
||
- Dialog: 更新按钮色值 [\#543](https://github.com/youzan/vant-weapp/pull/543)
|
||
- Dialog: 新增 z-index 属性 [\#573](https://github.com/youzan/vant-weapp/pull/573)
|
||
- Popup: 新增 z-index 属性 [\#572](https://github.com/youzan/vant-weapp/pull/572)
|
||
- Toast: 新增 z-index 属性 [\#571](https://github.com/youzan/vant-weapp/pull/571)
|
||
- Badge: 性能优化 [\#546](https://github.com/youzan/vant-weapp/pull/546)
|
||
- Tabbar: 性能优化 [\#547](https://github.com/youzan/vant-weapp/pull/547)
|
||
- 调整组件边框色值 [\#554](https://github.com/youzan/vant-weapp/pull/554)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Badge active 属性不生效的问题 [\#569](https://github.com/youzan/vant-weapp/pull/569)
|
||
- 修复 Tab color 属性会改变未激活标签的颜色的问题 [\#570](https://github.com/youzan/vant-weapp/pull/570)
|
||
- 修复 Field 展示清除按钮时导致输入框高度变化的问题 [\#560](https://github.com/youzan/vant-weapp/pull/560)
|
||
- 修复 Tab 组件部分情况下代码报错的问题 [\#553](https://github.com/youzan/vant-weapp/pull/553)
|
||
- 修复 Layout 动态渲染时 gutter 属性不生效的问题 [\#536](https://github.com/youzan/vant-weapp/pull/536)
|
||
- 移除 Cell 目前无法生效的 arrow-direction 属性 [\#559](https://github.com/youzan/vant-weapp/pull/559)
|
||
|
||
|
||
## [v0.3.1](https://github.com/youzan/vant-weapp/tree/v0.3.1)
|
||
`2018-09-08`
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复内置样式无法引入的问题 [\#535](https://github.com/youzan/vant-weapp/pull/535)
|
||
|
||
## [v0.3.0](https://github.com/youzan/vant-weapp/tree/v0.3.0)
|
||
`2018-09-07`
|
||
|
||
**Breaking changes**
|
||
|
||
- Actionsheet: 重命名为 ActionSheet [\#514](https://github.com/youzan/vant-weapp/pull/514)
|
||
- Toast: 修改组件引入路径,避免编辑器报错的问题 [\#524](https://github.com/youzan/vant-weapp/pull/524)
|
||
- 组件统一使用 ES module 进行模块引用 [\#499](https://github.com/youzan/vant-weapp/pull/499)
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Tab 标签页组件 [\#496](https://github.com/youzan/vant-weapp/pull/496)
|
||
- 新增 Dialog 对话框组件 [\#496](https://github.com/youzan/vant-weapp/pull/496)
|
||
- 优化 Popup 动画,支持退场动画 [\#498](https://github.com/youzan/vant-weapp/pull/498)
|
||
- 优化组件风格、代码体积 [\#523](https://github.com/youzan/vant-weapp/pull/523)
|
||
- ActionSheet 支持微信开放能力 [\#516](https://github.com/youzan/vant-weapp/pull/516)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 ActionSheet subname 属性不生效的问题 [\#515](https://github.com/youzan/vant-weapp/pull/515)
|
||
- 修复 Card currency 默认值不生效的问题 [\#525](https://github.com/youzan/vant-weapp/pull/525)
|
||
- 修复 Field title 宽度错误的问题 [\#525](https://github.com/youzan/vant-weapp/pull/525)
|
||
- 修复 Tab card 类型下 color 属性不生效的问题 [\#520](https://github.com/youzan/vant-weapp/pull/520)
|
||
- 修复 Button 在加载状态下仍然显示文字的问题 [\#503](https://github.com/youzan/vant-weapp/pull/503)
|
||
|
||
|
||
## [v0.2.1](https://github.com/youzan/vant-weapp/tree/v0.2.1)
|
||
`2018-08-31`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Progress 进度条组件 [\#459](https://github.com/youzan/vant-weapp/pull/459)
|
||
- Field:增加 title-width 属性 [\#482](https://github.com/youzan/vant-weapp/pull/482)
|
||
- Search: 支持在原生 form 组件内使用 [\#480](https://github.com/youzan/vant-weapp/pull/480)
|
||
- Switch: 支持在原生 form 组件内使用 [\#478](https://github.com/youzan/vant-weapp/pull/478)
|
||
- Stepper: 支持在原生 form 组件内使用 [\#477](https://github.com/youzan/vant-weapp/pull/477)
|
||
- SwitchCell: 支持在原生 form 组件内使用 [\#479](https://github.com/youzan/vant-weapp/pull/479)
|
||
- Field: 优化清除按钮颜色 [\#476](https://github.com/youzan/vant-weapp/pull/476)
|
||
- Icon: 新增 class-prefix 属性 [\#475](https://github.com/youzan/vant-weapp/pull/475)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Search focus 属性不生效的问题 [\#484](https://github.com/youzan/vant-weapp/pull/484)
|
||
- 修复 Tabbar z-index 不生效的问题 [\#474](https://github.com/youzan/vant-weapp/pull/474)
|
||
|
||
|
||
## [v0.2.0](https://github.com/youzan/vant-weapp/tree/v0.2.0)
|
||
`2018-08-22`
|
||
|
||
**Breaking changes**
|
||
|
||
- 组件增加 addGlobalClass 属性,支持外部样式覆盖 [\#449](https://github.com/youzan/vant-weapp/pull/449)
|
||
- 优化 Notify 模块导出方式,支持 ES6 模块引入 [\#448](https://github.com/youzan/vant-weapp/pull/448)
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Slider 组件 [\#453](https://github.com/youzan/vant-weapp/pull/453)
|
||
- 新增 SwitchCell 组件 [\#455](https://github.com/youzan/vant-weapp/pull/455)
|
||
- 新增 Icon aim 类型 [\#457](https://github.com/youzan/vant-weapp/pull/457)
|
||
- 新增 Field name 属性 [\#450](https://github.com/youzan/vant-weapp/pull/450)
|
||
- 新增 multi-ellipsis 内部样式类 [\#456](https://github.com/youzan/vant-weapp/pull/456)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 share 图标无法加粗的问题 [\#457](https://github.com/youzan/vant-weapp/pull/457)
|
||
|
||
## [v0.1.1](https://github.com/youzan/vant-weapp/tree/v0.1.1)
|
||
`2018-08-21`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Toast 组件 [\#437](https://github.com/youzan/vant-weapp/pull/437)
|
||
- 新增 Tabbar 组件 [\#435](https://github.com/youzan/vant-weapp/pull/435)
|
||
- 新增 Transition 组件 [\#441](https://github.com/youzan/vant-weapp/pull/441)
|
||
- 新增 Button square 属性 [\#427](https://github.com/youzan/vant-weapp/pull/427)
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Field 在 form 组件内无法获取值的问题 [\#447](https://github.com/youzan/vant-weapp/pull/447)
|
||
- 修复 Field icon slot 无法使用的问题 [\#428](https://github.com/youzan/vant-weapp/pull/428)
|
||
- 修复 Switch 组件无法开关的问题 [\#438](https://github.com/youzan/vant-weapp/pull/438)
|
||
|
||
## [v0.1.0](https://github.com/youzan/vant-weapp/tree/v0.1.0)
|
||
`2018-08-13`
|
||
|
||
**Breaking changes**
|
||
|
||
- 统一采用 click 作为点击事件名
|
||
|
||
**Improvements**
|
||
|
||
- 新增 Utils 工具方法
|
||
- 优化文档对事件名的描述
|
||
|
||
**Bug Fixes**
|
||
|
||
- 修复 Card 金额为 0 时无法展示的问题
|
||
|
||
|
||
## [v0.0.1](https://github.com/youzan/vant-weapp/tree/v0.0.1)
|
||
`2018-08-10`
|
||
|
||
**Improvements**
|
||
|
||
- 新增 ActionSheet 组件
|
||
- 新增 Badge 组件
|
||
- 新增 BadgeGroup 组件
|
||
- 新增 Button 组件
|
||
- 新增 Card 组件
|
||
- 新增 Cell 组件
|
||
- 新增 CellGroup 组件
|
||
- 新增 Col 组件
|
||
- 新增 Field 组件
|
||
- 新增 Icon 组件
|
||
- 新增 Loading 组件
|
||
- 新增 NavBar 组件
|
||
- 新增 NoticeBar 组件
|
||
- 新增 Notify 组件
|
||
- 新增 Panel 组件
|
||
- 新增 Popup 组件
|
||
- 新增 Row 组件
|
||
- 新增 Search 组件
|
||
- 新增 Stepper 组件
|
||
- 新增 Steps 组件
|
||
- 新增 Switch 组件
|
||
- 新增 Tag 组件
|
||
- 新增 TreeSelect 组件
|