什么是小程序?

Posted 红尘陌上,独自行走

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了什么是小程序?相关的知识,希望对你有一定的参考价值。

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

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

  触手可及:

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

  用完即走:

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

 

 

<!-- 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;

  }  

  

 

以上是关于什么是小程序?的主要内容,如果未能解决你的问题,请参考以下文章

走进小程序什么是小程序?

到底什么是小程序插件?

什么是小程序?

小程序来了(上篇)

uniapp开发的微信小程序,没有appid可以打开吗

小程序入门--了解小程序