Compare commits

...

3 Commits

Author SHA1 Message Date
eastyu
c21e39784f
add duration (#4099)
computed.wrapperStyle needs duration parameter, otherwise it will generate undefined value for transition style property
2021-04-01 20:41:25 +08:00
dependabot[bot]
e3c98c7a77
build(deps): bump y18n from 3.2.1 to 3.2.2 (#4123)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 08:59:35 +08:00
EvanOne(文一)
5dddcdb3b7
docs: fix the url of 'area.js' (#4115) 2021-03-29 09:59:53 +08:00
3 changed files with 5 additions and 5 deletions

View File

@ -146,7 +146,7 @@ db.collection('region')
}
```
完整数据见 [area.js](https://github.com/youzan/vant/blob/dev/src/area/demo/area.js)
完整数据见 [area.ts](https://github.com/youzan/vant/blob/dev/src/area/demo/area.ts)
### 点击完成时返回的数据格式

View File

@ -9,7 +9,7 @@
bind:touchend="onTouchEnd"
bind:touchcancel="onTouchEnd"
>
<view style="{{ computed.wrapperStyle({ offset, itemHeight, visibleItemCount }) }}">
<view style="{{ computed.wrapperStyle({ offset, itemHeight, visibleItemCount, duration }) }}">
<view
wx:for="{{ options }}"
wx:for-item="option"

View File

@ -12667,9 +12667,9 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1:
integrity sha1-u3J3n1+kZRhrH0OPZ0+jR/2121Q=
y18n@^3.2.1:
version "3.2.1"
resolved "https://registry.npm.taobao.org/y18n/download/y18n-3.2.1.tgz?cache=0&sync_timestamp=1601577277029&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fy18n%2Fdownload%2Fy18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
integrity sha1-bRX7qITAhnnA136I53WegR4H+kE=
version "3.2.2"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696"
integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==
y18n@^4.0.0:
version "4.0.0"