瀏覽代碼

openid bug修改

wt 3 年之前
當前提交
9d88fc05bc
共有 100 個文件被更改,包括 4229 次插入0 次删除
  1. 16 0
      .hbuilderx/launch.json
  2. 17 0
      App.vue
  3. 4 0
      config.js
  4. 14 0
      index.html
  5. 22 0
      main.js
  6. 73 0
      manifest.json
  7. 7 0
      node_modules/@vant/weapp/LICENSE
  8. 116 0
      node_modules/@vant/weapp/README.md
  9. 1522 0
      node_modules/@vant/weapp/changelog.generated.md
  10. 1 0
      node_modules/@vant/weapp/dist/action-sheet/index.d.ts
  11. 70 0
      node_modules/@vant/weapp/dist/action-sheet/index.js
  12. 8 0
      node_modules/@vant/weapp/dist/action-sheet/index.json
  13. 69 0
      node_modules/@vant/weapp/dist/action-sheet/index.wxml
  14. 1 0
      node_modules/@vant/weapp/dist/action-sheet/index.wxss
  15. 1 0
      node_modules/@vant/weapp/dist/area/index.d.ts
  16. 217 0
      node_modules/@vant/weapp/dist/area/index.js
  17. 6 0
      node_modules/@vant/weapp/dist/area/index.json
  18. 20 0
      node_modules/@vant/weapp/dist/area/index.wxml
  19. 8 0
      node_modules/@vant/weapp/dist/area/index.wxs
  20. 1 0
      node_modules/@vant/weapp/dist/area/index.wxss
  21. 1 0
      node_modules/@vant/weapp/dist/button/index.d.ts
  22. 64 0
      node_modules/@vant/weapp/dist/button/index.js
  23. 7 0
      node_modules/@vant/weapp/dist/button/index.json
  24. 53 0
      node_modules/@vant/weapp/dist/button/index.wxml
  25. 39 0
      node_modules/@vant/weapp/dist/button/index.wxs
  26. 0 0
      node_modules/@vant/weapp/dist/button/index.wxss
  27. 68 0
      node_modules/@vant/weapp/dist/calendar/calendar.wxml
  28. 1 0
      node_modules/@vant/weapp/dist/calendar/components/header/index.d.ts
  29. 37 0
      node_modules/@vant/weapp/dist/calendar/components/header/index.js
  30. 3 0
      node_modules/@vant/weapp/dist/calendar/components/header/index.json
  31. 16 0
      node_modules/@vant/weapp/dist/calendar/components/header/index.wxml
  32. 1 0
      node_modules/@vant/weapp/dist/calendar/components/header/index.wxss
  33. 1 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.d.ts
  34. 154 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.js
  35. 3 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.json
  36. 39 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.wxml
  37. 71 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.wxs
  38. 0 0
      node_modules/@vant/weapp/dist/calendar/components/month/index.wxss
  39. 1 0
      node_modules/@vant/weapp/dist/calendar/index.d.ts
  40. 323 0
      node_modules/@vant/weapp/dist/calendar/index.js
  41. 10 0
      node_modules/@vant/weapp/dist/calendar/index.json
  42. 25 0
      node_modules/@vant/weapp/dist/calendar/index.wxml
  43. 37 0
      node_modules/@vant/weapp/dist/calendar/index.wxs
  44. 1 0
      node_modules/@vant/weapp/dist/calendar/index.wxss
  45. 12 0
      node_modules/@vant/weapp/dist/calendar/utils.d.ts
  46. 83 0
      node_modules/@vant/weapp/dist/calendar/utils.js
  47. 25 0
      node_modules/@vant/weapp/dist/calendar/utils.wxs
  48. 1 0
      node_modules/@vant/weapp/dist/card/index.d.ts
  49. 49 0
      node_modules/@vant/weapp/dist/card/index.js
  50. 6 0
      node_modules/@vant/weapp/dist/card/index.json
  51. 56 0
      node_modules/@vant/weapp/dist/card/index.wxml
  52. 1 0
      node_modules/@vant/weapp/dist/card/index.wxss
  53. 1 0
      node_modules/@vant/weapp/dist/cell-group/index.d.ts
  54. 11 0
      node_modules/@vant/weapp/dist/cell-group/index.js
  55. 3 0
      node_modules/@vant/weapp/dist/cell-group/index.json
  56. 11 0
      node_modules/@vant/weapp/dist/cell-group/index.wxml
  57. 1 0
      node_modules/@vant/weapp/dist/cell-group/index.wxss
  58. 1 0
      node_modules/@vant/weapp/dist/cell/index.d.ts
  59. 38 0
      node_modules/@vant/weapp/dist/cell/index.js
  60. 6 0
      node_modules/@vant/weapp/dist/cell/index.json
  61. 47 0
      node_modules/@vant/weapp/dist/cell/index.wxml
  62. 17 0
      node_modules/@vant/weapp/dist/cell/index.wxs
  63. 0 0
      node_modules/@vant/weapp/dist/cell/index.wxss
  64. 1 0
      node_modules/@vant/weapp/dist/checkbox-group/index.d.ts
  65. 36 0
      node_modules/@vant/weapp/dist/checkbox-group/index.js
  66. 3 0
      node_modules/@vant/weapp/dist/checkbox-group/index.json
  67. 5 0
      node_modules/@vant/weapp/dist/checkbox-group/index.wxml
  68. 1 0
      node_modules/@vant/weapp/dist/checkbox-group/index.wxss
  69. 1 0
      node_modules/@vant/weapp/dist/checkbox/index.d.ts
  70. 77 0
      node_modules/@vant/weapp/dist/checkbox/index.js
  71. 6 0
      node_modules/@vant/weapp/dist/checkbox/index.json
  72. 31 0
      node_modules/@vant/weapp/dist/checkbox/index.wxml
  73. 20 0
      node_modules/@vant/weapp/dist/checkbox/index.wxs
  74. 1 0
      node_modules/@vant/weapp/dist/checkbox/index.wxss
  75. 4 0
      node_modules/@vant/weapp/dist/circle/canvas.d.ts
  76. 43 0
      node_modules/@vant/weapp/dist/circle/canvas.js
  77. 1 0
      node_modules/@vant/weapp/dist/circle/index.d.ts
  78. 193 0
      node_modules/@vant/weapp/dist/circle/index.js
  79. 3 0
      node_modules/@vant/weapp/dist/circle/index.json
  80. 9 0
      node_modules/@vant/weapp/dist/circle/index.wxml
  81. 1 0
      node_modules/@vant/weapp/dist/circle/index.wxss
  82. 1 0
      node_modules/@vant/weapp/dist/col/index.d.ts
  83. 9 0
      node_modules/@vant/weapp/dist/col/index.js
  84. 3 0
      node_modules/@vant/weapp/dist/col/index.json
  85. 9 0
      node_modules/@vant/weapp/dist/col/index.wxml
  86. 18 0
      node_modules/@vant/weapp/dist/col/index.wxs
  87. 1 0
      node_modules/@vant/weapp/dist/col/index.wxss
  88. 2 0
      node_modules/@vant/weapp/dist/collapse-item/animate.d.ts
  89. 61 0
      node_modules/@vant/weapp/dist/collapse-item/animate.js
  90. 1 0
      node_modules/@vant/weapp/dist/collapse-item/index.d.ts
  91. 59 0
      node_modules/@vant/weapp/dist/collapse-item/index.js
  92. 6 0
      node_modules/@vant/weapp/dist/collapse-item/index.json
  93. 44 0
      node_modules/@vant/weapp/dist/collapse-item/index.wxml
  94. 1 0
      node_modules/@vant/weapp/dist/collapse-item/index.wxss
  95. 1 0
      node_modules/@vant/weapp/dist/collapse/index.d.ts
  96. 46 0
      node_modules/@vant/weapp/dist/collapse/index.js
  97. 3 0
      node_modules/@vant/weapp/dist/collapse/index.json
  98. 3 0
      node_modules/@vant/weapp/dist/collapse/index.wxml
  99. 1 0
      node_modules/@vant/weapp/dist/collapse/index.wxss
  100. 7 0
      node_modules/@vant/weapp/dist/common/color.d.ts

+ 16 - 0
.hbuilderx/launch.json

@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version": "0.0",
+    "configurations": [{
+     	"default" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"mp-weixin" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"type" : "uniCloud"
+     }
+    ]
+}

+ 17 - 0
App.vue

@@ -0,0 +1,17 @@
+<script>
+	export default {
+		onLaunch: function() {
+			console.log('App Launch')
+		},
+		onShow: function() {
+			console.log('App Show')
+		},
+		onHide: function() {
+			console.log('App Hide')
+		}
+	}
+</script>
+
+<style>
+	/*每个页面公共css */
+</style>

+ 4 - 0
config.js

@@ -0,0 +1,4 @@
+const config = {
+	base_url: ''
+}
+export { config }

+ 14 - 0
index.html

@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
+    <title></title>
+    <!--preload-links-->
+    <!--app-context-->
+  </head>
+  <body>
+    <div id="app"><!--app-html--></div>
+    <script type="module" src="/main.js"></script>
+  </body>
+</html>

+ 22 - 0
main.js

@@ -0,0 +1,22 @@
+import App from './App'
+
+
+// #ifndef VUE3
+import Vue from 'vue'
+Vue.config.productionTip = false
+App.mpType = 'app'
+const app = new Vue({
+    ...App
+})
+app.$mount()
+// #endif
+
+// #ifdef VUE3
+import { createSSRApp } from 'vue'
+export function createApp() {
+  const app = createSSRApp(App)
+  return {
+    app
+  }
+}
+// #endif

+ 73 - 0
manifest.json

@@ -0,0 +1,73 @@
+{
+    "name" : "dx",
+    "appid" : "__UNI__CA3261B",
+    "description" : "",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : false,
+    /* 5+App特有相关 */
+    "app-plus" : {
+        "usingComponents" : true,
+        "nvueStyleCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        /* 模块配置 */
+        "modules" : {},
+        /* 应用发布信息 */
+        "distribute" : {
+            /* android打包配置 */
+            "android" : {
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ]
+            },
+            /* ios打包配置 */
+            "ios" : {},
+            /* SDK配置 */
+            "sdkConfigs" : {}
+        }
+    },
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 */
+    "mp-weixin" : {
+        "appid" : "wx40274c2aaec24330",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true,
+        "permission" : {}
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    },
+    "uniStatistics" : {
+        "enable" : false
+    },
+    "vueVersion" : "2"
+}

+ 7 - 0
node_modules/@vant/weapp/LICENSE

@@ -0,0 +1,7 @@
+Copyright 2016-present Youzan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 116 - 0
node_modules/@vant/weapp/README.md

