未验证 提交 80768914 编写于 作者: 折腾笔记 提交者: GitHub

Update picker-view.md

上级 ae9f5749
......@@ -8,9 +8,9 @@
|:-|:-|:-|:-|
|value|Array<Number>|数组中的数字依次表示 picker-view 内的 picker-view-column 选择的第几项(下标从 0 开始),数字大于 picker-view-column 可选项长度时,选择最后一项。||
|indicator-style|String|设置选择器中间选中框的样式||
|indicator-class|String|设置选择器中间选中框的类名|头条小程序不支持|
|indicator-class|String|设置选择器中间选中框的类名|app-nvue和头条小程序不支持|
|mask-style|String|设置蒙层的样式||
|mask-class|String|设置蒙层的类名|头条小程序不支持|
|mask-class|String|设置蒙层的类名|app-nvue和头条小程序不支持|
|@change|EventHandle|当滚动选择,value 改变时触发 change 事件,event.detail = {value: value};value为数组,表示 picker-view 内的 picker-view-column 当前选择的是第几项(下标从 0 开始)| |
**注意:**其中只可放置 `<picker-view-column/>` 组件,其他节点不会显示。
......@@ -89,5 +89,4 @@ export default {
**Tips**
- 微信小程序端,滚动时在iOS自带振动反馈,可在系统设置 -> 声音与触感 -> 系统触感反馈中关闭
- app-nvue 暂不支持 ``<picker-view>``
- 如果需要在PC端使用`picker-view`,可以配置[H5模版](https://uniapp.dcloud.io/collocation/manifest?id=h5-template),并引入[touch-emulator.js](https://github.com/dcloudio/touchemulator)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册