├── .babelrc ├── .browserslistrc ├── .czrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierrc.js ├── .stylelintignore ├── .stylelintrc.js ├── .travis.yml ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── build ├── index.js └── task.js ├── commitlint.config.js ├── docs ├── .vuepress │ ├── components │ │ ├── demo-image.vue │ │ ├── logs-item.vue │ │ ├── logs-list.js │ │ └── logs.vue │ ├── config.js │ ├── config │ │ └── index.js │ ├── public │ │ ├── componentImage │ │ │ ├── basic │ │ │ │ ├── button.png │ │ │ │ ├── cell.png │ │ │ │ ├── icon.png │ │ │ │ ├── image.png │ │ │ │ ├── layout.png │ │ │ │ ├── loading.png │ │ │ │ ├── popup.gif │ │ │ │ └── transition.gif │ │ │ ├── business │ │ │ │ ├── area.png │ │ │ │ ├── card.png │ │ │ │ ├── goods-action.png │ │ │ │ └── submit-bar.png │ │ │ ├── feedback │ │ │ │ ├── action-sheet.gif │ │ │ │ ├── dialog.gif │ │ │ │ ├── dropdown-menu.gif │ │ │ │ ├── mask.gif │ │ │ │ ├── notify.gif │ │ │ │ ├── share-sheet.gif │ │ │ │ ├── swipe-cell.gif │ │ │ │ └── toast.gif │ │ │ ├── form │ │ │ │ ├── calendar.gif │ │ │ │ ├── checkbox.png │ │ │ │ ├── form.png │ │ │ │ ├── input.png │ │ │ │ ├── picker.gif │ │ │ │ ├── radio.png │ │ │ │ ├── rate.png │ │ │ │ ├── search.png │ │ │ │ ├── slider.png │ │ │ │ ├── stepper.png │ │ │ │ ├── switch.png │ │ │ │ └── uploader.png │ │ │ ├── navigation │ │ │ │ ├── backtop.gif │ │ │ │ ├── grid.png │ │ │ │ ├── index-bar.gif │ │ │ │ ├── nav-bar.png │ │ │ │ ├── sidebar.png │ │ │ │ ├── tab.gif │ │ │ │ └── tabbar.png │ │ │ └── view │ │ │ │ ├── collapse.png │ │ │ │ ├── count-down.gif │ │ │ │ ├── divider.png │ │ │ │ ├── empty.png │ │ │ │ ├── float-button.png │ │ │ │ ├── nav-bar.png │ │ │ │ ├── notice-bar.png │ │ │ │ ├── panel.png │ │ │ │ ├── password-keyboard.png │ │ │ │ ├── progress.png │ │ │ │ ├── skeleton.png │ │ │ │ ├── steps.gif │ │ │ │ ├── sticky.gif │ │ │ │ ├── tag.png │ │ │ │ ├── tree-select.gif │ │ │ │ └── water-flow.png │ │ └── images │ │ │ ├── logo_sub.png │ │ │ ├── qrcode.jpg │ │ │ ├── usenpm.png │ │ │ └── wxlogo.png │ └── styles │ │ ├── index.styl │ │ └── palette.styl ├── README.md ├── component │ ├── basic │ │ ├── button.md │ │ ├── cell.md │ │ ├── icon.md │ │ ├── image.md │ │ ├── layout.md │ │ ├── loading.md │ │ ├── popup.md │ │ └── transition.md │ ├── business │ │ ├── area.md │ │ ├── card.md │ │ ├── goods-action.md │ │ └── submit-bar.md │ ├── feedback │ │ ├── action-sheet.md │ │ ├── dialog.md │ │ ├── dropdown-menu.md │ │ ├── mask.md │ │ ├── notify.md │ │ ├── share-sheet.md │ │ ├── swipe-cell.md │ │ └── toast.md │ ├── form │ │ ├── calendar.md │ │ ├── checkbox.md │ │ ├── field.md │ │ ├── form.md │ │ ├── picker.md │ │ ├── radio.md │ │ ├── rate.md │ │ ├── search.md │ │ ├── slider.md │ │ ├── stepper.md │ │ ├── switch.md │ │ └── uploader.md │ ├── navigation │ │ ├── backtop.md │ │ ├── grid.md │ │ ├── index-bar.md │ │ ├── nav-bar.md │ │ ├── sidebar.md │ │ ├── tab.md │ │ └── tabbar.md │ └── view │ │ ├── collapse.md │ │ ├── count-down.md │ │ ├── divider.md │ │ ├── empty.md │ │ ├── float-button.md │ │ ├── notice-bar.md │ │ ├── panel.md │ │ ├── password-keyboard.md │ │ ├── progress.md │ │ ├── skeleton.md │ │ ├── steps.md │ │ ├── sticky.md │ │ ├── tag.md │ │ ├── tree-select.md │ │ └── water-flow.md ├── extends │ ├── api-cache.md │ ├── request.md │ └── storage.md └── guide │ ├── explain.md │ ├── guide.md │ ├── install.md │ ├── load.md │ ├── logs.md │ └── start.md ├── examples ├── app.js ├── app.json ├── app.wxss ├── components │ ├── componentCell │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── demoBlock │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── extend-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── navCard │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── water-flow-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── wemark │ │ ├── parser.js │ │ ├── prism.js │ │ ├── prism.wxss │ │ ├── remarkable.js │ │ ├── richtext.js │ │ ├── wemark.js │ │ ├── wemark.json │ │ ├── wemark.wxml │ │ └── wemark.wxss ├── config │ └── index.js ├── dist │ ├── action-sheet │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── area │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── backtop │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── behaviors │ │ ├── button.js │ │ ├── form-controls.js │ │ ├── link.js │ │ ├── open-type.js │ │ ├── page-scroll.js │ │ ├── safeAreaInsetTop.js │ │ └── transition.js │ ├── button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── calendar │ │ ├── calendar.wxml │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── utils.js │ ├── card │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── checkbox-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── checkbox │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── col │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── collapse-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── collapse │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── common │ │ ├── async-validator.js │ │ ├── base.wxss │ │ ├── color.js │ │ ├── component.js │ │ ├── config.js │ │ ├── is.js │ │ ├── request.js │ │ ├── types │ │ │ ├── index.js │ │ │ └── weapp.js │ │ ├── utils.js │ │ └── version.js │ ├── count-down │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── utils.js │ ├── dialog │ │ ├── dialog.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── divider │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── dropdown-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── dropdown-menu │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── props.js │ ├── empty │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── extends │ │ ├── api-cache │ │ │ └── index.js │ │ ├── request │ │ │ ├── adapters │ │ │ │ ├── download.js │ │ │ │ ├── upload.js │ │ │ │ └── xhr.js │ │ │ ├── cancel │ │ │ │ ├── Cancel.js │ │ │ │ └── CancelToken.js │ │ │ ├── core │ │ │ │ ├── Request.js │ │ │ │ ├── dispatchRequest.js │ │ │ │ ├── interceptorManager.js │ │ │ │ └── transform.js │ │ │ ├── default.js │ │ │ ├── helpers │ │ │ │ ├── error.js │ │ │ │ ├── handelRequest.js │ │ │ │ ├── headers.js │ │ │ │ └── utils.js │ │ │ ├── index.js │ │ │ ├── request.js │ │ │ └── types │ │ │ │ └── index.js │ │ └── storage │ │ │ ├── cache.js │ │ │ ├── index.js │ │ │ └── utils.js │ ├── field │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── props.js │ ├── float-button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── form-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── form │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action-button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action-icon │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── grid-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── grid │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── icon │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── image │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── index-anchor │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── index-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── info │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── loading │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── mask │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── nav-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── notice-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── notify │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── notify.js │ ├── panel │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── password-keyboard │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── picker-column │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── picker │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── toolbar.wxml │ ├── popup │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── progress │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── radio-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── radio │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── rate │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── row │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── search │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── share-sheet │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── options.js │ │ ├── options.json │ │ ├── options.wxml │ │ └── options.wxss │ ├── sidebar-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sidebar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── skeleton │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── slider │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── stepper │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── steps │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sticky │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── submit-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── swipe-cell │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── switch │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tab │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabs │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tag │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── toast │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── toast.js │ ├── transition │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tree-select │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── uploader │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── props.js │ │ └── utils.js │ ├── water-flow-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── water-flow │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── wxs │ │ ├── array.wxs │ │ ├── classname.wxs │ │ └── style.wxs ├── iconfont.wxss ├── images │ ├── cat.png │ ├── component.png │ ├── component_active.png │ ├── extend.png │ ├── extend_active.png │ ├── logo.png │ ├── me.png │ └── me_active.png ├── pages │ ├── component │ │ ├── action-sheet │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── area │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── backtop │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── button │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── calendar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── cell │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── checkbox │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── collapse │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── count-down │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── dialog │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── divider │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── dropdown-menu │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── empty │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── field │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── float-button │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── form │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── goods-action │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── grid │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── icon │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── image │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── index-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── layout │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── loading │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── mask │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── nav-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── notice-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── notify │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── panel │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── password-keyboard │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── picker │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── popup │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── progress │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── radio │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── rate │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── search │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── share-sheet │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── sidebar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── skeleton │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── slider │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── stepper │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── steps │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── sticky │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── submit-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── swipe-cell │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── switch │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── tab │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── tabbar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── tag │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── toast │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── transition │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── tree-select │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── uploader │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── water-flow │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ ├── extends │ │ ├── apiCache │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ └── markdown.js │ │ ├── request │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ └── markdown.js │ │ └── storage │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ └── markdown.js │ └── navigator │ │ ├── about │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── basics │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── business │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── cartoon │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── extend │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── form │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── index │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── introduce │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── layout │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── logs │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── logs.js │ │ ├── navigation │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── operation │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ └── view │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss ├── project.config.json ├── project.private.config.json ├── sitemap.json └── utils │ ├── util.js │ └── version-util.js ├── jest.config.js ├── lint-staged.config.js ├── package.json ├── packages ├── action-sheet │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── area │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── backtop │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── behaviors │ ├── button.ts │ ├── form-controls.ts │ ├── link.ts │ ├── open-type.ts │ ├── page-scroll.ts │ ├── safeAreaInsetTop.ts │ └── transition.ts ├── button │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── calendar │ ├── calendar.wxml │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ ├── index.wxs │ └── utils.ts ├── card │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── cell-group │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── cell │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── checkbox-group │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── checkbox │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── col │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── collapse-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── collapse │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── common │ ├── async-validator.js │ ├── base.scss │ ├── color.ts │ ├── component.ts │ ├── config.ts │ ├── is.ts │ ├── request.ts │ ├── types │ │ ├── index.ts │ │ └── weapp.ts │ ├── utils.ts │ └── version.ts ├── count-down │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── utils.ts ├── dialog │ ├── dialog.ts │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── divider │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── dropdown-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── dropdown-menu │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ ├── index.wxs │ └── props.ts ├── empty │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── extends │ ├── api-cache │ │ └── index.ts │ ├── request │ │ ├── adapters │ │ │ ├── download.ts │ │ │ ├── upload.ts │ │ │ └── xhr.ts │ │ ├── cancel │ │ │ ├── Cancel.ts │ │ │ └── CancelToken.ts │ │ ├── core │ │ │ ├── Request.ts │ │ │ ├── dispatchRequest.ts │ │ │ ├── interceptorManager.ts │ │ │ └── transform.ts │ │ ├── default.ts │ │ ├── helpers │ │ │ ├── error.ts │ │ │ ├── handelRequest.ts │ │ │ ├── headers.ts │ │ │ └── utils.ts │ │ ├── index.ts │ │ ├── request.ts │ │ └── types │ │ │ └── index.ts │ └── storage │ │ ├── cache.ts │ │ ├── index.ts │ │ └── utils.ts ├── field │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── props.ts ├── float-button │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── form-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── form │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── goods-action-button │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── goods-action-icon │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── goods-action │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── grid-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── grid │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── icon │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── image │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── index-anchor │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── index.wxs ├── index-bar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── info │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── loading │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── mask │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── nav-bar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── notice-bar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── notify │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── notify.ts ├── panel │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── password-keyboard │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── picker-column │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── index.wxs ├── picker │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── toolbar.wxml ├── popup │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── progress │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── radio-group │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── radio │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── rate │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── row │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── search │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── share-sheet │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ ├── index.wxs │ ├── options.json │ ├── options.scss │ ├── options.ts │ └── options.wxml ├── sidebar-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── sidebar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── skeleton │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── slider │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── stepper │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── steps │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── sticky │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── index.wxs ├── submit-bar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── swipe-cell │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── switch │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── tab │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── tabbar-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── tabbar │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── tabs │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── index.wxs ├── tag │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── toast │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── toast.ts ├── transition │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── tree-select │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ └── index.wxs ├── uploader │ ├── index.json │ ├── index.scss │ ├── index.ts │ ├── index.wxml │ ├── props.ts │ └── utils.ts ├── water-flow-item │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml ├── water-flow │ ├── index.json │ ├── index.scss │ ├── index.ts │ └── index.wxml └── wxs │ ├── array.wxs │ ├── classname.wxs │ └── style.wxs ├── qrcode.jpg ├── scripts ├── baseCreate.js ├── create.js ├── createComponent.js ├── publish.js ├── qiniu.js └── template.js ├── src ├── load.js └── style │ └── var.scss ├── tests ├── ActionSheet │ └── action-sheet.test.js ├── Button │ ├── __snapshots__ │ │ └── button.test.js.snap │ └── button.test.js └── utils.js └── tsconfig.json /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env"], 3 | "plugins": ["@babel/plugin-transform-runtime"] 4 | } -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,wxml,wxss,json,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | trim_trailing_whitespace = true 5 | insert_final_newline = true 6 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /examples/dist 2 | /examples/components/wemark 3 | /docs-dist 4 | /dist 5 | /packages/*/*.wxs 6 | /coverage 7 | node_modules 8 | .vscode -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /docs-dist 4 | /dist 5 | /docs/.vuepress/dist 6 | /build/config.js 7 | /scripts/config.js 8 | /coverage 9 | debug.log 10 | package-lock.json 11 | 12 | 13 | # local env files 14 | .env.local 15 | .env.*.local 16 | 17 | # Log files 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* 21 | pnpm-debug.log* 22 | 23 | # Editor directories and files 24 | .idea 25 | *.suo 26 | *.ntvs* 27 | *.njsproj 28 | *.sln 29 | *.sw? 30 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run commitlint 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | singleQuote: false, 3 | semi: true, 4 | trailingComma: "none", 5 | endOfLine: "auto" 6 | }; 7 | -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- 1 | dist 2 | docs-dist 3 | node_modules 4 | /examples/dist 5 | /examples/components/wemark 6 | src/fonts/iconfont.css 7 | coverage 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 10 3 | addons: 4 | chrome: stable 5 | script: 6 | - npm run codecov 7 | after_success: 8 | - npm run build 9 | - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls 10 | 11 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.validate": [ 3 | { 4 | "language": "html", 5 | "autoFix": true 6 | }, 7 | { 8 | "language": "javascript", 9 | "autoFix": true 10 | }, 11 | ], 12 | "eslint.autoFixOnSave": true, 13 | "editor.codeActionsOnSave": { 14 | "source.fixAll.eslint": true, 15 | "source.fixAll.stylelint": true 16 | } 17 | } -------------------------------------------------------------------------------- /docs/.vuepress/components/logs.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 22 | 23 | -------------------------------------------------------------------------------- /docs/.vuepress/config/index.js: -------------------------------------------------------------------------------- 1 | // 日志类型 2 | export const logsType = { 3 | ADDCOMPONENT: 1 4 | }; 5 | -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/button.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/cell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/cell.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/icon.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/image.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/layout.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/loading.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/popup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/popup.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/basic/transition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/basic/transition.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/business/area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/business/area.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/business/card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/business/card.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/business/goods-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/business/goods-action.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/business/submit-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/business/submit-bar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/action-sheet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/action-sheet.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/dialog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/dialog.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/dropdown-menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/dropdown-menu.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/mask.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/mask.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/notify.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/notify.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/share-sheet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/share-sheet.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/swipe-cell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/swipe-cell.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/feedback/toast.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/feedback/toast.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/calendar.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/checkbox.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/form.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/input.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/picker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/picker.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/radio.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/rate.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/search.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/slider.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/stepper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/stepper.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/switch.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/form/uploader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/form/uploader.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/backtop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/backtop.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/grid.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/index-bar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/index-bar.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/nav-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/nav-bar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/sidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/sidebar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/tab.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/navigation/tabbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/navigation/tabbar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/collapse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/collapse.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/count-down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/count-down.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/divider.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/empty.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/float-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/float-button.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/nav-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/nav-bar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/notice-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/notice-bar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/panel.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/password-keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/password-keyboard.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/progress.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/skeleton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/skeleton.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/steps.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/steps.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/sticky.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/sticky.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/tag.png -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/tree-select.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/tree-select.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/componentImage/view/water-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/componentImage/view/water-flow.png -------------------------------------------------------------------------------- /docs/.vuepress/public/images/logo_sub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/images/logo_sub.png -------------------------------------------------------------------------------- /docs/.vuepress/public/images/qrcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/images/qrcode.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/images/usenpm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/images/usenpm.png -------------------------------------------------------------------------------- /docs/.vuepress/public/images/wxlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c10342/lin-wx-ui/27d91ffa66d666c91b0cb4a79a0ebc9beffe43ee/docs/.vuepress/public/images/wxlogo.png -------------------------------------------------------------------------------- /docs/.vuepress/styles/palette.styl: -------------------------------------------------------------------------------- 1 | 2 | // 布局 3 | $sidebarWidth = 17rem 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | home: true 3 | heroImage: /images/qrcode.jpg 4 | heroText: 欢迎使用 lin-wx-ui 5 | tagline: 一款轻量灵活的微信小程序组件库 6 | actionText: 快速上手 → 7 | actionLink: /guide/guide 8 | features: 9 | - title: typescript 10 | details: 基于 typescript 编写的组件库 11 | - title: 原生微信小程序 12 | details: 基于 原生微信小程序 开发的 UI 组件 13 | - title: 轻量灵活 14 | details: 没有第三方依赖 15 | footer: MIT Licensed | Copyright © 2021-present 16 | --- -------------------------------------------------------------------------------- /docs/guide/explain.md: -------------------------------------------------------------------------------- 1 | # 演示说明 2 | 3 | --- 4 | 5 | 由于组件库是基于原生微信小程序进行开发的,微信小程序无法在 web 端进行预览的,所以 web 端的预览都是以截图的形式进行展示的,如果需要查看真实的效果,可通过扫码预览或者通过开发者工具进行预览 6 | 7 | ## 扫码预览 8 | 9 | 扫描下方小程序二维码,体验组件库示例: 10 | 11 | ![qrcode](/images/qrcode.jpg) 12 | 13 | ## 开发者工具预览 14 | 15 | ```bash 16 | # 将项目克隆到本地 17 | 18 | git clone https://github.com/c10342/lin-wx-ui.git 19 | ``` 20 | 21 | ```bash 22 | # 安装项目依赖 23 | 24 | cd lin-wx-ui && npm install 25 | ``` 26 | 27 | ```bash 28 | # 执行组件编译 29 | 30 | npm run dev 31 | ``` 32 | 33 | 接着打开微信开发者工具,导入 example 目录的项目就可以预览示例了。 34 | -------------------------------------------------------------------------------- /docs/guide/guide.md: -------------------------------------------------------------------------------- 1 | # 介绍 2 | 3 | --- 4 | 5 | `lin-wx-ui` 是一款基于 `原生微信小程序` 的前端 UI 组件库,主要集成了我平时在开发中使用到的 UI 组件 6 | 7 | ## 预览 8 | 9 | 扫描下方小程序二维码,体验组件库示例: 10 | 11 | ![qrcode](/images/qrcode.jpg) 12 | 13 | ## 特性 14 | 15 | - 基于 `原生微信小程序` 开发的 UI 组件库 16 | - 使用 `typescript` 编写 17 | - 使用 npm + gulp 的工作流 18 | - 提供单元测试用例 19 | - 提供完善的使用文档 20 | 21 | 22 | 23 | ## 贡献 24 | 25 | 如果你在使用 `lin-wx-ui` 时遇到问题,或者有好的建议,欢迎给我提 [Issue](https://github.com/c10342/lin-wx-ui/issues) 26 | -------------------------------------------------------------------------------- /docs/guide/logs.md: -------------------------------------------------------------------------------- 1 | 2 | # 更新日志 3 | 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /examples/app.js: -------------------------------------------------------------------------------- 1 | import versionUtil from "./utils/version-util"; 2 | App({ 3 | onLaunch: function () { 4 | // 检查更新 5 | versionUtil.checkUpdate(); 6 | }, 7 | globalData: {} 8 | }); 9 | -------------------------------------------------------------------------------- /examples/app.wxss: -------------------------------------------------------------------------------- 1 | @import './iconfont.wxss'; 2 | 3 | page { 4 | background-color: #fafafa; 5 | } 6 | 7 | .container { 8 | padding: 20rpx; 9 | } 10 | 11 | .component-group { 12 | display: flex; 13 | flex-direction: row; 14 | flex-wrap: wrap; 15 | } 16 | -------------------------------------------------------------------------------- /examples/components/componentCell/index.js: -------------------------------------------------------------------------------- 1 | // components/componentCell/index.js 2 | Component({ 3 | options: { 4 | addGlobalClass: true 5 | }, 6 | /** 7 | * 组件的属性列表 8 | */ 9 | properties: { 10 | dataInfo: Object 11 | }, 12 | 13 | /** 14 | * 组件的初始数据 15 | */ 16 | data: {}, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | onCellClick() { 23 | wx.navigateTo({ 24 | url: this.data.dataInfo.path 25 | }); 26 | } 27 | } 28 | }); 29 | -------------------------------------------------------------------------------- /examples/components/componentCell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/componentCell/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{dataInfo.name}} 3 | 4 | -------------------------------------------------------------------------------- /examples/components/componentCell/index.wxss: -------------------------------------------------------------------------------- 1 | .component-cell { 2 | display: flex; 3 | flex-direction: row; 4 | align-items: center; 5 | justify-content: space-between; 6 | height: 30rpx; 7 | height: 40px; 8 | padding: 0 20px; 9 | margin-bottom: 30rpx; 10 | font-size: 14px; 11 | font-weight: 500; 12 | line-height: 40px; 13 | color: 323233; 14 | background-color: #f7f8fa; 15 | border-radius: 20px; 16 | } 17 | -------------------------------------------------------------------------------- /examples/components/demoBlock/index.js: -------------------------------------------------------------------------------- 1 | // components/demoBlock/index.js 2 | Component({ 3 | options: { 4 | addGlobalClass: true, 5 | multipleSlots: true 6 | }, 7 | /** 8 | * 组件的属性列表 9 | */ 10 | properties: { 11 | title: { 12 | type: String 13 | }, 14 | titlePadding: Boolean 15 | }, 16 | 17 | /** 18 | * 组件的初始数据 19 | */ 20 | data: {}, 21 | 22 | /** 23 | * 组件的方法列表 24 | */ 25 | methods: {} 26 | }); 27 | -------------------------------------------------------------------------------- /examples/components/demoBlock/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/demoBlock/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/components/demoBlock/index.wxss: -------------------------------------------------------------------------------- 1 | .demo-block { 2 | margin-bottom: 20px; 3 | } 4 | 5 | .demo-title { 6 | position: relative; 7 | margin-bottom: 10px; 8 | margin-left: 10px; 9 | font-size: 14px; 10 | font-weight: 400; 11 | color: #909da3; 12 | color: rgba(69, 90, 100, 0.6); 13 | } 14 | 15 | .demo-title::before { 16 | position: absolute; 17 | top: 0; 18 | left: -10px; 19 | width: 3px; 20 | height: 100%; 21 | content: ''; 22 | background-color: #409eff; 23 | } 24 | 25 | .demo-title-paddding { 26 | padding-left: 20rpx; 27 | } 28 | 29 | .demo-title-paddding::before { 30 | left: 0; 31 | } 32 | -------------------------------------------------------------------------------- /examples/components/extend-item/index.js: -------------------------------------------------------------------------------- 1 | // components/extend-item/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | dataInfo: { 8 | type: Object, 9 | value: {} 10 | } 11 | }, 12 | 13 | /** 14 | * 组件的初始数据 15 | */ 16 | data: {}, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | onClick() { 23 | const { dataInfo } = this.properties; 24 | if (dataInfo.path) { 25 | wx.navigateTo({ 26 | url: dataInfo.path 27 | }); 28 | } 29 | } 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /examples/components/extend-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/extend-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{dataInfo.label}} 3 | -------------------------------------------------------------------------------- /examples/components/extend-item/index.wxss: -------------------------------------------------------------------------------- 1 | .extend-item { 2 | box-sizing: border-box; 3 | height: 160rpx; 4 | padding: 0 40rpx; 5 | margin-bottom: 20rpx; 6 | font-size: 36rpx; 7 | font-weight: 700; 8 | line-height: 160rpx; 9 | color: #fff; 10 | text-shadow: 0 0 0.1em rgb(0 0 0), 0 0 0.2em rgb(0 0 0); 11 | background: linear-gradient(180deg, rgba(57, 173, 219, 0.25) 0, rgba(42, 60, 87, 0.4)), linear-gradient(135deg, #670d10, #092756); 12 | border-radius: 20rpx; 13 | } 14 | -------------------------------------------------------------------------------- /examples/components/navCard/index.js: -------------------------------------------------------------------------------- 1 | // components/navCard/index.js 2 | Component({ 3 | options: { 4 | addGlobalClass: true 5 | }, 6 | /** 7 | * 组件的属性列表 8 | */ 9 | properties: { 10 | dataInfo: Object 11 | }, 12 | 13 | /** 14 | * 组件的初始数据 15 | */ 16 | data: {}, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | onItemTap() { 23 | // console.log(this.data.dataInfo); 24 | 25 | this.triggerEvent("cardTap", this.data.dataInfo); 26 | } 27 | } 28 | }); 29 | -------------------------------------------------------------------------------- /examples/components/navCard/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/navCard/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{dataInfo.name}} 3 | 4 | -------------------------------------------------------------------------------- /examples/components/navCard/index.wxss: -------------------------------------------------------------------------------- 1 | 2 | .component-item { 3 | display: flex; 4 | flex-direction: row; 5 | align-items: center; 6 | justify-content: space-between; 7 | padding: 40rpx; 8 | margin: 10px 0; 9 | background-color: #fff; 10 | } 11 | 12 | .name { 13 | font-size: 32rpx; 14 | } 15 | 16 | .my-icon { 17 | font-size: 50rpx; 18 | } 19 | -------------------------------------------------------------------------------- /examples/components/water-flow-item/index.js: -------------------------------------------------------------------------------- 1 | // components/water-flow-item/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | data: Object 8 | }, 9 | 10 | /** 11 | * 组件的初始数据 12 | */ 13 | data: {}, 14 | 15 | /** 16 | * 组件的方法列表 17 | */ 18 | methods: {} 19 | }); 20 | -------------------------------------------------------------------------------- /examples/components/water-flow-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/water-flow-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{data.title}} 5 | 6 | 7 | {{data.describe}} 8 | 9 | -------------------------------------------------------------------------------- /examples/components/water-flow-item/index.wxss: -------------------------------------------------------------------------------- 1 | .water-flow-item-wrapper { 2 | overflow: hidden; 3 | font-size: 26rpx; 4 | background-color: #fff; 5 | border-radius: 10rpx; 6 | } 7 | 8 | .image { 9 | width: 100%; 10 | } 11 | 12 | .title { 13 | padding: 20rpx; 14 | font-weight: 500; 15 | line-height: 16px; 16 | } 17 | 18 | .describe { 19 | padding: 20rpx; 20 | padding-top: 0; 21 | line-height: 20px; 22 | color: #646566; 23 | } 24 | -------------------------------------------------------------------------------- /examples/components/wemark/wemark.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /examples/config/index.js: -------------------------------------------------------------------------------- 1 | // 日志类型 2 | export const logsType = { 3 | ADDCOMPONENT: 1 4 | }; 5 | -------------------------------------------------------------------------------- /examples/dist/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "component": true, 4 | "usingComponents":{ 5 | "lin-icon":"../icon/index", 6 | "lin-popup":"../popup/index", 7 | "lin-loading":"../loading/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /examples/dist/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "lin-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/dist/area/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/base.wxss'; -------------------------------------------------------------------------------- /examples/dist/backtop/index.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "component": true 4 | } 5 | -------------------------------------------------------------------------------- /examples/dist/backtop/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/dist/backtop/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/base.wxss';.lin-backtop{position:fixed}.lin-backtop-container{z-index:5;display:flex;align-items:center;justify-content:center;width:80rpx;height:80rpx;cursor:pointer;background-color:#fff;border-radius:50%;box-shadow:0 0 6px rgba(0,0,0,.12)}.lin-backtop-triangle{width:0;height:0;border:6px solid #409eff;border-right-color:transparent;border-bottom-color:transparent;transform:rotate(45deg) translate(2px,1px)} -------------------------------------------------------------------------------- /examples/dist/behaviors/form-controls.js: -------------------------------------------------------------------------------- 1 | export default Behavior({ 2 | methods: { 3 | // 调用FormItem组件的onChange事件 4 | triggerParentChange(data) { 5 | if (this.parent) { 6 | this.parent.onChange(data); 7 | } 8 | }, 9 | // 调用FormItem组件的onBlur事件 10 | triggerParentBlur(data) { 11 | if (this.parent) { 12 | this.parent.onBlur(data); 13 | } 14 | } 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /examples/dist/behaviors/link.js: -------------------------------------------------------------------------------- 1 | const LinkBehavior = Behavior({ 2 | properties: { 3 | // 链接跳转类型 4 | linkType: { 5 | type: String, 6 | value: "navigateTo", 7 | options: ["navigateTo", "redirectTo", "switchTab", "reLaunch"] 8 | } 9 | }, 10 | methods: { 11 | // 跳转页面 12 | jump(url) { 13 | if (url) { 14 | const { linkType } = this.properties; 15 | wx[linkType]({ url }); 16 | } 17 | } 18 | } 19 | }); 20 | export default LinkBehavior; 21 | -------------------------------------------------------------------------------- /examples/dist/behaviors/safeAreaInsetTop.js: -------------------------------------------------------------------------------- 1 | import { getSystemInfoSync } from "../common/utils"; 2 | const SafeAreaInsetTopBehavior = Behavior({ 3 | properties: { 4 | // 是否留出顶部安全距离(状态栏高度) 5 | safeAreaInsetTop: { 6 | type: Boolean, 7 | value: false 8 | } 9 | }, 10 | data: { 11 | // 状态栏高度 12 | statusBarHeight: "0px" 13 | }, 14 | ready() { 15 | // 获取状态栏高度 16 | const { statusBarHeight } = getSystemInfoSync(); 17 | this.setData({ 18 | statusBarHeight: `${statusBarHeight}px` 19 | }); 20 | } 21 | }); 22 | export default SafeAreaInsetTopBehavior; 23 | -------------------------------------------------------------------------------- /examples/dist/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "lin-icon": "../icon/index", 5 | "lin-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /examples/dist/calendar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "lin-icon": "../icon/index", 5 | "lin-popup": "../popup/index", 6 | "lin-button": "../button/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /examples/dist/calendar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 |