300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > 【微信小程序】横向/纵向布局(98/100)

【微信小程序】横向/纵向布局(98/100)

时间:2018-07-26 21:37:48

相关推荐

【微信小程序】横向/纵向布局(98/100)

<!--pages/flex_direction/flex_direction.wxml--><text>flex-direction: row\n横向布局</text><view class="flex-wrp" ><image style="width: 200px; height: 100px;" src="../../images/ic_img01.png" /><text>123456789</text></view><text>flex-direction: column\n纵向布局</text><view class="flex-wrp" style="flex-direction:column;"><image src="../../images/ic_img01.png" /><text>123456789</text></view>

/* pages/flex_direction/flex_direction.wxss */flex-wrp{flex-direction: row;}

功能描述

视图容器

属性说明

属性 类型 默认值 必填 说明 最低版本

hover-class string none 否 指定按下去的样式类。当 hover-class=“none” 时,没有点击态效果 1.0.0

hover-stop-propagation boolean false 否 指定是否阻止本节点的祖先节点出现点击态 1.5.0

hover-start-time number 50 否 按住后多久出现点击态,单位毫秒 1.0.0

hover-stay-time number 400 否 手指松开后点击态保留时间,单位毫秒 1.0.0

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。