提交 2819cc37 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Update drop-card.uvue

上级 41f128b7
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<image class="user-img" :src="userList[1]" :style="{'height':cardHeight+'px'}"></image> <image class="user-img" :src="userList[1]" :style="{'height':cardHeight+'px'}"></image>
</view> </view>
<view @touchmove="touchmove" @touchstart="touchstart" @touchend="touchend" <view @touchmove="touchmove" @touchstart="touchstart" @touchend="touchend"
:style="{'transform':'translate('+x+'px,'+y+'px) rotate('+x/-30+'deg) translatez(0)','height':cardHeight+'px'}" class="card"> :style="{'transform':'translate('+x+'px,'+y+'px) rotate('+x/-30+'deg)','height':cardHeight+'px'}" class="card">
<image class="user-img" :src="userList[2]" :style="{'height':cardHeight+'px'}"></image> <image class="user-img" :src="userList[2]" :style="{'height':cardHeight+'px'}"></image>
<view class="state"> <view class="state">
<image class="state-icon like" :style="{'opacity':x < 0 ? 0 : movePercent * 10}" src="/static/template/drop-card/like.png" mode="widthFix"></image> <image class="state-icon like" :style="{'opacity':x < 0 ? 0 : movePercent * 10}" src="/static/template/drop-card/like.png" mode="widthFix"></image>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册