官方您好,多个可拖动组件 只能放大第一个? 我发了两个帖子了
发布于 5 年前 作者 qiangyi 3645 次浏览 来自 问答
1 回复
<movable-area style="height: 100vw; width: 100vw; background: pink;overflow: hidden;" scale-area>
  <movable-view bindchange="" style="width:100px;height:100px;background:#ccc;" direction="all" scale scale-min="0.5" scale-max="10" scale-value="0.5"></movable-view>
  <movable-view bindchange="" style="width:100px;height:100px;background:#ccc;" direction="all" scale scale-min="0.5" scale-max="10" scale-value="0.5"></movable-view>
  <movable-view bindchange="" style="width:100px;height:100px;background:#ccc;" direction="all" scale scale-min="1.2" scale-max="10" scale-value="0.5"></movable-view>
  <movable-view bindchange="" style="width:100px;height:100px;background:#ccc;" direction="all" scale scale-min="1.3" scale-max="10" scale-value="0.5"></movable-view>
</movable-area>

我就是用你的代码加了两个 都可以的啊

回到顶部