码迷,mamicode.com
首页 > 微信 > 详细

什么是小程序?

时间:2018-09-21 19:47:28      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:问题   模型   play   enter   bsp   dir   手机屏幕   ack   距离   

小程序: 一种新的应用形态

  一种不要安装下载即可使用的应用

  触手可及:

    通过扫一扫,或者搜索,或者通过公众好跳转。

  用完即走:

    用户不关心是否安装太多应用的问题,应用无处不在,随时可用,无需安装,也无需卸载。

 

 

<!-- rpx: 微信把每个手机屏幕的宽度为750px -->

<!-- iphone 6  375px    750rpx=375px   1rpx=0.5px -->  

 

flexbox布局弹性盒模型

  1 display

  flex-direction     排布的方向  row(横向)      column(纵向)

 

  <view id="container">

    <view class=“cubic”></view>

    <view class=“cubic”></view>

    <view class=“cubic”></view>

    <view class=“cubic”></view>

  </view>

  #container{

    width:100%;

    height: 700rpx;

    background:#ddd;

    display:flex;

    flex-direction: row;

    /*flex-dorection: column;*/

    just-ify-content: center;

    just-ify-content: center;

    just-ify-content: center;

    just-ify-content: space-between;   中间的等距离

    just-ify-content: space-around;    所有的都是等距离

 

 

    align-items: flex-start;

    align-items: flex-end;

    align-items: strech;    /*  拉长 */

    align-items:

  }

  .cubic{

    width:100rpx;

    height:100rpx;

    background:#fff;

  }  

  

 

什么是小程序?

标签:问题   模型   play   enter   bsp   dir   手机屏幕   ack   距离   

原文地址:https://www.cnblogs.com/sklhtml/p/9687083.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!