使用uni-cli创建的vue3项目,js,moveable-view在iOS环境下缩放和移动失效,微信内置浏览器,系统自带safari都失效,将hello-uniapp中的代码粘贴过来也失效,是需要针对iOS做什么配置或者修改吗
<movable-area class="area" scale-area>
<movable-view class="body" direction="all" scale scale-min="0.8" scale-max="5">
text
</movable-view>
</movable-area>
.area {
height: calc(100vh - 44px);
width: 100%;
background-color: #D8D8D8;
overflow: hidden;
}
.body {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
background-color: #007AFF;
color: #fff;
}
0 个回复