1 fixed定位
2 @touchmove.stop (无需overflow: scroll;或overflow: auto;的可以这么设置)(vue)
触摸移动事件阻止冒泡
最优方式:
1 底部固定操作栏场景
fixed定位(底部操作栏) + @touchmove.stop + 外包裹容器页面滚动
2 一屏页面,
1 父容器fixed定位
1 fixed定位
2 @touchmove.stop (无需overflow: scroll;或overflow: auto;的可以这么设置)(vue)
触摸移动事件阻止冒泡
最优方式:
1 底部固定操作栏场景
fixed定位(底部操作栏) + @touchmove.stop + 外包裹容器页面滚动
2 一屏页面,
1 父容器fixed定位