GithubHelp home page GithubHelp logo

leon2017 / wxapp-devframe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hss01248/wxapp-devframe

1.0 2.0 0.0 520 KB

小程序基本的开发框架抽取

License: Apache License 2.0

JavaScript 100.00%

wxapp-devframe's Introduction

wxapp-devFrame

小程序基本的开发框架

提供的封装

网络访问的二次封装

内部部分字段需要根据自己具体项目进行修改

netUtil.buildRequest(page,urlTail,params,callback)//必须的参数和回调
.setXxx(xxx)//额外的设置,链式调用
...
.send();//最终发出请求的动作

页面状态管理

loading页面,空白页面,错误页面

		//netUtil
		showContent(that)
        showErrorPage(that,msg)
        showEmptyPage(that)

下拉刷新和上拉加载更多的ui和api

纯listview和gridview页面的高度封装

index

gridview

lv

blog

程序基本开发框架的搭建

wxapp-devframe's People

Contributors

hss01248 avatar

Stargazers

 avatar

Watchers

 avatar  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.