微信小程序安不安全_小程序开发基础之view视图容

小程序开发基础之view视图容器       这篇文章主要介绍了小程序开发基础之view视图容器,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

图片

// wxml
 view 
 view flex-direction: column /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

图片

// wxml
 view 
 view justify-content: flex-start /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

view

// wxml
 view 
 view justify-content: flex-end /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

view

// wxml
 view 
 view justify-content: center /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

view

// wxml
 view 
 view justify-content: space-between /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

view

// wxml
 view 
 view justify-content: space-around /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

view

// wxml
 view 
 view justify-content: space-evenly /view 
 view 
 view 1 /view 
 view 2 /view 
 view 3 /view 
 /view 
 /view 

开源github分享

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持凡科。


内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://mfjzn.cn/jingyan/3205.html