view 标签

<view  hover-class="hover" hover-start-time="{{1000}}" hover-stay-time="{{3000}}" hover-stop-propagation="false">
    点我试试
</view>

hover-class="hover" 有点击hover效果
hover-start-time="{{1000}}"   开始按下多长时间变色
hover-stay-time="{{3000}}"    离开多长时间恢复原样

 

猜你喜欢

转载自www.cnblogs.com/xm666/p/11349503.html
0条评论
添加一条新回复