@@ -0,0 +1,116 @@
+<p align="center">
+  <img alt="logo" src="https://img.yzcdn.cn/vant/logo.png" width="120" style="margin-bottom: 10px;">
+</p>
+<h3 align="center">轻量、可靠的小程序 UI 组件库</h3>
+
+<p align="center">
+  <img src="https://img.shields.io/npm/v/@vant/weapp.svg?style=for-the-badge" alt="npm version" />
+  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge&color=#4fc08d" />
+  <img src="https://img.shields.io/npm/dt/@vant/weapp.svg?style=for-the-badge&color=#4fc08d" alt="downloads" />
+  <img src="https://img.shields.io/npm/dm/@vant/weapp.svg?style=for-the-badge&color=#4fc08d" alt="downloads" />
+</p>
+
+<p align="center">
+  🔥 <a href="https://vant-contrib.gitee.io/vant-weapp">文档网站(国内)</a>
+  &nbsp;
+  🌈 <a href="https://youzan.github.io/vant-weapp">文档网站(GitHub)</a>
+  &nbsp;
+  🚀 <a href="https://github.com/youzan/vant" target="_blank">Vue 版</a>
+</p>
+
+---
+
+### 介绍
+
+Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源,已持续维护 4 年时间。Vant 对内承载了有赞所有核心业务,对外服务十多万开发者,是业界主流的移动端组件库之一。
+
+目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant)、[Vue 3 版本](https://vant-contrib.gitee.io/vant/v3)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
+
+## 预览
+
+扫描下方小程序二维码,体验组件库示例:
+
+<img src="https://img.yzcdn.cn/vant-weapp/qrcode-201808101114.jpg" width="200" height="200" style="margin-top: 10px;" >
+
+## 使用之前
+
+使用 Vant Weapp 前,请确保你已经学习过微信官方的 [小程序简易教程](https://developers.weixin.qq.com/miniprogram/dev/framework/) 和 [自定义组件介绍](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)。
+
+## 安装
+
+### 方式一. 通过 npm 安装 (推荐)
+
+小程序已经支持使用 npm 安装第三方包,详见 [npm 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm)
+
+```bash
+# 通过 npm 安装
+npm i @vant/weapp -S --production
+
+# 通过 yarn 安装
+yarn add @vant/weapp --production
+
+# 安装 0.x 版本
+npm i vant-weapp -S --production
+```
+
+### 方式二. 下载代码
+
+直接通过 git 下载 Vant Weapp 源代码,并将`dist`目录拷贝到自己的项目中
+```bash
+git clone https://github.com/youzan/vant-weapp.git
+```
+
+## 使用组件
+
+以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可
+
+```json
+{
+  "usingComponents": {
+    "van-button": "/path/to/vant-weapp/dist/button/index"
+  }
+}
+```
+
+接着就可以在 wxml 中直接使用组件
+
+```html
+<van-button type="primary">按钮</van-button>
+```
+
+## 在开发者工具中预览
+
+```bash
+# 安装项目依赖
+npm install
+
+# 执行组件编译
+npm run dev
+```
+
+打开[微信开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html),把`vant-weapp/example`目录添加进去就可以预览示例了。
+
+PS:关于 `van-area`  Area 省市区选择组件,地区数据初始化可以直接在云开发环境中导入`vant-weapp/example/database_area.JSON`文件使用
+
+## 基础库版本
+
+Vant Weapp 最低支持到小程序基础库 2.6.5 版本
+
+## 链接
+
+* [更新日志](https://github.com/youzan/vant-weapp/blob/dev/docs/markdown/changelog.md)
+* [意见反馈](https://github.com/youzan/vant-weapp/issues)
+* [加入我们](https://job.youzan.com)
+* [Vant Vue 版](https://github.com/youzan/vant)
+
+## 开源协议
+
+本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)协议,请自由地享受和参与开源。
+
+[vant-weapp]: https://github.com/youzan/vant-weapp
+[issue]: https://github.com/youzan/vant-weapp/issues/new
+[PR]: https://github.com/youzan/vant-weapp/compare
+[MIT]: http://opensource.org/licenses/MIT
+[小程序简易教程]: https://developers.weixin.qq.com/miniprogram/dev/framework/
+[小程序框架介绍]: https://developers.weixin.qq.com/miniprogram/dev/framework/MINA.html
+[微信开发者工具]: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html

+ 1522 - 0
node_modules/@vant/weapp/changelog.generated.md

@@ -0,0 +1,1522 @@
+
+## [1.8.5](https://github.com/youzan/vant-weapp/compare/v1.8.4...v1.8.5) (2021-09-15)
+
+
+### Bug Fixes
+
+* **Calendar:** remove duration 0 ([#4474](https://github.com/youzan/vant-weapp/issues/4474)) ([058a00e](https://github.com/youzan/vant-weapp/commit/058a00ed331b73a2db752ccc725e45e0808c6313))
+* **page-scroll:** fix isDef ([#4488](https://github.com/youzan/vant-weapp/issues/4488)) ([df2f297](https://github.com/youzan/vant-weapp/commit/df2f297541def40eb6ac9ec6bd8dbf002ca6b227))
+
+
+
+## [1.8.4](https://github.com/youzan/vant-weapp/compare/v1.8.3...v1.8.4) (2021-09-07)
+
+
+### Bug Fixes
+
+* **page-scroll:** check getCurrentPage is def ([#4458](https://github.com/youzan/vant-weapp/issues/4458)) ([69cdf45](https://github.com/youzan/vant-weapp/commit/69cdf45958ab23c05658f0fd618ebdab83085863))
+
+
+### Features
+
+* **Field:** add clear-trigger prop ([#4461](https://github.com/youzan/vant-weapp/issues/4461)) ([cc0df90](https://github.com/youzan/vant-weapp/commit/cc0df907e764d50e18c70227b6faf3678b30bc8b))
+* **Search:** add clear-icon prop ([#4463](https://github.com/youzan/vant-weapp/issues/4463)) ([b5ab3be](https://github.com/youzan/vant-weapp/commit/b5ab3bee643e4bc1dd848fe0acf8c4a5c7b4a455))
+* **Search:** add clear-trigger prop ([9e17b13](https://github.com/youzan/vant-weapp/commit/9e17b13164e57ff09140d755870853f702a89a39))
+* **Slider:** add range props ([#4442](https://github.com/youzan/vant-weapp/issues/4442)) ([2c02069](https://github.com/youzan/vant-weapp/commit/2c020698082d7715496ba1438c00d1abc7fede9d))
+
+
+
+## [1.8.3](https://github.com/youzan/vant-weapp/compare/v1.8.2...v1.8.3) (2021-08-30)
+
+
+### Bug Fixes
+
+* **Canlendar:** fix default-date invalid ([#4430](https://github.com/youzan/vant-weapp/issues/4430)) ([ca9ffd8](https://github.com/youzan/vant-weapp/commit/ca9ffd826909e154e112fd4e87223038ffddfd89))
+* **ShareSheet:** overlayStyle type should be String ([8c408e2](https://github.com/youzan/vant-weapp/commit/8c408e23030e65a0baf62f0b21fb8ed3f2c9df67))
+* **Stepper:** incorrect minus/plus slots ([#4427](https://github.com/youzan/vant-weapp/issues/4427)) ([cb3018b](https://github.com/youzan/vant-weapp/commit/cb3018b26a355fd75838e371eb86b8480f6a5c35))
+* **Sticky:** Cannot read property 'top' of null ([#4433](https://github.com/youzan/vant-weapp/issues/4433)) ([3564796](https://github.com/youzan/vant-weapp/commit/35647969f5feca62062f1f55740dcfa0cf4aa4ab))
+* 修改min-date和max-date的传值校验 ([37d8e69](https://github.com/youzan/vant-weapp/commit/37d8e697c9e3d985b926f68553b8afbb5c0a0569))
+
+
+### Features
+
+* **Popup:** add lock-scroll prop ([#4384](https://github.com/youzan/vant-weapp/issues/4384)) ([0b273fc](https://github.com/youzan/vant-weapp/commit/0b273fc03784295558a3beeccd798a692c82dca6))
+
+
+### Performance Improvements
+
+* **radio:** label 的 margin-left 改为 padding-left,增大可点击区域,增强用户体验 ([#4165](https://github.com/youzan/vant-weapp/issues/4165)) ([56ac6e1](https://github.com/youzan/vant-weapp/commit/56ac6e1cc443b05c138e18c1999fa9e675b90830))
+
+
+
+## [1.8.2](https://github.com/youzan/vant-weapp/compare/v1.8.1...v1.8.2) (2021-08-18)
+
+
+### Bug Fixes
+
+* **Calendar:** template url should be relative path ([7f7cf62](https://github.com/youzan/vant-weapp/commit/7f7cf62ee0f675ad6b86d41f70b23336e7ddc7a1))
+* **Field:** template url should be relative path ([6dd42a0](https://github.com/youzan/vant-weapp/commit/6dd42a0473578e26e5f5f96158959e56689f68b6))
+
+
+
+## [1.8.1](https://github.com/youzan/vant-weapp/compare/v1.8.0...v1.8.1) (2021-08-18)
+
+
+### Bug Fixes
+
+* **Picker:** template url should be relative path ([#4408](https://github.com/youzan/vant-weapp/issues/4408)) ([bcf7c9c](https://github.com/youzan/vant-weapp/commit/bcf7c9c131ffa3f3acf930cb256ba94024c65636))
+
+
+### Features
+
+* **Calendar:** add click-subtitle event ([#4385](https://github.com/youzan/vant-weapp/issues/4385)) ([e07f9f9](https://github.com/youzan/vant-weapp/commit/e07f9f9581a38703e544abf66708055d798b8fd6))
+* **Circle:** using setTimeout instead of setInterval ([#4401](https://github.com/youzan/vant-weapp/issues/4401)) ([41457c8](https://github.com/youzan/vant-weapp/commit/41457c899b9cbe295dbf7a428cd7276f7c3dc270))
+
+
+
+# [1.8.0](https://github.com/youzan/vant-weapp/compare/v1.7.2...v1.8.0) (2021-08-11)
+
+
+### Features
+
+* **Overlay:** add lock-scroll prop ([#4383](https://github.com/youzan/vant-weapp/issues/4383)) ([74e6db7](https://github.com/youzan/vant-weapp/commit/74e6db7ac468d43a0591286b42fc66b710f897d8))
+* **search:** add new event click-input ([#4357](https://github.com/youzan/vant-weapp/issues/4357)) ([859f37c](https://github.com/youzan/vant-weapp/commit/859f37c425251a82d0b2672532abd5ab717e50de))
+
+
+### Performance Improvements
+
+* 不再兼容 iOS8 ([#4395](https://github.com/youzan/vant-weapp/issues/4395)) ([3084ca2](https://github.com/youzan/vant-weapp/commit/3084ca26a4f90639c65e4bdd360cce6fe5f93ccd))
+
+
+
+## [1.7.2](https://github.com/youzan/vant-weapp/compare/v1.7.1...v1.7.2) (2021-07-19)
+
+
+### Bug Fixes
+
+* **Calendar:** set current date is inital ([#4339](https://github.com/youzan/vant-weapp/issues/4339)) ([82811d4](https://github.com/youzan/vant-weapp/commit/82811d4058f917e44b97bfdae5fb3ef0b6c94195))
+
+
+### Features
+
+* **Cell:** cell-group inset prop ([#4341](https://github.com/youzan/vant-weapp/issues/4341)) ([98721b7](https://github.com/youzan/vant-weapp/commit/98721b7b7e2a1fa032a465e5f653a14af1a85db5))
+* **search:** add new event click-input ([#4337](https://github.com/youzan/vant-weapp/issues/4337)) ([95032ed](https://github.com/youzan/vant-weapp/commit/95032ed2902ee60143f9de2df6ce34cc32c3edb2))
+
+
+
+## [1.7.1](https://github.com/youzan/vant-weapp/compare/v1.7.0...v1.7.1) (2021-07-06)
+
+
+### Bug Fixes
+
+* **Col:** incorrect style in less 4.0 ([#4322](https://github.com/youzan/vant-weapp/issues/4322)) ([baf1140](https://github.com/youzan/vant-weapp/commit/baf11400d8e27a24bfc4a7c2e4d886e0c9b5cfe4))
+* **griditem:** set icon prefix to 'van-icon' ([#4318](https://github.com/youzan/vant-weapp/issues/4318)) ([a3fc862](https://github.com/youzan/vant-weapp/commit/a3fc8628650b14901b44092c0d2d1a4d47ee5764))
+* **IndexBar:** sidebar not exists ([#4310](https://github.com/youzan/vant-weapp/issues/4310)) ([935a237](https://github.com/youzan/vant-weapp/commit/935a23738f878b81de982973db883f12b53258be))
+
+
+
+# [1.7.0](https://github.com/youzan/vant-weapp/compare/v1.6.9...v1.7.0) (2021-07-04)
+
+
+### Bug Fixes
+
+* **button:** 修复type为getUserInfo且wx.getUserProfile可用时,lang参数无效问题 ([#4250](https://github.com/youzan/vant-weapp/issues/4250)) ([710a0cf](https://github.com/youzan/vant-weapp/commit/710a0cf32744da819ee8ac07d0ada6cad53a6fa8))
+* **share-sheet:** add icons ([#4256](https://github.com/youzan/vant-weapp/issues/4256)) ([f1a8b34](https://github.com/youzan/vant-weapp/commit/f1a8b3496271e90cefd61a5789989cf16aa2eeac))
+
+
+### Features
+
+* **Checkbox:** add direction prop ([#4265](https://github.com/youzan/vant-weapp/issues/4265)) ([cececba](https://github.com/youzan/vant-weapp/commit/cececba9111842a3783b90bb152748fc9a4c5db5))
+* **ConfigProvider:** add config-provider component ([#4279](https://github.com/youzan/vant-weapp/issues/4279)) ([b7aaefe](https://github.com/youzan/vant-weapp/commit/b7aaefebf37933532605cbe94f9dfdd8cd2bf1eb))
+* **Grid:** add reverse prop ([#4280](https://github.com/youzan/vant-weapp/issues/4280)) ([41e8565](https://github.com/youzan/vant-weapp/commit/41e8565ee4e612ab05c8f8837993a14224bd097d))
+* **GridItem:** add icon-prefix prop ([#4276](https://github.com/youzan/vant-weapp/issues/4276)) ([b2a5afc](https://github.com/youzan/vant-weapp/commit/b2a5afce6573f8c6e4896da4cad30af9a9cd67e0))
+* **Rate:** css variables ([#4297](https://github.com/youzan/vant-weapp/issues/4297)) ([c416ff1](https://github.com/youzan/vant-weapp/commit/c416ff16b6ce19499dff1a0902e64d92f0b14077))
+* **Slider:** add more css variables ([#4305](https://github.com/youzan/vant-weapp/issues/4305)) ([6e7bebd](https://github.com/youzan/vant-weapp/commit/6e7bebdb3286b97bcfc3c1031bcbeac5ff0b7da2))
+* **wxs:** style.wxs support camel case attr ([#4281](https://github.com/youzan/vant-weapp/issues/4281)) ([ac50898](https://github.com/youzan/vant-weapp/commit/ac508985196c76850babf336f9d0646688c51935))
+
+
+
+## [1.6.9](https://github.com/youzan/vant-weapp/compare/v1.6.9-beta.2...v1.6.9) (2021-06-06)
+
+
+### Bug Fixes
+
+* **DatetimePicker:** fix incorrect columns index ([#4245](https://github.com/youzan/vant-weapp/issues/4245)) ([bafbafe](https://github.com/youzan/vant-weapp/commit/bafbafe887a386132ab01ef786ab9d3e28686455))
+* **tabs:** remove duplicated init offset ([1d641b9](https://github.com/youzan/vant-weapp/commit/1d641b902fcc7cd6b0349af7c80d113a9c3f7f65)), closes [#4202](https://github.com/youzan/vant-weapp/issues/4202)
+* **uploader:** fix uploader demo for beforeRead function ([#4235](https://github.com/youzan/vant-weapp/issues/4235)) ([edf7409](https://github.com/youzan/vant-weapp/commit/edf7409021a462fc435b2ecd4ed22fd5d52466fd))
+
+
+
+## [1.6.9-beta.2](https://github.com/youzan/vant-weapp/compare/v1.6.9-beta.1...v1.6.9-beta.2) (2021-05-23)
+
+
+
+## [1.6.9-beta.1](https://github.com/youzan/vant-weapp/compare/v1.6.9-beta.0...v1.6.9-beta.1) (2021-05-23)
+
+
+
+## [1.6.9-beta.0](https://github.com/youzan/vant-weapp/compare/v1.6.8...v1.6.9-beta.0) (2021-05-22)
+
+
+### Bug Fixes
+
+* **button:** fix open-type not work ([#4222](https://github.com/youzan/vant-weapp/issues/4222)) ([e835808](https://github.com/youzan/vant-weapp/commit/e835808a399fd63ec2be871669af15261ff60973)), closes [#4217](https://github.com/youzan/vant-weapp/issues/4217)
+* **calendar:** fix custom color for same-day button ([#4200](https://github.com/youzan/vant-weapp/issues/4200)) ([6d85222](https://github.com/youzan/vant-weapp/commit/6d8522233853212d3e5edc238399f8094f2391d1))
+* **circle:** Fix the bug of shake when the circle component value is a decimal number. ([#4152](https://github.com/youzan/vant-weapp/issues/4152)) ([a641b09](https://github.com/youzan/vant-weapp/commit/a641b0922da6abc1327f0dd8fb59eda23231d99d))
+* **notice-bar:** adjust scrollable behavior ([#4201](https://github.com/youzan/vant-weapp/issues/4201)) ([44da05b](https://github.com/youzan/vant-weapp/commit/44da05bec4a3c7e7c351502dae0231273b005d34))
+* **NoticeBar:** incorrect scroll speed ([cde3876](https://github.com/youzan/vant-weapp/commit/cde3876fb0742cacf3e481a8eb2b487dabc8709e))
+* **radio:** support set disabled dynamic ([#4191](https://github.com/youzan/vant-weapp/issues/4191)) ([bffe5fc](https://github.com/youzan/vant-weapp/commit/bffe5fc9990f7ecc464680d6fa4e5ccb7d58aded))
+* **Rate:** support touch move and selected half star ([#4195](https://github.com/youzan/vant-weapp/issues/4195)) ([1292b7c](https://github.com/youzan/vant-weapp/commit/1292b7cfd580aab631df20bc45795de9405fad23))
+
+
+### Features
+
+* **calendar:** synchronize the vant calendar component, and add the attribute of custom week starting from the day of the week ([#4211](https://github.com/youzan/vant-weapp/issues/4211)) ([#4223](https://github.com/youzan/vant-weapp/issues/4223)) ([7979dee](https://github.com/youzan/vant-weapp/commit/7979dee465bb7731b7bdc5b48636e4d205c62208))
+* **Calendar:** add over-range event ([#4212](https://github.com/youzan/vant-weapp/issues/4212)) ([0d08ec1](https://github.com/youzan/vant-weapp/commit/0d08ec14894d5fdf88d9fb83909e0d504073e24b))
+* **Icons:** migrate all icons to iconfont.cn ([#4219](https://github.com/youzan/vant-weapp/issues/4219)) ([9d1c8b2](https://github.com/youzan/vant-weapp/commit/9d1c8b2ca9919eaf8adf744a634dfc335ab3be3d))
+* **open-type:** support getUserProfile ([#4203](https://github.com/youzan/vant-weapp/issues/4203)) ([c0db43f](https://github.com/youzan/vant-weapp/commit/c0db43fc8821edfc455a0ec7ec1e4300f37be2a7))
+* **panel:** remove useFooterSlot ([#4205](https://github.com/youzan/vant-weapp/issues/4205)) ([62f7d2b](https://github.com/youzan/vant-weapp/commit/62f7d2b65ef3ced301c8367bc5d4a5e21f7b9f0f))
+
+
+### Reverts
+
+* Revert "build(deps-dev): bump less from 3.13.1 to 4.1.1 (#4190)" ([514524f](https://github.com/youzan/vant-weapp/commit/514524f5433439ccc1190289c10b8b6f38d533e9)), closes [#4190](https://github.com/youzan/vant-weapp/issues/4190)
+
+
+
+## [1.6.8](https://github.com/youzan/vant-weapp/compare/v1.6.7...v1.6.8) (2021-02-26)
+
+
+### Bug Fixes
+
+* **checkbox:** fix label-position not work ([#4036](https://github.com/youzan/vant-weapp/issues/4036)) ([acb8e35](https://github.com/youzan/vant-weapp/commit/acb8e3506d1d875c00800d7d43df6a37c55d7e57)), closes [#4017](https://github.com/youzan/vant-weapp/issues/4017)
+* "beforeClose" missing parameter declaration ([#4019](https://github.com/youzan/vant-weapp/issues/4019)) ([b75851c](https://github.com/youzan/vant-weapp/commit/b75851c4c26e7cc0dd2e2ca6b082b9b34950a86d))
+
+
+### Features
+
+* **notice-bar:** add default slot ([#4048](https://github.com/youzan/vant-weapp/issues/4048)) ([a61f765](https://github.com/youzan/vant-weapp/commit/a61f765260470d9d76756ca114dc1cc3025339fb)), closes [#4023](https://github.com/youzan/vant-weapp/issues/4023)
+* **stepper:** add new prop theme & add new slot ([#4049](https://github.com/youzan/vant-weapp/issues/4049)) ([c5b4858](https://github.com/youzan/vant-weapp/commit/c5b4858214aeb302eac7af8c81b7a2146509091e)), closes [#3417](https://github.com/youzan/vant-weapp/issues/3417)
+
+
+### Performance Improvements
+
+* **circle:** downgrade to native when sdk version lower than 2.9.0 ([#4050](https://github.com/youzan/vant-weapp/issues/4050)) ([f9d067e](https://github.com/youzan/vant-weapp/commit/f9d067e0e8e40e8942b6e68709a2c712a6130860))
+
+
+
+## [1.6.7](https://github.com/youzan/vant-weapp/compare/v1.6.6...v1.6.7) (2021-01-27)
+
+
+### Bug Fixes
+
+* **Icons:** fix cdn link ([#4012](https://github.com/youzan/vant-weapp/issues/4012)) ([5cd219b](https://github.com/youzan/vant-weapp/commit/5cd219ba1d5d93aa151474ba9e8612a3f558e5f0))
+* **transition:** do not display when show is true ([#4005](https://github.com/youzan/vant-weapp/issues/4005)) ([60acd2d](https://github.com/youzan/vant-weapp/commit/60acd2d8484f11c120a6f2e67ae42048cae8b346)), closes [#3816](https://github.com/youzan/vant-weapp/issues/3816)
+
+
+### Features
+
+* **radio:** add new prop direction ([#4007](https://github.com/youzan/vant-weapp/issues/4007)) ([079b344](https://github.com/youzan/vant-weapp/commit/079b344ff149f00e549c9f0905f450e469b1e8a8)), closes [#3780](https://github.com/youzan/vant-weapp/issues/3780)
+
+
+
+## [1.6.6](https://github.com/youzan/vant-weapp/compare/v1.6.5...v1.6.6) (2021-01-21)
+
+
+### Features
+
+* **uploader:** support preview file ([#3975](https://github.com/youzan/vant-weapp/issues/3975)) ([808b057](https://github.com/youzan/vant-weapp/commit/808b05798017d957d4f3a05901a1f8b832c064fb)), closes [#3946](https://github.com/youzan/vant-weapp/issues/3946)
+
+
+### Performance Improvements
+
+* **calendar:** shorten template code ([#3972](https://github.com/youzan/vant-weapp/issues/3972)) ([600e189](https://github.com/youzan/vant-weapp/commit/600e189aa02f2249119b4562e7c97f85ac1863c4))
+* **picker:** shorten template code ([#3973](https://github.com/youzan/vant-weapp/issues/3973)) ([5e1c65e](https://github.com/youzan/vant-weapp/commit/5e1c65e52a4963d21e9b9f62d24d782495eeab4e))
+
+
+
+## [1.6.5](https://github.com/youzan/vant-weapp/compare/v1.6.4...v1.6.5) (2021-01-19)
+
+
+### Bug Fixes
+
+* **button:** fix custom-style error ([#3903](https://github.com/youzan/vant-weapp/issues/3903)) ([7c3e2ac](https://github.com/youzan/vant-weapp/commit/7c3e2ac7060d7ca8c88ce83ca2048ca01c12c6fb))
+* **Dialog): fix(Dialog:** closeOnClickOverlay true,overlay click error 'this.onClose is not a function' ([#3913](https://github.com/youzan/vant-weapp/issues/3913)) ([11551cb](https://github.com/youzan/vant-weapp/commit/11551cb810fea2435632b0516e082a3f0453ddcc))
+
+
+### Features
+
+* **field:** add new slot input & add new event click-input ([#3932](https://github.com/youzan/vant-weapp/issues/3932)) ([5e4cbea](https://github.com/youzan/vant-weapp/commit/5e4cbeac657169255de1a0d4568844be14c2b8f6)), closes [#3604](https://github.com/youzan/vant-weapp/issues/3604)
+* **Icon:** add add delete-o、sort、font、font-o、revoke icon ([#3881](https://github.com/youzan/vant-weapp/issues/3881)) ([7f7de48](https://github.com/youzan/vant-weapp/commit/7f7de48e4ac4919780dbc4637bf6315b1ba103f7))
+
+
+### Performance Improvements
+
+* **cell:** use wxs ([#3888](https://github.com/youzan/vant-weapp/issues/3888)) ([0c3383a](https://github.com/youzan/vant-weapp/commit/0c3383a6c5393169d801b4b03f01a355c840d159))
+* **col:** use wxs ([#3886](https://github.com/youzan/vant-weapp/issues/3886)) ([2f7d66a](https://github.com/youzan/vant-weapp/commit/2f7d66a14f8d73f0a5432e1ad9e695b2b2c7a67b))
+* **divider:** use wxs ([#3887](https://github.com/youzan/vant-weapp/issues/3887)) ([8e815c9](https://github.com/youzan/vant-weapp/commit/8e815c9c50e5f56810ea13b9f5b28c6455aa3d84))
+* **empty:** use wxs ([#3933](https://github.com/youzan/vant-weapp/issues/3933)) ([e2e21c3](https://github.com/youzan/vant-weapp/commit/e2e21c3b61e4a2a6a5a9ba52b8ed1993f96b6867))
+* **loading:** use wxs ([#3892](https://github.com/youzan/vant-weapp/issues/3892)) ([7378398](https://github.com/youzan/vant-weapp/commit/7378398da68555e657a524cd8482b842f259f252))
+* **notice-bar:** use wxs ([#3891](https://github.com/youzan/vant-weapp/issues/3891)) ([7df96ae](https://github.com/youzan/vant-weapp/commit/7df96aeb5d5d3150fc0225391f884c0071baa6b9))
+* **notify:** use wxs ([#3893](https://github.com/youzan/vant-weapp/issues/3893)) ([5daa5cd](https://github.com/youzan/vant-weapp/commit/5daa5cddfeda0068a368f743a64cd08530f6914b))
+* **picker:** use wxs ([#3949](https://github.com/youzan/vant-weapp/issues/3949)) ([5726819](https://github.com/youzan/vant-weapp/commit/5726819a780101cf737034a698863e4c3274504a))
+* **stepper:** use wxs ([#3890](https://github.com/youzan/vant-weapp/issues/3890)) ([97c1a77](https://github.com/youzan/vant-weapp/commit/97c1a7780d2c21f49bad9211473fef8b5fc01cd1))
+* **sticky:** avoid set data if nothing change ([#3879](https://github.com/youzan/vant-weapp/issues/3879)) ([d5e4cf9](https://github.com/youzan/vant-weapp/commit/d5e4cf9ff069671cc593cc0a1daf22bd522a9da0))
+* **swipe-cell:** avoid useless animate ([#3928](https://github.com/youzan/vant-weapp/issues/3928)) ([cd0fc68](https://github.com/youzan/vant-weapp/commit/cd0fc68de6124572020adcdc890b70c15b6d8dc1)), closes [#3884](https://github.com/youzan/vant-weapp/issues/3884)
+* **switch:** use wxs ([#3889](https://github.com/youzan/vant-weapp/issues/3889)) ([b5529e2](https://github.com/youzan/vant-weapp/commit/b5529e2b6623218ef5c5d25058941d10ca4a9d8e))
+* **tag:** use wxs ([#3894](https://github.com/youzan/vant-weapp/issues/3894)) ([2d94ddf](https://github.com/youzan/vant-weapp/commit/2d94ddf5e396553384792d4287f33c5d3b02f174))
+* **transition:** use wxs ([#3895](https://github.com/youzan/vant-weapp/issues/3895)) ([84678ee](https://github.com/youzan/vant-weapp/commit/84678ee06c23140cf2a79fb5f11eed2365205313))
+* **uploader:** use wxs ([#3897](https://github.com/youzan/vant-weapp/issues/3897)) ([5626547](https://github.com/youzan/vant-weapp/commit/5626547a19bda4dcf7a1cea26f3225b1e1e4b866))
+
+
+
+## [1.6.4](https://github.com/youzan/vant-weapp/compare/v1.6.3...v1.6.4) (2020-12-18)
+
+
+### Bug Fixes
+
+* **Calendar:** display 'NaN/NaN/NaN' in phone device after select date ([#3833](https://github.com/youzan/vant-weapp/issues/3833)) ([6b1f510](https://github.com/youzan/vant-weapp/commit/6b1f510daaecb8cad12d903af5220828531bacc4))
+* **goods-action:** set box-sizing to keep height ([#3865](https://github.com/youzan/vant-weapp/issues/3865)) ([4241687](https://github.com/youzan/vant-weapp/commit/424168788db04a0545fa68244c09a0838a86f4a7)), closes [#3753](https://github.com/youzan/vant-weapp/issues/3753)
+* **slider:** fix slide step with max been set ([d1043ee](https://github.com/youzan/vant-weapp/commit/d1043eeb038e6f9b9d438fdaa02a691ce71630aa))
+* **slider:** keep slide move evenly ([#3876](https://github.com/youzan/vant-weapp/issues/3876)) ([c088113](https://github.com/youzan/vant-weapp/commit/c088113714eb8159926f808909680dd6f84900d6)), closes [#2085](https://github.com/youzan/vant-weapp/issues/2085) [#2717](https://github.com/youzan/vant-weapp/issues/2717)
+* **tab:** use groupSetData to keep tab render sync ([b28d128](https://github.com/youzan/vant-weapp/commit/b28d128991e8c15a48b6981a6ea3eefbca706c97)), closes [#3290](https://github.com/youzan/vant-weapp/issues/3290) [#1867](https://github.com/youzan/vant-weapp/issues/1867)
+* **utils:** fix compile error ([#3878](https://github.com/youzan/vant-weapp/issues/3878)) ([76f58a1](https://github.com/youzan/vant-weapp/commit/76f58a12f6f19223061ae0e9ef74f6d4711cd1eb))
+
+
+### Performance Improvements
+
+* **button:** use wxs instead of setData ([#3839](https://github.com/youzan/vant-weapp/issues/3839)) ([979dc50](https://github.com/youzan/vant-weapp/commit/979dc506bf4b1743aa2098c05b0abe1be97ebe61))
+* **tab:** set container once after mounted ([#3875](https://github.com/youzan/vant-weapp/issues/3875)) ([eaf513b](https://github.com/youzan/vant-weapp/commit/eaf513bf2fae0aef16e6fe072601b73e3e7c2006))
+* **tags:** remove useless code ([b5ea04e](https://github.com/youzan/vant-weapp/commit/b5ea04eb1000bca5a79b573647bb6c4b360099a7))
+* **wxs:** improve performance with wxs ([daa56aa](https://github.com/youzan/vant-weapp/commit/daa56aa5c6e7f42fd05ccb76690499a0027f05d3))
+
+
+
+## [1.6.3](https://github.com/youzan/vant-weapp/compare/v1.6.2...v1.6.3) (2020-12-09)
+
+
+### Bug Fixes
+
+* **area:** support areaList without county_list ([#3824](https://github.com/youzan/vant-weapp/issues/3824)) ([bbbbbe3](https://github.com/youzan/vant-weapp/commit/bbbbbe39614946659c6e41e639aa65d142548d28)), closes [#3814](https://github.com/youzan/vant-weapp/issues/3814)
+* **Field:** showWordLimit value.length > maxlength ([#3802](https://github.com/youzan/vant-weapp/issues/3802)) ([526f5ef](https://github.com/youzan/vant-weapp/commit/526f5ef46e4c25f0dc23ea5abc8f3386849e641e))
+* **info:** fix style error ([#3823](https://github.com/youzan/vant-weapp/issues/3823)) ([f8c09af](https://github.com/youzan/vant-weapp/commit/f8c09af273229487431447b41e7248bec053d2f5)), closes [#3817](https://github.com/youzan/vant-weapp/issues/3817)
+* **nav-bar:** prevent getRect ([#3822](https://github.com/youzan/vant-weapp/issues/3822)) ([e033597](https://github.com/youzan/vant-weapp/commit/e0335973c91af1530949ab198aa9113499ec51ec)), closes [#3818](https://github.com/youzan/vant-weapp/issues/3818)
+* **progress:** improve pivot position ([#3808](https://github.com/youzan/vant-weapp/issues/3808)) ([8fe5994](https://github.com/youzan/vant-weapp/commit/8fe599438d4a946de32899242ccd5dc606567697)), closes [#3592](https://github.com/youzan/vant-weapp/issues/3592)
+
+
+### Features
+
+* **Dialog:** add new prop beforeClose ([#3815](https://github.com/youzan/vant-weapp/issues/3815)) ([ed834af](https://github.com/youzan/vant-weapp/commit/ed834afc449965afb4d556245b7c08741ac9359b)), closes [#3769](https://github.com/youzan/vant-weapp/issues/3769) [#3812](https://github.com/youzan/vant-weapp/issues/3812)
+* **uploader:** support css variables ([#3797](https://github.com/youzan/vant-weapp/issues/3797)) ([44dc6e7](https://github.com/youzan/vant-weapp/commit/44dc6e768adee20d206c1cca34b410d60c214dbe)), closes [#3789](https://github.com/youzan/vant-weapp/issues/3789)
+
+
+### Performance Improvements
+
+* **collapse:** use animate to improve performance ([#3826](https://github.com/youzan/vant-weapp/issues/3826)) ([1104e07](https://github.com/youzan/vant-weapp/commit/1104e07fd7327a5f3968dbf68a105dbcb0c51db5)), closes [#3820](https://github.com/youzan/vant-weapp/issues/3820)
+* **tab:** improve wxs style assemble & export resize methods ([#3827](https://github.com/youzan/vant-weapp/issues/3827)) ([0cd64e9](https://github.com/youzan/vant-weapp/commit/0cd64e92e57150fa6ccc74f2f7ff18412fa31d94)), closes [#3676](https://github.com/youzan/vant-weapp/issues/3676)
+
+
+
+## [1.6.2](https://github.com/youzan/vant-weapp/compare/v1.6.1...v1.6.2) (2020-11-29)
+
+
+### Bug Fixes
+
+* **datetime-picker:** 修复year-month 选择字段校验报错 ([#3783](https://github.com/youzan/vant-weapp/issues/3783)) ([c254b3d](https://github.com/youzan/vant-weapp/commit/c254b3d07308ac0af03ae720dde66e67dddb9a99))
+* **info:** text vertical middle in android ([#3778](https://github.com/youzan/vant-weapp/issues/3778)) ([35b2c1d](https://github.com/youzan/vant-weapp/commit/35b2c1d99dba42de343f584f429c54beb8d019bc)), closes [#3569](https://github.com/youzan/vant-weapp/issues/3569)
+* **tab:** correct line position in complete mode ([#3777](https://github.com/youzan/vant-weapp/issues/3777)) ([f1ea060](https://github.com/youzan/vant-weapp/commit/f1ea060b253e527aaa824c053694defa60471832)), closes [#3767](https://github.com/youzan/vant-weapp/issues/3767) [#3579](https://github.com/youzan/vant-weapp/issues/3579)
+* add deploy branch `gh-pages` ([#3772](https://github.com/youzan/vant-weapp/issues/3772)) ([25acaf0](https://github.com/youzan/vant-weapp/commit/25acaf072a4f3342b73d648207fb32b32bdced5d))
+
+
+### Features
+
+* **tabbar:** add new props placeholder & icon-prefix ([#3792](https://github.com/youzan/vant-weapp/issues/3792)) ([c7aebbe](https://github.com/youzan/vant-weapp/commit/c7aebbe6868a99986714275aee6f9ff269e72ffa)), closes [#3445](https://github.com/youzan/vant-weapp/issues/3445)
+* notify 组件没有全局居中 ([#3751](https://github.com/youzan/vant-weapp/issues/3751)) ([e42169a](https://github.com/youzan/vant-weapp/commit/e42169ac517694d4227032df68c8896aadc6c532))
+
+
+### Performance Improvements
+
+* **icon:** use wxs ([#3791](https://github.com/youzan/vant-weapp/issues/3791)) ([166ba61](https://github.com/youzan/vant-weapp/commit/166ba61c0f9376f4c0c99b39b2e2af4067977dbd))
+
+
+
+## [1.6.1](https://github.com/youzan/vant-weapp/compare/v1.6.0...v1.6.1) (2020-11-12)
+
+
+### Bug Fixes
+
+* **field:** fix empty label render ([#3756](https://github.com/youzan/vant-weapp/issues/3756)) ([2ea15ef](https://github.com/youzan/vant-weapp/commit/2ea15ef2565b0558f9ac9d7bb9fbe3e46aee77cf)), closes [#3754](https://github.com/youzan/vant-weapp/issues/3754) [#3750](https://github.com/youzan/vant-weapp/issues/3750)
+* **picker:** recover emit ([#3755](https://github.com/youzan/vant-weapp/issues/3755)) ([805d426](https://github.com/youzan/vant-weapp/commit/805d426dca575dc66c7ee1acade53ecc15ee4b71)), closes [#3749](https://github.com/youzan/vant-weapp/issues/3749)
+
+
+
+# [1.6.0](https://github.com/youzan/vant-weapp/compare/v1.5.2...v1.6.0) (2020-11-11)
+
+
+### Bug Fixes
+
+* **field:** fix label-class when use label prop ([#3729](https://github.com/youzan/vant-weapp/issues/3729)) ([ae22e9e](https://github.com/youzan/vant-weapp/commit/ae22e9e80bae76837753ad788b10b8fb47a72fc4)), closes [#3691](https://github.com/youzan/vant-weapp/issues/3691)
+* **notice-bar:** adjust scrollable behavior ([#3727](https://github.com/youzan/vant-weapp/issues/3727)) ([ba31b46](https://github.com/youzan/vant-weapp/commit/ba31b465c8202113196dc7c38d84864a16bf436d)), closes [#3683](https://github.com/youzan/vant-weapp/issues/3683)
+* **SidebarItem:** long number wrap ([#3714](https://github.com/youzan/vant-weapp/issues/3714)) ([f382c2b](https://github.com/youzan/vant-weapp/commit/f382c2b7c12146bed46c8fa522316bb25be34253))
+* **Tag:** text vertical align in miui ([#3715](https://github.com/youzan/vant-weapp/issues/3715)) ([d088145](https://github.com/youzan/vant-weapp/commit/d088145741c22009beea0d82defb4c4781cac307))
+* **tsconfig:** fix ts compile error ([#3747](https://github.com/youzan/vant-weapp/issues/3747)) ([402f487](https://github.com/youzan/vant-weapp/commit/402f4873f07f5e33daf29c1bd84b0d49e6900802))
+
+
+### Features
+
+* **ActionSheet:** adjust cancel text color to [@gray-7](https://github.com/gray-7) ([#3719](https://github.com/youzan/vant-weapp/issues/3719)) ([51befdc](https://github.com/youzan/vant-weapp/commit/51befdc40ca2dddb9388ef4f8e5f1de92bc8445c))
+* **ActionSheet:** adjust header style ([#3720](https://github.com/youzan/vant-weapp/issues/3720)) ([410c21f](https://github.com/youzan/vant-weapp/commit/410c21f0c7354c5f48dc0176658f452b4604c12f))
+* **ActionSheet:** increase loading icon size to 22px ([#3718](https://github.com/youzan/vant-weapp/issues/3718)) ([f0b7026](https://github.com/youzan/vant-weapp/commit/f0b7026edf496d17c8b1f43d9e0f6681c54a64f5))
+* **ActionSheet:** subname vertical align ([#3726](https://github.com/youzan/vant-weapp/issues/3726)) ([be16713](https://github.com/youzan/vant-weapp/commit/be167135103830e269a819f91ab76edc558fa8c5))
+* **Cell:** adjust icon margin to 4px ([#3721](https://github.com/youzan/vant-weapp/issues/3721)) ([ed68b5c](https://github.com/youzan/vant-weapp/commit/ed68b5c25b9f7ebef471eba25c8803f376c73c73))
+* **DropdownMenu:** add box shadow ([#3723](https://github.com/youzan/vant-weapp/issues/3723)) ([76acc72](https://github.com/youzan/vant-weapp/commit/76acc72e206e0caf07d30c62aa9cece4d4d8951f))
+* **DropdownMenu:** adjust default color to [@red](https://github.com/red) ([#3725](https://github.com/youzan/vant-weapp/issues/3725)) ([d6cb2b6](https://github.com/youzan/vant-weapp/commit/d6cb2b61a6cd1eb4a4e140315a52fff1356e4f28))
+* **Image:** adjust icon size to 36px ([#3724](https://github.com/youzan/vant-weapp/issues/3724)) ([71bd97d](https://github.com/youzan/vant-weapp/commit/71bd97d8c5eeba049389aef5d592eeb92a399b43))
+* **Popup:** adjust round border radius to 16px ([#3713](https://github.com/youzan/vant-weapp/issues/3713)) ([12b2e81](https://github.com/youzan/vant-weapp/commit/12b2e813adca03b6de6256975a71b4e74a3ba74c))
+* **Search:** increase left padding to 12px ([#3716](https://github.com/youzan/vant-weapp/issues/3716)) ([0fc426e](https://github.com/youzan/vant-weapp/commit/0fc426e06196465c5d2518478db2bda1418c62af))
+* **Sidebar:** adjust width to 80px ([#3722](https://github.com/youzan/vant-weapp/issues/3722)) ([504e586](https://github.com/youzan/vant-weapp/commit/504e5866706767af7eba8c9354af18b5d4d15239))
+* **swipe-cell:** add external-class ([#3678](https://github.com/youzan/vant-weapp/issues/3678)) ([31aaced](https://github.com/youzan/vant-weapp/commit/31aacedd5b8d9ebf2419afc77993d7fbfe841e0d)), closes [#3664](https://github.com/youzan/vant-weapp/issues/3664)
+* **TabbarItem:** increase icon size to 22px ([#3717](https://github.com/youzan/vant-weapp/issues/3717)) ([a51b817](https://github.com/youzan/vant-weapp/commit/a51b817ce89ed1f409d8b58f402e789f7b922b3d))
+
+
+
+## [1.5.2](https://github.com/youzan/vant-weapp/compare/v1.5.1...v1.5.2) (2020-10-15)
+
+
+### Bug Fixes
+
+* **button:** fix hairline position ([#3653](https://github.com/youzan/vant-weapp/issues/3653)) ([981741a](https://github.com/youzan/vant-weapp/commit/981741a6c43fcb92f799397f46f6f8cfc58c28d6)), closes [#3651](https://github.com/youzan/vant-weapp/issues/3651)
+* **goods-action:** add several css variable ([#3654](https://github.com/youzan/vant-weapp/issues/3654)) ([bdf6660](https://github.com/youzan/vant-weapp/commit/bdf6660fcd64b9fa728b751137728e0990d02fe7)), closes [#3652](https://github.com/youzan/vant-weapp/issues/3652)
+* **tab:** refactor animation without transform ([#3668](https://github.com/youzan/vant-weapp/issues/3668)) ([3d6a460](https://github.com/youzan/vant-weapp/commit/3d6a460bd63b07a622452700aabdb38f6fc4f791)), closes [#3659](https://github.com/youzan/vant-weapp/issues/3659)
+
+
+### Features
+
+* **uploader:** add new key thumb & standardization file-list ([#3673](https://github.com/youzan/vant-weapp/issues/3673)) ([36256cd](https://github.com/youzan/vant-weapp/commit/36256cd28f3801dd49542e0a17cf1b7e5832e30b)), closes [#3606](https://github.com/youzan/vant-weapp/issues/3606) [#3661](https://github.com/youzan/vant-weapp/issues/3661)
+
+
+
+## [1.5.1](https://github.com/youzan/vant-weapp/compare/v1.5.0...v1.5.1) (2020-09-29)
+
+
+### Bug Fixes
+
+* **dialog:** adjust type definition ([#3630](https://github.com/youzan/vant-weapp/issues/3630)) ([5f07067](https://github.com/youzan/vant-weapp/commit/5f07067efd96c90035341e5127859e294478ffce)), closes [#3587](https://github.com/youzan/vant-weapp/issues/3587)
+* **nav-bar:** fix --nav-bar-icon-color not work & fix wrong style without title ([#3643](https://github.com/youzan/vant-weapp/issues/3643)) ([0e784e2](https://github.com/youzan/vant-weapp/commit/0e784e227f345a26d4d7ef75183e6541e11e6e0c)), closes [#3593](https://github.com/youzan/vant-weapp/issues/3593) [#3514](https://github.com/youzan/vant-weapp/issues/3514)
+* **tab:** line-width support string ([#3628](https://github.com/youzan/vant-weapp/issues/3628)) ([9bdfd34](https://github.com/youzan/vant-weapp/commit/9bdfd34487d125bcac497c6a380668adaa1ea767)), closes [#3620](https://github.com/youzan/vant-weapp/issues/3620)
+* support preview video ([#3594](https://github.com/youzan/vant-weapp/issues/3594)) ([eca7dae](https://github.com/youzan/vant-weapp/commit/eca7dae310ab4ca1993bf834f857cc6c27c3c4e5))
+
+
+### Features
+
+* **card:** add new slots origin-price & tag ([#3645](https://github.com/youzan/vant-weapp/issues/3645)) ([c3351ce](https://github.com/youzan/vant-weapp/commit/c3351ce01d721061ed935ebdb3210c3b0f5ee719)), closes [#3640](https://github.com/youzan/vant-weapp/issues/3640)
+* **share-sheet:** set default z-index to 100 & add new item prop openType ([#3575](https://github.com/youzan/vant-weapp/issues/3575)) ([6f07fe6](https://github.com/youzan/vant-weapp/commit/6f07fe68ccdd2f383e3bf019de120f27ea1d534b))
+
+
+### Performance Improvements
+
+* **uploader:** expand delete button area ([#3631](https://github.com/youzan/vant-weapp/issues/3631)) ([02ea9f6](https://github.com/youzan/vant-weapp/commit/02ea9f6a80d9ff18bff322e86d03912b7b301a5a)), closes [#3629](https://github.com/youzan/vant-weapp/issues/3629)
+
+
+
+# [1.5.0](https://github.com/youzan/vant-weapp/compare/v1.4.4...v1.5.0) (2020-08-27)
+
+
+### Bug Fixes
+
+* **collapse:** avoid use animation when height is 0 ([#3562](https://github.com/youzan/vant-weapp/issues/3562)) ([b7e184a](https://github.com/youzan/vant-weapp/commit/b7e184aa6933fe90d74b91aa90f93e1e00c8f1bb)), closes [#3449](https://github.com/youzan/vant-weapp/issues/3449)
+* **empty:** support slot ([#3563](https://github.com/youzan/vant-weapp/issues/3563)) ([7da66cf](https://github.com/youzan/vant-weapp/commit/7da66cfe95d8953be3293509db92c4b71c701100)), closes [#3549](https://github.com/youzan/vant-weapp/issues/3549)
+
+
+### Features
+
+* **icons:** update @vant/icons to 1.2.5 ([#3539](https://github.com/youzan/vant-weapp/issues/3539)) ([97228aa](https://github.com/youzan/vant-weapp/commit/97228aa15f51414b1ffeba0aa958019d4497f2e0)), closes [#3533](https://github.com/youzan/vant-weapp/issues/3533)
+* **share-sheet:** add new component ([#3559](https://github.com/youzan/vant-weapp/issues/3559)) ([13e82ea](https://github.com/youzan/vant-weapp/commit/13e82ea0dbff2ad6c68072d1193b1eb53bc634fd))
+* **sidebar:** add new prop badge ([#3564](https://github.com/youzan/vant-weapp/issues/3564)) ([940e453](https://github.com/youzan/vant-weapp/commit/940e45388830630491b2d4e496f8afccd4aa95a6))
+* **Tabs:** adjust default line-width to 40px ([#3518](https://github.com/youzan/vant-weapp/issues/3518)) ([3634840](https://github.com/youzan/vant-weapp/commit/3634840bb0bea09207efd796053879030c92ad8b))
+* **Tabs:** remove default border ([#3519](https://github.com/youzan/vant-weapp/issues/3519)) ([2307f28](https://github.com/youzan/vant-weapp/commit/2307f28d7bc7a78b378af4634e4767394554df53))
+* **tree-select:** add new prop selected-icon & badge & dot ([#3565](https://github.com/youzan/vant-weapp/issues/3565)) ([8b1f28d](https://github.com/youzan/vant-weapp/commit/8b1f28db6a4c72c2a0784f7cfc30459fdeba942b)), closes [#3489](https://github.com/youzan/vant-weapp/issues/3489)
+
+
+
+## [1.4.4](https://github.com/youzan/vant-weapp/compare/v1.4.3...v1.4.4) (2020-08-12)
+
+
+### Bug Fixes
+
+* **Icon:** fix badge number align ([#3501](https://github.com/youzan/vant-weapp/issues/3501)) ([b71cd32](https://github.com/youzan/vant-weapp/commit/b71cd32306651774b8fc6f6ff9059e2cd19a2c84)), closes [#3493](https://github.com/youzan/vant-weapp/issues/3493)
+* **tab:** rollback line style refactor ([#3511](https://github.com/youzan/vant-weapp/issues/3511)) ([e047a89](https://github.com/youzan/vant-weapp/commit/e047a89079be5f6df5248713858ee0a145751780)), closes [#3492](https://github.com/youzan/vant-weapp/issues/3492) [#3504](https://github.com/youzan/vant-weapp/issues/3504)
+
+
+
+## [1.4.3](https://github.com/youzan/vant-weapp/compare/v1.4.3-beta.1...v1.4.3) (2020-08-07)
+
+
+### Bug Fixes
+
+* **Tabbar:** badge number vertical align center ([#3493](https://github.com/youzan/vant-weapp/issues/3493)) ([f5b00be](https://github.com/youzan/vant-weapp/commit/f5b00be97687d21153496ab067e4117050f0b925))
+
+
+
+## [1.4.3-beta.1](https://github.com/youzan/vant-weapp/compare/v1.4.3-beta.0...v1.4.3-beta.1) (2020-08-06)
+
+
+
+## [1.4.3-beta.0](https://github.com/youzan/vant-weapp/compare/v1.4.2...v1.4.3-beta.0) (2020-08-04)
+
+
+### Features
+
+* **dialog:** add new prop theme ([#3476](https://github.com/youzan/vant-weapp/issues/3476)) ([842ca1a](https://github.com/youzan/vant-weapp/commit/842ca1a8b8540c04b9e0982e1c534d35ac881c3a))
+
+
+
+## [1.4.2](https://github.com/youzan/vant-weapp/compare/v1.4.1...v1.4.2) (2020-08-03)
+
+
+### Bug Fixes
+
+* **calendar:** add toast in json ([#3466](https://github.com/youzan/vant-weapp/issues/3466)) ([c3df939](https://github.com/youzan/vant-weapp/commit/c3df9397c89a1cbaa02d7c22c8f214a977844684)), closes [#3320](https://github.com/youzan/vant-weapp/issues/3320)
+* **tab:** avoid swipe to disabled tab ([#3467](https://github.com/youzan/vant-weapp/issues/3467)) ([2d47fb4](https://github.com/youzan/vant-weapp/commit/2d47fb418f87c810ad4be347e50171ef09121d02)), closes [#3321](https://github.com/youzan/vant-weapp/issues/3321)
+
+
+### Features
+
+* **Toast:** update style ([#3451](https://github.com/youzan/vant-weapp/issues/3451)) ([deb670e](https://github.com/youzan/vant-weapp/commit/deb670e285b2cf8e70b2383844bcb300893edb8a))
+
+
+
+## [1.4.1](https://github.com/youzan/vant-weapp/compare/v1.4.0...v1.4.1) (2020-07-28)
+
+
+### Bug Fixes
+
+* **area:** fix setValues error ([#3443](https://github.com/youzan/vant-weapp/issues/3443)) ([1ad284b](https://github.com/youzan/vant-weapp/commit/1ad284bb56f3ec12159b89cefad0d2c56f22c188)), closes [#3405](https://github.com/youzan/vant-weapp/issues/3405)
+* **slider:** avoid emit drag on click ([#3415](https://github.com/youzan/vant-weapp/issues/3415)) ([cfbf07b](https://github.com/youzan/vant-weapp/commit/cfbf07bb8a101470dba791c56005a87b6b8a96ab)), closes [#3378](https://github.com/youzan/vant-weapp/issues/3378)
+
+
+### Features
+
+* **Picker:** adjust default value of visible-item-count to 6 ([#3418](https://github.com/youzan/vant-weapp/issues/3418)) ([4426a4e](https://github.com/youzan/vant-weapp/commit/4426a4ef808332588a19c44b9c9cc15771ca740e))
+* **Toast:** increase border radius to 8px ([#3419](https://github.com/youzan/vant-weapp/issues/3419)) ([aefad39](https://github.com/youzan/vant-weapp/commit/aefad39a3692358dfae85aa99cb0d7e0b46bf552))
+
+
+
+# [1.4.0](https://github.com/youzan/vant-weapp/compare/v1.4.0-beta.3...v1.4.0) (2020-07-17)
+
+
+### Bug Fixes
+
+* **calendar:** confirmDisabledText增加默认值和文档同步 ([#3394](https://github.com/youzan/vant-weapp/issues/3394)) ([c304655](https://github.com/youzan/vant-weapp/commit/c304655dc99ee253c56cbb50550b256a81858825))
+* **collapse:** fix typo error ([#3403](https://github.com/youzan/vant-weapp/issues/3403)) ([85fd5e6](https://github.com/youzan/vant-weapp/commit/85fd5e68e8c69bf96686bfeb0fb9948731eb8ddc))
+* **collapse:** refactor with animation to improve performance ([#3401](https://github.com/youzan/vant-weapp/issues/3401)) ([b953273](https://github.com/youzan/vant-weapp/commit/b953273f383183108ce1d2129830445b44f50352)), closes [#3279](https://github.com/youzan/vant-weapp/issues/3279)
+
+
+
+# [1.4.0-beta.3](https://github.com/youzan/vant-weapp/compare/v1.4.0-beta.2...v1.4.0-beta.3) (2020-07-14)
+
+
+### Bug Fixes
+
+* **field:** adjust height in textarea ([#3383](https://github.com/youzan/vant-weapp/issues/3383)) ([20d1f2e](https://github.com/youzan/vant-weapp/commit/20d1f2ede09a76b77312eca9924b554a3d651af3))
+* **Uploader:** remove round border radius ([#3384](https://github.com/youzan/vant-weapp/issues/3384)) ([0f65ed1](https://github.com/youzan/vant-weapp/commit/0f65ed110caa5ff07eddd1778c3413f63428393d))
+
+
+### Features
+
+* **GridItem:** add icon-color prop ([#3386](https://github.com/youzan/vant-weapp/issues/3386)) ([375eb64](https://github.com/youzan/vant-weapp/commit/375eb64adc6c7caeac51721614ff9493bf8d38e6))
+* **notice-bar:** add new prop background & add new event close ([#3388](https://github.com/youzan/vant-weapp/issues/3388)) ([ee65d6c](https://github.com/youzan/vant-weapp/commit/ee65d6c9e5bc187ddb44e24d64489c8f4acf91be)), closes [#3380](https://github.com/youzan/vant-weapp/issues/3380)
+* **Uploader:** update delete icon style ([#3385](https://github.com/youzan/vant-weapp/issues/3385)) ([3a3999c](https://github.com/youzan/vant-weapp/commit/3a3999ccaa1895ce9639577f7a44a5e32e405d86))
+
+
+
+# [1.4.0-beta.2](https://github.com/youzan/vant-weapp/compare/v1.4.0-beta.1...v1.4.0-beta.2) (2020-07-13)
+
+
+### Bug Fixes
+
+* **dialog:** show dialog after class ready ([#3374](https://github.com/youzan/vant-weapp/issues/3374)) ([57cf883](https://github.com/youzan/vant-weapp/commit/57cf8832962512c6d2f9b760747847d43a74abf8)), closes [#3362](https://github.com/youzan/vant-weapp/issues/3362)
+
+
+### Features
+
+* **Cell:** add title-style prop, fix Field label width ([#3370](https://github.com/youzan/vant-weapp/issues/3370)) ([7d74a16](https://github.com/youzan/vant-weapp/commit/7d74a169fe73ab8a7c1940695380961981aa26e9))
+
+
+
+# [1.4.0-beta.1](https://github.com/youzan/vant-weapp/compare/v1.3.3...v1.4.0-beta.1) (2020-07-10)
+
+
+### Bug Fixes
+
+* **Area:** When setting the attribute [columns-num=1 or columns-num=2] lower than the WeChat basic library version 2.7.7, the real machine environment reports an error ([#3318](https://github.com/youzan/vant-weapp/issues/3318)) ([44194c7](https://github.com/youzan/vant-weapp/commit/44194c711eb884c2767a66d42e40bed938c2a1ad))
+* **datetime-picker:** update value with origin column after change ([#3352](https://github.com/youzan/vant-weapp/issues/3352)) ([fa54a19](https://github.com/youzan/vant-weapp/commit/fa54a19805722b818569c6eeb3cc2b2313272202))
+* **Uploader:** incorrect default size and loading style ([#3317](https://github.com/youzan/vant-weapp/issues/3317)) ([82b9356](https://github.com/youzan/vant-weapp/commit/82b9356315a5cab04e4870003242499d2ede6e41))
+
+
+### Features
+
+* **Empty:** add Empty component ([#3327](https://github.com/youzan/vant-weapp/issues/3327)) ([3a60055](https://github.com/youzan/vant-weapp/commit/3a60055f8e5065a81d417794c181ff25573c88bd))
+* **Field:** update disabled style ([#3358](https://github.com/youzan/vant-weapp/issues/3358)) ([abd0457](https://github.com/youzan/vant-weapp/commit/abd0457238ab5c93f8ae3ccf38c3dde4e84932b2))
+* **Field:** update label style ([#3357](https://github.com/youzan/vant-weapp/issues/3357)) ([da4a5f3](https://github.com/youzan/vant-weapp/commit/da4a5f3cd4f86efeafc4bef4f902e2ecd6f9e768))
+* **Picker:** update action button style ([#3316](https://github.com/youzan/vant-weapp/issues/3316)) ([b4cfcce](https://github.com/youzan/vant-weapp/commit/b4cfcceca81c90f5878a6e32c277f400845a125d))
+* **Uploader:** update failed icon ([#3359](https://github.com/youzan/vant-weapp/issues/3359)) ([c0b4455](https://github.com/youzan/vant-weapp/commit/c0b4455f6817eec7f8049fcd73e8ce2557ef19fc))
+
+
+
+## [1.3.3](https://github.com/youzan/vant-weapp/compare/v1.3.2...v1.3.3) (2020-06-24)
+
+
+### Bug Fixes
+
+* **calendar:** fix default-date not work in multiple mode ([#3284](https://github.com/youzan/vant-weapp/issues/3284)) ([9717d41](https://github.com/youzan/vant-weapp/commit/9717d4170be5f8bec1220de70020ac90cc40107e)), closes [#3271](https://github.com/youzan/vant-weapp/issues/3271)
+* **circle:** can not set value dynamic ([#3264](https://github.com/youzan/vant-weapp/issues/3264)) ([e16d611](https://github.com/youzan/vant-weapp/commit/e16d611f9427a2e38705c8c1736e66b6c1607680)), closes [#3239](https://github.com/youzan/vant-weapp/issues/3239)
+* **field:** always set value after input ([#3313](https://github.com/youzan/vant-weapp/issues/3313)) ([b7ded12](https://github.com/youzan/vant-weapp/commit/b7ded1282f68dfc7dc205d9732dd948589f6e003)), closes [#3297](https://github.com/youzan/vant-weapp/issues/3297)
+* **grid:** add margin-top for text with icon ([#3310](https://github.com/youzan/vant-weapp/issues/3310)) ([6242423](https://github.com/youzan/vant-weapp/commit/624242376855accedde75b5fc4b3ef9260335697)), closes [#3307](https://github.com/youzan/vant-weapp/issues/3307)
+* **nav-bar:** fix style error with no left-text ([#3263](https://github.com/youzan/vant-weapp/issues/3263)) ([67dfb12](https://github.com/youzan/vant-weapp/commit/67dfb120c37875ace0c4b7294f446553b153dc4f)), closes [#3250](https://github.com/youzan/vant-weapp/issues/3250)
+* **tabbar:** fix style error in iphonese ([#3314](https://github.com/youzan/vant-weapp/issues/3314)) ([4e6efd1](https://github.com/youzan/vant-weapp/commit/4e6efd1b8b9b9c79160128c9415b81092ac6846b)), closes [#2988](https://github.com/youzan/vant-weapp/issues/2988)
+
+
+### Features
+
+* **field:** add new external class label-class ([#3311](https://github.com/youzan/vant-weapp/issues/3311)) ([978b596](https://github.com/youzan/vant-weapp/commit/978b59650cbc0045826a51269ce0795b1a779367)), closes [#3285](https://github.com/youzan/vant-weapp/issues/3285)
+* **steps:** add new steps properties inactiveIcon & activeIcon ([#3315](https://github.com/youzan/vant-weapp/issues/3315)) ([c92f467](https://github.com/youzan/vant-weapp/commit/c92f46756a524e154366ce200351b53b3bf93726)), closes [#3111](https://github.com/youzan/vant-weapp/issues/3111)
+
+
+### Performance Improvements
+
+* **uploader:** expand delete area ([#3265](https://github.com/youzan/vant-weapp/issues/3265)) ([8456e58](https://github.com/youzan/vant-weapp/commit/8456e58b4630f06d34592ef9b06c0210f45598a5)), closes [#3243](https://github.com/youzan/vant-weapp/issues/3243)
+
+
+
+## [1.3.2](https://github.com/youzan/vant-weapp/compare/v1.3.1...v1.3.2) (2020-06-04)
+
+
+### Bug Fixes
+
+* **button:** compatible form-field-button in low sdk version ([#3229](https://github.com/youzan/vant-weapp/issues/3229)) ([9a508de](https://github.com/youzan/vant-weapp/commit/9a508de397c6f723e2a77a06c919071abce07fb1))
+* **calendar:** 在多选日期状态下,选择完后点确定提交报错 ([#3195](https://github.com/youzan/vant-weapp/issues/3195)) ([d1cc127](https://github.com/youzan/vant-weapp/commit/d1cc1276ad8d62ebb7e75b1f89b672da8acd15f3))
+* **circle:** fix type not work ([#3228](https://github.com/youzan/vant-weapp/issues/3228)) ([f40a5fb](https://github.com/youzan/vant-weapp/commit/f40a5fbe97f3d9f9f51c1a8040104c6c65ab5009)), closes [#3168](https://github.com/youzan/vant-weapp/issues/3168)
+* **Grid:** fix square item gutter bug ([#3231](https://github.com/youzan/vant-weapp/issues/3231)) ([1077823](https://github.com/youzan/vant-weapp/commit/107782364acc3955ed7e25d91f9327d74ffc1d09))
+* **tag:** fix wrong css variable name ([#3191](https://github.com/youzan/vant-weapp/issues/3191)) ([3cf7cee](https://github.com/youzan/vant-weapp/commit/3cf7ceebfb9e9f4388448ca0c3512ba63df53ea1)), closes [#3185](https://github.com/youzan/vant-weapp/issues/3185)
+* **uploader:** avoid emit click-preview event in delete event ([#3230](https://github.com/youzan/vant-weapp/issues/3230)) ([02bf7e8](https://github.com/youzan/vant-weapp/commit/02bf7e857bc12fa7e79f354f056a8bb40457caa4)), closes [#3216](https://github.com/youzan/vant-weapp/issues/3216)
+
+
+### Features
+
+* **button:** add new prop form-type ([#3208](https://github.com/youzan/vant-weapp/issues/3208)) ([1dc1960](https://github.com/youzan/vant-weapp/commit/1dc1960694d5c4768d7f647cdeab8bdc5bab06b8)), closes [#3204](https://github.com/youzan/vant-weapp/issues/3204)
+* **grid:** add new prop direction ([#3192](https://github.com/youzan/vant-weapp/issues/3192)) ([3a37327](https://github.com/youzan/vant-weapp/commit/3a37327ec158743720f81d375e8efa3a0e8113b5)), closes [#3180](https://github.com/youzan/vant-weapp/issues/3180)
+* **grid:** add new prop icon-size & badge ([#3236](https://github.com/youzan/vant-weapp/issues/3236)) ([29f1628](https://github.com/youzan/vant-weapp/commit/29f1628c0077c1646248efba466cb6ccae192ca9)), closes [#3223](https://github.com/youzan/vant-weapp/issues/3223)
+
+
+
+## [1.3.1](https://github.com/youzan/vant-weapp/compare/v1.3.0...v1.3.1) (2020-05-24)
+
+
+### Bug Fixes
+
+* **goods-action-button:** rerender style after link change ([#3145](https://github.com/youzan/vant-weapp/issues/3145)) ([0a512eb](https://github.com/youzan/vant-weapp/commit/0a512ebd9b0cff8041130f03e6ca2d6cea269016)), closes [#3138](https://github.com/youzan/vant-weapp/issues/3138)
+* page selector warning ([#3137](https://github.com/youzan/vant-weapp/issues/3137)) ([dbba552](https://github.com/youzan/vant-weapp/commit/dbba552c83ce30ab92c1ba2be03e3d8ff8c4c829))
+
+
+### Features
+
+* **Button:** add class-prefix prop to support custom icon ([#3159](https://github.com/youzan/vant-weapp/issues/3159)) ([d80ec54](https://github.com/youzan/vant-weapp/commit/d80ec5418642e8d97cf23fcb01c101998100f7de))
+* **Collapse:** add open、close event ([#3176](https://github.com/youzan/vant-weapp/issues/3176)) ([dc7e3d2](https://github.com/youzan/vant-weapp/commit/dc7e3d2453485cd8a9b1461617acb649979d3fec))
+* **Field:** change placeholder color ([9136be7](https://github.com/youzan/vant-weapp/commit/9136be7c3565d1dfe376922fe25100fe5a0e9751))
+* **NavBar:** add doc ([01eec35](https://github.com/youzan/vant-weapp/commit/01eec35569d6dae08c2c8bcf7a0ac2358ccb3559))
+* **NavBar:** support custom-style ([c0005d0](https://github.com/youzan/vant-weapp/commit/c0005d06e538782aad901b337c9d3c4f5235f1cd))
+
+
+
+# [1.3.0](https://github.com/youzan/vant-weapp/compare/v1.2.2...v1.3.0) (2020-05-08)
+
+
+### Bug Fixes
+
+* **button:** set open-type to null when disabled ([#3076](https://github.com/youzan/vant-weapp/issues/3076)) ([2a456cd](https://github.com/youzan/vant-weapp/commit/2a456cd66c32073e2252bf459e4bbf1e4ac87aa6)), closes [#3074](https://github.com/youzan/vant-weapp/issues/3074)
+* **dialog:** remove blank before title ([#3069](https://github.com/youzan/vant-weapp/issues/3069)) ([c53ce23](https://github.com/youzan/vant-weapp/commit/c53ce239c2356c4864cd4e054686088cc509057d))
+* **Field:** fix error message align ([8601cb1](https://github.com/youzan/vant-weapp/commit/8601cb1157e13bb39bd68c48867cb49c34a55e55))
+* **Sticky:** pageScroll bind page ([#3092](https://github.com/youzan/vant-weapp/issues/3092)) ([ac6b34a](https://github.com/youzan/vant-weapp/commit/ac6b34a823a141be1d093a563140f6eeb2e9f849))
+* **tab:** hide scrollbar ([#3072](https://github.com/youzan/vant-weapp/issues/3072)) ([7d0feac](https://github.com/youzan/vant-weapp/commit/7d0feac93a692bd4f7cdad0f5a0a1dcef040f49a)), closes [#2935](https://github.com/youzan/vant-weapp/issues/2935)
+* **uploader:** emit click-preview for all file type ([#3071](https://github.com/youzan/vant-weapp/issues/3071)) ([074d49c](https://github.com/youzan/vant-weapp/commit/074d49c28fa7d3d7f60c85046a4f3c9c913cd249)), closes [#3049](https://github.com/youzan/vant-weapp/issues/3049)
+
+
+### Features
+
+* **button:** add new prop dataset ([a5d33c2](https://github.com/youzan/vant-weapp/commit/a5d33c22bd194ca37ec46dd916c9d53d6f7a244b)), closes [#2483](https://github.com/youzan/vant-weapp/issues/2483)
+* **rate:** support model value ([ea16536](https://github.com/youzan/vant-weapp/commit/ea1653657a3992374e9ba939bc1264d1d6bec75e))
+* **search:** support model value ([f9b53aa](https://github.com/youzan/vant-weapp/commit/f9b53aad99fa14f0d6ebd0bcb2b3fe2d5d731143))
+* **slider:** support model value ([d66054f](https://github.com/youzan/vant-weapp/commit/d66054f2dc07d944d36d7a23ebfa3f55ab3417e1))
+* **sticky:** add new prop scroll-top ([284dba4](https://github.com/youzan/vant-weapp/commit/284dba4d20954dae7a20dc12e64708e2d393c4fc)), closes [#3114](https://github.com/youzan/vant-weapp/issues/3114)
+* add font-family ([#3061](https://github.com/youzan/vant-weapp/issues/3061)) ([0e481d5](https://github.com/youzan/vant-weapp/commit/0e481d51f293fc621c7ec73ae002e96c4f5f9b99))
+* **Uploader:** prop accept add new value media ([#3047](https://github.com/youzan/vant-weapp/issues/3047)) ([087e0a5](https://github.com/youzan/vant-weapp/commit/087e0a5da8245108f2e39663ea542381bf6180fc)), closes [#3016](https://github.com/youzan/vant-weapp/issues/3016)
+
+
+
+## [1.2.2](https://github.com/youzan/vant-weapp/compare/v1.2.1...v1.2.2) (2020-04-21)
+
+
+### Bug Fixes
+
+* **Field:** avoid setting showClear to undefined ([#3012](https://github.com/youzan/vant-weapp/issues/3012)) ([16be4f7](https://github.com/youzan/vant-weapp/commit/16be4f71715f4c65d64f40a69b511b162710870c)), closes [#3009](https://github.com/youzan/vant-weapp/issues/3009)
+* **Field:** avoid wxs error when set autosize ([#3038](https://github.com/youzan/vant-weapp/issues/3038)) ([74ea6cb](https://github.com/youzan/vant-weapp/commit/74ea6cbafcd59e96f56aafd0310bb98dcb8cf21a)), closes [#3033](https://github.com/youzan/vant-weapp/issues/3033)
+
+
+### Features
+
+* **GoodsActionButton:** add new css variable goods-action-line-height ([#3037](https://github.com/youzan/vant-weapp/issues/3037)) ([10810e2](https://github.com/youzan/vant-weapp/commit/10810e2b45374558737ba15f86e6ad91e98cc24f)), closes [#3032](https://github.com/youzan/vant-weapp/issues/3032)
+* **Notify:** add new prop top ([#3018](https://github.com/youzan/vant-weapp/issues/3018)) ([e054aaf](https://github.com/youzan/vant-weapp/commit/e054aafa2d0c827fe60add02ba3202a536c3a6fd)), closes [#2764](https://github.com/youzan/vant-weapp/issues/2764)
+
+
+### Performance Improvements
+
+* **Calendar:** auto selected to max range ([#3026](https://github.com/youzan/vant-weapp/issues/3026)) ([ad30ba6](https://github.com/youzan/vant-weapp/commit/ad30ba60e976b789912f0dac4dae1ca306232c33)), closes [#3021](https://github.com/youzan/vant-weapp/issues/3021)
+
+
+
+## [1.2.1](https://github.com/youzan/vant-weapp/compare/v1.2.0...v1.2.1) (2020-04-12)
+
+
+### Bug Fixes
+
+* **example:** wxss import error due to \ symbol for path in windows OS ([#2924](https://github.com/youzan/vant-weapp/issues/2924)) ([98d72b4](https://github.com/youzan/vant-weapp/commit/98d72b491f98b58d6662e36e2745707887c7e3c9))
+* **Field:** fix max-height not work ([#3007](https://github.com/youzan/vant-weapp/issues/3007)) ([e6c97e1](https://github.com/youzan/vant-weapp/commit/e6c97e19040257063f1b7cc1cb2cb11a8554fcf4)), closes [#3002](https://github.com/youzan/vant-weapp/issues/3002)
+* **Field:** support model value ([#2986](https://github.com/youzan/vant-weapp/issues/2986)) ([b850cce](https://github.com/youzan/vant-weapp/commit/b850cce5182da91908f43c03817a02f62b209106)), closes [#2960](https://github.com/youzan/vant-weapp/issues/2960)
+* **IndexBar:** remove prop scrollTop ([#2999](https://github.com/youzan/vant-weapp/issues/2999)) ([df03bf3](https://github.com/youzan/vant-weapp/commit/df03bf3d12488305db4aa7210a75ce04fa49d409)), closes [#2821](https://github.com/youzan/vant-weapp/issues/2821) [#2768](https://github.com/youzan/vant-weapp/issues/2768)
+
+
+### Features
+
+* **Calendar:** add cancel event ([#2990](https://github.com/youzan/vant-weapp/issues/2990)) ([a6f2d4e](https://github.com/youzan/vant-weapp/commit/a6f2d4e6686fc5acc517d9202825f45cd1ddb15b))
+
+
+
+# [1.2.0](https://github.com/youzan/vant-weapp/compare/v1.1.0...v1.2.0) (2020-04-04)
+
+
+### Bug Fixes
+
+* **Calendar:** fix wxs error on init  when showConfirm is true ([#2951](https://github.com/youzan/vant-weapp/issues/2951)) ([b23ff3e](https://github.com/youzan/vant-weapp/commit/b23ff3ee899ee85967b29d8596c0b511287415e8)), closes [#2949](https://github.com/youzan/vant-weapp/issues/2949)
+* **Tab:** fix Card Type Color custome ([#2941](https://github.com/youzan/vant-weapp/issues/2941)) ([cb85269](https://github.com/youzan/vant-weapp/commit/cb85269f174ae0c410a1880330247a4be5629b7c))
+
+
+### Features
+
+* **Canvas:** add type props ([#2906](https://github.com/youzan/vant-weapp/issues/2906)) ([b108eaf](https://github.com/youzan/vant-weapp/commit/b108eaf210f447266d26aa94d15c0c62bfa8d3f9))
+* **Field:** add new props auto-focus & disable-default-padding & cursor ([#2936](https://github.com/youzan/vant-weapp/issues/2936)) ([eb586dd](https://github.com/youzan/vant-weapp/commit/eb586dda238a5e791e96a23617624f2a53d2eb73)), closes [#2189](https://github.com/youzan/vant-weapp/issues/2189)
+* **Image:** add more mode ([#2908](https://github.com/youzan/vant-weapp/issues/2908)) ([f211bb4](https://github.com/youzan/vant-weapp/commit/f211bb47aec9558629ce7824c839b7b9b656f68a))
+* **NavBar:** add new prop fill ([#2896](https://github.com/youzan/vant-weapp/issues/2896)) ([dbe94b3](https://github.com/youzan/vant-weapp/commit/dbe94b3bfa886ad594b00831674691dff076e128)), closes [#2887](https://github.com/youzan/vant-weapp/issues/2887)
+* **TreeSelect:** update nav backgroud color ([90db9c8](https://github.com/youzan/vant-weapp/commit/90db9c8dfabbf4b5e9ba2a0f1e413664a380d293))
+* **Uploader:** add Uploader status display ([#2929](https://github.com/youzan/vant-weapp/issues/2929)) ([141996b](https://github.com/youzan/vant-weapp/commit/141996b35e8e66edc6b545542d32181f0e6faa5b))
+
+
+
+# [1.1.0](https://github.com/youzan/vant-weapp/compare/v1.1.0-beta.2...v1.1.0) (2020-03-21)
+
+
+### Bug Fixes
+
+* **Button:** disabled button does not emit event handler ([#2878](https://github.com/youzan/vant-weapp/issues/2878)) ([6cf1a3b](https://github.com/youzan/vant-weapp/commit/6cf1a3b70ed2b14f221c542996963270f9633349))
+* **Button:** fix click not work ([#2892](https://github.com/youzan/vant-weapp/issues/2892)) ([d073ea2](https://github.com/youzan/vant-weapp/commit/d073ea2767e73c3331e81a687e69f90314c17649))
+* **Button:** remove default lang ([#2883](https://github.com/youzan/vant-weapp/issues/2883)) ([0af6199](https://github.com/youzan/vant-weapp/commit/0af61992a35d0092953ed03619ea8fe73b05bbe5)), closes [#2881](https://github.com/youzan/vant-weapp/issues/2881)
+* **Transition:** fix typescript error ([03cd984](https://github.com/youzan/vant-weapp/commit/03cd9843936b5c942fd9f808c5972411691048e5))
+
+
+### Features
+
+* **Calendar:** add new component calendar ([#2894](https://github.com/youzan/vant-weapp/issues/2894)) ([163ac52](https://github.com/youzan/vant-weapp/commit/163ac525427c6b9478b848def0c206b16519739f))
+* **Field:** add new prop showWordLimit & support max/min height & add new css variables ([#2856](https://github.com/youzan/vant-weapp/issues/2856)) ([b8cbc8d](https://github.com/youzan/vant-weapp/commit/b8cbc8dd4452283e8368badf5f6cc22f4b24426a)), closes [#2469](https://github.com/youzan/vant-weapp/issues/2469) [#2594](https://github.com/youzan/vant-weapp/issues/2594)
+* **Grid:** add new external class custom-class content-class icon-class text-class ([#2882](https://github.com/youzan/vant-weapp/issues/2882)) ([99edf29](https://github.com/youzan/vant-weapp/commit/99edf293f285529d513dc145dcda24ee0fd246da)), closes [#2880](https://github.com/youzan/vant-weapp/issues/2880)
+* **SideBar:** title slot ([#2873](https://github.com/youzan/vant-weapp/issues/2873)) ([3beb578](https://github.com/youzan/vant-weapp/commit/3beb578d6b2d61e9963a1b4ca8acdef08c4e9cf3))
+* **Steps:** add click event ([#2874](https://github.com/youzan/vant-weapp/issues/2874)) ([bf0b96c](https://github.com/youzan/vant-weapp/commit/bf0b96c469df3794612b1e7c80203859219c4d69))
+* **Uploader:** add upload-icon props ([#2869](https://github.com/youzan/vant-weapp/issues/2869)) ([9a3b5df](https://github.com/youzan/vant-weapp/commit/9a3b5df803cc489d6d6ddf5e5842f488535f9adb))
+* **Uploader:** make upload botton selectable ([#2868](https://github.com/youzan/vant-weapp/issues/2868)) ([d1d19fe](https://github.com/youzan/vant-weapp/commit/d1d19fed913c3de3eaec8b68add718a10de93286))
+
+
+### Performance Improvements
+
+* **Uploader:** update style & adjust event order ([#2886](https://github.com/youzan/vant-weapp/issues/2886)) ([f088e3e](https://github.com/youzan/vant-weapp/commit/f088e3e6da38d380bec60f3d7cc535889298dcde)), closes [#2879](https://github.com/youzan/vant-weapp/issues/2879)
+
+
+
+# [1.1.0-beta.2](https://github.com/youzan/vant-weapp/compare/v1.1.0-beta.1...v1.1.0-beta.2) (2020-03-10)
+
+
+
+# [1.1.0-beta.1](https://github.com/youzan/vant-weapp/compare/v1.0.7...v1.1.0-beta.1) (2020-03-09)
+
+
+### Features
+
+* **Cell:** improve cell value style in large size ([#2831](https://github.com/youzan/vant-weapp/issues/2831)) ([e6a4524](https://github.com/youzan/vant-weapp/commit/e6a4524fe3041a690e742e6e72149a6da4d241a5))
+
+
+
+## [1.0.7](https://github.com/youzan/vant-weapp/compare/v1.0.7-beta1...v1.0.7) (2020-03-04)
+
+
+### Bug Fixes
+
+* **GoodsActionButton:** fix style error in single action button ([#2808](https://github.com/youzan/vant-weapp/issues/2808)) ([bf28750](https://github.com/youzan/vant-weapp/commit/bf287502e43a13ad55cb6b5b91f73fa61c77ad1f)), closes [#2786](https://github.com/youzan/vant-weapp/issues/2786)
+* **Picker:** add mask ([#2816](https://github.com/youzan/vant-weapp/issues/2816)) ([3adba1a](https://github.com/youzan/vant-weapp/commit/3adba1a67bc41209fc51e284027e77ecab33c58b)), closes [#2792](https://github.com/youzan/vant-weapp/issues/2792)
+* **Radio:** adjust name type to any ([#2801](https://github.com/youzan/vant-weapp/issues/2801)) ([6ffbec1](https://github.com/youzan/vant-weapp/commit/6ffbec1f7746a1069e51d1c9f3fa46d913138470)), closes [#2800](https://github.com/youzan/vant-weapp/issues/2800)
+* **Tab:** set container when change active ([#2817](https://github.com/youzan/vant-weapp/issues/2817)) ([a54f0af](https://github.com/youzan/vant-weapp/commit/a54f0af5dd98723bd892c41447ec69c1beebdf86)), closes [#2782](https://github.com/youzan/vant-weapp/issues/2782)
+
+
+### Features
+
+* **DropdownItem:** add new event open close opend closed & new prop popup-style ([#2804](https://github.com/youzan/vant-weapp/issues/2804)) ([9f8fe59](https://github.com/youzan/vant-weapp/commit/9f8fe59650d64b0ec87929fbcb2f1875018547a7)), closes [#2361](https://github.com/youzan/vant-weapp/issues/2361) [#2796](https://github.com/youzan/vant-weapp/issues/2796)
+
+
+
+## [1.0.7-beta1](https://github.com/youzan/vant-weapp/compare/v1.0.6...v1.0.7-beta1) (2020-02-26)
+
+
+### Features
+
+* **Card:** add slots attrs ([#2787](https://github.com/youzan/vant-weapp/issues/2787)) ([a63d565](https://github.com/youzan/vant-weapp/commit/a63d5651b450ea5a66c507602c0f6faeca6808d0))
+
+
+
+## [1.0.6](https://github.com/youzan/vant-weapp/compare/v1.0.5...v1.0.6) (2020-02-24)
+
+
+### Bug Fixes
+
+* **Button:** add loading color when plain is true ([#2746](https://github.com/youzan/vant-weapp/issues/2746)) ([45d0a32](https://github.com/youzan/vant-weapp/commit/45d0a32eab52236e15ecbb42398a8fd5faede4d2))
+* **Checkbox:** support set disabled dynamic ([#2748](https://github.com/youzan/vant-weapp/issues/2748)) ([bfa648b](https://github.com/youzan/vant-weapp/commit/bfa648b13b43e79aeeb53ea8c3a203aa763fa2f5)), closes [#2742](https://github.com/youzan/vant-weapp/issues/2742)
+* **DropdownItem:** emit close while change item ([#2766](https://github.com/youzan/vant-weapp/issues/2766)) ([20d49bf](https://github.com/youzan/vant-weapp/commit/20d49bf97f6d1f9eb59f5be2627f2203d8b29a45)), closes [#2582](https://github.com/youzan/vant-weapp/issues/2582)
+* **GoodsActionButton:** fix style error ([#2762](https://github.com/youzan/vant-weapp/issues/2762)) ([4ed51fd](https://github.com/youzan/vant-weapp/commit/4ed51fd8597152b9058e4348cb2cb7279587dc44))
+* **Tabs:** fix disabled event data ([#2758](https://github.com/youzan/vant-weapp/issues/2758)) ([6ea0060](https://github.com/youzan/vant-weapp/commit/6ea006006f3eb79309f827a331131745c2b495f3))
+
+
+### Features
+
+* **Card:** style update ([#2754](https://github.com/youzan/vant-weapp/issues/2754)) ([c64d80a](https://github.com/youzan/vant-weapp/commit/c64d80ab5939ac32010411df77590b8d333e6916))
+* **GoodsActionButton:** add default slot ([#2779](https://github.com/youzan/vant-weapp/issues/2779)) ([dcd3665](https://github.com/youzan/vant-weapp/commit/dcd366557022b3ee23ca570ed7942dc60acac109))
+* **SubmitBar:** style update ([#2755](https://github.com/youzan/vant-weapp/issues/2755)) ([4b58899](https://github.com/youzan/vant-weapp/commit/4b5889959401106eaa802033f6f70178dd7288ab))
+
+
+
+## [1.0.5](https://github.com/youzan/vant-weapp/compare/v1.0.4...v1.0.5) (2020-02-07)
+
+
+### Bug Fixes
+
+* **ActionSheet:** support more options ([#2715](https://github.com/youzan/vant-weapp/issues/2715)) ([4de5a96](https://github.com/youzan/vant-weapp/commit/4de5a966d455596d4802706337f38119305b3ad2))
+* **Circle:**  README.md size type mistaken ([#2694](https://github.com/youzan/vant-weapp/issues/2694)) ([b85187a](https://github.com/youzan/vant-weapp/commit/b85187a74cd89faf9fd1ff86fa80808103637c1a))
+* **Radio:** fix disabled not work ([#2711](https://github.com/youzan/vant-weapp/issues/2711)) ([cc95c58](https://github.com/youzan/vant-weapp/commit/cc95c58635144d12fec0ebcbde94b9b2be140f98)), closes [#2708](https://github.com/youzan/vant-weapp/issues/2708)
+* **Tab:** support set animated dynamic ([#2712](https://github.com/youzan/vant-weapp/issues/2712)) ([0d9850a](https://github.com/youzan/vant-weapp/commit/0d9850a11d70035cecdd75b3f981de338142a729)), closes [#2597](https://github.com/youzan/vant-weapp/issues/2597)
+
+
+### Features
+
+* **Uploader:** add uploader component  disabled style ([#2720](https://github.com/youzan/vant-weapp/issues/2720)) ([3f550d4](https://github.com/youzan/vant-weapp/commit/3f550d49cd32f2465ab9b2307ee09bafbba58065))
+
+
+
+## [1.0.4](https://github.com/youzan/vant-weapp/compare/v1.0.3...v1.0.4) (2020-01-21)
+
+
+### Bug Fixes
+
+* **DropdownItem:** fix wx:key wran ([#2670](https://github.com/youzan/vant-weapp/issues/2670)) ([9942755](https://github.com/youzan/vant-weapp/commit/9942755da4bc274227b1f3c3239dc86552d7c870))
+* **Notify & Slider:** fix eslint error ([#2702](https://github.com/youzan/vant-weapp/issues/2702)) ([358beaf](https://github.com/youzan/vant-weapp/commit/358beafbde6e5998e71def0ce18001e6e2844bec))
+* **Sticky:** avoid sticky not fixed when scroll slow & improve performance ([#2703](https://github.com/youzan/vant-weapp/issues/2703)) ([5ed7ed5](https://github.com/youzan/vant-weapp/commit/5ed7ed5e1d9673ad8ce8e606bde69c3176bab7b5)), closes [#2310](https://github.com/youzan/vant-weapp/issues/2310)
+
+
+### Features
+
+* **Stepper:** add disable-long-press feature ([#2691](https://github.com/youzan/vant-weapp/issues/2691)) ([33c11fa](https://github.com/youzan/vant-weapp/commit/33c11facffe76e8a37e09f7eaff2626c70541ef8))
+
+
+
+## [1.0.3](https://github.com/youzan/vant-weapp/compare/v1.0.2...v1.0.3) (2020-01-09)
+
+
+### Bug Fixes
+
+* **readme:** fix link to miniprogram quickstart ([#2638](https://github.com/youzan/vant-weapp/issues/2638)) ([8a89cba](https://github.com/youzan/vant-weapp/commit/8a89cbae34d24dce788e0e21af9aea319a508a03)), closes [#2613](https://github.com/youzan/vant-weapp/issues/2613)
+
+
+### Features
+
+* **NavBar:** fix icon and text dislocation ([#2633](https://github.com/youzan/vant-weapp/issues/2633)) ([773d733](https://github.com/youzan/vant-weapp/commit/773d7332834749cc26b5fa9f72cd6f2319377674))
+* **Steps:**  desc properties  add custom style ([#2630](https://github.com/youzan/vant-weapp/issues/2630)) ([478dbd1](https://github.com/youzan/vant-weapp/commit/478dbd1c1890d070655e07cbc3985b0903a815c0))
+
+
+
+## [1.0.2](https://github.com/youzan/vant-weapp/compare/v1.0.1...v1.0.2) (2019-12-31)
+
+
+### Bug Fixes
+
+* **Field:** catch touchstart event to fix [#1430](https://github.com/youzan/vant-weapp/issues/1430) ([#2602](https://github.com/youzan/vant-weapp/issues/2602)) ([a44b3b4](https://github.com/youzan/vant-weapp/commit/a44b3b4ed9521787c116f38efa7a1e1f66257c33))
+* **IndexBar:** fix error in click event ([#2605](https://github.com/youzan/vant-weapp/issues/2605)) ([36bf476](https://github.com/youzan/vant-weapp/commit/36bf4762eb3c0f1f766a45347623d18e7a905cf0)), closes [#2522](https://github.com/youzan/vant-weapp/issues/2522)
+
+
+### Features
+
+* **Skeleton:** add new external class row-class & avatar-class & title-class ([#2612](https://github.com/youzan/vant-weapp/issues/2612)) ([d798f4d](https://github.com/youzan/vant-weapp/commit/d798f4d87f88102097f1029aa0607e8f4f2b12fa)), closes [#2580](https://github.com/youzan/vant-weapp/issues/2580)
+* **SwipeCell:** support dynamic set width ([#2607](https://github.com/youzan/vant-weapp/issues/2607)) ([10f903f](https://github.com/youzan/vant-weapp/commit/10f903f8bb9a8e13063fb91ad7e8e534bf7c3a1f))
+* **Uploader:** add video accept type ([#2584](https://github.com/youzan/vant-weapp/issues/2584)) ([72e992e](https://github.com/youzan/vant-weapp/commit/72e992e56e5ef7708635ec9d71cdbd022299497c))
+
+
+### Performance Improvements
+
+* **Tab:** improve scrolling ([#2606](https://github.com/youzan/vant-weapp/issues/2606)) ([954bb21](https://github.com/youzan/vant-weapp/commit/954bb21d40a9d3bae284157163060d54ca20ab1f)), closes [#2506](https://github.com/youzan/vant-weapp/issues/2506)
+
+
+
+## [1.0.1](https://github.com/youzan/vant-weapp/compare/v1.0.0...v1.0.1) (2019-12-23)
+
+
+### Bug Fixes
+
+* **Field:** add input-align example ([#2519](https://github.com/youzan/vant-weapp/issues/2519)) ([a5e56d4](https://github.com/youzan/vant-weapp/commit/a5e56d43e806368c034cdd02c7779a140c43bac8))
+* **Icon:** medal typo ([#2511](https://github.com/youzan/vant-weapp/issues/2511)) ([b89c248](https://github.com/youzan/vant-weapp/commit/b89c2486af39336b1cbcf26957de55d3c8003b5c))
+* **Notify:** fix safeAreaInsetTop not work ([#2558](https://github.com/youzan/vant-weapp/issues/2558)) ([1b28680](https://github.com/youzan/vant-weapp/commit/1b28680be123da921dc34fb47802d79cd1646579)), closes [#2540](https://github.com/youzan/vant-weapp/issues/2540)
+* **Tag:** add component dependence van-icon ([#2579](https://github.com/youzan/vant-weapp/issues/2579)) ([1a22587](https://github.com/youzan/vant-weapp/commit/1a22587e4f1e4a2be3bcfa12ab793b59d11c6b34)), closes [#2574](https://github.com/youzan/vant-weapp/issues/2574)
+* **Uploader:** remove use-slot & catch upload error & fix prop capture not work ([#2551](https://github.com/youzan/vant-weapp/issues/2551)) ([1d93057](https://github.com/youzan/vant-weapp/commit/1d93057061e385b9424c2fe4489367118356bf85)), closes [#2541](https://github.com/youzan/vant-weapp/issues/2541) [#2544](https://github.com/youzan/vant-weapp/issues/2544)
+
+
+### Features
+
+* **GoodsActionButton:** add plain attributes ([#2559](https://github.com/youzan/vant-weapp/issues/2559)) ([8b38ccf](https://github.com/youzan/vant-weapp/commit/8b38ccf3644ac3fb28a5848a671b3a9f18afafcf))
+* **Steps:**  add inactive-color feature ([#2497](https://github.com/youzan/vant-weapp/issues/2497)) ([ee794b0](https://github.com/youzan/vant-weapp/commit/ee794b07fd48820bd308166c839d7188793ced0e))
+* **Uploader:** add sizeType Attribute ([#2563](https://github.com/youzan/vant-weapp/issues/2563)) ([2dbabe7](https://github.com/youzan/vant-weapp/commit/2dbabe7bf380cc7eeb7ce46b6fd3d062e1b1a285))
+* **utils:** improve add unit performance with wxs ([#2550](https://github.com/youzan/vant-weapp/issues/2550)) ([4527c31](https://github.com/youzan/vant-weapp/commit/4527c31c6cb282dea44623895ad752f891b91cb9))
+
+
+
+# [1.0.0](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.6...v1.0.0) (2019-12-11)
+
+
+### Features
+
+* **Notify:** add clear method ([#2501](https://github.com/youzan/vant-weapp/issues/2501)) ([b5ecc92](https://github.com/youzan/vant-weapp/commit/b5ecc922a39cbd0877e3e2ae77783a72e2bedbc0))
+
+
+
+# [1.0.0-beta.6](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2019-12-05)
+
+
+### Bug Fixes
+
+* **DropdownMenu:** support set props dynamic & improve performance ([#2454](https://github.com/youzan/vant-weapp/issues/2454)) ([52e2121](https://github.com/youzan/vant-weapp/commit/52e21213ae81c8f6e8e4d44eed601a6f05416636)), closes [#2446](https://github.com/youzan/vant-weapp/issues/2446)
+* **Image:** remove webp ([#2462](https://github.com/youzan/vant-weapp/issues/2462)) ([a1e8fe4](https://github.com/youzan/vant-weapp/commit/a1e8fe4a301e2d1fa5118a5a5798424f070c1e68)), closes [#2459](https://github.com/youzan/vant-weapp/issues/2459)
+* **Rate:** allow-half display error ([#2460](https://github.com/youzan/vant-weapp/issues/2460)) ([259d914](https://github.com/youzan/vant-weapp/commit/259d914db3ffa830abdf010c3bd3e570a281d667))
+* **Sidebar:** fix emit wrong index in click event after render new sidebar-item list ([#2472](https://github.com/youzan/vant-weapp/issues/2472)) ([40286a2](https://github.com/youzan/vant-weapp/commit/40286a21d57d190a21aba2ba046eff4eef71249f)), closes [#2369](https://github.com/youzan/vant-weapp/issues/2369)
+* **TreeSelect:** support set mainActiveIndex dynamic ([#2471](https://github.com/youzan/vant-weapp/issues/2471)) ([1ad701d](https://github.com/youzan/vant-weapp/commit/1ad701db2307e89fb8eebe4559a5def418f96d7a)), closes [#2444](https://github.com/youzan/vant-weapp/issues/2444)
+
+
+### Features
+
+* **Overlay:** add default slot ([#2466](https://github.com/youzan/vant-weapp/issues/2466)) ([c76c61b](https://github.com/youzan/vant-weapp/commit/c76c61b8e2a5491dd3ad4e2b9922d733e46ec6ef)), closes [#2449](https://github.com/youzan/vant-weapp/issues/2449)
+* **Stepper:** add disablePlus & disableMinus props ([#2457](https://github.com/youzan/vant-weapp/issues/2457)) ([baac222](https://github.com/youzan/vant-weapp/commit/baac222b2f434935929109a095ab2830148101fd))
+
+
+
+# [1.0.0-beta.5](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2019-11-29)
+
+
+### Bug Fixes
+
+* **Grid:** gutter not work correct with square ([#2394](https://github.com/youzan/vant-weapp/issues/2394)) ([0d95eae](https://github.com/youzan/vant-weapp/commit/0d95eae0ed31531c1495c954bd788ec1f9edff41)), closes [#2373](https://github.com/youzan/vant-weapp/issues/2373)
+* **Image:** support set width & height dynamic ([#2419](https://github.com/youzan/vant-weapp/issues/2419)) ([f96f845](https://github.com/youzan/vant-weapp/commit/f96f8450baa77abdafe14dc703c231c8df8870ab)), closes [#2415](https://github.com/youzan/vant-weapp/issues/2415) [#2392](https://github.com/youzan/vant-weapp/issues/2392)
+* **Notify:** safe-area not work in android ([#2393](https://github.com/youzan/vant-weapp/issues/2393)) ([69c83bc](https://github.com/youzan/vant-weapp/commit/69c83bc5397a68297bf4b56a4a610f34d2904f5b)), closes [#2372](https://github.com/youzan/vant-weapp/issues/2372)
+* **Skeleton:** fix prop row not work error ([#2364](https://github.com/youzan/vant-weapp/issues/2364)) ([8e65117](https://github.com/youzan/vant-weapp/commit/8e65117205637fdaf3d21350a631b25633c65157))
+* **Stepper:** incorrect disabled color ([#2405](https://github.com/youzan/vant-weapp/issues/2405)) ([a0026e5](https://github.com/youzan/vant-weapp/commit/a0026e56d73b7dd5fad75a08ed52b084b149d23d))
+* **Tab:** fix getComputedName of undefined error ([#2376](https://github.com/youzan/vant-weapp/issues/2376)) ([45f4c6c](https://github.com/youzan/vant-weapp/commit/45f4c6c1333e526403d1e984dd19a684b1a1ed4d)), closes [#2335](https://github.com/youzan/vant-weapp/issues/2335)
+* **Tab:** fix prop active not work in init ([#2395](https://github.com/youzan/vant-weapp/issues/2395)) ([ef1e747](https://github.com/youzan/vant-weapp/commit/ef1e74786906d66c2ab33b63ca2acf0ae089c4d1)), closes [#2390](https://github.com/youzan/vant-weapp/issues/2390)
+* **uploader:** preview-size repeat px ([#2340](https://github.com/youzan/vant-weapp/issues/2340)) ([ab96a26](https://github.com/youzan/vant-weapp/commit/ab96a269138bc0e1ef394fe5fe60725364751b83))
+
+
+### Features
+
+* **SwipeCell:** add new event open & stop catch touchend ([#2432](https://github.com/youzan/vant-weapp/issues/2432)) ([c73bc5d](https://github.com/youzan/vant-weapp/commit/c73bc5d3c4177becbe53a76a3309897b34171a54)), closes [#2402](https://github.com/youzan/vant-weapp/issues/2402)
+* 将省市区数据存储在云开发数据库中 ([#2428](https://github.com/youzan/vant-weapp/issues/2428)) ([795f82a](https://github.com/youzan/vant-weapp/commit/795f82a11561c33d4ee90d5be118018616bff992))
+* **Image:** add radius prop ([#2407](https://github.com/youzan/vant-weapp/issues/2407)) ([8f6f61e](https://github.com/youzan/vant-weapp/commit/8f6f61e20863918a669d4d4dfab0f5f3cca8fdc3))
+* **Uploader:** add deletable prop ([#2411](https://github.com/youzan/vant-weapp/issues/2411)) ([4c09027](https://github.com/youzan/vant-weapp/commit/4c09027afe7aa0ca9969565b6e60b27741bc4ef4))
+* **Uploader:** update border radius ([#2408](https://github.com/youzan/vant-weapp/issues/2408)) ([a320d08](https://github.com/youzan/vant-weapp/commit/a320d083b59f9e7b54a2cf6c5747f782cce81c5a))
+* **Uploader:** update delete icon style ([#2410](https://github.com/youzan/vant-weapp/issues/2410)) ([cee9260](https://github.com/youzan/vant-weapp/commit/cee926059ef19ab8a948bf70e59f12a9bc553871))
+* add color paletee of neutral color ([#2403](https://github.com/youzan/vant-weapp/issues/2403)) ([52e8982](https://github.com/youzan/vant-weapp/commit/52e89826dfc88680fe9d0921214a1da9ef3a366a))
+
+
+
+# [1.0.0-beta.4](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2019-11-19)
+
+
+### Bug Fixes
+
+* **Area:** fix change event emit wrong values ([#2290](https://github.com/youzan/vant-weapp/issues/2290)) ([8af68a0](https://github.com/youzan/vant-weapp/commit/8af68a0d7afba16fc9e578e3301987698facffa7)), closes [#2287](https://github.com/youzan/vant-weapp/issues/2287)
+* **DropdownMenu:** annotation error ([#2320](https://github.com/youzan/vant-weapp/issues/2320)) ([15ea958](https://github.com/youzan/vant-weapp/commit/15ea958b4f7edc293dab60256b4a4754b98a6cf6))
+* **GoodsAction:** incorrect border radius ([#2311](https://github.com/youzan/vant-weapp/issues/2311)) ([53eb32e](https://github.com/youzan/vant-weapp/commit/53eb32ee9bb895c12b5bc15c2588bc7c239400e3))
+* **NavBar:** fix icon style error ([#2331](https://github.com/youzan/vant-weapp/issues/2331)) ([1edbbd1](https://github.com/youzan/vant-weapp/commit/1edbbd18af2af2f031cf6983f4380fc1a66061fa)), closes [#2322](https://github.com/youzan/vant-weapp/issues/2322)
+* **rate:** use size attribute ([#2325](https://github.com/youzan/vant-weapp/issues/2325)) ([#2326](https://github.com/youzan/vant-weapp/issues/2326)) ([60ecf66](https://github.com/youzan/vant-weapp/commit/60ecf6695428a8f2b2bae7c7a59c5a1a6566b709))
+* **Skeleton:** missing wx:key and page declaration ([#2312](https://github.com/youzan/vant-weapp/issues/2312)) ([9ef4cae](https://github.com/youzan/vant-weapp/commit/9ef4cae03ff50f54bd8f2fa1ecea0b60d950497a))
+* **Tabs:** 修复滑动切换模式下激活选项错误 ([#2293](https://github.com/youzan/vant-weapp/issues/2293)) ([94e71d1](https://github.com/youzan/vant-weapp/commit/94e71d1509aa9d6f28b0f0f63d7121cb48efda0c))
+* **Tabs:** 修复选项卡竖向滚动时不触发scroll事件 ([#2299](https://github.com/youzan/vant-weapp/issues/2299)) ([002f26f](https://github.com/youzan/vant-weapp/commit/002f26fb3c4cd0d062ed608a0de00d11ec160b50))
+* **Uploader:** fix multiple not work ([#2329](https://github.com/youzan/vant-weapp/issues/2329)) ([7afb579](https://github.com/youzan/vant-weapp/commit/7afb5795bffdb68fe2da6038ceb2d77737ea220f)), closes [#2327](https://github.com/youzan/vant-weapp/issues/2327)
+
+
+### Features
+
+* **IndexBar:** add IndexBar component ([#2303](https://github.com/youzan/vant-weapp/issues/2303)) ([c8d27f5](https://github.com/youzan/vant-weapp/commit/c8d27f5ca76a589c863ab0bbf854f8cb081f0bb5))
+* **Tab:** add new prop ellipsis & improve performance ([#2334](https://github.com/youzan/vant-weapp/issues/2334)) ([7d7cfd1](https://github.com/youzan/vant-weapp/commit/7d7cfd12b3f161396c6c15fa670d05003bf89a05)), closes [#1605](https://github.com/youzan/vant-weapp/issues/1605) [#2297](https://github.com/youzan/vant-weapp/issues/2297)
+* **Tab:** add new prop lazyRender & improve performance ([#2328](https://github.com/youzan/vant-weapp/issues/2328)) ([6045308](https://github.com/youzan/vant-weapp/commit/60453083b3316ca416a7bfc5954244f752a54921))
+
+
+### Performance Improvements
+
+* **Rate:** remove unreachable code ([#2332](https://github.com/youzan/vant-weapp/issues/2332)) ([3ccb51c](https://github.com/youzan/vant-weapp/commit/3ccb51c4c6278690f8d471e82e65e3c14fcbd4fa))
+
+
+
+# [1.0.0-beta.3](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2019-11-12)
+
+
+### Bug Fixes
+
+* **ActionSheet:** loading icon align ([#2222](https://github.com/youzan/vant-weapp/issues/2222)) ([b1e6c90](https://github.com/youzan/vant-weapp/commit/b1e6c903e1d3b2a0382f490a3491512ae3fe314a))
+* **Area:** Columns placeholder return value keep undefined ([#2197](https://github.com/youzan/vant-weapp/issues/2197)) ([dd44c3b](https://github.com/youzan/vant-weapp/commit/dd44c3be0a43e142f3b96090897eddc70f92febe))
+* **CountDown:** destroy timer when Component destroyed ([#2199](https://github.com/youzan/vant-weapp/issues/2199)) ([7be1e4a](https://github.com/youzan/vant-weapp/commit/7be1e4ac6ee5c41be739211ca12b44d93d305117))
+* **DatetimePicker:** Selector error when setting filter option ([dd48ce3](https://github.com/youzan/vant-weapp/commit/dd48ce34a01204e7b375f5189c517a33bce27520))
+* **Divider:** missing comma ([#2205](https://github.com/youzan/vant-weapp/issues/2205)) ([3c5894a](https://github.com/youzan/vant-weapp/commit/3c5894a898382011fd9f0d505ecb2adbfc450e77))
+* **GoodsActionButton:** incorrect height ([#2195](https://github.com/youzan/vant-weapp/issues/2195)) ([8021bb4](https://github.com/youzan/vant-weapp/commit/8021bb4ee7df2e898ad251a7d329c561652f29ac))
+* **Icon:** info position ([#2194](https://github.com/youzan/vant-weapp/issues/2194)) ([ad657c7](https://github.com/youzan/vant-weapp/commit/ad657c7c03c35df57a1419468ff5f568a0a592fb))
+* **NoticeBar:** catch tap event of close icon ([#2281](https://github.com/youzan/vant-weapp/issues/2281)) ([13b05cf](https://github.com/youzan/vant-weapp/commit/13b05cfa9c69908272c20afa69e9231539dfa19a)), closes [#2246](https://github.com/youzan/vant-weapp/issues/2246)
+* **Progress:** track-color source & doc ([#2175](https://github.com/youzan/vant-weapp/issues/2175)) ([fbd142b](https://github.com/youzan/vant-weapp/commit/fbd142b245d4d4bed6ca5a716d37ba190ad532d6))
+* **Steps:** incorrect style when use inactive-icon prop ([#2166](https://github.com/youzan/vant-weapp/issues/2166)) ([0a2cf4b](https://github.com/youzan/vant-weapp/commit/0a2cf4bc41baa0f8a8769243e5e9d5a7b592c8be))
+* **Switch:** loading size ([#2220](https://github.com/youzan/vant-weapp/issues/2220)) ([3cbd24c](https://github.com/youzan/vant-weapp/commit/3cbd24c35bd927eeac7b7b3f1bc15b9e3b0dbccd))
+* **Uploader:** lint failed ([#2275](https://github.com/youzan/vant-weapp/issues/2275)) ([27b6017](https://github.com/youzan/vant-weapp/commit/27b6017abe3fe0d80da219364706e958ebcaeea1))
+
+
+### Code Refactoring
+
+* **TreeSelect:** refactor with sidebar ([#2224](https://github.com/youzan/vant-weapp/issues/2224)) ([e1f80b5](https://github.com/youzan/vant-weapp/commit/e1f80b569dcd21a2061c2ba3552903cacad6c92d))
+
+
+### Features
+
+*  Radio, Rate, Search, Sidebar, Slider, Step, Stepper 组件样式调整 ([#2260](https://github.com/youzan/vant-weapp/issues/2260)) ([22b230d](https://github.com/youzan/vant-weapp/commit/22b230de6fede444f435fe11daf727c04471c768))
+* **ActionSheet:** action-sheet组件样式变量化 ([#2164](https://github.com/youzan/vant-weapp/issues/2164)) ([aa9723e](https://github.com/youzan/vant-weapp/commit/aa9723e412d39c2bcf709e0368ce08060c05176d))
+* **Button:** add some less vars ([#2170](https://github.com/youzan/vant-weapp/issues/2170)) ([3c4d2e6](https://github.com/youzan/vant-weapp/commit/3c4d2e63d808fde6369c366602a63e6e15b5b9a0))
+* **Card:** card组件样式变量化 ([#2179](https://github.com/youzan/vant-weapp/issues/2179)) ([5f89831](https://github.com/youzan/vant-weapp/commit/5f8983104d1ea28a628eabc2d1ff27b31a63002c))
+* **CellGroup:** cellGroup 组件样式变量化 ([#2213](https://github.com/youzan/vant-weapp/issues/2213)) ([af62dcf](https://github.com/youzan/vant-weapp/commit/af62dcfb5fcdc8a531c50a2f81b40013bf61c49d))
+* **Dialog:** Dialog 组件样式调整 ([#2228](https://github.com/youzan/vant-weapp/issues/2228)) ([50f7540](https://github.com/youzan/vant-weapp/commit/50f7540a4e931f6df96ad022df627bfa3e814cc2))
+* **Dialog:** update border radius ([#2158](https://github.com/youzan/vant-weapp/issues/2158)) ([c1c8979](https://github.com/youzan/vant-weapp/commit/c1c89795399ed8b532530637b7378b0482967017))
+* **DropdownMenu:** DropdownMenu 组件样式调整 ([#2229](https://github.com/youzan/vant-weapp/issues/2229)) ([321ccf0](https://github.com/youzan/vant-weapp/commit/321ccf0c86ab7294758efeb40304e1b29f156340))
+* **Field:** Field supports holdKeyboard ([#2255](https://github.com/youzan/vant-weapp/issues/2255)) ([b2a1222](https://github.com/youzan/vant-weapp/commit/b2a1222d2b92388d7a148b56a078dba22d57bbe0))
+* **GoodsAction:** goodsAction 组件样式调整 ([#2230](https://github.com/youzan/vant-weapp/issues/2230)) ([9773e86](https://github.com/youzan/vant-weapp/commit/9773e86c2d00449817caf43ead1245017e51a711))
+* **GridItem:** gridItem 组件样式调整 ([#2232](https://github.com/youzan/vant-weapp/issues/2232)) ([6f6beb3](https://github.com/youzan/vant-weapp/commit/6f6beb30a58af889b4884489ac1fe8143d2dacb9))
+* **Icon:** add font-display auto property ([#2203](https://github.com/youzan/vant-weapp/issues/2203)) ([2f2f3e4](https://github.com/youzan/vant-weapp/commit/2f2f3e42ae7413d726b4869e7b339e45d3ab11b6))
+* **Image:** add Image component ([#2176](https://github.com/youzan/vant-weapp/issues/2176)) ([a1405a9](https://github.com/youzan/vant-weapp/commit/a1405a9b4a9531811757a6ae2e02097597110e0d))
+* **Loading:** optimize styles ([#2216](https://github.com/youzan/vant-weapp/issues/2216)) ([7cb9a49](https://github.com/youzan/vant-weapp/commit/7cb9a4979dffc926e240bce5033e2f99c0296c9f))
+* **Loading:** optimize styles ([#2217](https://github.com/youzan/vant-weapp/issues/2217)) ([1a7482d](https://github.com/youzan/vant-weapp/commit/1a7482d865d463d033572bfb110721d5212a4226))
+* **NavBar:** NavBar 组件样式调整 ([#2233](https://github.com/youzan/vant-weapp/issues/2233)) ([8435e1b](https://github.com/youzan/vant-weapp/commit/8435e1b345a4d86936a84f28169f58a540441fe3))
+* **NoticeBar:** NoticeBar组件样式调整 ([#2234](https://github.com/youzan/vant-weapp/issues/2234)) ([ef01e34](https://github.com/youzan/vant-weapp/commit/ef01e34c1753ed300b45b9fd3cbc0815ae1b1ce4))
+* **Panel:** Panel组件样式调整 ([#2235](https://github.com/youzan/vant-weapp/issues/2235)) ([747ac0e](https://github.com/youzan/vant-weapp/commit/747ac0e7d2ef48bdc756c2a56e19b9646722f243))
+* **Picker:** Picker 组件样式调整 ([#2236](https://github.com/youzan/vant-weapp/issues/2236)) ([91b5073](https://github.com/youzan/vant-weapp/commit/91b50730383bbf74096f2d91655ebccfa7ad8a23))
+* **Popup:** improve transform style ([#2193](https://github.com/youzan/vant-weapp/issues/2193)) ([1e50651](https://github.com/youzan/vant-weapp/commit/1e506513de1552643f13c159b0427818fec2bef4))
+* **Popup:** Popup 组件样式调整 ([#2237](https://github.com/youzan/vant-weapp/issues/2237)) ([573c1a7](https://github.com/youzan/vant-weapp/commit/573c1a712062d9b9be6c49166b88b0b4f498e41a))
+* **Progress:** Add customizable progress track color ([#2173](https://github.com/youzan/vant-weapp/issues/2173)) ([b6c7461](https://github.com/youzan/vant-weapp/commit/b6c7461e7e74971b0819ee31aabef061270e2698))
+* **Progress:** Progress 组件样式调整 ([#2262](https://github.com/youzan/vant-weapp/issues/2262)) ([f77ebec](https://github.com/youzan/vant-weapp/commit/f77ebec8708be52944fd49a719d683d4119c52e0))
+* **Skeleton:** add new component skeleton ([#2244](https://github.com/youzan/vant-weapp/issues/2244)) ([0918833](https://github.com/youzan/vant-weapp/commit/0918833fa88b41b3898457ee0c3322c3336c9b53))
+* **SubmitBar:** SubmitBar组件样式调整 ([#2261](https://github.com/youzan/vant-weapp/issues/2261)) ([44148c8](https://github.com/youzan/vant-weapp/commit/44148c81ed398d879450b529ebe69e1d4347c7f0))
+* **Switch:** optimize animation timing function ([#2159](https://github.com/youzan/vant-weapp/issues/2159)) ([07f2234](https://github.com/youzan/vant-weapp/commit/07f223485d5e33a8b20b64e05dc06dfcbb6866ba))
+* **Tabbar & Tag:** support css variables [@rex-zsd](https://github.com/rex-zsd) ([#2240](https://github.com/youzan/vant-weapp/issues/2240)) ([7cb78a3](https://github.com/youzan/vant-weapp/commit/7cb78a3fefd059f8cd66837dd31d9af2995d7f0e))
+* **Toast:** change default duration to 2s ([#2227](https://github.com/youzan/vant-weapp/issues/2227)) ([6db1a96](https://github.com/youzan/vant-weapp/commit/6db1a9656dba678a975b49e44290422ca7a8bc2d))
+* **Toast, Loading:** Toast, Loading 组件样式调整 ([#2265](https://github.com/youzan/vant-weapp/issues/2265)) ([7d70743](https://github.com/youzan/vant-weapp/commit/7d7074339aabdb10627e0535822a4146f77a4348))
+* add DropdownMenu、DropdownItem component ([#2181](https://github.com/youzan/vant-weapp/issues/2181)) ([dd5d76d](https://github.com/youzan/vant-weapp/commit/dd5d76dbb4611f036df654c9a4e95043e1638386))
+* add some basic less vars ([#2180](https://github.com/youzan/vant-weapp/issues/2180)) ([ba5f0d1](https://github.com/youzan/vant-weapp/commit/ba5f0d17b1f42d1735ce034a5dca8907f2bb32f8))
+* add vant-uploader ([#2156](https://github.com/youzan/vant-weapp/issues/2156)) ([63fb894](https://github.com/youzan/vant-weapp/commit/63fb894b41b360c2906e9280300246984c1e8b61))
+* Field, Card, Cell 组件样式变量化 ([#2212](https://github.com/youzan/vant-weapp/issues/2212)) ([6d13e10](https://github.com/youzan/vant-weapp/commit/6d13e10fb5c0c5b1cf053b1c59ce0d7725d5c0ff))
+* support theme variables ([bac1715](https://github.com/youzan/vant-weapp/commit/bac17157f65ceb032c2825627769838810609119))
+
+
+### BREAKING CHANGES
+
+* **TreeSelect:** rename prop active of sidebar to activeKey
+
+
+
+# [1.0.0-beta.2](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2019-10-14)
+
+
+### Bug Fixes
+
+* **Dialog:** improve width and avoid text blurry ([#2139](https://github.com/youzan/vant-weapp/issues/2139)) ([8381b4c](https://github.com/youzan/vant-weapp/commit/8381b4c0421378b89520e0f99d5decc35a753e91))
+* **NavBar:** fix safeAreaInsetTop not work in android device ([4baa4b9](https://github.com/youzan/vant-weapp/commit/4baa4b93b7862b3f5f8beaab83f9a41b3bb0318c)), closes [#2114](https://github.com/youzan/vant-weapp/issues/2114)
+* **Rate:** incorrect height caused by inline-block ([#2137](https://github.com/youzan/vant-weapp/issues/2137)) ([1b8792c](https://github.com/youzan/vant-weapp/commit/1b8792c418cb8e493f9d386123b0994b9606bfda))
+* **Slider:** pseudo element may casue body overflow-x ([#2145](https://github.com/youzan/vant-weapp/issues/2145)) ([dc9fab0](https://github.com/youzan/vant-weapp/commit/dc9fab0a1ea3f1467315cfeda149688cf9f7b3b5))
+* **Stepper:** can't work when step is decimal ([#2142](https://github.com/youzan/vant-weapp/issues/2142)) ([a01f966](https://github.com/youzan/vant-weapp/commit/a01f966deaea79b6a07d2f7a53a3d70a4c65ea2e))
+* **Tabs:** fix some error when component init ([#2133](https://github.com/youzan/vant-weapp/issues/2133)) ([a14ad6e](https://github.com/youzan/vant-weapp/commit/a14ad6e38479743187b6469e6055060916f3257b))
+
+
+### Features
+
+* **ActionSheet:** add description prop ([#2138](https://github.com/youzan/vant-weapp/issues/2138)) ([9b203ba](https://github.com/youzan/vant-weapp/commit/9b203ba5e01e988eb2f49ef581343272572e6344))
+* **Area:** add columns placeholder ([31feeac](https://github.com/youzan/vant-weapp/commit/31feeac3bdf2c32e47914a0299d27b8a87fb46f5))
+* **CountDown:** add CountDown ([#2135](https://github.com/youzan/vant-weapp/issues/2135)) ([95476ae](https://github.com/youzan/vant-weapp/commit/95476ae75488a5d70f8900a014b3b8d766b5642c))
+* **CountDown:** update slot ([#2143](https://github.com/youzan/vant-weapp/issues/2143)) ([b9f5293](https://github.com/youzan/vant-weapp/commit/b9f52933ffe7db82ed8511a446e54ce23a42e2f1))
+* **Dialog:** add overlay-style prop ([#2140](https://github.com/youzan/vant-weapp/issues/2140)) ([a1c0109](https://github.com/youzan/vant-weapp/commit/a1c01090f16ab86bbb37a3900f4872f052002f9b))
+* **Dialog:** add width prop ([#2141](https://github.com/youzan/vant-weapp/issues/2141)) ([f7379bb](https://github.com/youzan/vant-weapp/commit/f7379bb6b455ab704b8e51d7fea830c9887a93fc))
+* **Slider:** add slide animation & improve click area ([#2146](https://github.com/youzan/vant-weapp/issues/2146)) ([dd6053c](https://github.com/youzan/vant-weapp/commit/dd6053cd0945beceddd09c82296d28777b495325))
+* **Transition:** add new lifecycle events & drop transitionend event ([be1b6c6](https://github.com/youzan/vant-weapp/commit/be1b6c69e9673f3a1a75667d75f45e04a6194bb5)), closes [#2071](https://github.com/youzan/vant-weapp/issues/2071)
+
+
+### BREAKING CHANGES
+
+* **Transition:** drop transitionend event
+
+
+
+# [1.0.0-beta.1](https://github.com/youzan/vant-weapp/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2019-09-29)
+
+
+### Bug Fixes
+
+* **checkbox:** set a 12px icon size style bug ([#2105](https://github.com/youzan/vant-weapp/issues/2105)) ([602fbfb](https://github.com/youzan/vant-weapp/commit/602fbfb7b4c0a8475e551b32c50ed0607378e995))
+
+
+### Features
+
+* **ActionSheet:** add color option ([#2081](https://github.com/youzan/vant-weapp/issues/2081)) ([13c8df1](https://github.com/youzan/vant-weapp/commit/13c8df1f25de428250e19876bd630a366b4607fa))
+* **ActionSheet:** add round prop ([#2080](https://github.com/youzan/vant-weapp/issues/2080)) ([086a5f9](https://github.com/youzan/vant-weapp/commit/086a5f9ff62a3fbd2707dc5f8fe101ddd2c36185))
+* **Button:** add transition when toggle disabled ([#2089](https://github.com/youzan/vant-weapp/issues/2089)) ([338df00](https://github.com/youzan/vant-weapp/commit/338df00e8fbebd93086c516e30fffb09ff7dd244))
+* **GoodsActionIcon:** add dot prop ([#2072](https://github.com/youzan/vant-weapp/issues/2072)) ([cdd6516](https://github.com/youzan/vant-weapp/commit/cdd65163d17e562ad1fa5ed7981f691ee88f2b2c))
+* **GridItem:** add info & dot props ([#2073](https://github.com/youzan/vant-weapp/issues/2073)) ([f613cd4](https://github.com/youzan/vant-weapp/commit/f613cd4e3d3e5d6c689767fa7d9ec7aa8a72bb46))
+* **Popup:** update border radius ([#2083](https://github.com/youzan/vant-weapp/issues/2083)) ([b38672c](https://github.com/youzan/vant-weapp/commit/b38672c8e6d85f72208b84762e0fa3a224ee700c))
+* **Rate:** improve touchmove gesture ([#2088](https://github.com/youzan/vant-weapp/issues/2088)) ([89bcab7](https://github.com/youzan/vant-weapp/commit/89bcab7b097ac0261cef8cea286d973d07db5648))
+* **Stepper:** add decimalLength prop ([#2087](https://github.com/youzan/vant-weapp/issues/2087)) ([f3c063a](https://github.com/youzan/vant-weapp/commit/f3c063ae0d819131d36e70f80deda6c750623b1a))
+* **SwipeCell:** support mutual exclusion ([b7296af](https://github.com/youzan/vant-weapp/commit/b7296af46f89fa24b3e9ba3b67f16a107532cd93)), closes [#1889](https://github.com/youzan/vant-weapp/issues/1889)
+* **Tab:** improve the prop of Tab ([#2082](https://github.com/youzan/vant-weapp/issues/2082)) ([ee3bf31](https://github.com/youzan/vant-weapp/commit/ee3bf31ff22215cbe8d1ffb851e048290f21d551))
+
+
+
+# [1.0.0-beta.0](https://github.com/youzan/vant-weapp/compare/v0.5.20...v1.0.0-beta.0) (2019-09-20)
+
+
+### Bug Fixes
+
+* set marginTop when has gutter ([#2047](https://github.com/youzan/vant-weapp/issues/2047)) ([12862be](https://github.com/youzan/vant-weapp/commit/12862bebbcfe8c465820c58740cf1e767efd7f4b))
+* **Circle:** initial ctx ([#2005](https://github.com/youzan/vant-weapp/issues/2005)) ([c0901b8](https://github.com/youzan/vant-weapp/commit/c0901b8023589cc61be033e21b2aa454a654c29d))
+* **NavBar:** default z-index should be 1 ([#1927](https://github.com/youzan/vant-weapp/issues/1927)) ([7ee1443](https://github.com/youzan/vant-weapp/commit/7ee1443e3974ef6785caa4deb14c57a23928b749))
+* **Notify:** incorrect safe area ([#2044](https://github.com/youzan/vant-weapp/issues/2044)) ([4601f77](https://github.com/youzan/vant-weapp/commit/4601f77c5c9cbd7bc3bf6b700099d69b7a4948da))
+* **Notify:** should reset options ([2ca2f17](https://github.com/youzan/vant-weapp/commit/2ca2f171d03702367ac05668e14a7c3c7a314ae0))
+* **Overlay:** fix compile error [@rex-zsd](https://github.com/rex-zsd) ([6b223ed](https://github.com/youzan/vant-weapp/commit/6b223edb3650c19ffea1907f4cfdb0424de9ed51))
+* **TreeSelect:** setData ([#2028](https://github.com/youzan/vant-weapp/issues/2028)) ([5c384e8](https://github.com/youzan/vant-weapp/commit/5c384e87fff412e78af88b962343ceab66b64f88))
+* eslint ([#1929](https://github.com/youzan/vant-weapp/issues/1929)) ([8b1acf3](https://github.com/youzan/vant-weapp/commit/8b1acf3f2bdbdd0dada34b577ef825762dec8147))
+* invalid Function prop ([#1963](https://github.com/youzan/vant-weapp/issues/1963)) ([5c7b4fb](https://github.com/youzan/vant-weapp/commit/5c7b4fb4b3f2aaa1033776ca17b736e8ffa657ea))
+* invalid prop types ([#1991](https://github.com/youzan/vant-weapp/issues/1991)) ([79c994e](https://github.com/youzan/vant-weapp/commit/79c994e3801dd57bf54acc6b8f32c59bf9d48ed0))
+* **Sticky:** default z-index ([#1975](https://github.com/youzan/vant-weapp/issues/1975)) ([a37e0b9](https://github.com/youzan/vant-weapp/commit/a37e0b9fa5e40d45c322b6138ff13113d6179494))
+
+
+### Features
+
+* **ActionSheet:** add click-overlay event ([#1993](https://github.com/youzan/vant-weapp/issues/1993)) ([f8abff6](https://github.com/youzan/vant-weapp/commit/f8abff6185f1976f372785383f3e3ae1982780f6))
+* **ActionSheet:** add close-on-click-action prop ([#1995](https://github.com/youzan/vant-weapp/issues/1995)) ([fd82af0](https://github.com/youzan/vant-weapp/commit/fd82af0ac129adfa3b9412605d1bc3a673c65ee0))
+* **Area:** reset method add code param ([#1949](https://github.com/youzan/vant-weapp/issues/1949)) ([d7c5d02](https://github.com/youzan/vant-weapp/commit/d7c5d02d325bb1f32e640cce2bb24a02008a521f))
+* **Button:** add loading-type prop ([#1955](https://github.com/youzan/vant-weapp/issues/1955)) ([1db4487](https://github.com/youzan/vant-weapp/commit/1db448712fce2457624f4d9b148985d26c9a17c5))
+* **Button:** color prop support gradient color ([#1944](https://github.com/youzan/vant-weapp/issues/1944)) ([66c7427](https://github.com/youzan/vant-weapp/commit/66c74273935bdc0bf918ca17a878b70a1eb51c07))
+* **Checkbox:** add icon-size prop ([#1989](https://github.com/youzan/vant-weapp/issues/1989)) ([8eeb74c](https://github.com/youzan/vant-weapp/commit/8eeb74c3a759822ff003bd532c5c7a8992282c13))
+* **Circle:** add Circle component ([#1984](https://github.com/youzan/vant-weapp/issues/1984)) ([407f9b5](https://github.com/youzan/vant-weapp/commit/407f9b51b45218f2ef10595fd7f992f8c92b0f72))
+* **DatetimePicker:** add filter prop ([#1956](https://github.com/youzan/vant-weapp/issues/1956)) ([fea2722](https://github.com/youzan/vant-weapp/commit/fea272200d233dbece7d1c7adac2322685a9cc83))
+* **Dialog:** 增加 title 插槽、confirm-button-color 、cancel-button-color 属性 ([#2034](https://github.com/youzan/vant-weapp/issues/2034)) ([810f20e](https://github.com/youzan/vant-weapp/commit/810f20ea2e85047ee19e56b7df34327d6bfa3814))
+* **Field:** add arrow-direction prop ([#1948](https://github.com/youzan/vant-weapp/issues/1948)) ([22ad214](https://github.com/youzan/vant-weapp/commit/22ad2147142cdbd60cbb4d199bd99be957117f98))
+* **Field:** add clickable prop ([#1946](https://github.com/youzan/vant-weapp/issues/1946)) ([982dcd7](https://github.com/youzan/vant-weapp/commit/982dcd7a88b7e9cbd5b396133657fbf0ea3da7c7))
+* **GoodsActionButton:** add color prop ([#2010](https://github.com/youzan/vant-weapp/issues/2010)) ([0e8caf5](https://github.com/youzan/vant-weapp/commit/0e8caf56c439b2b61629a767f70baaa4715a2929))
+* **GoodsActionIcon:** add icon slot ([#2009](https://github.com/youzan/vant-weapp/issues/2009)) ([ca7cf3f](https://github.com/youzan/vant-weapp/commit/ca7cf3f2cee0fb4bf1d17f87372e177a24b0824d))
+* **Grid:** add Grid component ([#2016](https://github.com/youzan/vant-weapp/issues/2016)) ([b9228ba](https://github.com/youzan/vant-weapp/commit/b9228ba3ea7568e4dce1618b4ac9405c2c49764c))
+* **Icon:** add dot prop ([#2063](https://github.com/youzan/vant-weapp/issues/2063)) ([a6fea1b](https://github.com/youzan/vant-weapp/commit/a6fea1bc6f9db93cf1596d6903f693d8fe1ab8d0))
+* **Icon:** add down、wap-home icon ([#2014](https://github.com/youzan/vant-weapp/issues/2014)) ([315ef24](https://github.com/youzan/vant-weapp/commit/315ef24d2f4e5725bd7b298e8b0ee4a9919751b8))
+* **Icon:** remove wxs ([#1942](https://github.com/youzan/vant-weapp/issues/1942)) ([00c090a](https://github.com/youzan/vant-weapp/commit/00c090ad0703baa7440076a76e65b585944e90d0))
+* **Icon:** size prop support number type ([#1978](https://github.com/youzan/vant-weapp/issues/1978)) ([fa633f4](https://github.com/youzan/vant-weapp/commit/fa633f42d745fdd464c1f3acba6b25c8fce68279))
+* **Loading:** 组件 size 支持 Number 格式 ([#1952](https://github.com/youzan/vant-weapp/issues/1952)) ([f0d32f0](https://github.com/youzan/vant-weapp/commit/f0d32f08a0473fe812f595e283669a3ecde7921a))
+* **Loading:** use addUnit method ([#1969](https://github.com/youzan/vant-weapp/issues/1969)) ([50478da](https://github.com/youzan/vant-weapp/commit/50478da7ef6d597b88434b0b96c8db99961a9214))
+* **NoticeBar:** add left/right-icon slot ([#2029](https://github.com/youzan/vant-weapp/issues/2029)) ([c886008](https://github.com/youzan/vant-weapp/commit/c8860081a750993f95784acf696420236bf168f3))
+* **Notify:** 增加 type 和 onOpened onClose onClick 回调 ([#2021](https://github.com/youzan/vant-weapp/issues/2021)) ([9dc028b](https://github.com/youzan/vant-weapp/commit/9dc028b96e5f2311abcd7dc090c009cb741ca1a7))
+* **Notify:** support line-break charactor ([#2045](https://github.com/youzan/vant-weapp/issues/2045)) ([774d5d7](https://github.com/youzan/vant-weapp/commit/774d5d78975d03d14c53e989da80fe122f1aeccc))
+* **Overlay:** use custom-style instead of mask ([#1994](https://github.com/youzan/vant-weapp/issues/1994)) ([5177654](https://github.com/youzan/vant-weapp/commit/517765433f2f2ba001275c7f5cb8cab85e009dfa))
+* **Picker:** add toolbar-position prop ([#2040](https://github.com/youzan/vant-weapp/issues/2040)) ([f4a58f3](https://github.com/youzan/vant-weapp/commit/f4a58f3ac3cd8822ac42630903544e8a193939d3))
+* **Picker:** remove computed ([#2001](https://github.com/youzan/vant-weapp/issues/2001)) ([f178552](https://github.com/youzan/vant-weapp/commit/f178552d757e445e701d9881c3f9c334fd5f5584))
+* **Popup:** add close-icon prop ([#1967](https://github.com/youzan/vant-weapp/issues/1967)) ([ae0c00d](https://github.com/youzan/vant-weapp/commit/ae0c00d463083fae46195db001a2125760bdfd54))
+* **Popup:** add close-icon-position prop ([#2064](https://github.com/youzan/vant-weapp/issues/2064)) ([7724700](https://github.com/youzan/vant-weapp/commit/77247006503e2335fa62f4af87d39bbdc53babda))
+* **Popup:** add closeable prop ([#1964](https://github.com/youzan/vant-weapp/issues/1964)) ([f6be2db](https://github.com/youzan/vant-weapp/commit/f6be2db4965d5a111aa550c5e5739aa82a7b1829))
+* **Popup:** add round prop ([#1928](https://github.com/youzan/vant-weapp/issues/1928)) ([0081251](https://github.com/youzan/vant-weapp/commit/008125110c628f9a04bb07c953da31afee0f7e81))
+* **Progress:** add stroke-width prop ([3204b46](https://github.com/youzan/vant-weapp/commit/3204b46b11714fd4ee13ae964cc39e8599614253))
+* **Radio:** add icon-size prop ([#2027](https://github.com/youzan/vant-weapp/issues/2027)) ([456273f](https://github.com/youzan/vant-weapp/commit/456273f6391d3b0930563f520bb93b094653ec48))
+* **Rate:** add gutter prop ([#1960](https://github.com/youzan/vant-weapp/issues/1960)) ([af12420](https://github.com/youzan/vant-weapp/commit/af12420ebcd833dd4322843b22ae65f9dcfa2b50))
+* **Rate:** add touchable prop ([0b2a409](https://github.com/youzan/vant-weapp/commit/0b2a4092f958d9cba68dcd226589cae514e3538f))
+* **Rate:** should be inline block ([#1962](https://github.com/youzan/vant-weapp/issues/1962)) ([dca7dfe](https://github.com/youzan/vant-weapp/commit/dca7dfe98d2607acd06ca0165eecd1ba95962bed))
+* **Rate:** size prop support string ([#1970](https://github.com/youzan/vant-weapp/issues/1970)) ([ecfb244](https://github.com/youzan/vant-weapp/commit/ecfb244144edcfc06785f63421640e0b9d54b2d6))
+* **Search:** add action-text prop ([#2057](https://github.com/youzan/vant-weapp/issues/2057)) ([86ed4f6](https://github.com/youzan/vant-weapp/commit/86ed4f6b3a878bb959497cd42b70b930447afff2))
+* **Search:** add some icon props ([#2051](https://github.com/youzan/vant-weapp/issues/2051)) ([b6c8ef9](https://github.com/youzan/vant-weapp/commit/b6c8ef9fbf351cd0543b4d05288d42adb26031c2))
+* **SideBarItem:** add dot prop ([#2066](https://github.com/youzan/vant-weapp/issues/2066)) ([da30b61](https://github.com/youzan/vant-weapp/commit/da30b612c4d4632951fa1f9cf840b6423233ea2d))
+* **Slider:** add dragStart&dragEnd events ([#2059](https://github.com/youzan/vant-weapp/issues/2059)) ([6206d7b](https://github.com/youzan/vant-weapp/commit/6206d7bda513ca59a1254238c86d2a6e35c5168d))
+* **Slider:** bar-height prop support number ([#1971](https://github.com/youzan/vant-weapp/issues/1971)) ([17b13d5](https://github.com/youzan/vant-weapp/commit/17b13d561677b22ee5a4e2021ca139e735bd6eb9))
+* **Slider:** min & max support arbitrary value ([#1974](https://github.com/youzan/vant-weapp/issues/1974)) ([35b85f1](https://github.com/youzan/vant-weapp/commit/35b85f18dcb6090d2d8cd9282916fad54637c3f8))
+* **Stepper:** add input-widht、button-size props, support long tap gesture ([a967862](https://github.com/youzan/vant-weapp/commit/a967862b1d1c5fd3f62be8e0d0fc6f7d7d6bf4d8))
+* **Stepper:** remove computed ([#2000](https://github.com/youzan/vant-weapp/issues/2000)) ([7868103](https://github.com/youzan/vant-weapp/commit/78681032b8fd1428fd62f350e94674b720c2bd4e))
+* **Steps:** add active-icon prop ([#1965](https://github.com/youzan/vant-weapp/issues/1965)) ([1d242b7](https://github.com/youzan/vant-weapp/commit/1d242b7fd3321e84e458674f50ac620c9359461d))
+* **SwipeCell:** add name prop ([#2062](https://github.com/youzan/vant-weapp/issues/2062)) ([d116934](https://github.com/youzan/vant-weapp/commit/d1169348ae76ebf5d85ce23fc314e99d25e1e941))
+* **Switch:** change loading color when background color change ([#2067](https://github.com/youzan/vant-weapp/issues/2067)) ([a65d97c](https://github.com/youzan/vant-weapp/commit/a65d97c2dd2819ffcd63b22a9b08959a3a2100c7))
+* improve word wrap ([#2061](https://github.com/youzan/vant-weapp/issues/2061)) ([673eee4](https://github.com/youzan/vant-weapp/commit/673eee42b4d2c56d7df395def2e0cee5e9790caf))
+* **Steps:** add inactive-icon prop ([#1972](https://github.com/youzan/vant-weapp/issues/1972)) ([441b081](https://github.com/youzan/vant-weapp/commit/441b0819eed393d332e0ebad091d928e6766c371))
+* **style:** update basic red color ([#1958](https://github.com/youzan/vant-weapp/issues/1958)) ([fc31d98](https://github.com/youzan/vant-weapp/commit/fc31d9810d8b7f7d14907cbdd40c5ebaba788cff))
+* **Tag:** add warning type ([#1905](https://github.com/youzan/vant-weapp/issues/1905)) ([9d3957e](https://github.com/youzan/vant-weapp/commit/9d3957e28af70eaf17f4c97ad24b40f5c6cc14f0))
+* **Tag:** remove computed ([#1999](https://github.com/youzan/vant-weapp/issues/1999)) ([a80accb](https://github.com/youzan/vant-weapp/commit/a80accbcc2eaae008ad7ba66fb1f685f594ba18e))
+* **theme:** support custom theme base on css variables [@rex-zsd](https://github.com/rex-zsd) ([#2049](https://github.com/youzan/vant-weapp/issues/2049)) ([7c41cc0](https://github.com/youzan/vant-weapp/commit/7c41cc0ff079ada2ff54031d58596809e0327673))
+* **TreeSelect:** add content slot ([#2006](https://github.com/youzan/vant-weapp/issues/2006)) ([9bd12ed](https://github.com/youzan/vant-weapp/commit/9bd12ede08055453166d12553676e4575f90242c))
+* **TreeSelect:** add max prop ([#2004](https://github.com/youzan/vant-weapp/issues/2004)) ([9dba47d](https://github.com/youzan/vant-weapp/commit/9dba47ddb2f9922d4559865a283d4ac1b62c93e9))
+* remove computed option support ([#2002](https://github.com/youzan/vant-weapp/issues/2002)) ([31b7234](https://github.com/youzan/vant-weapp/commit/31b7234864c2e43299ddcf8ae520b7cc8d1e163e))
+* update demo ([a7d6d6b](https://github.com/youzan/vant-weapp/commit/a7d6d6b2220066554843b72de344e0f1e8d99207))
+
+
+### Performance Improvements
+
+* add transition-property ([#1983](https://github.com/youzan/vant-weapp/issues/1983)) ([73374a8](https://github.com/youzan/vant-weapp/commit/73374a8d81b4dbeea4a68074ab197b89e3e240ce))
+
+
+
+## [0.5.20](https://github.com/youzan/vant-weapp/compare/v0.5.19...v0.5.20) (2019-08-24)
+
+
+### Bug Fixes
+
+* **example:** incorrect usingComponents path ([#1897](https://github.com/youzan/vant-weapp/issues/1897)) ([9e0096d](https://github.com/youzan/vant-weapp/commit/9e0096d554a6c2d7ae2a1e601526e49dbdfbd292))
+
+
+### Features
+
+* **Field:** add selection-start、selection-end prop ([#1898](https://github.com/youzan/vant-weapp/issues/1898)) ([5ea9c88](https://github.com/youzan/vant-weapp/commit/5ea9c880489f023bc0821ac8866d2f63f10c7e32))
+
+
+
+## [0.5.19](https://github.com/youzan/vant-weapp/compare/v0.5.18...v0.5.19) (2019-08-15)
+
+
+
+## [0.5.18](https://github.com/youzan/vant-weapp/compare/v0.5.17...v0.5.18) (2019-08-08)
+
+
+
+## [0.5.17](https://github.com/youzan/vant-weapp/compare/v0.5.16...v0.5.17) (2019-07-30)
+
+
+
+## [0.5.16](https://github.com/youzan/vant-weapp/compare/v0.5.15...v0.5.16) (2019-07-15)
+
+
+
+## [0.5.15](https://github.com/youzan/vant-weapp/compare/v0.5.14...v0.5.15) (2019-06-24)
+
+
+
+## [0.5.14](https://github.com/youzan/vant-weapp/compare/v0.5.13...v0.5.14) (2019-05-30)
+
+
+
+## [0.5.13](https://github.com/youzan/vant-weapp/compare/v0.5.12...v0.5.13) (2019-05-15)
+
+
+
+## [0.5.12](https://github.com/youzan/vant-weapp/compare/v0.5.11...v0.5.12) (2019-05-05)
+
+
+
+## [0.5.11](https://github.com/youzan/vant-weapp/compare/v0.5.10...v0.5.11) (2019-04-24)
+
+
+
+## [0.5.10](https://github.com/youzan/vant-weapp/compare/v0.5.9...v0.5.10) (2019-04-11)
+
+
+
+## [0.5.9](https://github.com/youzan/vant-weapp/compare/v0.5.8...v0.5.9) (2019-04-03)
+
+
+
+## [0.5.8](https://github.com/youzan/vant-weapp/compare/v0.5.7...v0.5.8) (2019-03-22)
+
+
+
+## [0.5.7](https://github.com/youzan/vant-weapp/compare/v0.5.6...v0.5.7) (2019-03-09)
+
+
+
+## [0.5.6](https://github.com/youzan/vant-weapp/compare/v0.5.5...v0.5.6) (2019-02-28)
+
+
+
+## [0.5.5](https://github.com/youzan/vant-weapp/compare/v0.5.4...v0.5.5) (2019-02-26)
+
+
+
+## [0.5.4](https://github.com/youzan/vant-weapp/compare/v0.5.3...v0.5.4) (2019-02-18)
+
+
+
+## [0.5.3](https://github.com/youzan/vant-weapp/compare/v0.5.2...v0.5.3) (2019-02-06)
+
+
+### Bug Fixes
+
+* **Çard:** 修复centered属性无效,去除title、desc长度限制 [@rex-zsd](https://github.com/rex-zsd) ([#1270](https://github.com/youzan/vant-weapp/issues/1270)) ([0c4a5ba](https://github.com/youzan/vant-weapp/commit/0c4a5baff529949e73c932c8bc64aefde99d4b16))
+
+
+### Features
+
+* **Collapse:** 新增外部样式类 title-class [@rex-zsd](https://github.com/rex-zsd) ([#1271](https://github.com/youzan/vant-weapp/issues/1271)) ([13e00d9](https://github.com/youzan/vant-weapp/commit/13e00d9de32c1c12b8650f088b55a313e3319de4))
+
+
+
+## [0.5.2](https://github.com/youzan/vant-weapp/compare/v0.5.1...v0.5.2) (2019-01-20)
+
+
+
+## [0.5.1](https://github.com/youzan/vant-weapp/compare/v0.5.0...v0.5.1) (2019-01-10)
+
+
+### Bug Fixes
+
+* the handwritten keyboard does not trigger input change ([#1200](https://github.com/youzan/vant-weapp/issues/1200)) ([96c2a3a](https://github.com/youzan/vant-weapp/commit/96c2a3af76bcca21c3d8dca2599cb1289025780e))
+* **Area:** fix initial option error [@rex-zsd](https://github.com/rex-zsd) ([#1196](https://github.com/youzan/vant-weapp/issues/1196)) ([df1a90c](https://github.com/youzan/vant-weapp/commit/df1a90c86b4cfc92b37d36696f542bc30dee8418))
+
+
+
+# [0.5.0](https://github.com/youzan/vant-weapp/compare/v0.5.0-beta2...v0.5.0) (2019-01-05)
+
+
+
+# [0.5.0-beta2](https://github.com/youzan/vant-weapp/compare/v0.5.0-beta...v0.5.0-beta2) (2018-12-28)
+
+
+
+# [0.5.0-beta](https://github.com/youzan/vant-weapp/compare/v0.4.10...v0.5.0-beta) (2018-12-25)
+
+
+### Bug Fixes
+
+* **Collapse:** 修复没有动画效果 [@rex-zsd](https://github.com/rex-zsd) ([#1140](https://github.com/youzan/vant-weapp/issues/1140)) ([c75d37e](https://github.com/youzan/vant-weapp/commit/c75d37e61b6584150fdbe835c05bd491af861f3d))
+
+
+### Features
+
+* **Stepper:** add new prop async-change [@rex-zsd](https://github.com/rex-zsd) ([#1133](https://github.com/youzan/vant-weapp/issues/1133)) ([b85f044](https://github.com/youzan/vant-weapp/commit/b85f044471642d859afe63c32ee92e2133a93c26))
+
+
+
+## [0.4.10](https://github.com/youzan/vant-weapp/compare/v0.4.9...v0.4.10) (2018-12-19)
+
+
+### Features
+
+* **Field:** add new prop showConfirmBar [@rex-zsd](https://github.com/rex-zsd) ([#1040](https://github.com/youzan/vant-weapp/issues/1040)) ([66e845b](https://github.com/youzan/vant-weapp/commit/66e845bf12dd670d568023a12a237a459b3ed9de))
+
+
+### Performance Improvements
+
+* iPhoneX适配提取到独立behaviors [@rex-zsd](https://github.com/rex-zsd) ([#1048](https://github.com/youzan/vant-weapp/issues/1048)) ([cd0544e](https://github.com/youzan/vant-weapp/commit/cd0544e68d89c5eeffcf9e3be0b97250dfdd5628))
+
+
+
+## [0.4.9](https://github.com/youzan/vant-weapp/compare/v0.4.8...v0.4.9) (2018-12-07)
+
+
+### Bug Fixes
+
+* **DatetimePicker:** 修复动态设置type时报错 [@rex-zsd](https://github.com/rex-zsd) ([#1004](https://github.com/youzan/vant-weapp/issues/1004)) ([5064c0c](https://github.com/youzan/vant-weapp/commit/5064c0c3970b6f2a00bddccae18cbc65a9f039a6))
+* **Stepper:** fix minusDisabled、plusDisabled error when set value dynamic [@rex-zsd](https://github.com/rex-zsd) ([#1022](https://github.com/youzan/vant-weapp/issues/1022)) ([696ae3c](https://github.com/youzan/vant-weapp/commit/696ae3c661f33933ab42ebd75ad5b0767826bdc2))
+
+
+### Features
+
+* adapt iPhoneX [@rex-zsd](https://github.com/rex-zsd) ([#989](https://github.com/youzan/vant-weapp/issues/989)) ([43a9989](https://github.com/youzan/vant-weapp/commit/43a9989673356bd06618c8612a27f38811022f28))
+
+
+
+## [0.4.8](https://github.com/youzan/vant-weapp/compare/v0.4.7...v0.4.8) (2018-12-03)
+
+
+### Bug Fixes
+
+* **Field:** emit event after setData when input [@rex-zsd](https://github.com/rex-zsd) ([#970](https://github.com/youzan/vant-weapp/issues/970)) ([4fbc343](https://github.com/youzan/vant-weapp/commit/4fbc3434d6c27029b367d7c88b0960b54c4ab32a))
+
+
+### Features
+
+* **Dialog:** add new prop transition ([10c54fc](https://github.com/youzan/vant-weapp/commit/10c54fc64994f1924094b86a217667ded54e65f4)), closes [#954](https://github.com/youzan/vant-weapp/issues/954)
+* **Field:** add new slot left-icon [@rex-zsd](https://github.com/rex-zsd) ([#962](https://github.com/youzan/vant-weapp/issues/962)) ([8b9f3db](https://github.com/youzan/vant-weapp/commit/8b9f3dbdd19d72cb27e51512609639cde77e9e1f))
+
+
+
+## [0.4.7](https://github.com/youzan/vant-weapp/compare/v0.4.6...v0.4.7) (2018-11-26)
+
+
+### Features
+
+* **Collapse:** add new component Collapse [@rex-zsd](https://github.com/rex-zsd) ([#936](https://github.com/youzan/vant-weapp/issues/936)) ([559dde9](https://github.com/youzan/vant-weapp/commit/559dde96163736eadc648af495e65a0b11b77ae4))
+* **Dialog:** add new prop context [@rex-zsd](https://github.com/rex-zsd) ([#912](https://github.com/youzan/vant-weapp/issues/912)) ([1fb4120](https://github.com/youzan/vant-weapp/commit/1fb41206e0a58ac179356f403b5096e19780da41))
+* **Field:** add new prop fixed [@rex-zsd](https://github.com/rex-zsd) ([#925](https://github.com/youzan/vant-weapp/issues/925)) ([59eb467](https://github.com/youzan/vant-weapp/commit/59eb467a5c091c9cba40ffe1ad64c588557d98db))
+* **Search:** add new external classes field-class、input-class [@rex-zsd](https://github.com/rex-zsd) ([#946](https://github.com/youzan/vant-weapp/issues/946)) ([f9a9c8c](https://github.com/youzan/vant-weapp/commit/f9a9c8ccdc043388a41cc047c66f61af49b5d06d))
+
+
+
+## [0.4.6](https://github.com/youzan/vant-weapp/compare/v0.4.5...v0.4.6) (2018-11-10)
+
+
+### Bug Fixes
+
+* **Slider:** support update value prop dynamic [@rex-zsd](https://github.com/rex-zsd) ([#863](https://github.com/youzan/vant-weapp/issues/863)) ([a1e8616](https://github.com/youzan/vant-weapp/commit/a1e8616e15ab47afc336e0b54a2742dd255ae55a))
+* **TreeSelect:** use scroll-view to prevent page scroll event [@rex-zsd](https://github.com/rex-zsd) ([#867](https://github.com/youzan/vant-weapp/issues/867)) ([16b5699](https://github.com/youzan/vant-weapp/commit/16b569971f659ccc4ce5bc91728b993bdd77081b))
+
+
+### Features
+
+* **DatetimePicker:** add new component datetime-picker [@rex-zsd](https://github.com/rex-zsd) ([#881](https://github.com/youzan/vant-weapp/issues/881)) ([237fcca](https://github.com/youzan/vant-weapp/commit/237fccadca2cd862fe454d78168a0b4dcc426ce5))
+
+
+
+## [0.4.5](https://github.com/youzan/vant-weapp/compare/v0.4.4...v0.4.5) (2018-10-31)
+
+
+
+## [0.4.4](https://github.com/youzan/vant-weapp/compare/v0.4.3...v0.4.4) (2018-10-31)
+
+
+### Bug Fixes
+
+* **Tab:** fix line incorrect style when set tabs async [@rex-zsd](https://github.com/rex-zsd) ([#816](https://github.com/youzan/vant-weapp/issues/816)) ([53e7523](https://github.com/youzan/vant-weapp/commit/53e752343ac80f12b80076a6048b5fdbec9b4998))
+* autoprefixer remove ellipsis [@rex-zsd](https://github.com/rex-zsd) ([#810](https://github.com/youzan/vant-weapp/issues/810)) ([aff7444](https://github.com/youzan/vant-weapp/commit/aff7444c91c9f76611c26d6e96f99852d8e4db9a))
+
+
+
+## [0.4.3](https://github.com/youzan/vant-weapp/compare/v0.4.2...v0.4.3) (2018-10-24)
+
+
+
+## [0.4.2](https://github.com/youzan/vant-weapp/compare/v0.4.1...v0.4.2) (2018-10-19)
+
+
+
+## [0.4.1](https://github.com/youzan/vant-weapp/compare/v0.4.0...v0.4.1) (2018-10-17)
+
+
+### Performance Improvements
+
+* **Cell:** 优化左右图标对齐 [@rex-zsd](https://github.com/rex-zsd) ([#763](https://github.com/youzan/vant-weapp/issues/763)) ([c7d6ed6](https://github.com/youzan/vant-weapp/commit/c7d6ed66f6cbb893d6f1b731c44e62737949ce23))
+
+
+
+# [0.4.0](https://github.com/youzan/vant-weapp/compare/v0.3.9...v0.4.0) (2018-10-15)
+
+
+
+## [0.3.9](https://github.com/youzan/vant-weapp/compare/v0.3.8...v0.3.9) (2018-10-15)
+
+
+### Bug Fixes
+
+* **Cell:** 解决外部样式类优先级问题 [@rex-zsd](https://github.com/rex-zsd) ([#746](https://github.com/youzan/vant-weapp/issues/746)) ([f627653](https://github.com/youzan/vant-weapp/commit/f627653505db10fce261109d87c99541bd838c6f))
+
+
+### Features
+
+* **Card:** add originPrice prop、update style [@rex-zsd](https://github.com/rex-zsd) ([#745](https://github.com/youzan/vant-weapp/issues/745)) ([a93c4f7](https://github.com/youzan/vant-weapp/commit/a93c4f7d4fe4841a5e27b0070eaef5eb70cdd6e4))
+
+
+
+## [0.3.8](https://github.com/youzan/vant-weapp/compare/v0.3.7...v0.3.8) (2018-10-09)
+
+
+
+## [0.3.7](https://github.com/youzan/vant-weapp/compare/v0.3.6...v0.3.7) (2018-10-08)
+
+
+
+## [0.3.6](https://github.com/youzan/vant-weapp/compare/v0.3.5...v0.3.6) (2018-09-30)
+
+
+
+## [0.3.5](https://github.com/youzan/vant-weapp/compare/v0.3.4...v0.3.5) (2018-09-29)
+
+
+
+## [0.3.4](https://github.com/youzan/vant-weapp/compare/v0.3.3...v0.3.4) (2018-09-27)
+
+
+### Bug Fixes
+
+* **Radio:** 修复单选框VantComponent [@rex-zsd](https://github.com/rex-zsd) ([#630](https://github.com/youzan/vant-weapp/issues/630)) ([bd52542](https://github.com/youzan/vant-weapp/commit/bd525425adf03e21bb50e2aeef165837b549b0dd))
+* steps ui bug ([#627](https://github.com/youzan/vant-weapp/issues/627)) ([51f7ada](https://github.com/youzan/vant-weapp/commit/51f7adacfa544d65eb79874c2fef5434df7fcfed))
+
+
+
+## [0.3.3](https://github.com/youzan/vant-weapp/compare/v0.3.2...v0.3.3) (2018-09-20)
+
+
+### Features
+
+* **SubmitBar:** 增加submit-bar组件 [@zhongnan](https://github.com/zhongnan) ([#597](https://github.com/youzan/vant-weapp/issues/597)) ([7a878dd](https://github.com/youzan/vant-weapp/commit/7a878dd0e2ead396711ea4df307bc865a81216c8))
+
+
+
+## [0.3.2](https://github.com/youzan/vant-weapp/compare/v0.3.1...v0.3.2) (2018-09-13)
+
+
+
+## [0.3.1](https://github.com/youzan/vant-weapp/compare/v0.3.0...v0.3.1) (2018-09-08)
+
+
+
+# [0.3.0](https://github.com/youzan/vant-weapp/compare/v0.2.1...v0.3.0) (2018-09-07)
+
+
+
+## [0.2.1](https://github.com/youzan/vant-weapp/compare/v0.2.0...v0.2.1) (2018-08-31)
+
+
+
+# [0.2.0](https://github.com/youzan/vant-weapp/compare/v0.1.1...v0.2.0) (2018-08-22)
+
+
+
+## [0.1.1](https://github.com/youzan/vant-weapp/compare/v0.1.0...v0.1.1) (2018-08-21)
+
+
+
+# [0.1.0](https://github.com/youzan/vant-weapp/compare/v0.0.1...v0.1.0) (2018-08-13)
+
+
+
+## [0.0.1](https://github.com/youzan/vant-weapp/compare/ceea48a7b1cf13c0e0033b9f0e5786c5f8b17ac8...v0.0.1) (2018-08-11)
+
+
+### Bug Fixes
+
+* [#368](https://github.com/youzan/vant-weapp/issues/368) && improve doc texts ([#370](https://github.com/youzan/vant-weapp/issues/370)) ([bcaf409](https://github.com/youzan/vant-weapp/commit/bcaf4095e6fdfa5884f3819b0a9449b623698549))
+* 修复 DatePicker 组件设置初始时间时报错的问题 ([#350](https://github.com/youzan/vant-weapp/issues/350)) ([eaa2f43](https://github.com/youzan/vant-weapp/commit/eaa2f430f3190cc76f2749f07bb71a326319d322))
+* 修复由于 autoprefixer 移除旧浏览器代码导致的兼容性问题 ([#335](https://github.com/youzan/vant-weapp/issues/335)) ([3b58630](https://github.com/youzan/vant-weapp/commit/3b58630c84845af4050041cb41ef3f7e205e92c7))
+* cell 组件新增 no-border 属性 ([#369](https://github.com/youzan/vant-weapp/issues/369)) ([bf652cb](https://github.com/youzan/vant-weapp/commit/bf652cb42545a58bb5fe8b61064238bf47d411c6))
+* **Dialog:** 修复取消按钮只生效一次 [@rex-zsd](https://github.com/rex-zsd) ([07481b5](https://github.com/youzan/vant-weapp/commit/07481b5ddf6cff041860c819d6c65cc35c7f9538)), closes [#295](https://github.com/youzan/vant-weapp/issues/295)
+* **Noticebar:** 支持动态更新text [@rex-zsd](https://github.com/rex-zsd) ([#314](https://github.com/youzan/vant-weapp/issues/314)) ([3305aee](https://github.com/youzan/vant-weapp/commit/3305aee3e4149b02595428d188140f3717e529f4)), closes [#279](https://github.com/youzan/vant-weapp/issues/279) [#268](https://github.com/youzan/vant-weapp/issues/268)
+* **Toast:** 修复Toast组件对timeout小于0的支持 [@rex-zsd](https://github.com/rex-zsd) ([#340](https://github.com/youzan/vant-weapp/issues/340)) ([222084f](https://github.com/youzan/vant-weapp/commit/222084f70411521f53023ef34772ed6009219f72)), closes [#339](https://github.com/youzan/vant-weapp/issues/339)
+* 修复错误 ([ceea48a](https://github.com/youzan/vant-weapp/commit/ceea48a7b1cf13c0e0033b9f0e5786c5f8b17ac8))
+* 修复合并生命周期extend函数 & 修改tab文档 ([#93](https://github.com/youzan/vant-weapp/issues/93)) ([d024046](https://github.com/youzan/vant-weapp/commit/d02404616bdf10310f996b5815f0a8a55d9785b4))
+* 修复失效的链接 ([4a952f9](https://github.com/youzan/vant-weapp/commit/4a952f9a459665e5f5ebfae93d0086f6226052ef))
+* 移除不使用的占位标签 ([#187](https://github.com/youzan/vant-weapp/issues/187)) ([7ceeca9](https://github.com/youzan/vant-weapp/commit/7ceeca9d4c4e1416f646f1a54b1d616efc2e9e91))
+* release.sh remove useless code ([dafd89a](https://github.com/youzan/vant-weapp/commit/dafd89ac36525c0788f736ab03cbab2b1e38ec68))
+* stepper doc ([#222](https://github.com/youzan/vant-weapp/issues/222)) ([fd77f47](https://github.com/youzan/vant-weapp/commit/fd77f4736d9960f32845323a5ec019e66f989532))
+
+
+### Features
+
+* **datetime-picker:** 增加demo中datetime入口 [@rex-zsd](https://github.com/rex-zsd) ([#313](https://github.com/youzan/vant-weapp/issues/313)) ([da9a358](https://github.com/youzan/vant-weapp/commit/da9a358e899d2fc6adcd3562e54d372538503ef4))
+* **tab:** tab组件支持选中项自动滑动到中间位置 [@rex-zsd](https://github.com/rex-zsd) ([#347](https://github.com/youzan/vant-weapp/issues/347)) ([4599412](https://github.com/youzan/vant-weapp/commit/45994120a96e8ccff4bcc0dd0ec334332651f403)), closes [#307](https://github.com/youzan/vant-weapp/issues/307)
+* cell 自定义组件 ([#162](https://github.com/youzan/vant-weapp/issues/162)) ([a1b70a8](https://github.com/youzan/vant-weapp/commit/a1b70a8437f8f88a99a64ebd7ca24ce5ab06fbe8))
+
+
+

+ 1 - 0
node_modules/@vant/weapp/dist/action-sheet/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 70 - 0
node_modules/@vant/weapp/dist/action-sheet/index.js

@@ -0,0 +1,70 @@
+import { VantComponent } from '../common/component';
+import { button } from '../mixins/button';
+VantComponent({
+    mixins: [button],
+    props: {
+        show: Boolean,
+        title: String,
+        cancelText: String,
+        description: String,
+        round: {
+            type: Boolean,
+            value: true,
+        },
+        zIndex: {
+            type: Number,
+            value: 100,
+        },
+        actions: {
+            type: Array,
+            value: [],
+        },
+        overlay: {
+            type: Boolean,
+            value: true,
+        },
+        closeOnClickOverlay: {
+            type: Boolean,
+            value: true,
+        },
+        closeOnClickAction: {
+            type: Boolean,
+            value: true,
+        },
+        safeAreaInsetBottom: {
+            type: Boolean,
+            value: true,
+        },
+    },
+    methods: {
+        onSelect(event) {
+            const { index } = event.currentTarget.dataset;
+            const { actions, closeOnClickAction, canIUseGetUserProfile } = this.data;
+            const item = actions[index];
+            if (item) {
+                this.$emit('select', item);
+                if (closeOnClickAction) {
+                    this.onClose();
+                }
+                if (item.openType === 'getUserInfo' && canIUseGetUserProfile) {
+                    wx.getUserProfile({
+                        desc: item.getUserProfileDesc || '  ',
+                        complete: (userProfile) => {
+                            this.$emit('getuserinfo', userProfile);
+                        },
+                    });
+                }
+            }
+        },
+        onCancel() {
+            this.$emit('cancel');
+        },
+        onClose() {
+            this.$emit('close');
+        },
+        onClickOverlay() {
+            this.$emit('click-overlay');
+            this.onClose();
+        },
+    },
+});

+ 8 - 0
node_modules/@vant/weapp/dist/action-sheet/index.json

@@ -0,0 +1,8 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-icon": "../icon/index",
+    "van-popup": "../popup/index",
+    "van-loading": "../loading/index"
+  }
+}

+ 69 - 0
node_modules/@vant/weapp/dist/action-sheet/index.wxml

@@ -0,0 +1,69 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<van-popup
+  show="{{ show }}"
+  position="bottom"
+  round="{{ round }}"
+  z-index="{{ zIndex }}"
+  overlay="{{ overlay }}"
+  custom-class="van-action-sheet"
+  safe-area-inset-bottom="{{ safeAreaInsetBottom }}"
+  close-on-click-overlay="{{ closeOnClickOverlay }}"
+  bind:close="onClickOverlay"
+>
+  <view wx:if="{{ title }}" class="van-action-sheet__header">
+    {{ title }}
+    <van-icon
+      name="cross"
+      custom-class="van-action-sheet__close"
+      bind:click="onClose"
+    />
+  </view>
+  <view wx:if="{{ description }}" class="van-action-sheet__description van-hairline--bottom">
+    {{ description }}
+  </view>
+  <view wx:if="{{ actions && actions.length }}">
+    <!-- button外包一层view,防止actions动态变化,导致渲染时button被打散 -->
+    <button
+      wx:for="{{ actions }}"
+      wx:key="index"
+      open-type="{{ item.disabled || item.loading || (canIUseGetUserProfile && item.openType === 'getUserInfo') ? '' : item.openType }}"
+      style="{{ item.color ? 'color: ' + item.color : '' }}"
+      class="{{ utils.bem('action-sheet__item', { disabled: item.disabled || item.loading }) }} {{ item.className || '' }}"
+      hover-class="van-action-sheet__item--hover"
+      data-index="{{ index }}"
+      bindtap="{{ item.disabled || item.loading ? '' : 'onSelect' }}"
+      bindgetuserinfo="onGetUserInfo"
+      bindcontact="onContact"
+      bindgetphonenumber="onGetPhoneNumber"
+      binderror="onError"
+      bindlaunchapp="onLaunchApp"
+      bindopensetting="onOpenSetting"
+      lang="{{ lang }}"
+      session-from="{{ sessionFrom }}"
+      send-message-title="{{ sendMessageTitle }}"
+      send-message-path="{{ sendMessagePath }}"
+      send-message-img="{{ sendMessageImg }}"
+      show-message-card="{{ showMessageCard }}"
+      app-parameter="{{ appParameter }}"
+    >
+      <block wx:if="{{ !item.loading }}">
+        {{ item.name }}
+        <view wx:if="{{ item.subname }}" class="van-action-sheet__subname" >{{ item.subname }}</view>
+      </block>
+      <van-loading wx:else custom-class="van-action-sheet__loading" size="22px" />
+    </button>
+  </view>
+  <slot />
+  <block wx:if="{{ cancelText }}">
+    <view class="van-action-sheet__gap" />
+    <view
+      class="van-action-sheet__cancel"
+      hover-class="van-action-sheet__cancel--hover"
+      hover-stay-time="70"
+      bind:tap="onCancel"
+    >
+      {{ cancelText }}
+    </view>
+  </block>
+</van-popup>

+ 1 - 0
node_modules/@vant/weapp/dist/action-sheet/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-action-sheet{color:var(--action-sheet-item-text-color,#323233);max-height:var(--action-sheet-max-height,90%)!important}.van-action-sheet__cancel,.van-action-sheet__item{background-color:var(--action-sheet-item-background,#fff);font-size:var(--action-sheet-item-font-size,16px);line-height:var(--action-sheet-item-line-height,22px);padding:14px 16px;text-align:center}.van-action-sheet__cancel--hover,.van-action-sheet__item--hover{background-color:#f2f3f5}.van-action-sheet__cancel:after,.van-action-sheet__item:after{border-width:0}.van-action-sheet__cancel{color:var(--action-sheet-cancel-text-color,#646566)}.van-action-sheet__gap{background-color:var(--action-sheet-cancel-padding-color,#f7f8fa);display:block;height:var(--action-sheet-cancel-padding-top,8px)}.van-action-sheet__item--disabled{color:var(--action-sheet-item-disabled-text-color,#c8c9cc)}.van-action-sheet__item--disabled.van-action-sheet__item--hover{background-color:var(--action-sheet-item-background,#fff)}.van-action-sheet__subname{color:var(--action-sheet-subname-color,#969799);font-size:var(--action-sheet-subname-font-size,12px);line-height:var(--action-sheet-subname-line-height,20px);margin-top:var(--padding-xs,8px)}.van-action-sheet__header{font-size:var(--action-sheet-header-font-size,16px);font-weight:var(--font-weight-bold,500);line-height:var(--action-sheet-header-height,48px);text-align:center}.van-action-sheet__description{color:var(--action-sheet-description-color,#969799);font-size:var(--action-sheet-description-font-size,14px);line-height:var(--action-sheet-description-line-height,20px);padding:20px var(--padding-md,16px);text-align:center}.van-action-sheet__close{color:var(--action-sheet-close-icon-color,#c8c9cc);font-size:var(--action-sheet-close-icon-size,22px)!important;line-height:inherit!important;padding:var(--action-sheet-close-icon-padding,0 16px);position:absolute!important;right:0;top:0}.van-action-sheet__loading{display:flex!important}

+ 1 - 0
node_modules/@vant/weapp/dist/area/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 217 - 0
node_modules/@vant/weapp/dist/area/index.js

@@ -0,0 +1,217 @@
+import { VantComponent } from '../common/component';
+import { pickerProps } from '../picker/shared';
+import { requestAnimationFrame } from '../common/utils';
+const EMPTY_CODE = '000000';
+VantComponent({
+    classes: ['active-class', 'toolbar-class', 'column-class'],
+    props: Object.assign(Object.assign({}, pickerProps), { value: {
+            type: String,
+            observer(value) {
+                this.code = value;
+                this.setValues();
+            },
+        }, areaList: {
+            type: Object,
+            value: {},
+            observer: 'setValues',
+        }, columnsNum: {
+            type: null,
+            value: 3,
+        }, columnsPlaceholder: {
+            type: Array,
+            observer(val) {
+                this.setData({
+                    typeToColumnsPlaceholder: {
+                        province: val[0] || '',
+                        city: val[1] || '',
+                        county: val[2] || '',
+                    },
+                });
+            },
+        } }),
+    data: {
+        columns: [{ values: [] }, { values: [] }, { values: [] }],
+        typeToColumnsPlaceholder: {},
+    },
+    mounted() {
+        requestAnimationFrame(() => {
+            this.setValues();
+        });
+    },
+    methods: {
+        getPicker() {
+            if (this.picker == null) {
+                this.picker = this.selectComponent('.van-area__picker');
+            }
+            return this.picker;
+        },
+        onCancel(event) {
+            this.emit('cancel', event.detail);
+        },
+        onConfirm(event) {
+            const { index } = event.detail;
+            let { value } = event.detail;
+            value = this.parseValues(value);
+            this.emit('confirm', { value, index });
+        },
+        emit(type, detail) {
+            detail.values = detail.value;
+            delete detail.value;
+            this.$emit(type, detail);
+        },
+        parseValues(values) {
+            const { columnsPlaceholder } = this.data;
+            return values.map((value, index) => {
+                if (value &&
+                    (!value.code || value.name === columnsPlaceholder[index])) {
+                    return Object.assign(Object.assign({}, value), { code: '', name: '' });
+                }
+                return value;
+            });
+        },
+        onChange(event) {
+            var _a;
+            const { index, picker, value } = event.detail;
+            this.code = value[index].code;
+            (_a = this.setValues()) === null || _a === void 0 ? void 0 : _a.then(() => {
+                this.$emit('change', {
+                    picker,
+                    values: this.parseValues(picker.getValues()),
+                    index,
+                });
+            });
+        },
+        getConfig(type) {
+            const { areaList } = this.data;
+            return (areaList && areaList[`${type}_list`]) || {};
+        },
+        getList(type, code) {
+            if (type !== 'province' && !code) {
+                return [];
+            }
+            const { typeToColumnsPlaceholder } = this.data;
+            const list = this.getConfig(type);
+            let result = Object.keys(list).map((code) => ({
+                code,
+                name: list[code],
+            }));
+            if (code != null) {
+                // oversea code
+                if (code[0] === '9' && type === 'city') {
+                    code = '9';
+                }
+                result = result.filter((item) => item.code.indexOf(code) === 0);
+            }
+            if (typeToColumnsPlaceholder[type] && result.length) {
+                // set columns placeholder
+                const codeFill = type === 'province'
+                    ? ''
+                    : type === 'city'
+                        ? EMPTY_CODE.slice(2, 4)
+                        : EMPTY_CODE.slice(4, 6);
+                result.unshift({
+                    code: `${code}${codeFill}`,
+                    name: typeToColumnsPlaceholder[type],
+                });
+            }
+            return result;
+        },
+        getIndex(type, code) {
+            let compareNum = type === 'province' ? 2 : type === 'city' ? 4 : 6;
+            const list = this.getList(type, code.slice(0, compareNum - 2));
+            // oversea code
+            if (code[0] === '9' && type === 'province') {
+                compareNum = 1;
+            }
+            code = code.slice(0, compareNum);
+            for (let i = 0; i < list.length; i++) {
+                if (list[i].code.slice(0, compareNum) === code) {
+                    return i;
+                }
+            }
+            return 0;
+        },
+        setValues() {
+            const picker = this.getPicker();
+            if (!picker) {
+                return;
+            }
+            let code = this.code || this.getDefaultCode();
+            const provinceList = this.getList('province');
+            const cityList = this.getList('city', code.slice(0, 2));
+            const stack = [];
+            const indexes = [];
+            const { columnsNum } = this.data;
+            if (columnsNum >= 1) {
+                stack.push(picker.setColumnValues(0, provinceList, false));
+                indexes.push(this.getIndex('province', code));
+            }
+            if (columnsNum >= 2) {
+                stack.push(picker.setColumnValues(1, cityList, false));
+                indexes.push(this.getIndex('city', code));
+                if (cityList.length && code.slice(2, 4) === '00') {
+                    [{ code }] = cityList;
+                }
+            }
+            if (columnsNum === 3) {
+                stack.push(picker.setColumnValues(2, this.getList('county', code.slice(0, 4)), false));
+                indexes.push(this.getIndex('county', code));
+            }
+            return Promise.all(stack)
+                .catch(() => { })
+                .then(() => picker.setIndexes(indexes))
+                .catch(() => { });
+        },
+        getDefaultCode() {
+            const { columnsPlaceholder } = this.data;
+            if (columnsPlaceholder.length) {
+                return EMPTY_CODE;
+            }
+            const countyCodes = Object.keys(this.getConfig('county'));
+            if (countyCodes[0]) {
+                return countyCodes[0];
+            }
+            const cityCodes = Object.keys(this.getConfig('city'));
+            if (cityCodes[0]) {
+                return cityCodes[0];
+            }
+            return '';
+        },
+        getValues() {
+            const picker = this.getPicker();
+            if (!picker) {
+                return [];
+            }
+            return this.parseValues(picker.getValues().filter((value) => !!value));
+        },
+        getDetail() {
+            const values = this.getValues();
+            const area = {
+                code: '',
+                country: '',
+                province: '',
+                city: '',
+                county: '',
+            };
+            if (!values.length) {
+                return area;
+            }
+            const names = values.map((item) => item.name);
+            area.code = values[values.length - 1].code;
+            if (area.code[0] === '9') {
+                area.country = names[1] || '';
+                area.province = names[2] || '';
+            }
+            else {
+                area.province = names[0] || '';
+                area.city = names[1] || '';
+                area.county = names[2] || '';
+            }
+            return area;
+        },
+        reset(code) {
+            this.code = code || '';
+            return this.setValues();
+        },
+    },
+});

+ 6 - 0
node_modules/@vant/weapp/dist/area/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-picker": "../picker/index"
+  }
+}

+ 20 - 0
node_modules/@vant/weapp/dist/area/index.wxml

@@ -0,0 +1,20 @@
+<wxs src="./index.wxs" module="computed" />
+
+<van-picker
+  class="van-area__picker"
+  active-class="active-class"
+  toolbar-class="toolbar-class"
+  column-class="column-class"
+  show-toolbar
+  value-key="name"
+  title="{{ title }}"
+  loading="{{ loading }}"
+  columns="{{ computed.displayColumns(columns, columnsNum) }}"
+  item-height="{{ itemHeight }}"
+  visible-item-count="{{ visibleItemCount }}"
+  cancel-button-text="{{ cancelButtonText }}"
+  confirm-button-text="{{ confirmButtonText }}"
+  bind:change="onChange"
+  bind:confirm="onConfirm"
+  bind:cancel="onCancel"
+/>

+ 8 - 0
node_modules/@vant/weapp/dist/area/index.wxs

@@ -0,0 +1,8 @@
+/* eslint-disable */
+function displayColumns(columns, columnsNum) {
+  return columns.slice(0, +columnsNum);
+}
+
+module.exports = {
+  displayColumns: displayColumns,
+};

+ 1 - 0
node_modules/@vant/weapp/dist/area/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';

+ 1 - 0
node_modules/@vant/weapp/dist/button/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 64 - 0
node_modules/@vant/weapp/dist/button/index.js

@@ -0,0 +1,64 @@
+import { VantComponent } from '../common/component';
+import { button } from '../mixins/button';
+import { canIUseFormFieldButton } from '../common/version';
+const mixins = [button];
+if (canIUseFormFieldButton()) {
+    mixins.push('wx://form-field-button');
+}
+VantComponent({
+    mixins,
+    classes: ['hover-class', 'loading-class'],
+    data: {
+        baseStyle: '',
+    },
+    props: {
+        formType: String,
+        icon: String,
+        classPrefix: {
+            type: String,
+            value: 'van-icon',
+        },
+        plain: Boolean,
+        block: Boolean,
+        round: Boolean,
+        square: Boolean,
+        loading: Boolean,
+        hairline: Boolean,
+        disabled: Boolean,
+        loadingText: String,
+        customStyle: String,
+        loadingType: {
+            type: String,
+            value: 'circular',
+        },
+        type: {
+            type: String,
+            value: 'default',
+        },
+        dataset: null,
+        size: {
+            type: String,
+            value: 'normal',
+        },
+        loadingSize: {
+            type: String,
+            value: '20px',
+        },
+        color: String,
+    },
+    methods: {
+        onClick(event) {
+            this.$emit('click', event);
+            const { canIUseGetUserProfile, openType, getUserProfileDesc, lang, } = this.data;
+            if (openType === 'getUserInfo' && canIUseGetUserProfile) {
+                wx.getUserProfile({
+                    desc: getUserProfileDesc || '  ',
+                    lang: lang || 'en',
+                    complete: (userProfile) => {
+                        this.$emit('getuserinfo', userProfile);
+                    },
+                });
+            }
+        },
+    },
+});

+ 7 - 0
node_modules/@vant/weapp/dist/button/index.json

@@ -0,0 +1,7 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-icon": "../icon/index",
+    "van-loading": "../loading/index"
+  }
+}

+ 53 - 0
node_modules/@vant/weapp/dist/button/index.wxml

@@ -0,0 +1,53 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+<wxs src="./index.wxs" module="computed" />
+
+<button
+  id="{{ id }}"
+  data-detail="{{ dataset }}"
+  class="custom-class {{ utils.bem('button', [type, size, { block, round, plain, square, loading, disabled, hairline, unclickable: disabled || loading }]) }} {{ hairline ? 'van-hairline--surround' : '' }}"
+  hover-class="van-button--active hover-class"
+  lang="{{ lang }}"
+  form-type="{{ formType }}"
+  style="{{ computed.rootStyle({ plain, color, customStyle }) }}"
+  open-type="{{ disabled || loading || (canIUseGetUserProfile && openType === 'getUserInfo') ? '' : openType }}"
+  business-id="{{ businessId }}"
+  session-from="{{ sessionFrom }}"
+  send-message-title="{{ sendMessageTitle }}"
+  send-message-path="{{ sendMessagePath }}"
+  send-message-img="{{ sendMessageImg }}"
+  show-message-card="{{ showMessageCard }}"
+  app-parameter="{{ appParameter }}"
+  aria-label="{{ ariaLabel }}"
+  bindtap="{{ disabled || loading ? '' : 'onClick' }}"
+  bindgetuserinfo="onGetUserInfo"
+  bindcontact="onContact"
+  bindgetphonenumber="onGetPhoneNumber"
+  binderror="onError"
+  bindlaunchapp="onLaunchApp"
+  bindopensetting="onOpenSetting"
+>
+  <block wx:if="{{ loading }}">
+    <van-loading
+      custom-class="loading-class"
+      size="{{ loadingSize }}"
+      type="{{ loadingType }}"
+      color="{{ computed.loadingColor({ type, color, plain }) }}"
+    />
+    <view wx:if="{{ loadingText }}" class="van-button__loading-text">
+      {{ loadingText }}
+    </view>
+  </block>
+  <block wx:else>
+    <van-icon
+      wx:if="{{ icon }}"
+      size="1.2em"
+      name="{{ icon }}"
+      class-prefix="{{ classPrefix }}"
+      class="van-button__icon"
+      custom-style="line-height: inherit;"
+    />
+    <view class="van-button__text">
+      <slot />
+    </view>
+  </block>
+</button>

+ 39 - 0
node_modules/@vant/weapp/dist/button/index.wxs

@@ -0,0 +1,39 @@
+/* eslint-disable */
+var style = require('../wxs/style.wxs');
+
+function rootStyle(data) {
+  if (!data.color) {
+    return data.customStyle;
+  }
+
+  var properties = {
+    color: data.plain ? data.color : '#fff',
+    background: data.plain ? null : data.color,
+  };
+
+  // hide border when color is linear-gradient
+  if (data.color.indexOf('gradient') !== -1) {
+    properties.border = 0;
+  } else {
+    properties['border-color'] = data.color;
+  }
+
+  return style([properties, data.customStyle]);
+}
+
+function loadingColor(data) {
+  if (data.plain) {
+    return data.color ? data.color : '#c9c9c9';
+  }
+
+  if (data.type === 'default') {
+    return '#c9c9c9';
+  }
+
+  return '#fff';
+}
+
+module.exports = {
+  rootStyle: rootStyle,
+  loadingColor: loadingColor,
+};

文件差異過大導致無法顯示
+ 0 - 0
node_modules/@vant/weapp/dist/button/index.wxss


+ 68 - 0
node_modules/@vant/weapp/dist/calendar/calendar.wxml

@@ -0,0 +1,68 @@
+<view class="van-calendar">
+  <header
+    title="{{ title }}"
+    showTitle="{{ showTitle }}"
+    subtitle="{{ subtitle }}"
+    showSubtitle="{{ showSubtitle }}"
+    firstDayOfWeek="{{ firstDayOfWeek }}"
+    bind:click-subtitle="onClickSubtitle"
+  >
+    <slot name="title" slot="title"></slot>
+  </header>
+
+  <scroll-view
+    class="van-calendar__body"
+    scroll-y
+    scroll-into-view="{{ scrollIntoView }}"
+  >
+    <month
+      wx:for="{{ computed.getMonths(minDate, maxDate) }}"
+      wx:key="index"
+      id="month{{ index }}"
+      class="month"
+      data-date="{{ item }}"
+      date="{{ item }}"
+      type="{{ type }}"
+      color="{{ color }}"
+      minDate="{{ minDate }}"
+      maxDate="{{ maxDate }}"
+      showMark="{{ showMark }}"
+      formatter="{{ formatter }}"
+      rowHeight="{{ rowHeight }}"
+      currentDate="{{ currentDate }}"
+      showSubtitle="{{ showSubtitle }}"
+      allowSameDay="{{ allowSameDay }}"
+      showMonthTitle="{{ index !== 0 || !showSubtitle }}"
+      firstDayOfWeek="{{ firstDayOfWeek }}"
+      bind:click="onClickDay"
+    />
+  </scroll-view>
+
+  <view
+    class="{{ utils.bem('calendar__footer', { safeAreaInsetBottom }) }}"
+  >
+    <slot name="footer"></slot>
+  </view>
+
+  <view
+    class="{{ utils.bem('calendar__footer', { safeAreaInsetBottom }) }}"
+  >
+    <van-button
+      wx:if="{{ showConfirm }}"
+      round
+      block
+      type="danger"
+      color="{{ color }}"
+      custom-class="van-calendar__confirm"
+      disabled="{{ computed.getButtonDisabled(type, currentDate) }}"
+      nativeType="text"
+      bind:click="onConfirm"
+    >
+      {{
+        computed.getButtonDisabled(type, currentDate)
+          ? confirmDisabledText
+          : confirmText
+      }}
+    </van-button>
+  </view>
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/calendar/components/header/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 37 - 0
node_modules/@vant/weapp/dist/calendar/components/header/index.js

@@ -0,0 +1,37 @@
+import { VantComponent } from '../../../common/component';
+VantComponent({
+    props: {
+        title: {
+            type: String,
+            value: '日期选择',
+        },
+        subtitle: String,
+        showTitle: Boolean,
+        showSubtitle: Boolean,
+        firstDayOfWeek: {
+            type: Number,
+            observer: 'initWeekDay',
+        },
+    },
+    data: {
+        weekdays: [],
+    },
+    created() {
+        this.initWeekDay();
+    },
+    methods: {
+        initWeekDay() {
+            const defaultWeeks = ['日', '一', '二', '三', '四', '五', '六'];
+            const firstDayOfWeek = this.data.firstDayOfWeek || 0;
+            this.setData({
+                weekdays: [
+                    ...defaultWeeks.slice(firstDayOfWeek, 7),
+                    ...defaultWeeks.slice(0, firstDayOfWeek),
+                ],
+            });
+        },
+        onClickSubtitle(event) {
+            this.$emit('click-subtitle', event);
+        },
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/calendar/components/header/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 16 - 0
node_modules/@vant/weapp/dist/calendar/components/header/index.wxml

@@ -0,0 +1,16 @@
+<view class="van-calendar__header">
+  <block wx:if="{{ showTitle }}">
+    <view class="van-calendar__header-title"><slot name="title"></slot></view>
+    <view class="van-calendar__header-title">{{ title }}</view>
+  </block>
+
+  <view wx:if="{{ showSubtitle }}" class="van-calendar__header-subtitle" bind:tap="onClickSubtitle">
+    {{ subtitle }}
+  </view>
+
+  <view class="van-calendar__weekdays">
+    <view wx:for="{{ weekdays }}" wx:key="index" class="van-calendar__weekday">
+      {{ item }}
+    </view>
+  </view>
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/calendar/components/header/index.wxss

@@ -0,0 +1 @@
+@import '../../../common/index.wxss';.van-calendar__header{box-shadow:var(--calendar-header-box-shadow,0 2px 10px hsla(220,1%,50%,.16));flex-shrink:0}.van-calendar__header-subtitle,.van-calendar__header-title{font-weight:var(--font-weight-bold,500);height:var(--calendar-header-title-height,44px);line-height:var(--calendar-header-title-height,44px);text-align:center}.van-calendar__header-title+.van-calendar__header-title,.van-calendar__header-title:empty{display:none}.van-calendar__header-title:empty+.van-calendar__header-title{display:block!important}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--calendar-weekdays-font-size,12px);line-height:var(--calendar-weekdays-height,30px);text-align:center}

+ 1 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 154 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.js

@@ -0,0 +1,154 @@
+import { VantComponent } from '../../../common/component';
+import { getMonthEndDay, compareDay, getPrevDay, getNextDay, } from '../../utils';
+VantComponent({
+    props: {
+        date: {
+            type: null,
+            observer: 'setDays',
+        },
+        type: {
+            type: String,
+            observer: 'setDays',
+        },
+        color: String,
+        minDate: {
+            type: null,
+            observer: 'setDays',
+        },
+        maxDate: {
+            type: null,
+            observer: 'setDays',
+        },
+        showMark: Boolean,
+        rowHeight: null,
+        formatter: {
+            type: null,
+            observer: 'setDays',
+        },
+        currentDate: {
+            type: null,
+            observer: 'setDays',
+        },
+        firstDayOfWeek: {
+            type: Number,
+            observer: 'setDays',
+        },
+        allowSameDay: Boolean,
+        showSubtitle: Boolean,
+        showMonthTitle: Boolean,
+    },
+    data: {
+        visible: true,
+        days: [],
+    },
+    methods: {
+        onClick(event) {
+            const { index } = event.currentTarget.dataset;
+            const item = this.data.days[index];
+            if (item.type !== 'disabled') {
+                this.$emit('click', item);
+            }
+        },
+        setDays() {
+            const days = [];
+            const startDate = new Date(this.data.date);
+            const year = startDate.getFullYear();
+            const month = startDate.getMonth();
+            const totalDay = getMonthEndDay(startDate.getFullYear(), startDate.getMonth() + 1);
+            for (let day = 1; day <= totalDay; day++) {
+                const date = new Date(year, month, day);
+                const type = this.getDayType(date);
+                let config = {
+                    date,
+                    type,
+                    text: day,
+                    bottomInfo: this.getBottomInfo(type),
+                };
+                if (this.data.formatter) {
+                    config = this.data.formatter(config);
+                }
+                days.push(config);
+            }
+            this.setData({ days });
+        },
+        getMultipleDayType(day) {
+            const { currentDate } = this.data;
+            if (!Array.isArray(currentDate)) {
+                return '';
+            }
+            const isSelected = (date) => currentDate.some((item) => compareDay(item, date) === 0);
+            if (isSelected(day)) {
+                const prevDay = getPrevDay(day);
+                const nextDay = getNextDay(day);
+                const prevSelected = isSelected(prevDay);
+                const nextSelected = isSelected(nextDay);
+                if (prevSelected && nextSelected) {
+                    return 'multiple-middle';
+                }
+                if (prevSelected) {
+                    return 'end';
+                }
+                return nextSelected ? 'start' : 'multiple-selected';
+            }
+            return '';
+        },
+        getRangeDayType(day) {
+            const { currentDate, allowSameDay } = this.data;
+            if (!Array.isArray(currentDate)) {
+                return '';
+            }
+            const [startDay, endDay] = currentDate;
+            if (!startDay) {
+                return '';
+            }
+            const compareToStart = compareDay(day, startDay);
+            if (!endDay) {
+                return compareToStart === 0 ? 'start' : '';
+            }
+            const compareToEnd = compareDay(day, endDay);
+            if (compareToStart === 0 && compareToEnd === 0 && allowSameDay) {
+                return 'start-end';
+            }
+            if (compareToStart === 0) {
+                return 'start';
+            }
+            if (compareToEnd === 0) {
+                return 'end';
+            }
+            if (compareToStart > 0 && compareToEnd < 0) {
+                return 'middle';
+            }
+            return '';
+        },
+        getDayType(day) {
+            const { type, minDate, maxDate, currentDate } = this.data;
+            if (compareDay(day, minDate) < 0 || compareDay(day, maxDate) > 0) {
+                return 'disabled';
+            }
+            if (type === 'single') {
+                return compareDay(day, currentDate) === 0 ? 'selected' : '';
+            }
+            if (type === 'multiple') {
+                return this.getMultipleDayType(day);
+            }
+            /* istanbul ignore else */
+            if (type === 'range') {
+                return this.getRangeDayType(day);
+            }
+            return '';
+        },
+        getBottomInfo(type) {
+            if (this.data.type === 'range') {
+                if (type === 'start') {
+                    return '开始';
+                }
+                if (type === 'end') {
+                    return '结束';
+                }
+                if (type === 'start-end') {
+                    return '开始/结束';
+                }
+            }
+        },
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 39 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.wxml

@@ -0,0 +1,39 @@
+<wxs src="./index.wxs" module="computed"></wxs>
+<wxs src="../../../wxs/utils.wxs" module="utils" />
+
+<view class="van-calendar__month" style="{{ computed.getMonthStyle(visible, date, rowHeight) }}">
+  <view wx:if="{{ showMonthTitle }}" class="van-calendar__month-title">
+    {{ computed.formatMonthTitle(date) }}
+  </view>
+
+  <view wx:if="{{ visible }}" class="van-calendar__days">
+    <view wx:if="{{ showMark }}" class="van-calendar__month-mark">
+      {{ computed.getMark(date) }}
+    </view>
+
+    <view
+      wx:for="{{ days }}"
+      wx:key="index"
+      style="{{ computed.getDayStyle(item.type, index, date, rowHeight, color, firstDayOfWeek) }}"
+      class="{{ utils.bem('calendar__day', [item.type]) }} {{ item.className }}"
+      data-index="{{ index }}"
+      bindtap="onClick"
+    >
+      <view wx:if="{{ item.type === 'selected' }}" class="van-calendar__selected-day" style="background: {{ color }}">
+        <view wx:if="{{ item.topInfo }}" class="van-calendar__top-info">{{ item.topInfo }}</view>
+        {{ item.text }}
+        <view wx:if="{{ item.bottomInfo }}" class="van-calendar__bottom-info">
+          {{ item.bottomInfo }}
+        </view>
+      </view>
+
+      <view wx:else>
+        <view wx:if="{{ item.topInfo }}" class="van-calendar__top-info">{{ item.topInfo }}</view>
+        {{ item.text }}
+        <view wx:if="{{ item.bottomInfo }}" class="van-calendar__bottom-info">
+          {{ item.bottomInfo }}
+        </view>
+      </view>
+    </view>
+  </view>
+</view>

+ 71 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.wxs

@@ -0,0 +1,71 @@
+/* eslint-disable */
+var utils = require('../../utils.wxs');
+
+function getMark(date) {
+  return getDate(date).getMonth() + 1;
+}
+
+var ROW_HEIGHT = 64;
+
+function getDayStyle(type, index, date, rowHeight, color, firstDayOfWeek) {
+  var style = [];
+  var current = getDate(date).getDay() || 7;
+  var offset = current < firstDayOfWeek ? (7 - firstDayOfWeek + current) :
+               current === 7 && firstDayOfWeek === 0 ? 0 :
+               (current - firstDayOfWeek);
+
+  if (index === 0) {
+    style.push(['margin-left', (100 * offset) / 7 + '%']);
+  }
+
+  if (rowHeight !== ROW_HEIGHT) {
+    style.push(['height', rowHeight + 'px']);
+  }
+
+  if (color) {
+    if (
+      type === 'start' ||
+      type === 'end' ||
+      type === 'start-end' ||
+      type === 'multiple-selected' ||
+      type === 'multiple-middle'
+    ) {
+      style.push(['background', color]);
+    } else if (type === 'middle') {
+      style.push(['color', color]);
+    }
+  }
+
+  return style
+    .map(function(item) {
+      return item.join(':');
+    })
+    .join(';');
+}
+
+function formatMonthTitle(date) {
+  date = getDate(date);
+  return date.getFullYear() + '年' + (date.getMonth() + 1) + '月';
+}
+
+function getMonthStyle(visible, date, rowHeight) {
+  if (!visible) {
+    date = getDate(date);
+
+    var totalDay = utils.getMonthEndDay(
+      date.getFullYear(),
+      date.getMonth() + 1
+    );
+    var offset = getDate(date).getDay();
+    var padding = Math.ceil((totalDay + offset) / 7) * rowHeight;
+
+    return 'padding-bottom:' + padding + 'px';
+  }
+}
+
+module.exports = {
+  getMark: getMark,
+  getDayStyle: getDayStyle,
+  formatMonthTitle: formatMonthTitle,
+  getMonthStyle: getMonthStyle
+};

文件差異過大導致無法顯示
+ 0 - 0
node_modules/@vant/weapp/dist/calendar/components/month/index.wxss


+ 1 - 0
node_modules/@vant/weapp/dist/calendar/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 323 - 0
node_modules/@vant/weapp/dist/calendar/index.js

@@ -0,0 +1,323 @@
+import { VantComponent } from '../common/component';
+import { ROW_HEIGHT, getPrevDay, getNextDay, getToday, compareDay, copyDates, calcDateNum, formatMonthTitle, compareMonth, getMonths, getDayByOffset, } from './utils';
+import Toast from '../toast/toast';
+import { requestAnimationFrame } from '../common/utils';
+const initialMinDate = getToday().getTime();
+const initialMaxDate = (() => {
+    const now = getToday();
+    return new Date(now.getFullYear(), now.getMonth() + 6, now.getDate()).getTime();
+})();
+VantComponent({
+    props: {
+        title: {
+            type: String,
+            value: '日期选择',
+        },
+        color: String,
+        show: {
+            type: Boolean,
+            observer(val) {
+                if (val) {
+                    this.initRect();
+                    this.scrollIntoView();
+                }
+            },
+        },
+        formatter: null,
+        confirmText: {
+            type: String,
+            value: '确定',
+        },
+        confirmDisabledText: {
+            type: String,
+            value: '确定',
+        },
+        rangePrompt: String,
+        showRangePrompt: {
+            type: Boolean,
+            value: true,
+        },
+        defaultDate: {
+            type: null,
+            observer(val) {
+                this.setData({ currentDate: val });
+                this.scrollIntoView();
+            },
+        },
+        allowSameDay: Boolean,
+        type: {
+            type: String,
+            value: 'single',
+            observer: 'reset',
+        },
+        minDate: {
+            type: Number,
+            value: initialMinDate,
+        },
+        maxDate: {
+            type: Number,
+            value: initialMaxDate,
+        },
+        position: {
+            type: String,
+            value: 'bottom',
+        },
+        rowHeight: {
+            type: null,
+            value: ROW_HEIGHT,
+        },
+        round: {
+            type: Boolean,
+            value: true,
+        },
+        poppable: {
+            type: Boolean,
+            value: true,
+        },
+        showMark: {
+            type: Boolean,
+            value: true,
+        },
+        showTitle: {
+            type: Boolean,
+            value: true,
+        },
+        showConfirm: {
+            type: Boolean,
+            value: true,
+        },
+        showSubtitle: {
+            type: Boolean,
+            value: true,
+        },
+        safeAreaInsetBottom: {
+            type: Boolean,
+            value: true,
+        },
+        closeOnClickOverlay: {
+            type: Boolean,
+            value: true,
+        },
+        maxRange: {
+            type: null,
+            value: null,
+        },
+        firstDayOfWeek: {
+            type: Number,
+            value: 0,
+        },
+    },
+    data: {
+        subtitle: '',
+        currentDate: null,
+        scrollIntoView: '',
+    },
+    created() {
+        this.setData({
+            currentDate: this.getInitialDate(this.data.defaultDate),
+        });
+    },
+    mounted() {
+        if (this.data.show || !this.data.poppable) {
+            this.initRect();
+            this.scrollIntoView();
+        }
+    },
+    methods: {
+        reset() {
+            this.setData({ currentDate: this.getInitialDate() });
+            this.scrollIntoView();
+        },
+        initRect() {
+            if (this.contentObserver != null) {
+                this.contentObserver.disconnect();
+            }
+            const contentObserver = this.createIntersectionObserver({
+                thresholds: [0, 0.1, 0.9, 1],
+                observeAll: true,
+            });
+            this.contentObserver = contentObserver;
+            contentObserver.relativeTo('.van-calendar__body');
+            contentObserver.observe('.month', (res) => {
+                if (res.boundingClientRect.top <= res.relativeRect.top) {
+                    // @ts-ignore
+                    this.setData({ subtitle: formatMonthTitle(res.dataset.date) });
+                }
+            });
+        },
+        limitDateRange(date, minDate = null, maxDate = null) {
+            minDate = minDate || this.data.minDate;
+            maxDate = maxDate || this.data.maxDate;
+            if (compareDay(date, minDate) === -1) {
+                return minDate;
+            }
+            if (compareDay(date, maxDate) === 1) {
+                return maxDate;
+            }
+            return date;
+        },
+        getInitialDate(defaultDate = null) {
+            const { type, minDate, maxDate } = this.data;
+            const now = getToday().getTime();
+            if (type === 'range') {
+                if (!Array.isArray(defaultDate)) {
+                    defaultDate = [];
+                }
+                const [startDay, endDay] = defaultDate || [];
+                const start = this.limitDateRange(startDay || now, minDate, getPrevDay(new Date(maxDate)).getTime());
+                const end = this.limitDateRange(endDay || now, getNextDay(new Date(minDate)).getTime());
+                return [start, end];
+            }
+            if (type === 'multiple') {
+                if (Array.isArray(defaultDate)) {
+                    return defaultDate.map((date) => this.limitDateRange(date));
+                }
+                return [this.limitDateRange(now)];
+            }
+            if (!defaultDate || Array.isArray(defaultDate)) {
+                defaultDate = now;
+            }
+            return this.limitDateRange(defaultDate);
+        },
+        scrollIntoView() {
+            requestAnimationFrame(() => {
+                const { currentDate, type, show, poppable, minDate, maxDate, } = this.data;
+                // @ts-ignore
+                const targetDate = type === 'single' ? currentDate : currentDate[0];
+                const displayed = show || !poppable;
+                if (!targetDate || !displayed) {
+                    return;
+                }
+                const months = getMonths(minDate, maxDate);
+                months.some((month, index) => {
+                    if (compareMonth(month, targetDate) === 0) {
+                        this.setData({ scrollIntoView: `month${index}` });
+                        return true;
+                    }
+                    return false;
+                });
+            });
+        },
+        onOpen() {
+            this.$emit('open');
+        },
+        onOpened() {
+            this.$emit('opened');
+        },
+        onClose() {
+            this.$emit('close');
+        },
+        onClosed() {
+            this.$emit('closed');
+        },
+        onClickDay(event) {
+            const { date } = event.detail;
+            const { type, currentDate, allowSameDay } = this.data;
+            if (type === 'range') {
+                // @ts-ignore
+                const [startDay, endDay] = currentDate;
+                if (startDay && !endDay) {
+                    const compareToStart = compareDay(date, startDay);
+                    if (compareToStart === 1) {
+                        this.select([startDay, date], true);
+                    }
+                    else if (compareToStart === -1) {
+                        this.select([date, null]);
+                    }
+                    else if (allowSameDay) {
+                        this.select([date, date]);
+                    }
+                }
+                else {
+                    this.select([date, null]);
+                }
+            }
+            else if (type === 'multiple') {
+                let selectedIndex;
+                // @ts-ignore
+                const selected = currentDate.some((dateItem, index) => {
+                    const equal = compareDay(dateItem, date) === 0;
+                    if (equal) {
+                        selectedIndex = index;
+                    }
+                    return equal;
+                });
+                if (selected) {
+                    // @ts-ignore
+                    const cancelDate = currentDate.splice(selectedIndex, 1);
+                    this.setData({ currentDate });
+                    this.unselect(cancelDate);
+                }
+                else {
+                    // @ts-ignore
+                    this.select([...currentDate, date]);
+                }
+            }
+            else {
+                this.select(date, true);
+            }
+        },
+        unselect(dateArray) {
+            const date = dateArray[0];
+            if (date) {
+                this.$emit('unselect', copyDates(date));
+            }
+        },
+        select(date, complete) {
+            if (complete && this.data.type === 'range') {
+                const valid = this.checkRange(date);
+                if (!valid) {
+                    // auto selected to max range if showConfirm
+                    if (this.data.showConfirm) {
+                        this.emit([
+                            date[0],
+                            getDayByOffset(date[0], this.data.maxRange - 1),
+                        ]);
+                    }
+                    else {
+                        this.emit(date);
+                    }
+                    return;
+                }
+            }
+            this.emit(date);
+            if (complete && !this.data.showConfirm) {
+                this.onConfirm();
+            }
+        },
+        emit(date) {
+            const getTime = (date) => date instanceof Date ? date.getTime() : date;
+            this.setData({
+                currentDate: Array.isArray(date) ? date.map(getTime) : getTime(date),
+            });
+            this.$emit('select', copyDates(date));
+        },
+        checkRange(date) {
+            const { maxRange, rangePrompt, showRangePrompt } = this.data;
+            if (maxRange && calcDateNum(date) > maxRange) {
+                if (showRangePrompt) {
+                    Toast({
+                        context: this,
+                        message: rangePrompt || `选择天数不能超过 ${maxRange} 天`,
+                    });
+                }
+                this.$emit('over-range');
+                return false;
+            }
+            return true;
+        },
+        onConfirm() {
+            if (this.data.type === 'range' &&
+                !this.checkRange(this.data.currentDate)) {
+                return;
+            }
+            wx.nextTick(() => {
+                // @ts-ignore
+                this.$emit('confirm', copyDates(this.data.currentDate));
+            });
+        },
+        onClickSubtitle(event) {
+            this.$emit('click-subtitle', event);
+        },
+    },
+});

+ 10 - 0
node_modules/@vant/weapp/dist/calendar/index.json

@@ -0,0 +1,10 @@
+{
+  "component": true,
+  "usingComponents": {
+    "header": "./components/header/index",
+    "month": "./components/month/index",
+    "van-button": "../button/index",
+    "van-popup": "../popup/index",
+    "van-toast": "../toast/index"
+  }
+}

+ 25 - 0
node_modules/@vant/weapp/dist/calendar/index.wxml

@@ -0,0 +1,25 @@
+<wxs src="./index.wxs" module="computed" />
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<import src="./calendar.wxml" />
+
+<van-popup
+  wx:if="{{ poppable }}"
+  custom-class="van-calendar__popup--{{ position }}"
+  close-icon-class="van-calendar__close-icon"
+  show="{{ show }}"
+  round="{{ round }}"
+  position="{{ position }}"
+  closeable="{{ showTitle || showSubtitle }}"
+  close-on-click-overlay="{{ closeOnClickOverlay }}"
+  bind:enter="onOpen"
+  bind:close="onClose"
+  bind:after-enter="onOpened"
+  bind:after-leave="onClosed"
+>
+  <include src="./calendar.wxml" />
+</van-popup>
+
+<include wx:else src="./calendar.wxml" />
+
+<van-toast id="van-toast" />

+ 37 - 0
node_modules/@vant/weapp/dist/calendar/index.wxs

@@ -0,0 +1,37 @@
+/* eslint-disable */
+var utils = require('./utils.wxs');
+
+function getMonths(minDate, maxDate) {
+  var months = [];
+  var cursor = getDate(minDate);
+
+  cursor.setDate(1);
+
+  do {
+    months.push(cursor.getTime());
+    cursor.setMonth(cursor.getMonth() + 1);
+  } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1);
+
+  return months;
+}
+
+function getButtonDisabled(type, currentDate) {
+  if (currentDate == null) {
+    return true;
+  }
+
+  if (type === 'range') {
+    return !currentDate[0] || !currentDate[1];
+  }
+
+  if (type === 'multiple') {
+    return !currentDate.length;
+  }
+
+  return !currentDate;
+}
+
+module.exports = {
+  getMonths: getMonths,
+  getButtonDisabled: getButtonDisabled
+};

+ 1 - 0
node_modules/@vant/weapp/dist/calendar/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-calendar{background-color:var(--calendar-background-color,#fff);display:flex;flex-direction:column;height:var(--calendar-height,100%)}.van-calendar__close-icon{top:11px}.van-calendar__popup--bottom,.van-calendar__popup--top{height:var(--calendar-popup-height,80%)}.van-calendar__popup--left,.van-calendar__popup--right{height:100%}.van-calendar__body{-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.van-calendar__footer{flex-shrink:0;padding:0 var(--padding-md,16px)}.van-calendar__footer--safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer+.van-calendar__footer,.van-calendar__footer:empty{display:none}.van-calendar__footer:empty+.van-calendar__footer{display:block!important}.van-calendar__confirm{height:var(--calendar-confirm-button-height,36px)!important;line-height:var(--calendar-confirm-button-line-height,34px)!important;margin:var(--calendar-confirm-button-margin,7px 0)!important}

+ 12 - 0
node_modules/@vant/weapp/dist/calendar/utils.d.ts

@@ -0,0 +1,12 @@
+export declare const ROW_HEIGHT = 64;
+export declare function formatMonthTitle(date: Date): string;
+export declare function compareMonth(date1: Date | number, date2: Date | number): 1 | -1 | 0;
+export declare function compareDay(day1: Date | number, day2: Date | number): 1 | -1 | 0;
+export declare function getDayByOffset(date: Date, offset: number): Date;
+export declare function getPrevDay(date: Date): Date;
+export declare function getNextDay(date: Date): Date;
+export declare function getToday(): Date;
+export declare function calcDateNum(date: [Date, Date]): number;
+export declare function copyDates(dates: Date | Date[]): Date | Date[];
+export declare function getMonthEndDay(year: number, month: number): number;
+export declare function getMonths(minDate: number, maxDate: number): number[];

+ 83 - 0
node_modules/@vant/weapp/dist/calendar/utils.js

@@ -0,0 +1,83 @@
+export const ROW_HEIGHT = 64;
+export function formatMonthTitle(date) {
+    if (!(date instanceof Date)) {
+        date = new Date(date);
+    }
+    return `${date.getFullYear()}年${date.getMonth() + 1}月`;
+}
+export function compareMonth(date1, date2) {
+    if (!(date1 instanceof Date)) {
+        date1 = new Date(date1);
+    }
+    if (!(date2 instanceof Date)) {
+        date2 = new Date(date2);
+    }
+    const year1 = date1.getFullYear();
+    const year2 = date2.getFullYear();
+    const month1 = date1.getMonth();
+    const month2 = date2.getMonth();
+    if (year1 === year2) {
+        return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
+    }
+    return year1 > year2 ? 1 : -1;
+}
+export function compareDay(day1, day2) {
+    if (!(day1 instanceof Date)) {
+        day1 = new Date(day1);
+    }
+    if (!(day2 instanceof Date)) {
+        day2 = new Date(day2);
+    }
+    const compareMonthResult = compareMonth(day1, day2);
+    if (compareMonthResult === 0) {
+        const date1 = day1.getDate();
+        const date2 = day2.getDate();
+        return date1 === date2 ? 0 : date1 > date2 ? 1 : -1;
+    }
+    return compareMonthResult;
+}
+export function getDayByOffset(date, offset) {
+    date = new Date(date);
+    date.setDate(date.getDate() + offset);
+    return date;
+}
+export function getPrevDay(date) {
+    return getDayByOffset(date, -1);
+}
+export function getNextDay(date) {
+    return getDayByOffset(date, 1);
+}
+export function getToday() {
+    const today = new Date();
+    today.setHours(0, 0, 0, 0);
+    return today;
+}
+export function calcDateNum(date) {
+    const day1 = new Date(date[0]).getTime();
+    const day2 = new Date(date[1]).getTime();
+    return (day2 - day1) / (1000 * 60 * 60 * 24) + 1;
+}
+export function copyDates(dates) {
+    if (Array.isArray(dates)) {
+        return dates.map((date) => {
+            if (date === null) {
+                return date;
+            }
+            return new Date(date);
+        });
+    }
+    return new Date(dates);
+}
+export function getMonthEndDay(year, month) {
+    return 32 - new Date(year, month - 1, 32).getDate();
+}
+export function getMonths(minDate, maxDate) {
+    const months = [];
+    const cursor = new Date(minDate);
+    cursor.setDate(1);
+    do {
+        months.push(cursor.getTime());
+        cursor.setMonth(cursor.getMonth() + 1);
+    } while (compareMonth(cursor, maxDate) !== 1);
+    return months;
+}

+ 25 - 0
node_modules/@vant/weapp/dist/calendar/utils.wxs

@@ -0,0 +1,25 @@
+/* eslint-disable */
+function getMonthEndDay(year, month) {
+  return 32 -  getDate(year, month - 1, 32).getDate();
+}
+
+function compareMonth(date1, date2) {
+  date1 = getDate(date1);
+  date2 = getDate(date2);
+
+  var year1 = date1.getFullYear();
+  var year2 = date2.getFullYear();
+  var month1 = date1.getMonth();
+  var month2 = date2.getMonth();
+
+  if (year1 === year2) {
+    return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
+  }
+
+  return year1 > year2 ? 1 : -1;
+}
+
+module.exports = {
+  getMonthEndDay: getMonthEndDay,
+  compareMonth: compareMonth
+};

+ 1 - 0
node_modules/@vant/weapp/dist/card/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 49 - 0
node_modules/@vant/weapp/dist/card/index.js

@@ -0,0 +1,49 @@
+import { link } from '../mixins/link';
+import { VantComponent } from '../common/component';
+VantComponent({
+    classes: [
+        'num-class',
+        'desc-class',
+        'thumb-class',
+        'title-class',
+        'price-class',
+        'origin-price-class',
+    ],
+    mixins: [link],
+    props: {
+        tag: String,
+        num: String,
+        desc: String,
+        thumb: String,
+        title: String,
+        price: {
+            type: String,
+            observer: 'updatePrice',
+        },
+        centered: Boolean,
+        lazyLoad: Boolean,
+        thumbLink: String,
+        originPrice: String,
+        thumbMode: {
+            type: String,
+            value: 'aspectFit',
+        },
+        currency: {
+            type: String,
+            value: '¥',
+        },
+    },
+    methods: {
+        updatePrice() {
+            const { price } = this.data;
+            const priceArr = price.toString().split('.');
+            this.setData({
+                integerStr: priceArr[0],
+                decimalStr: priceArr[1] ? `.${priceArr[1]}` : '',
+            });
+        },
+        onClickThumb() {
+            this.jumpLink('thumbLink');
+        },
+    },
+});

+ 6 - 0
node_modules/@vant/weapp/dist/card/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-tag": "../tag/index"
+  }
+}

+ 56 - 0
node_modules/@vant/weapp/dist/card/index.wxml

@@ -0,0 +1,56 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<view class="custom-class van-card">
+  <view class="{{ utils.bem('card__header', { center: centered }) }}">
+    <view class="van-card__thumb" bind:tap="onClickThumb">
+      <image
+        wx:if="{{ thumb }}"
+        src="{{ thumb }}"
+        mode="{{ thumbMode }}"
+        lazy-load="{{ lazyLoad }}"
+        class="van-card__img thumb-class"
+      />
+      <slot wx:else name="thumb" />
+      <van-tag
+        wx:if="{{ tag }}"
+        mark
+        type="danger"
+        custom-class="van-card__tag"
+      >
+        {{ tag }}
+      </van-tag>
+      <slot wx:else name="tag" />
+    </view>
+
+    <view class="van-card__content {{ utils.bem('card__content', { center: centered }) }}">
+      <view>
+        <view wx:if="{{ title }}" class="van-card__title title-class">{{ title }}</view>
+        <slot wx:else name="title" />
+
+        <view wx:if="{{ desc }}" class="van-card__desc desc-class">{{ desc }}</view>
+        <slot wx:else name="desc" />
+
+        <slot name="tags" />
+      </view>
+
+      <view class="van-card__bottom">
+        <slot name="price-top" />
+        <view wx:if="{{ price || price === 0 }}" class="van-card__price price-class">
+          <text>{{ currency }}</text>
+          <text class="van-card__price-integer">{{ integerStr }}</text>
+          <text class="van-card__price-decimal">{{ decimalStr }}</text>
+        </view>
+        <slot wx:else name="price" />
+        <view wx:if="{{ originPrice || originPrice === 0 }}" class="van-card__origin-price origin-price-class">{{ currency }} {{ originPrice }}</view>
+        <slot wx:else name="origin-price" />
+        <view wx:if="{{ num }}" class="van-card__num num-class">x {{ num }}</view>
+        <slot wx:else  name="num" />
+        <slot name="bottom" />
+      </view>
+    </view>
+  </view>
+
+  <view class="van-card__footer">
+    <slot name="footer" />
+  </view>
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/card/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-card{background-color:var(--card-background-color,#fafafa);box-sizing:border-box;color:var(--card-text-color,#323233);font-size:var(--card-font-size,12px);padding:var(--card-padding,8px 16px);position:relative}.van-card__header{display:flex}.van-card__header--center{align-items:center;justify-content:center}.van-card__thumb{flex:none;height:var(--card-thumb-size,88px);margin-right:var(--padding-xs,8px);position:relative;width:var(--card-thumb-size,88px)}.van-card__thumb:empty{display:none}.van-card__img{border-radius:8px;height:100%;width:100%}.van-card__content{display:flex;flex:1;flex-direction:column;justify-content:space-between;min-height:var(--card-thumb-size,88px);min-width:0;position:relative}.van-card__content--center{justify-content:center}.van-card__desc,.van-card__title{word-wrap:break-word}.van-card__title{font-weight:700;line-height:var(--card-title-line-height,16px)}.van-card__desc{color:var(--card-desc-color,#646566);line-height:var(--card-desc-line-height,20px)}.van-card__bottom{line-height:20px}.van-card__price{color:var(--card-price-color,#ee0a24);display:inline-block;font-size:var(--card-price-font-size,12px);font-weight:700}.van-card__price-integer{font-size:var(--card-price-integer-font-size,16px)}.van-card__price-decimal,.van-card__price-integer{font-family:var(--card-price-font-family,Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif)}.van-card__origin-price{color:var(--card-origin-price-color,#646566);display:inline-block;font-size:var(--card-origin-price-font-size,10px);margin-left:5px;text-decoration:line-through}.van-card__num{float:right}.van-card__tag{left:0;position:absolute!important;top:2px}.van-card__footer{flex:none;text-align:right;width:100%}

+ 1 - 0
node_modules/@vant/weapp/dist/cell-group/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 11 - 0
node_modules/@vant/weapp/dist/cell-group/index.js

@@ -0,0 +1,11 @@
+import { VantComponent } from '../common/component';
+VantComponent({
+    props: {
+        title: String,
+        border: {
+            type: Boolean,
+            value: true,
+        },
+        inset: Boolean,
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/cell-group/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 11 - 0
node_modules/@vant/weapp/dist/cell-group/index.wxml

@@ -0,0 +1,11 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<view
+  wx:if="{{ title }}"
+  class="{{ utils.bem('cell-group__title', { inset }) }}"
+>
+  {{ title }}
+</view>
+<view class="custom-class {{ utils.bem('cell-group', { inset }) }} {{ border ? 'van-hairline--top-bottom' : '' }}">
+  <slot />
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/cell-group/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-cell-group--inset{border-radius:var(--cell-group-inset-border-radius,8px);margin:var(--cell-group-inset-padding,0 16px);overflow:hidden}.van-cell-group__title{color:var(--cell-group-title-color,#969799);font-size:var(--cell-group-title-font-size,14px);line-height:var(--cell-group-title-line-height,16px);padding:var(--cell-group-title-padding,16px 16px 8px)}.van-cell-group__title--inset{padding:var(--cell-group-inset-title-padding,16px 16px 8px 32px)}

+ 1 - 0
node_modules/@vant/weapp/dist/cell/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 38 - 0
node_modules/@vant/weapp/dist/cell/index.js

@@ -0,0 +1,38 @@
+import { link } from '../mixins/link';
+import { VantComponent } from '../common/component';
+VantComponent({
+    classes: [
+        'title-class',
+        'label-class',
+        'value-class',
+        'right-icon-class',
+        'hover-class',
+    ],
+    mixins: [link],
+    props: {
+        title: null,
+        value: null,
+        icon: String,
+        size: String,
+        label: String,
+        center: Boolean,
+        isLink: Boolean,
+        required: Boolean,
+        clickable: Boolean,
+        titleWidth: String,
+        customStyle: String,
+        arrowDirection: String,
+        useLabelSlot: Boolean,
+        border: {
+            type: Boolean,
+            value: true,
+        },
+        titleStyle: String,
+    },
+    methods: {
+        onClick(event) {
+            this.$emit('click', event.detail);
+            this.jumpLink();
+        },
+    },
+});

+ 6 - 0
node_modules/@vant/weapp/dist/cell/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-icon": "../icon/index"
+  }
+}

+ 47 - 0
node_modules/@vant/weapp/dist/cell/index.wxml

@@ -0,0 +1,47 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+<wxs src="./index.wxs" module="computed" />
+
+<view
+  class="custom-class {{ utils.bem('cell', [size, { center, required, borderless: !border, clickable: isLink || clickable }]) }}"
+  hover-class="van-cell--hover hover-class"
+  hover-stay-time="70"
+  style="{{ customStyle }}"
+  bind:tap="onClick"
+>
+  <van-icon
+    wx:if="{{ icon }}"
+    name="{{ icon }}"
+    class="van-cell__left-icon-wrap"
+    custom-class="van-cell__left-icon"
+  />
+  <slot wx:else name="icon" />
+
+  <view
+    style="{{ computed.titleStyle({ titleWidth, titleStyle }) }}"
+    class="van-cell__title title-class"
+  >
+
+    <block wx:if="{{ title }}">{{ title }}</block>
+    <slot wx:else name="title" />
+
+    <view wx:if="{{ label || useLabelSlot }}" class="van-cell__label label-class">
+      <slot wx:if="{{ useLabelSlot }}" name="label" />
+      <block wx:elif="{{ label }}">{{ label }}</block>
+    </view>
+  </view>
+
+  <view class="van-cell__value value-class">
+    <block wx:if="{{ value || value === 0 }}">{{ value }}</block>
+    <slot wx:else />
+  </view>
+
+  <van-icon
+    wx:if="{{ isLink }}"
+    name="{{ arrowDirection ? 'arrow' + '-' + arrowDirection : 'arrow' }}"
+    class="van-cell__right-icon-wrap right-icon-class"
+    custom-class="van-cell__right-icon"
+  />
+  <slot wx:else name="right-icon" />
+
+  <slot name="extra" />
+</view>

+ 17 - 0
node_modules/@vant/weapp/dist/cell/index.wxs

@@ -0,0 +1,17 @@
+/* eslint-disable */
+var style = require('../wxs/style.wxs');
+var addUnit = require('../wxs/add-unit.wxs');
+
+function titleStyle(data) {
+  return style([
+    {
+      'max-width': addUnit(data.titleWidth),
+      'min-width': addUnit(data.titleWidth),
+    },
+    data.titleStyle,
+  ]);
+}
+
+module.exports = {
+  titleStyle: titleStyle,
+};

文件差異過大導致無法顯示
+ 0 - 0
node_modules/@vant/weapp/dist/cell/index.wxss


+ 1 - 0
node_modules/@vant/weapp/dist/checkbox-group/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 36 - 0
node_modules/@vant/weapp/dist/checkbox-group/index.js

@@ -0,0 +1,36 @@
+import { useChildren } from '../common/relation';
+import { VantComponent } from '../common/component';
+VantComponent({
+    field: true,
+    relation: useChildren('checkbox', function (target) {
+        this.updateChild(target);
+    }),
+    props: {
+        max: Number,
+        value: {
+            type: Array,
+            observer: 'updateChildren',
+        },
+        disabled: {
+            type: Boolean,
+            observer: 'updateChildren',
+        },
+        direction: {
+            type: String,
+            value: 'vertical',
+        },
+    },
+    methods: {
+        updateChildren() {
+            this.children.forEach((child) => this.updateChild(child));
+        },
+        updateChild(child) {
+            const { value, disabled, direction } = this.data;
+            child.setData({
+                value: value.indexOf(child.data.name) !== -1,
+                parentDisabled: disabled,
+                direction,
+            });
+        },
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/checkbox-group/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 5 - 0
node_modules/@vant/weapp/dist/checkbox-group/index.wxml

@@ -0,0 +1,5 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<view class="{{ utils.bem('checkbox-group', [{ horizontal: direction === 'horizontal' }]) }}">
+  <slot />
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/checkbox-group/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}

+ 1 - 0
node_modules/@vant/weapp/dist/checkbox/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 77 - 0
node_modules/@vant/weapp/dist/checkbox/index.js

@@ -0,0 +1,77 @@
+import { useParent } from '../common/relation';
+import { VantComponent } from '../common/component';
+function emit(target, value) {
+    target.$emit('input', value);
+    target.$emit('change', value);
+}
+VantComponent({
+    field: true,
+    relation: useParent('checkbox-group'),
+    classes: ['icon-class', 'label-class'],
+    props: {
+        value: Boolean,
+        disabled: Boolean,
+        useIconSlot: Boolean,
+        checkedColor: String,
+        labelPosition: {
+            type: String,
+            value: 'right',
+        },
+        labelDisabled: Boolean,
+        shape: {
+            type: String,
+            value: 'round',
+        },
+        iconSize: {
+            type: null,
+            value: 20,
+        },
+    },
+    data: {
+        parentDisabled: false,
+        direction: 'vertical',
+    },
+    methods: {
+        emitChange(value) {
+            if (this.parent) {
+                this.setParentValue(this.parent, value);
+            }
+            else {
+                emit(this, value);
+            }
+        },
+        toggle() {
+            const { parentDisabled, disabled, value } = this.data;
+            if (!disabled && !parentDisabled) {
+                this.emitChange(!value);
+            }
+        },
+        onClickLabel() {
+            const { labelDisabled, parentDisabled, disabled, value } = this.data;
+            if (!disabled && !labelDisabled && !parentDisabled) {
+                this.emitChange(!value);
+            }
+        },
+        setParentValue(parent, value) {
+            const parentValue = parent.data.value.slice();
+            const { name } = this.data;
+            const { max } = parent.data;
+            if (value) {
+                if (max && parentValue.length >= max) {
+                    return;
+                }
+                if (parentValue.indexOf(name) === -1) {
+                    parentValue.push(name);
+                    emit(parent, parentValue);
+                }
+            }
+            else {
+                const index = parentValue.indexOf(name);
+                if (index !== -1) {
+                    parentValue.splice(index, 1);
+                    emit(parent, parentValue);
+                }
+            }
+        },
+    },
+});

+ 6 - 0
node_modules/@vant/weapp/dist/checkbox/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-icon": "../icon/index"
+  }
+}

+ 31 - 0
node_modules/@vant/weapp/dist/checkbox/index.wxml

@@ -0,0 +1,31 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+<wxs src="./index.wxs" module="computed" />
+
+<view class="{{ utils.bem('checkbox', [{ horizontal: direction === 'horizontal' }]) }} custom-class">
+  <view
+    wx:if="{{ labelPosition === 'left' }}"
+    class="label-class {{ utils.bem('checkbox__label', [labelPosition, { disabled: disabled || parentDisabled }]) }}"
+    bindtap="onClickLabel"
+  >
+    <slot />
+  </view>
+  <view class="van-checkbox__icon-wrap" bindtap="toggle">
+    <slot wx:if="{{ useIconSlot }}" name="icon" />
+    <van-icon
+      wx:else
+      name="success"
+      size="0.8em"
+      class="{{ utils.bem('checkbox__icon', [shape, { disabled: disabled || parentDisabled, checked: value }]) }}"
+      style="{{ computed.iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) }}"
+      custom-class="icon-class"
+      custom-style="line-height: 1.25em;"
+    />
+  </view>
+  <view
+    wx:if="{{ labelPosition === 'right' }}"
+    class="label-class {{ utils.bem('checkbox__label', [labelPosition, { disabled: disabled || parentDisabled }]) }}"
+    bindtap="onClickLabel"
+  >
+    <slot />
+  </view>
+</view>

+ 20 - 0
node_modules/@vant/weapp/dist/checkbox/index.wxs

@@ -0,0 +1,20 @@
+/* eslint-disable */
+var style = require('../wxs/style.wxs');
+var addUnit = require('../wxs/add-unit.wxs');
+
+function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) {
+  var styles = {
+    'font-size': addUnit(iconSize),
+  };
+
+  if (checkedColor && value && !disabled && !parentDisabled) {
+    styles['border-color'] = checkedColor;
+    styles['background-color'] = checkedColor;
+  }
+
+  return style(styles);
+}
+
+module.exports = {
+  iconStyle: iconStyle,
+};

+ 1 - 0
node_modules/@vant/weapp/dist/checkbox/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-checkbox{align-items:center;display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-checkbox--horizontal{margin-right:12px}.van-checkbox__icon-wrap,.van-checkbox__label{line-height:var(--checkbox-size,20px)}.van-checkbox__icon-wrap{flex:none}.van-checkbox__icon{align-items:center;border:1px solid var(--checkbox-border-color,#c8c9cc);box-sizing:border-box;color:transparent;display:flex;font-size:var(--checkbox-size,20px);height:1em;justify-content:center;text-align:center;transition-duration:var(--checkbox-transition-duration,.2s);transition-property:color,border-color,background-color;width:1em}.van-checkbox__icon--round{border-radius:100%}.van-checkbox__icon--checked{background-color:var(--checkbox-checked-icon-color,#1989fa);border-color:var(--checkbox-checked-icon-color,#1989fa);color:#fff}.van-checkbox__icon--disabled{background-color:var(--checkbox-disabled-background-color,#ebedf0);border-color:var(--checkbox-disabled-icon-color,#c8c9cc)}.van-checkbox__icon--disabled.van-checkbox__icon--checked{color:var(--checkbox-disabled-icon-color,#c8c9cc)}.van-checkbox__label{word-wrap:break-word;color:var(--checkbox-label-color,#323233);padding-left:var(--checkbox-label-margin,10px)}.van-checkbox__label--left{float:left;margin:0 var(--checkbox-label-margin,10px) 0 0}.van-checkbox__label--disabled{color:var(--checkbox-disabled-label-color,#c8c9cc)}.van-checkbox__label:empty{margin:0}

+ 4 - 0
node_modules/@vant/weapp/dist/circle/canvas.d.ts

@@ -0,0 +1,4 @@
+/// <reference types="miniprogram-api-typings" />
+declare type CanvasContext = WechatMiniprogram.CanvasContext;
+export declare function adaptor(ctx: CanvasContext & Record<string, unknown>): CanvasContext;
+export {};

+ 43 - 0
node_modules/@vant/weapp/dist/circle/canvas.js

@@ -0,0 +1,43 @@
+export function adaptor(ctx) {
+    // @ts-ignore
+    return Object.assign(ctx, {
+        setStrokeStyle(val) {
+            ctx.strokeStyle = val;
+        },
+        setLineWidth(val) {
+            ctx.lineWidth = val;
+        },
+        setLineCap(val) {
+            ctx.lineCap = val;
+        },
+        setFillStyle(val) {
+            ctx.fillStyle = val;
+        },
+        setFontSize(val) {
+            ctx.font = String(val);
+        },
+        setGlobalAlpha(val) {
+            ctx.globalAlpha = val;
+        },
+        setLineJoin(val) {
+            ctx.lineJoin = val;
+        },
+        setTextAlign(val) {
+            ctx.textAlign = val;
+        },
+        setMiterLimit(val) {
+            ctx.miterLimit = val;
+        },
+        setShadow(offsetX, offsetY, blur, color) {
+            ctx.shadowOffsetX = offsetX;
+            ctx.shadowOffsetY = offsetY;
+            ctx.shadowBlur = blur;
+            ctx.shadowColor = color;
+        },
+        setTextBaseline(val) {
+            ctx.textBaseline = val;
+        },
+        createCircularGradient() { },
+        draw() { },
+    });
+}

+ 1 - 0
node_modules/@vant/weapp/dist/circle/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 193 - 0
node_modules/@vant/weapp/dist/circle/index.js

@@ -0,0 +1,193 @@
+import { BLUE, WHITE } from '../common/color';
+import { VantComponent } from '../common/component';
+import { getSystemInfoSync } from '../common/utils';
+import { isObj } from '../common/validator';
+import { canIUseCanvas2d } from '../common/version';
+import { adaptor } from './canvas';
+function format(rate) {
+    return Math.min(Math.max(rate, 0), 100);
+}
+const PERIMETER = 2 * Math.PI;
+const BEGIN_ANGLE = -Math.PI / 2;
+const STEP = 1;
+VantComponent({
+    props: {
+        text: String,
+        lineCap: {
+            type: String,
+            value: 'round',
+        },
+        value: {
+            type: Number,
+            value: 0,
+            observer: 'reRender',
+        },
+        speed: {
+            type: Number,
+            value: 50,
+        },
+        size: {
+            type: Number,
+            value: 100,
+            observer() {
+                this.drawCircle(this.currentValue);
+            },
+        },
+        fill: String,
+        layerColor: {
+            type: String,
+            value: WHITE,
+        },
+        color: {
+            type: null,
+            value: BLUE,
+            observer() {
+                this.setHoverColor().then(() => {
+                    this.drawCircle(this.currentValue);
+                });
+            },
+        },
+        type: {
+            type: String,
+            value: '',
+        },
+        strokeWidth: {
+            type: Number,
+            value: 4,
+        },
+        clockwise: {
+            type: Boolean,
+            value: true,
+        },
+    },
+    data: {
+        hoverColor: BLUE,
+    },
+    methods: {
+        getContext() {
+            const { type, size } = this.data;
+            if (type === '' || !canIUseCanvas2d()) {
+                const ctx = wx.createCanvasContext('van-circle', this);
+                return Promise.resolve(ctx);
+            }
+            const dpr = getSystemInfoSync().pixelRatio;
+            return new Promise((resolve) => {
+                wx.createSelectorQuery()
+                    .in(this)
+                    .select('#van-circle')
+                    .node()
+                    .exec((res) => {
+                    const canvas = res[0].node;
+                    const ctx = canvas.getContext(type);
+                    if (!this.inited) {
+                        this.inited = true;
+                        canvas.width = size * dpr;
+                        canvas.height = size * dpr;
+                        ctx.scale(dpr, dpr);
+                    }
+                    resolve(adaptor(ctx));
+                });
+            });
+        },
+        setHoverColor() {
+            const { color, size } = this.data;
+            if (isObj(color)) {
+                return this.getContext().then((context) => {
+                    const LinearColor = context.createLinearGradient(size, 0, 0, 0);
+                    Object.keys(color)
+                        .sort((a, b) => parseFloat(a) - parseFloat(b))
+                        .map((key) => LinearColor.addColorStop(parseFloat(key) / 100, color[key]));
+                    this.hoverColor = LinearColor;
+                });
+            }
+            this.hoverColor = color;
+            return Promise.resolve();
+        },
+        presetCanvas(context, strokeStyle, beginAngle, endAngle, fill) {
+            const { strokeWidth, lineCap, clockwise, size } = this.data;
+            const position = size / 2;
+            const radius = position - strokeWidth / 2;
+            context.setStrokeStyle(strokeStyle);
+            context.setLineWidth(strokeWidth);
+            context.setLineCap(lineCap);
+            context.beginPath();
+            context.arc(position, position, radius, beginAngle, endAngle, !clockwise);
+            context.stroke();
+            if (fill) {
+                context.setFillStyle(fill);
+                context.fill();
+            }
+        },
+        renderLayerCircle(context) {
+            const { layerColor, fill } = this.data;
+            this.presetCanvas(context, layerColor, 0, PERIMETER, fill);
+        },
+        renderHoverCircle(context, formatValue) {
+            const { clockwise } = this.data;
+            // 结束角度
+            const progress = PERIMETER * (formatValue / 100);
+            const endAngle = clockwise
+                ? BEGIN_ANGLE + progress
+                : 3 * Math.PI - (BEGIN_ANGLE + progress);
+            this.presetCanvas(context, this.hoverColor, BEGIN_ANGLE, endAngle);
+        },
+        drawCircle(currentValue) {
+            const { size } = this.data;
+            this.getContext().then((context) => {
+                context.clearRect(0, 0, size, size);
+                this.renderLayerCircle(context);
+                const formatValue = format(currentValue);
+                if (formatValue !== 0) {
+                    this.renderHoverCircle(context, formatValue);
+                }
+                context.draw();
+            });
+        },
+        reRender() {
+            // tofector 动画暂时没有想到好的解决方案
+            const { value, speed } = this.data;
+            if (speed <= 0 || speed > 1000) {
+                this.drawCircle(value);
+                return;
+            }
+            this.clearMockInterval();
+            this.currentValue = this.currentValue || 0;
+            const run = () => {
+                this.interval = setTimeout(() => {
+                    if (this.currentValue !== value) {
+                        if (Math.abs(this.currentValue - value) < STEP) {
+                            this.currentValue = value;
+                        }
+                        else if (this.currentValue < value) {
+                            this.currentValue += STEP;
+                        }
+                        else {
+                            this.currentValue -= STEP;
+                        }
+                        this.drawCircle(this.currentValue);
+                        run();
+                    }
+                    else {
+                        this.clearMockInterval();
+                    }
+                }, 1000 / speed);
+            };
+            run();
+        },
+        clearMockInterval() {
+            if (this.interval) {
+                clearTimeout(this.interval);
+                this.interval = null;
+            }
+        },
+    },
+    mounted() {
+        this.currentValue = this.data.value;
+        this.setHoverColor().then(() => {
+            this.drawCircle(this.currentValue);
+        });
+    },
+    destroyed() {
+        this.clearMockInterval();
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/circle/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 9 - 0
node_modules/@vant/weapp/dist/circle/index.wxml

@@ -0,0 +1,9 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<view class="van-circle">
+  <canvas class="van-circle__canvas" type="{{ type }}" style="width: {{ utils.addUnit(size) }};height:{{ utils.addUnit(size) }}" id="van-circle" canvas-id="van-circle"></canvas>
+  <view wx:if="{{ !text }}" class="van-circle__text">
+    <slot></slot>
+  </view>
+  <cover-view wx:else class="van-circle__text">{{ text }}</cover-view>
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/circle/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%}

+ 1 - 0
node_modules/@vant/weapp/dist/col/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 9 - 0
node_modules/@vant/weapp/dist/col/index.js

@@ -0,0 +1,9 @@
+import { useParent } from '../common/relation';
+import { VantComponent } from '../common/component';
+VantComponent({
+    relation: useParent('row'),
+    props: {
+        span: Number,
+        offset: Number,
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/col/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 9 - 0
node_modules/@vant/weapp/dist/col/index.wxml

@@ -0,0 +1,9 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+<wxs src="./index.wxs" module="computed" />
+
+<view
+  class="custom-class {{ utils.bem('col', [span]) }} {{ offset ? 'van-col--offset-' + offset : '' }}"
+  style="{{ computed.rootStyle({ gutter }) }}"
+>
+  <slot />
+</view>

+ 18 - 0
node_modules/@vant/weapp/dist/col/index.wxs

@@ -0,0 +1,18 @@
+/* eslint-disable */
+var style = require('../wxs/style.wxs');
+var addUnit = require('../wxs/add-unit.wxs');
+
+function rootStyle(data) {
+  if (!data.gutter) {
+    return '';
+  }
+
+  return style({
+    'padding-right': addUnit(data.gutter / 2),
+    'padding-left': addUnit(data.gutter / 2),
+  });
+}
+
+module.exports = {
+  rootStyle: rootStyle,
+};

+ 1 - 0
node_modules/@vant/weapp/dist/col/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-col{box-sizing:border-box;float:left}.van-col--1{width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{width:100%}.van-col--offset-24{margin-left:100%}

+ 2 - 0
node_modules/@vant/weapp/dist/collapse-item/animate.d.ts

@@ -0,0 +1,2 @@
+/// <reference types="miniprogram-api-typings" />
+export declare function setContentAnimate(context: WechatMiniprogram.Component.TrivialInstance, expanded: boolean, mounted: boolean): void;

+ 61 - 0
node_modules/@vant/weapp/dist/collapse-item/animate.js

@@ -0,0 +1,61 @@
+import { canIUseAnimate } from '../common/version';
+import { getRect } from '../common/utils';
+function useAnimate(context, expanded, mounted, height) {
+    const selector = '.van-collapse-item__wrapper';
+    if (expanded) {
+        context.animate(selector, [
+            { height: 0, ease: 'ease-in-out', offset: 0 },
+            { height: `${height}px`, ease: 'ease-in-out', offset: 1 },
+            { height: `auto`, ease: 'ease-in-out', offset: 1 },
+        ], mounted ? 300 : 0, () => {
+            context.clearAnimation(selector);
+        });
+        return;
+    }
+    context.animate(selector, [
+        { height: `${height}px`, ease: 'ease-in-out', offset: 0 },
+        { height: 0, ease: 'ease-in-out', offset: 1 },
+    ], 300, () => {
+        context.clearAnimation(selector);
+    });
+}
+function useAnimation(context, expanded, mounted, height) {
+    const animation = wx.createAnimation({
+        duration: 0,
+        timingFunction: 'ease-in-out',
+    });
+    if (expanded) {
+        if (height === 0) {
+            animation.height('auto').top(1).step();
+        }
+        else {
+            animation
+                .height(height)
+                .top(1)
+                .step({
+                duration: mounted ? 300 : 1,
+            })
+                .height('auto')
+                .step();
+        }
+        context.setData({
+            animation: animation.export(),
+        });
+        return;
+    }
+    animation.height(height).top(0).step({ duration: 1 }).height(0).step({
+        duration: 300,
+    });
+    context.setData({
+        animation: animation.export(),
+    });
+}
+export function setContentAnimate(context, expanded, mounted) {
+    getRect(context, '.van-collapse-item__content')
+        .then((rect) => rect.height)
+        .then((height) => {
+        canIUseAnimate()
+            ? useAnimate(context, expanded, mounted, height)
+            : useAnimation(context, expanded, mounted, height);
+    });
+}

+ 1 - 0
node_modules/@vant/weapp/dist/collapse-item/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 59 - 0
node_modules/@vant/weapp/dist/collapse-item/index.js

@@ -0,0 +1,59 @@
+import { VantComponent } from '../common/component';
+import { useParent } from '../common/relation';
+import { setContentAnimate } from './animate';
+VantComponent({
+    classes: ['title-class', 'content-class'],
+    relation: useParent('collapse'),
+    props: {
+        name: null,
+        title: null,
+        value: null,
+        icon: String,
+        label: String,
+        disabled: Boolean,
+        clickable: Boolean,
+        border: {
+            type: Boolean,
+            value: true,
+        },
+        isLink: {
+            type: Boolean,
+            value: true,
+        },
+    },
+    data: {
+        expanded: false,
+    },
+    mounted() {
+        this.updateExpanded();
+        this.mounted = true;
+    },
+    methods: {
+        updateExpanded() {
+            if (!this.parent) {
+                return;
+            }
+            const { value, accordion } = this.parent.data;
+            const { children = [] } = this.parent;
+            const { name } = this.data;
+            const index = children.indexOf(this);
+            const currentName = name == null ? index : name;
+            const expanded = accordion
+                ? value === currentName
+                : (value || []).some((name) => name === currentName);
+            if (expanded !== this.data.expanded) {
+                setContentAnimate(this, expanded, this.mounted);
+            }
+            this.setData({ index, expanded });
+        },
+        onClick() {
+            if (this.data.disabled) {
+                return;
+            }
+            const { name, expanded } = this.data;
+            const index = this.parent.children.indexOf(this);
+            const currentName = name == null ? index : name;
+            this.parent.switch(currentName, !expanded);
+        },
+    },
+});

+ 6 - 0
node_modules/@vant/weapp/dist/collapse-item/index.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "van-cell": "../cell/index"
+  }
+}

+ 44 - 0
node_modules/@vant/weapp/dist/collapse-item/index.wxml

@@ -0,0 +1,44 @@
+<wxs src="../wxs/utils.wxs" module="utils" />
+
+<view class="van-collapse-item custom-class {{ index !== 0 ? 'van-hairline--top' : '' }}">
+  <van-cell
+    title="{{ title }}"
+    title-class="title-class"
+    icon="{{ icon }}"
+    value="{{ value }}"
+    label="{{ label }}"
+    is-link="{{ isLink }}"
+    clickable="{{ clickable }}"
+    border="{{ border && expanded }}"
+    class="{{ utils.bem('collapse-item__title', { disabled, expanded }) }}"
+    right-icon-class="van-cell__right-icon"
+    custom-class="van-cell"
+    hover-class="van-cell--hover"
+    bind:click="onClick"
+  >
+    <slot
+      name="title"
+      slot="title"
+    />
+    <slot
+      name="icon"
+      slot="icon"
+    />
+    <slot name="value" />
+    <slot
+      name="right-icon"
+      slot="right-icon"
+    />
+  </van-cell>
+  <view
+    class="{{ utils.bem('collapse-item__wrapper') }}"
+    style="height: 0;"
+    animation="{{ animation }}"
+  >
+    <view
+      class="van-collapse-item__content content-class"
+    >
+      <slot />
+    </view>
+  </view>
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/collapse-item/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{transform:rotate(90deg);transition:transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__content{background-color:var(--collapse-item-content-background-color,#fff);color:var(--collapse-item-content-text-color,#969799);font-size:var(--collapse-item-content-font-size,13px);line-height:var(--collapse-item-content-line-height,1.5);padding:var(--collapse-item-content-padding,15px)}

+ 1 - 0
node_modules/@vant/weapp/dist/collapse/index.d.ts

@@ -0,0 +1 @@
+export {};

+ 46 - 0
node_modules/@vant/weapp/dist/collapse/index.js

@@ -0,0 +1,46 @@
+import { VantComponent } from '../common/component';
+import { useChildren } from '../common/relation';
+VantComponent({
+    relation: useChildren('collapse-item'),
+    props: {
+        value: {
+            type: null,
+            observer: 'updateExpanded',
+        },
+        accordion: {
+            type: Boolean,
+            observer: 'updateExpanded',
+        },
+        border: {
+            type: Boolean,
+            value: true,
+        },
+    },
+    methods: {
+        updateExpanded() {
+            this.children.forEach((child) => {
+                child.updateExpanded();
+            });
+        },
+        switch(name, expanded) {
+            const { accordion, value } = this.data;
+            const changeItem = name;
+            if (!accordion) {
+                name = expanded
+                    ? (value || []).concat(name)
+                    : (value || []).filter((activeName) => activeName !== name);
+            }
+            else {
+                name = expanded ? name : '';
+            }
+            if (expanded) {
+                this.$emit('open', changeItem);
+            }
+            else {
+                this.$emit('close', changeItem);
+            }
+            this.$emit('change', name);
+            this.$emit('input', name);
+        },
+    },
+});

+ 3 - 0
node_modules/@vant/weapp/dist/collapse/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 3 - 0
node_modules/@vant/weapp/dist/collapse/index.wxml

@@ -0,0 +1,3 @@
+<view class="custom-class van-collapse {{ border ? 'van-hairline--top-bottom' : '' }}">
+  <slot />
+</view>

+ 1 - 0
node_modules/@vant/weapp/dist/collapse/index.wxss

@@ -0,0 +1 @@
+@import '../common/index.wxss';

+ 7 - 0
node_modules/@vant/weapp/dist/common/color.d.ts

@@ -0,0 +1,7 @@
+export declare const RED = "#ee0a24";
+export declare const BLUE = "#1989fa";
+export declare const WHITE = "#fff";
+export declare const GREEN = "#07c160";
+export declare const ORANGE = "#ff976a";
+export declare const GRAY = "#323233";
+export declare const GRAY_DARK = "#969799";

部分文件因文件數量過多而無法顯示