MovableView 可移动的视图容器
V1.9.8+
概述
MovableView 可移动的视图容器,在页面中可以拖拽滑动,暂不支持缩放。
特别说明
- 组件为 fixed 布局,将组件放置最外层容器下,默认可在当前屏幕内移动。
- 如果组件无法满足需求,可使用官方组件 movable-view (opens new window)。
# 引入
以下介绍两种常用的引入方式。
第一种:在页面json文件中引入
{
"navigationBarTitleText": "可移动的视图容器",
"usingComponents": {
"fui-movable-view":"/components/firstui/fui-movable-view/fui-movable-view"
}
}
1
2
3
4
5
6
2
3
4
5
6
第二种:在根目录app.json文件中全局引入
"usingComponents": {
"fui-movable-view":"components/firstui/fui-movable-view/fui-movable-view"
}
1
2
3
2
3
# 代码演示
代码演示、属性列表等详细内容仅VIP用户可查看。
示例预览
# 特别说明
