提交 cec0f742 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

transition 示例优化描述文字

上级 703b502a
...@@ -22,17 +22,17 @@ ...@@ -22,17 +22,17 @@
</view> </view>
</view> </view>
<view class="container"> <view class="container">
<text class="text">点击修改Background</text> <text class="text">点击修改background-color和opacity</text>
<view class="base-style transition-background" id="styleBackground" @click="changeBackground"></view> <view class="base-style transition-background" id="styleBackground" @click="changeBackground"></view>
</view> </view>
<view class="container"> <view class="container">
<text class="text">点击修改Background(颜色带透明度)</text> <text class="text">点击修改background-color(rgba)</text>
<view style="flex: 1;"> <view style="flex: 1;">
<view class="base-style transition-background" id="styleBackground2" @click="changeBackground2"></view> <view class="base-style transition-background" id="styleBackground2" @click="changeBackground2"></view>
</view> </view>
</view> </view>
<view class="container"> <view class="container">
<text class="text">动态修改Background</text> <text class="text">动态修改background-color和duration</text>
<view class="base-style" id="propertyStyleBackground" @click="propertyChangeBackground"></view> <view class="base-style" id="propertyStyleBackground" @click="propertyChangeBackground"></view>
</view> </view>
<view class="container"> <view class="container">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册