{"release":{"tag":{"name":"v1.5.8","path":"/umicro/uView/tags/v1.5.8","tree_path":"/umicro/uView/tree/v1.5.8","message":"","commit":{"id":"a9758b9193a2d6254ce8b1d9e75c6de9cbd51e1f","short_id":"a9758b9","title":"Merge branch 'yiruiwen' into dev","title_markdown":"Merge branch 'yiruiwen' into dev","description":"","description_markdown":"","message":"Merge branch 'yiruiwen' into dev\n","message_markdown":"Merge branch 'yiruiwen' into dev","detail_path":"/umicro/uView/commit/a9758b9193a2d6254ce8b1d9e75c6de9cbd51e1f","commits_path":"/umicro/uView/commits/a9758b9193a2d6254ce8b1d9e75c6de9cbd51e1f","tree_path":"/umicro/uView/tree/a9758b9193a2d6254ce8b1d9e75c6de9cbd51e1f","author":{"name":"uView UI","email":"1416956117@qq.com","username":"xuqu_user","user_path":"/xuqu_user","enterprise_user_path":null,"image_path":"no_portrait.png#uView UI-xuqu_user","is_gitee_user":true,"is_enterprise_user":null,"widget_url":""},"committer":{"name":"uView UI","email":"1416956117@qq.com","username":"xuqu_user","user_path":"/xuqu_user","enterprise_user_path":null,"image_path":"no_portrait.png#uView UI-xuqu_user","is_gitee_user":true,"is_enterprise_user":null,"widget_url":""},"authored_date":"2020-08-04T15:37:07+08:00","committed_date":"2020-08-04T15:37:07+08:00","signature":null,"build_state":null},"archive_path":"/umicro/uView/repository/archive/v1.5.8","signature":null},"operating":{"edit":false,"download":true,"destroy":false,"enterprise_forbid_zip":false},"release":{"title":"uView UI 1.5.8","path":"/umicro/uView/releases/tag/v1.5.8","tag_path":"/umicro/uView/tree/v1.5.8","project_id":9039828,"created_at":"2020-09-03T13:48:04+08:00","is_prerelease":false,"description":"## 本次更新内容❤️\r\n### 📌 重要调整：this.$u.sys和this.$u.os，通过this.$u.sys()和this.$u.os()调用，详见 [升级指南](https://uviewui.com/components/changeGuide.html)\r\n\r\n### ✨ 新特性\r\n- readMore组件新增index参数和close，open事件\r\n- 新增man，woman，level三个图标\r\n- 新增\"注意事项\"专题，记录一些踩坑知识点，让同学们少走弯路，详见 [注意事项](https://uviewui.com/components/feature.html)\r\n- alertTips组件新增icon、title-style、desc-style、icon-style参数\r\n- 新增节流和防抖方法，通过this.$u.debounce()和this.$u.throttle()调用，详见 [节流防抖](https://uviewui.com/js/debounce.html)\r\n- button组件新增节流功能，以及配置间隔时间的throttle-time参数\r\n- field和input组件新增trim参数，默认为true，可以去除输入内容两端的空格\r\n- 新增$u.sys用于获取设备的信息，相当于uni.getSystemInfoSync()的效果\r\n- 新增$u.os用于返回平台名称，结果为小写的\"ios\"或者\"android\"\r\n- popup和mask新增hover-stop-propagation属性，阻止父节点出现点击状态\r\n- layout组件的col新增text-align属性，用于控制内部的水平对齐方式\r\n- upload新增limit-type参数，用于控制允许选择的图片后缀\r\n- input组件新增selection-start和selection-end参数\r\n- number-box组件新增只能属于正整数的positive-integer参数\r\n- picker、select和keyboard组件新增cancel-text和confirm-text参数\r\n- tabs组件新增item-width参数，用于控制标签的宽度，超出用过省略号表示，默认auto\r\n- avatar头像新增性别和等级展示角标\r\n- sticky新增unfixed取消吸顶事件\r\n- action-sheet组件新增disabled属性，用于禁止某些条目的可选性\r\n- 最新版hx2.8.2中，waterfall组件支持支付宝小程序\r\n- button组件返回的click事件中新增返回事件源参数\r\n- icon组件新增用于控制图标的width和height参数，以及控制垂直方向偏移的top参数\r\n\r\n### 🌈 优化\r\n- 优化form-item组件的label设置为空内容时，依然显示左边的占位的问题\r\n- 优化lazy-load组件修改图片路径后，无法再次加载的问题\r\n- 优化navbar，upload，tabbar等组件由于各小程序props参数类型为Function，组件内执行父组件方法时this上下文丢失的问题\r\n- 优化numberbox组件无法阻止事件冒泡的问题\r\n- 优化timeFormat组件由于使用es7的padStart方法，导致在电脑版微信小程序无法识别的问题\r\n- 调整navbar的返回图标为nav-back，大小调整为44\r\n- 重构section组件，类名使用BEM规范，左侧竖线使用字体图标，新增控制竖线颜色的line-color参数\r\n\r\n### 🐛 修复\r\n- 修复无法通过手动设置popup的v-model为false来关闭popup的问题\r\n- 修复骨架屏组件在微信小程序平台的组件中使用无效的问题\r\n- 修复section组件showLine参数无法隐藏左边竖条的问题\r\n- 改正radio和checkbox组件的label-disabled判断不严格的问题\r\n- 修复popup组件关闭时触发两次close事件的问题\r\n- 修复slider滑块组件block-color参数无效的问题\r\n- 修复http请求中拦截器中返回false报错的问题，优化响应拦截器返回false报找不到catch()的问题\r\n- 修复layout的col子组件text-align参数无效的问题\r\n- 修复image组件的error-icon和loadingicon参数传图片地址时无效的问题\r\n- 修复number-box动态设置输入值不生效的问题\r\n\r\n### 📝 更多内容/文档详见 [uView UI 官网](https://uviewui.com/)","author":{"name":"TtTao","username":"tttao7","path":"/tttao7","avatar_url":"https://foruda.gitee.com/avatar/1677027768842450650/4931143_tt_tao_1591889195.png!avatar30"},"attach_files":[],"zip_download_url":"/umicro/uView/releases/tag/v1.5.8.zip","tar_download_url":"/umicro/uView/releases/tag/v1.5.8.tar.gz"}}}