├── README.md ├── adUI ├── adUI.js ├── adUI.wxml ├── adUI.wxss ├── common.js └── components │ ├── index.js │ ├── modal.js │ └── toast.js ├── app.js ├── app.json ├── app.wxss └── pages └── index ├── index.js ├── index.json ├── index.wxml └── index.wxss /README.md: -------------------------------------------------------------------------------- 1 | #How to use it 2 | 3 | ###1.at app.js require adUI and init it 4 | ```js 5 | var adUI = require('./adUI/adUI') 6 | 7 | App({ 8 | onLaunch: function () { 9 | adUI.init(this) 10 | }, 11 | onShow: function () { 12 | }, 13 | onHide: function () { 14 | } 15 | }) 16 | ``` 17 | ###2.at app.wxss bottom import adUI style 18 | ```css 19 | @import './adUI/adUI.wxss' 20 | ``` 21 | ###3.import template where you use the page 22 | ```html 23 | 24 |