Skip to content

Commit

Permalink
docs: 添加PC端touch实现方法
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Oct 10, 2019
1 parent 44413c8 commit 1893a34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/component/picker-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,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)
- 如果需要在PC端使用`picker-view`,可以配置[H5模版](https://uniapp.dcloud.io/collocation/manifest?id=h5-template),并引入[touch-emulator.js](https://github.com/dcloudio/touchemulator)
2 changes: 1 addition & 1 deletion docs/component/picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ export default {
**注意**
- 在picker内容还在滚动时或滚动回弹动画还未结束时,点确定关闭弹出的picker,数据无法及时更新。需等待一下,或手动触停滚动再点确定。所有平台均如此
- app-nvue 平台,mode 目前仅支持 ``selector`` ``time`` ``date``
- 如果需要在PC端使用picker,可以配置[H5模版](https://uniapp.dcloud.io/collocation/manifest?id=h5-template),并引入[touch-emulator.js](https://github.com/dcloudio/touchemulator)
- 如果需要在PC端使用`picker`,可以配置[H5模版](https://uniapp.dcloud.io/collocation/manifest?id=h5-template),并引入[touch-emulator.js](https://github.com/dcloudio/touchemulator)
5 changes: 4 additions & 1 deletion docs/component/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ export default {

示例代码说明:以上示例代码从hello uni-app示例中复制,涉及的css样式在hello uni-app的app.vue和uni.css中

预览H5效果:使用浏览器的手机模式访问[https://uniapp.dcloud.io/h5/pages/component/slider/slider](https://uniapp.dcloud.io/h5/pages/component/slider/slider)
预览H5效果:使用浏览器的手机模式访问[https://uniapp.dcloud.io/h5/pages/component/slider/slider](https://uniapp.dcloud.io/h5/pages/component/slider/slider)

**Tips**
- 如果需要在PC端使用`slider`,可以配置[H5模版](https://uniapp.dcloud.io/collocation/manifest?id=h5-template),并引入[touch-emulator.js](https://github.com/dcloudio/touchemulator)

0 comments on commit 1893a34

Please sign in to comment.