提交 e326ec99 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(transition): 适配 harmony transform rotate

上级 2ff01161
......@@ -80,8 +80,8 @@
<view class="container">
<text class="text">在组件内滑动测试是否闪动</text>
<view class="base-style transition-transform" id="styleTransformTranslateScale" @touchmove="handleTouchMove" @touchstart="handleTouchStart" @touchend="handleTouchEnd">
这是一段文字
<view class="base-style transition-transform" id="styleTransformTranslateScale" @touchmove="handleTouchMove" @touchstart="handleTouchStart" @touchend="handleTouchEnd">
这是一段文字
</view>
</view>
<!-- #ifdef APP -->
......@@ -355,7 +355,7 @@
}
.transition-transform {
transform: translate(0%,0%) scaleX(1);
transform: translate(0%,0%) scaleX(1) rotate(0deg);
transition-property: transform;
transition-duration: 1s;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册