## 更新日志 ## [v1.1.5](https://github.com/youzan/vant/tree/v1.1.5) (2018-05-24) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.4...v1.1.5) **Breaking changes** - progress进度条的颜色,可以设置成渐变色吗? [\#1094](https://github.com/youzan/vant/issues/1094) - van-field有计划出一个类似label位置的图标参数吗?登录框很常用,用户名密码输入框之前经常会有 [\#1084](https://github.com/youzan/vant/issues/1084) - Cell value=0无法显示 [\#1055](https://github.com/youzan/vant/issues/1055) **Bug Fixes** - Icon图标组件使用本地字体文件无效,还是引用 yzcdn.cn 域名下的字体文件 [\#1077](https://github.com/youzan/vant/issues/1077) - GoodsActionMiniBtn中info属性在数字过大时会被遮挡 [\#1068](https://github.com/youzan/vant/issues/1068) **Issue** - PC端打开页面时,无法滑动日期控件 [\#1145](https://github.com/youzan/vant/issues/1145) - https://youzan.github.io/vant/examples\#/zh-CN/ [\#1143](https://github.com/youzan/vant/issues/1143) - hello vant,这不是一个issues 这是一个吐槽- [\#1139](https://github.com/youzan/vant/issues/1139) - 有没有供设计参考的psd文件和规范呢 [\#1137](https://github.com/youzan/vant/issues/1137) - 请问 源码中 :class="b\(\)" 这个b 是怎么导入的? [\#1134](https://github.com/youzan/vant/issues/1134) - 使用全部导入组件方式,轮播图组件用懒加载报错 [\#1133](https://github.com/youzan/vant/issues/1133) - 建议area组件添加pc鼠标事件 [\#1131](https://github.com/youzan/vant/issues/1131) - Rate组件使用出错 [\#1130](https://github.com/youzan/vant/issues/1130) - 内置图标在手机浏览器上正常显示,PC浏览器部分无法显示 [\#1129](https://github.com/youzan/vant/issues/1129) - 自定义图标在哪里添加ttf文件 [\#1128](https://github.com/youzan/vant/issues/1128) - List能否增加一个初始化位置的设置~ [\#1125](https://github.com/youzan/vant/issues/1125) - 优惠券组件是否支持多选? [\#1123](https://github.com/youzan/vant/issues/1123) - Uploader 图片上传,有图片压缩功能吗 [\#1122](https://github.com/youzan/vant/issues/1122) - cell在某些分辨率边框显示不全。 两个框的高度显示一条border [\#1119](https://github.com/youzan/vant/issues/1119) - cellswiper样式丢失 [\#1115](https://github.com/youzan/vant/issues/1115) - van-radio组件,文字多了之后会使radio错位 [\#1113](https://github.com/youzan/vant/issues/1113) - Checkbox 与 Cell 组件一起使用 点击cell部分不会选中复选框 [\#1106](https://github.com/youzan/vant/issues/1106) - 在钉钉的APP中的iOS8.3版本下,样式错乱 [\#1105](https://github.com/youzan/vant/issues/1105) - popup lock-scroll属性不生效 [\#1101](https://github.com/youzan/vant/issues/1101) - vant collapse 可折叠面板 右边下箭头切换 Safari浏览器点击不了。。。 [\#1097](https://github.com/youzan/vant/issues/1097) - Tabs组件sticky有问题 [\#1095](https://github.com/youzan/vant/issues/1095) **Improvements** - \[bugfix\] Toast: mask render uncorrectly when forbidClick [\#1154](https://github.com/youzan/vant/pull/1154) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] AddressEdit: trim empty value [\#1150](https://github.com/youzan/vant/pull/1150) ([chenjiahan](https://github.com/chenjiahan)) - update dependencies [\#1149](https://github.com/youzan/vant/pull/1149) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Dialog: prevent button text select [\#1148](https://github.com/youzan/vant/pull/1148) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Field: normalize input margin in safari [\#1147](https://github.com/youzan/vant/pull/1147) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Picker: update unselected option color [\#1142](https://github.com/youzan/vant/pull/1142) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] fix field wrong spelling [\#1141](https://github.com/youzan/vant/pull/1141) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Popup: support lazy render [\#1138](https://github.com/youzan/vant/pull/1138) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Progress: pivot shouldn't cross border [\#1135](https://github.com/youzan/vant/pull/1135) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] NumberKeyboard: add close event [\#1127](https://github.com/youzan/vant/pull/1127) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] TreeSelect: support string type id [\#1126](https://github.com/youzan/vant/pull/1126) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] fix dialog document [\#1124](https://github.com/youzan/vant/pull/1124) ([zhangxiaoshang](https://github.com/zhangxiaoshang)) - \[Improvement\] optimize babel plugin [\#1117](https://github.com/youzan/vant/pull/1117) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] reduce scroll utils [\#1112](https://github.com/youzan/vant/pull/1112) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] optimize isDef [\#1109](https://github.com/youzan/vant/pull/1109) ([chenjiahan](https://github.com/chenjiahan)) - \[Build\] use es entry file [\#1108](https://github.com/youzan/vant/pull/1108) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] add gzip size badge [\#1107](https://github.com/youzan/vant/pull/1107) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Toast: add test cases [\#1104](https://github.com/youzan/vant/pull/1104) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Rate: add test cases [\#1103](https://github.com/youzan/vant/pull/1103) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Rate: add change event [\#1102](https://github.com/youzan/vant/pull/1102) ([chenjiahan](https://github.com/chenjiahan)) - \[improvement\] 优化sku报错文案 [\#1100](https://github.com/youzan/vant/pull/1100) ([w91](https://github.com/w91)) ## [v1.1.4](https://github.com/youzan/vant/tree/v1.1.4) (2018-05-18) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.3...v1.1.4) **Breaking changes** - van-field 组件添加 label slot [\#1041](https://github.com/youzan/vant/issues/1041) - AddressEdit组件 点击删除收货地址时弹出的Dialog.confirm只有confirm事件cancel貌似没有ww [\#1035](https://github.com/youzan/vant/issues/1035) - Toast.loading没有传loading组件的type进去,导致Toast.loading只能用loading的默认样式 [\#1018](https://github.com/youzan/vant/issues/1018) **Bug Fixes** - 时间组件默认值初始化不正确 [\#1072](https://github.com/youzan/vant/issues/1072) - ImagePreview 图片预览组件点击关闭不了bug [\#1043](https://github.com/youzan/vant/issues/1043) **Issue** - toast找不到 [\#1096](https://github.com/youzan/vant/issues/1096) - 省市县三级联动 [\#1090](https://github.com/youzan/vant/issues/1090) - ImagePreview\(\[ 目前只支持打开url,不考虑增加个 src打开base64吗 [\#1088](https://github.com/youzan/vant/issues/1088) - van-tabs组件1.1.3版本tab个数大于4个时不能横向滚动 [\#1087](https://github.com/youzan/vant/issues/1087) - \ 这里面的:class="b\('left-icon'\)"是什么用法?哪里有资料可以看 [\#1030](https://github.com/youzan/vant/issues/1030) - area [\#1028](https://github.com/youzan/vant/issues/1028) - \ [\#1026](https://github.com/youzan/vant/issues/1026) - 官网文档中关于 “List 列表“ 例子引用缺失。 [\#1024](https://github.com/youzan/vant/issues/1024) - cell-swipe样式问题 [\#1023](https://github.com/youzan/vant/issues/1023) - 没有生效 fix Tab should lazy render tab-pane \#978 \(jerryni\) [\#1021](https://github.com/youzan/vant/issues/1021) - 遍历checkbox之后,点击一个checkbox操作其他的checkbox的true或false 均触发change事件,然后其他checkbox点击没反应 [\#1020](https://github.com/youzan/vant/issues/1020) - Swipe 轮播 怎么实现点击跳转? [\#1016](https://github.com/youzan/vant/issues/1016) - slider组件拖拽的时候需要实时获取value的值 [\#1014](https://github.com/youzan/vant/issues/1014) - Stepper 步进器出现错位 [\#979](https://github.com/youzan/vant/issues/979) - Sku 商品购买组件中如何添加spu属性\(不会影响到库存和价格的属性\)? [\#966](https://github.com/youzan/vant/issues/966) **Improvements** - \[Doc\] fix demo page [\#1050](https://github.com/youzan/vant/pull/1050) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Toast: add loadingType option [\#1049](https://github.com/youzan/vant/pull/1049) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Field: add label slot [\#1048](https://github.com/youzan/vant/pull/1048) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] AddressEdit: add cancel-delete event [\#1047](https://github.com/youzan/vant/pull/1047) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] ImagePreview: can't be closed when contain single image [\#1046](https://github.com/youzan/vant/pull/1046) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] fix dialog document [\#1045](https://github.com/youzan/vant/pull/1045) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] ImagePreview: optimize click detect [\#1042](https://github.com/youzan/vant/pull/1042) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] NoticeBar: add ref check [\#1037](https://github.com/youzan/vant/pull/1037) ([chenjiahan](https://github.com/chenjiahan)) - \[improvement\] Icon: support color property [\#1031](https://github.com/youzan/vant/pull/1031) ([realywithoutname](https://github.com/realywithoutname)) - \[bugfix\] Cell: default width [\#1029](https://github.com/youzan/vant/pull/1029) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Search: update style [\#1027](https://github.com/youzan/vant/pull/1027) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Icon: update search icon [\#1025](https://github.com/youzan/vant/pull/1025) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] Changelog: fix changelog error [\#1022](https://github.com/youzan/vant/pull/1022) ([cookfront](https://github.com/cookfront)) ## [v1.1.2](https://github.com/youzan/vant/tree/v1.1.2) (2018-05-08) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.1...v1.1.2) **Breaking changes** - Swipe 如何禁止用户滑动 [\#967](https://github.com/youzan/vant/issues/967) - 关于组件事件的设计思路 [\#960](https://github.com/youzan/vant/issues/960) - 请问可以自定义tab line模式下滑动条的宽度并使其居中吗 [\#954](https://github.com/youzan/vant/issues/954) **Bug Fixes** - Search 搜索组件 首字显示不全 [\#969](https://github.com/youzan/vant/issues/969) **Issue** - 怎么用Checkbox组件实现全选功能 [\#1015](https://github.com/youzan/vant/issues/1015) - 建议增加属性筛选器 [\#1009](https://github.com/youzan/vant/issues/1009) - fonts本地化,不起作用啊! [\#1008](https://github.com/youzan/vant/issues/1008) - 关于form标签 [\#1006](https://github.com/youzan/vant/issues/1006) - Cell单元格里面value字段的颜色什么的都不能自定义的吗 [\#1004](https://github.com/youzan/vant/issues/1004) - Field type=number 报错 Cannot read property 'indexOf' of null [\#1003](https://github.com/youzan/vant/issues/1003) - Picker多级联动,初始化无法绑定 [\#996](https://github.com/youzan/vant/issues/996) - type check failed for prop "swipeThreshold" [\#995](https://github.com/youzan/vant/issues/995) - AddressList默认地址 [\#989](https://github.com/youzan/vant/issues/989) - swipe组件在nuxt generate下无效果 [\#984](https://github.com/youzan/vant/issues/984) - 本地构建主题的问题 [\#981](https://github.com/youzan/vant/issues/981) - 当picker组件和popup组件一起使用的时候,picker的toolbar的bug [\#971](https://github.com/youzan/vant/issues/971) - list 组件快速划到底部 多次加载 有点问题吧? [\#963](https://github.com/youzan/vant/issues/963) **Improvements** - \[Improvement\] Area: add change event [\#1019](https://github.com/youzan/vant/pull/1019) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] optimize document site [\#1013](https://github.com/youzan/vant/pull/1013) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Locale: add warning when not correctly registered [\#1012](https://github.com/youzan/vant/pull/1012) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Rate: remove dependencie of Array.fill [\#1011](https://github.com/youzan/vant/pull/1011) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Rate: add english document [\#1010](https://github.com/youzan/vant/pull/1010) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Rate: rename component [\#1002](https://github.com/youzan/vant/pull/1002) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] optimize watcher [\#1001](https://github.com/youzan/vant/pull/1001) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Search: should not have cell border [\#1000](https://github.com/youzan/vant/pull/1000) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Button: update border color [\#998](https://github.com/youzan/vant/pull/998) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Stepper: update disabled style [\#997](https://github.com/youzan/vant/pull/997) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] update slogan [\#993](https://github.com/youzan/vant/pull/993) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Stepper: integer wrong spelling [\#992](https://github.com/youzan/vant/pull/992) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] remove Accepted Values [\#991](https://github.com/youzan/vant/pull/991) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] remove Accepted Values [\#990](https://github.com/youzan/vant/pull/990) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Tab: should lazy render tab-pane [\#978](https://github.com/youzan/vant/pull/978) ([jerryni](https://github.com/jerryni)) ## [v1.1.1](https://github.com/youzan/vant/tree/v1.1.1) (2018-05-04) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.0...v1.1.1) **Issue** - dialog的高级用法能不能给一个完整的实例,文档看的一脸懵逼 [\#987](https://github.com/youzan/vant/issues/987) - mpvue 中引入 vant 不生效 [\#983](https://github.com/youzan/vant/issues/983) - AddressEdit 地址编辑 默认收件地区 [\#982](https://github.com/youzan/vant/issues/982) - List组件的一个BUG [\#976](https://github.com/youzan/vant/issues/976) - tab标签页,滑动切换 怎么监听滑动切换的事件 , 比如滑动到了第几个模块, 有没有相应的事件? [\#973](https://github.com/youzan/vant/issues/973) - GoodsAction 商品页行动点 bug问题 [\#964](https://github.com/youzan/vant/issues/964) - iPhoneX路由带参跳转需要按两遍以上才能跳转 [\#962](https://github.com/youzan/vant/issues/962) - van-address-edit 里的省市区不能绑定值,每次都要重选 [\#961](https://github.com/youzan/vant/issues/961) - List 选项卡切换后 无法加载 [\#959](https://github.com/youzan/vant/issues/959) - 请问是否可以自定义swiper的宽度? [\#958](https://github.com/youzan/vant/issues/958) - 为什的组件的css不能写在.vue文件里面? [\#957](https://github.com/youzan/vant/issues/957) - 你好,我打算用这个也淘宝的flexible,做适配,vue项目,但是这个应该怎么适配呢 [\#955](https://github.com/youzan/vant/issues/955) - 打包和按需加载的实现 [\#953](https://github.com/youzan/vant/issues/953) - 请问search组件打开键盘的时候如何默认数字键 [\#952](https://github.com/youzan/vant/issues/952) - 建议加入下拉组件 [\#950](https://github.com/youzan/vant/issues/950) - 与vw适配不兼容 [\#949](https://github.com/youzan/vant/issues/949) - list 的loading text 加载中 文字如何设置 ? [\#947](https://github.com/youzan/vant/issues/947) - 希望增加一个类似微信朋友圈的“全文、收起”的组件 [\#946](https://github.com/youzan/vant/issues/946) - picker多列联动,获取数据后再绑定出错 [\#945](https://github.com/youzan/vant/issues/945) - Coupon组件超过屏幕高度的时候不会出现滚动条 [\#943](https://github.com/youzan/vant/issues/943) - slider 2个重大BUG。 [\#942](https://github.com/youzan/vant/issues/942) - CouponList组件disabled-doupons参数无效 [\#939](https://github.com/youzan/vant/issues/939) - list组件load重复加载问题 [\#933](https://github.com/youzan/vant/issues/933) **Improvements** - \[Improvement\] Tab: add line-width prop [\#988](https://github.com/youzan/vant/pull/988) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] ImagePreview: remove unused code [\#986](https://github.com/youzan/vant/pull/986) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Swipe: optimzie performance [\#985](https://github.com/youzan/vant/pull/985) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] ImagePreview offset empty [\#980](https://github.com/youzan/vant/pull/980) ([jerryni](https://github.com/jerryni)) - \[Improvement\] Slider: expand touch area [\#977](https://github.com/youzan/vant/pull/977) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Swipe: add touchable prop [\#975](https://github.com/youzan/vant/pull/975) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] Search: incomplete text display in iOS [\#974](https://github.com/youzan/vant/pull/974) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] Contact: optimize background image [\#972](https://github.com/youzan/vant/pull/972) ([chenjiahan](https://github.com/chenjiahan)) - \[Doc\] fixed a bug in picker doc [\#970](https://github.com/youzan/vant/pull/970) ([Plortinus](https://github.com/Plortinus)) - \[Improvement\] Stepper: add interger prop [\#951](https://github.com/youzan/vant/pull/951) ([chenjiahan](https://github.com/chenjiahan)) - \[bugfix\] List: loading-text support [\#948](https://github.com/youzan/vant/pull/948) ([rex-zsd](https://github.com/rex-zsd)) - \[new feature\] \#734 swipe组件支持垂直滚动 [\#938](https://github.com/youzan/vant/pull/938) ([jerryni](https://github.com/jerryni)) ## [v1.1.0](https://github.com/youzan/vant/tree/v1.1.0) (2018-04-25) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.8...v1.1.0) **Issue** - swiper-item 加了页面跳转事件或者a 标签,swiper 组件中含 swipe-item 滑动时,会触发页面跳转,在ios 中会出现 [\#940](https://github.com/youzan/vant/issues/940) - van-datetime-picker选项高度item-height设置不生效 [\#935](https://github.com/youzan/vant/issues/935) - rem还没解决方案吗,可以提供些思路怎么快速解决 [\#931](https://github.com/youzan/vant/issues/931) **Improvements** - \[Doc\] Loading: remove circle type from document [\#941](https://github.com/youzan/vant/pull/941) ([chenjiahan](https://github.com/chenjiahan)) - \[build\] upgrade vue-loader@15 [\#937](https://github.com/youzan/vant/pull/937) ([chenjiahan](https://github.com/chenjiahan)) - \[Build\] use MiniCssExtractPlugin instead of ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] use bem mixin [\#934](https://github.com/youzan/vant/pull/934) ([chenjiahan](https://github.com/chenjiahan)) - \[Improvement\] more component use bem mixin [\#932](https://github.com/youzan/vant/pull/932) ([chenjiahan](https://github.com/chenjiahan)) ## [v1.0.8](https://github.com/youzan/vant/tree/v1.0.8) (2018-04-20) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.7...v1.0.8) ## [v1.0.7](https://github.com/youzan/vant/tree/v1.0.7) (2018-04-17) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.6...v1.0.7) ## [v1.0.6](https://github.com/youzan/vant/tree/v1.0.6) (2018-04-17) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.5...v1.0.6) ## [v1.0.5](https://github.com/youzan/vant/tree/v1.0.5) (2018-04-13) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.4...v1.0.5) ## [v1.0.4](https://github.com/youzan/vant/tree/v1.0.4) (2018-04-10) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.3...v1.0.4) ## [v1.0.3](https://github.com/youzan/vant/tree/v1.0.3) (2018-03-26) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.2...v1.0.3) ## [v1.0.2](https://github.com/youzan/vant/tree/v1.0.2) (2018-03-22) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.1...v1.0.2) ## [v1.0.1](https://github.com/youzan/vant/tree/v1.0.1) (2018-03-19) [Full Changelog](https://github.com/youzan/vant/compare/v1.0.0...v1.0.1) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*