2019-01-18 小程序使用iview weapp 组件库

1、安装iview weapp

    到 GitHub 下载 iView Weapp 的代码,将 dist 目录拷贝到自己的项目中

2、具体组件的使用

    

    在将要使用的页面文件夹下的json文件中配置

    {

        "usingComponents": {

            "i-tabs": "../../dist/tabs/index",

            "i-tab": "../../dist/tab/index",

            "i-drawer": "../../dist/drawer/index",

            "i-row": "../../dist/row/index",

            "i-col": "../../dist/col/index",

            "i-load-more": "../../dist/load-more/index"

  }

    }

3、在页面中使用

    <i-row>

        <i-col span='6'></i-col>

    </i-row>

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 13,143评论 0 13
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,663评论 2 45
  • echarts option 配置项echarts 文档 在线转pdfOGIS开发中心
    米诺zuo阅读 1,150评论 0 0
  • 天方地圆 不知道为什么 天 一高再高 地 一低在低 但它们 都能驱动所有心的灵魂 人往往都会花费很多的时间 在一个...
    老武家阅读 1,755评论 0 0