微信小程序 wxapp视图容器 view详解
时间:2021-05-30 08:44:35|栏目:JavaScript代码|点击: 次
微信小程序
view
视图容器。
示例:
<view class="section"> <view class="section__title">flex-direction: row</view> <view class="flex-wrp" style="flex-direction:row;"> <view class="flex-item bc_green">1</view> <view class="flex-item bc_red">2</view> <view class="flex-item bc_blue">3</view> </view> </view> <view class="section"> <view class="section__title">flex-direction: column</view> <view class="flex-wrp" style="height: 300px;flex-direction:column;"> <view class="flex-item bc_green">1</view> <view class="flex-item bc_red">2</view> <view class="flex-item bc_blue">3</view> </view> </view>
view

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
上一篇:js控制TR的显示隐藏
栏 目:JavaScript代码
下一篇:JavaScript中setUTCMilliseconds()方法的使用详解
本文地址:http://www.codeinn.net/misctech/131647.html






