Giter VIP home page Giter VIP logo

wx.coreiv's Introduction

wx.CoreIV

一、快速集成:

1.复制CoreIV到FrameWorks目录

2.集成js文件,到当前js页面:

let CoreIV = require("../FrameWorks/CoreIV/CoreIV.js")

3.集成wxml文件,到当前js页面:

<import src="/pages/FrameWorks/CoreIV/CoreIV.wxml" />
<template is="CoreIV" data="{{...CoreIVData}}"></template>

4.集成wxss文件,到当前app.css文件:

@import "/pages/FrameWorks/CoreIV/CoreIV.wxss";

二、快速使用:

//加载中
CoreIV.showLoadingInVC(this)
//暂无数据
CoreIV.showNoDataInVC(this)
//加载失败,第二个选填参数可自定义错误信息
CoreIV.showErrorInVC(this)
//dismiss
CoreIV.dismissFromVC(this)

//用户点击了空视图
CoreIVClickAction: function(e){
  //0.加载中 1.暂无数据 2.加载失败
  let index = e.currentTarget.dataset.index
}

wx.coreiv's People

Contributors

charlinfeng avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.