├── dist ├── form │ ├── index.wxss │ ├── index.json │ └── index.wxml ├── sticky │ ├── index.wxss │ ├── index.json │ └── index.wxml ├── collapse │ ├── index.wxss │ ├── index.json │ └── index.wxml ├── segment-item │ ├── index.wxss │ ├── index.wxml │ └── index.json ├── custom-tab-bar │ └── index.json ├── album │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── badge │ ├── index.json │ └── index.wxml ├── card │ ├── index.json │ └── index.js ├── icon │ ├── index.json │ ├── index.wxml │ └── index.js ├── loading │ └── index.json ├── mask │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.js ├── popup │ ├── index.json │ └── index.wxml ├── price │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── radio │ ├── index.json │ └── index.wxml ├── skeleton │ └── index.json ├── spin │ ├── index.json │ └── index.js ├── tabpanel │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.js ├── countdown │ ├── index.json │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── error-tip │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.js ├── grid-item │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js ├── slide-view │ ├── index.json │ └── index.wxss ├── sticky-item │ ├── index.json │ └── index.wxss ├── step │ ├── index.json │ └── index.js ├── tag │ └── index.json ├── avatar │ └── index.json ├── button │ └── index.json ├── counter │ └── index.json ├── dialog │ └── index.json ├── message │ ├── index.json │ └── index.wxml ├── rate │ ├── index.json │ └── index.wxss ├── checkbox │ ├── index.json │ └── index.wxml ├── count-selector │ └── index.json ├── loadmore │ └── index.json ├── notice-bar │ └── index.json ├── form-item │ └── index.json ├── grid │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── status-show │ ├── index.json │ ├── image │ │ ├── cart.png │ │ ├── data.png │ │ ├── error.png │ │ ├── order.png │ │ ├── address.png │ │ ├── network.png │ │ ├── product.png │ │ └── success.png │ └── index.wxss ├── behaviors │ ├── hover.js │ ├── zIndex.js │ ├── validator.js │ ├── computeOffset.js │ └── watchShow.js ├── image-picker │ ├── image │ │ └── add.png │ └── index.json ├── steps │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── toast │ └── index.json ├── collapse-item │ ├── index.json │ └── index.wxss ├── search-bar │ └── index.json ├── transition │ ├── index.json │ ├── index.js │ └── index.wxml ├── water-flow │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── combined-tabs │ └── index.json ├── input │ └── index.json ├── textarea │ └── index.json ├── radio-group │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── checkbox-group │ ├── index.json │ ├── index.wxss │ └── index.wxml ├── list │ └── index.json ├── tabs │ └── index.json ├── action-sheet │ ├── index.json │ └── index.wxss ├── segment │ └── index.json ├── common │ └── async-validator │ │ ├── rule │ │ ├── whitespace.js │ │ ├── required.js │ │ ├── enum.js │ │ ├── index.js │ │ └── pattern.js │ │ └── validator │ │ ├── required.js │ │ ├── boolean.js │ │ ├── method.js │ │ ├── object.js │ │ ├── regexp.js │ │ ├── enum.js │ │ ├── type.js │ │ ├── float.js │ │ ├── integer.js │ │ ├── number.js │ │ ├── pattern.js │ │ ├── array.js │ │ ├── date.js │ │ └── string.js ├── filter │ ├── zero-padding.wxs │ └── object.wxs └── utils │ └── util.js ├── src ├── collapse │ ├── index.less │ ├── index.wxml │ └── index.json ├── sticky │ ├── index.less │ ├── index.json │ └── index.wxml ├── segment-item │ ├── index.less │ ├── index.wxml │ └── index.json ├── custom-tab-bar │ └── index.json ├── form │ ├── index.less │ ├── index.json │ └── index.wxml ├── card │ └── index.json ├── popup │ ├── index.json │ └── index.wxml ├── price │ ├── index.json │ ├── index.less │ └── index.wxml ├── radio │ ├── index.json │ └── index.wxml ├── skeleton │ └── index.json ├── tabpanel │ ├── index.json │ ├── index.wxml │ └── index.less ├── album │ ├── index.json │ ├── index.less │ └── index.wxml ├── sticky-item │ ├── index.json │ └── index.less ├── badge │ ├── index.json │ └── index.wxml ├── mask │ ├── index.json │ ├── index.wxml │ └── index.less ├── slide-view │ ├── index.json │ └── index.less ├── spin │ ├── index.json │ └── index.js ├── loading │ └── index.json ├── icon │ ├── index.json │ ├── index.wxml │ └── index.js ├── grid-item │ ├── index.json │ ├── index.wxml │ └── index.less ├── countdown │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.less ├── error-tip │ ├── index.json │ ├── index.wxml │ ├── index.less │ └── index.js ├── image-picker │ ├── image │ │ └── add.png │ └── index.json ├── status-show │ ├── image │ │ ├── cart.png │ │ ├── data.png │ │ ├── error.png │ │ ├── order.png │ │ ├── address.png │ │ ├── network.png │ │ ├── product.png │ │ └── success.png │ └── index.json ├── tag │ └── index.json ├── button │ └── index.json ├── counter │ └── index.json ├── message │ ├── index.json │ └── index.wxml ├── steps │ ├── index.wxml │ ├── index.json │ └── index.less ├── checkbox │ ├── index.json │ └── index.wxml ├── dialog │ └── index.json ├── step │ └── index.json ├── avatar │ └── index.json ├── count-selector │ └── index.json ├── loadmore │ └── index.json ├── rate │ ├── index.json │ └── index.less ├── grid │ └── index.json ├── form-item │ └── index.json ├── notice-bar │ └── index.json ├── toast │ └── index.json ├── search-bar │ └── index.json ├── transition │ ├── index.json │ ├── index.wxml │ └── index.js ├── combined-tabs │ └── index.json ├── input │ └── index.json ├── textarea │ └── index.json ├── collapse-item │ └── index.json ├── water-flow │ ├── index.json │ ├── index.less │ └── index.wxml ├── radio-group │ ├── index.json │ ├── index.wxml │ └── index.less ├── tabs │ └── index.json ├── checkbox-group │ ├── index.json │ ├── index.wxml │ └── index.less ├── list │ └── index.json ├── segment │ └── index.json ├── action-sheet │ └── index.json ├── behaviors │ ├── zIndex.js │ ├── hover.js │ └── computeOffset.js ├── filter │ ├── zero-padding.wxs │ └── object.wxs └── common │ └── async-validator │ ├── validator │ └── required.js │ └── rule │ └── index.js ├── examples ├── dist │ ├── collapse │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.json │ ├── form │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── sticky │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── segment-item │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.json │ ├── custom-tab-bar │ │ └── index.json │ ├── album │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── tabpanel │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── card │ │ └── index.json │ ├── popup │ │ ├── index.json │ │ └── index.wxml │ ├── price │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ ├── radio │ │ ├── index.json │ │ └── index.wxml │ ├── skeleton │ │ └── index.json │ ├── sticky-item │ │ ├── index.json │ │ └── index.wxss │ ├── badge │ │ ├── index.json │ │ └── index.wxml │ ├── mask │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ ├── slide-view │ │ ├── index.json │ │ └── index.wxss │ ├── spin │ │ ├── index.json │ │ └── index.js │ ├── loading │ │ └── index.json │ ├── error-tip │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── icon │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── grid-item │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── countdown │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ ├── tag │ │ └── index.json │ ├── button │ │ └── index.json │ ├── counter │ │ └── index.json │ ├── image-picker │ │ ├── image │ │ │ └── add.png │ │ └── index.json │ ├── message │ │ ├── index.json │ │ └── index.wxml │ ├── status-show │ │ ├── image │ │ │ ├── cart.png │ │ │ ├── data.png │ │ │ ├── error.png │ │ │ ├── order.png │ │ │ ├── address.png │ │ │ ├── network.png │ │ │ ├── product.png │ │ │ └── success.png │ │ ├── index.json │ │ └── index.wxss │ ├── steps │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.json │ ├── checkbox │ │ ├── index.json │ │ └── index.wxml │ ├── dialog │ │ └── index.json │ ├── step │ │ └── index.json │ ├── avatar │ │ └── index.json │ ├── count-selector │ │ └── index.json │ ├── loadmore │ │ └── index.json │ ├── rate │ │ ├── index.json │ │ └── index.wxss │ ├── water-flow │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── grid │ │ ├── index.json │ │ └── index.wxss │ ├── form-item │ │ └── index.json │ ├── notice-bar │ │ └── index.json │ ├── radio-group │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── toast │ │ └── index.json │ ├── search-bar │ │ └── index.json │ ├── transition │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── combined-tabs │ │ └── index.json │ ├── input │ │ └── index.json │ ├── textarea │ │ └── index.json │ ├── checkbox-group │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── collapse-item │ │ ├── index.json │ │ └── index.wxss │ ├── tabs │ │ └── index.json │ ├── list │ │ └── index.json │ ├── segment │ │ └── index.json │ ├── action-sheet │ │ ├── index.json │ │ └── index.wxss │ ├── behaviors │ │ ├── zIndex.js │ │ ├── hover.js │ │ └── computeOffset.js │ ├── filter │ │ ├── zero-padding.wxs │ │ └── object.wxs │ └── common │ │ └── async-validator │ │ ├── validator │ │ └── required.js │ │ └── rule │ │ └── index.js ├── pages │ ├── components │ │ ├── basic │ │ │ └── pages │ │ │ │ ├── button │ │ │ │ ├── button.js │ │ │ │ └── index.json │ │ │ │ └── icon │ │ │ │ └── index.json │ │ ├── view │ │ │ └── pages │ │ │ │ ├── status-show │ │ │ │ ├── show │ │ │ │ │ ├── show.wxss │ │ │ │ │ ├── show.json │ │ │ │ │ └── show.wxml │ │ │ │ ├── index.wxss │ │ │ │ ├── index.json │ │ │ │ └── index.js │ │ │ │ ├── loadmore │ │ │ │ ├── case │ │ │ │ │ ├── index.json │ │ │ │ │ └── index.wxml │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ ├── notice-bar │ │ │ │ ├── index.wxss │ │ │ │ ├── index.json │ │ │ │ ├── notice-nav.js │ │ │ │ └── index.js │ │ │ │ ├── spin │ │ │ │ ├── index.json │ │ │ │ └── index.js │ │ │ │ ├── avatar │ │ │ │ └── index.json │ │ │ │ ├── badge │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ ├── mask │ │ │ │ └── index.json │ │ │ │ ├── popup │ │ │ │ └── index.json │ │ │ │ ├── steps │ │ │ │ └── index.json │ │ │ │ ├── tag │ │ │ │ ├── index.json │ │ │ │ └── index.js │ │ │ │ ├── skeleton │ │ │ │ └── index.json │ │ │ │ ├── countdown │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ └── loading │ │ │ │ └── index.json │ │ ├── shopping │ │ │ └── pages │ │ │ │ ├── count-selector │ │ │ │ ├── index.wxss │ │ │ │ ├── index.json │ │ │ │ └── index.wxml │ │ │ │ ├── search-bar │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ └── price │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ ├── layout │ │ │ ├── images │ │ │ │ ├── card.png │ │ │ │ ├── wx_app_clear.png │ │ │ │ ├── badroom-active.png │ │ │ │ ├── wx_app_compass.png │ │ │ │ └── bathroom-active.png │ │ │ └── pages │ │ │ │ ├── water-flow │ │ │ │ ├── index.wxml │ │ │ │ ├── component │ │ │ │ │ └── product │ │ │ │ │ │ ├── index.json │ │ │ │ │ │ └── index.js │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ ├── collapse │ │ │ │ ├── index.js │ │ │ │ └── index.json │ │ │ │ ├── card │ │ │ │ └── index.json │ │ │ │ ├── list │ │ │ │ └── index.json │ │ │ │ ├── album │ │ │ │ └── index.json │ │ │ │ ├── sticky │ │ │ │ └── pages │ │ │ │ │ └── sticky-base │ │ │ │ │ ├── index.json │ │ │ │ │ └── index.wxss │ │ │ │ └── grid │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ ├── nav │ │ │ ├── pages │ │ │ │ ├── tabbar │ │ │ │ │ ├── index.wxss │ │ │ │ │ └── index.json │ │ │ │ ├── segment │ │ │ │ │ └── index.json │ │ │ │ ├── tabs │ │ │ │ │ └── index.json │ │ │ │ └── combined-tabs │ │ │ │ │ └── index.json │ │ │ └── images │ │ │ │ └── tab-icon │ │ │ │ ├── add.png │ │ │ │ ├── my.png │ │ │ │ ├── tao.png │ │ │ │ ├── we.png │ │ │ │ ├── baby.png │ │ │ │ ├── cart.png │ │ │ │ ├── cart1.png │ │ │ │ ├── dining.png │ │ │ │ ├── favor.png │ │ │ │ ├── home.png │ │ │ │ ├── home1.png │ │ │ │ ├── living.png │ │ │ │ ├── mark.png │ │ │ │ ├── mark1.png │ │ │ │ ├── people.png │ │ │ │ ├── tao1.png │ │ │ │ ├── video.png │ │ │ │ ├── badroom.png │ │ │ │ ├── bathroom.png │ │ │ │ ├── discover.png │ │ │ │ ├── kichten.png │ │ │ │ ├── my_fill.png │ │ │ │ ├── my_fill1.png │ │ │ │ ├── my_fill2.png │ │ │ │ ├── we_fill.png │ │ │ │ ├── baby_fill.png │ │ │ │ ├── cart_fill.png │ │ │ │ ├── cart_fill2.png │ │ │ │ ├── favor_fill.png │ │ │ │ ├── home_fill.png │ │ │ │ ├── home_fill1.png │ │ │ │ ├── mark_fill.png │ │ │ │ ├── mark_fill1.png │ │ │ │ ├── video_fill.png │ │ │ │ ├── dining-active.png │ │ │ │ ├── discover_fill.png │ │ │ │ ├── living-active.png │ │ │ │ ├── people_fill1.png │ │ │ │ ├── badroom-active.png │ │ │ │ ├── bathroom-active.png │ │ │ │ ├── discover_fill2.png │ │ │ │ └── kichten-active.png │ │ ├── form │ │ │ ├── images │ │ │ │ ├── smile-active.png │ │ │ │ └── smile-inactive.png │ │ │ └── pages │ │ │ │ ├── radio │ │ │ │ ├── images │ │ │ │ │ ├── radio.png │ │ │ │ │ └── radiobutton.png │ │ │ │ └── index.json │ │ │ │ ├── checkbox │ │ │ │ ├── images │ │ │ │ │ ├── radio.png │ │ │ │ │ └── radiobutton.png │ │ │ │ └── index.json │ │ │ │ ├── rate │ │ │ │ └── index.json │ │ │ │ ├── textarea │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ ├── image-picker │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ ├── input │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ │ └── form │ │ │ │ └── index.wxss │ │ ├── animation │ │ │ └── pages │ │ │ │ └── transition │ │ │ │ ├── test.png │ │ │ │ └── index.json │ │ └── response │ │ │ └── pages │ │ │ ├── message │ │ │ ├── index.wxss │ │ │ ├── index.json │ │ │ └── message-nav.js │ │ │ ├── toast │ │ │ ├── index.json │ │ │ └── index.wxss │ │ │ ├── dialog │ │ │ ├── index.json │ │ │ └── index.wxss │ │ │ ├── slide-view │ │ │ └── index.json │ │ │ └── action-sheet │ │ │ ├── index.json │ │ │ └── index.wxss │ ├── about │ │ └── index.json │ ├── filter │ │ ├── pages │ │ │ ├── string │ │ │ │ ├── index.json │ │ │ │ ├── index.wxss │ │ │ │ └── index.wxml │ │ │ ├── zero-padding │ │ │ │ ├── index.wxss │ │ │ │ └── index.json │ │ │ ├── base │ │ │ │ ├── index.json │ │ │ │ └── index.wxss │ │ │ └── classnames │ │ │ │ └── index.json │ │ └── components │ │ │ └── wemark │ │ │ └── wemark.json │ └── navigator │ │ ├── content │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ ├── config │ │ │ ├── animation-navi.js │ │ │ └── basic-navi.js │ │ └── config.js │ │ ├── filter │ │ └── index.json │ │ └── index │ │ └── index.json ├── components │ ├── tabs-card │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── column-title │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── content-card │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── navi-card │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── navi-title │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ ├── content-title │ │ ├── index.json │ │ └── index.wxml │ ├── detail-navi-card │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ └── navi-content │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxss │ │ └── index.wxml ├── app.wxss ├── images │ ├── doc.png │ ├── code.jpg │ ├── logo.png │ ├── filter │ │ ├── is.png │ │ ├── array.png │ │ ├── string.png │ │ ├── classnames.png │ │ └── zeroPadding.png │ ├── right-arrow.png │ ├── static │ │ ├── doc.png │ │ ├── tlbd.jpg │ │ ├── tx1.jpg │ │ ├── tx2.jpg │ │ ├── tx3.jpg │ │ ├── tx4.jpg │ │ ├── yzm.png │ │ ├── index_bg.png │ │ ├── loading.gif │ │ ├── loading2.gif │ │ ├── loadmor.gif │ │ ├── loadmore.gif │ │ └── camera_add.png │ ├── tabbar │ │ ├── base.png │ │ ├── team.png │ │ ├── about.png │ │ ├── filter.png │ │ ├── base-select.png │ │ ├── team-select.png │ │ ├── about-select.png │ │ └── filter-select.png │ ├── component │ │ ├── is.png │ │ ├── tab.png │ │ ├── tag.png │ │ ├── album.png │ │ ├── array.png │ │ ├── avatar.png │ │ ├── badge.png │ │ ├── button.png │ │ ├── card.png │ │ ├── dialog.png │ │ ├── grid.jpg │ │ ├── icon.png │ │ ├── input.png │ │ ├── list.jpg │ │ ├── mask.png │ │ ├── popup.png │ │ ├── radio.png │ │ ├── rate.png │ │ ├── rules.png │ │ ├── string.png │ │ ├── tabbar.png │ │ ├── toast.png │ │ ├── checkbox.png │ │ ├── loading.png │ │ ├── message.png │ │ ├── segment.png │ │ ├── textarea.png │ │ ├── classnames.png │ │ ├── countdown.png │ │ ├── imagepicker.png │ │ ├── load-more.png │ │ ├── notice-bar.png │ │ ├── slide-view.png │ │ ├── status-show.png │ │ ├── waterFlow.png │ │ ├── zeroPadding.png │ │ ├── action-sheet.png │ │ └── combined-tabs.png │ ├── basic │ │ ├── icon-icon.png │ │ └── icon-button.png │ ├── response │ │ └── picture.png │ ├── shopping │ │ ├── count.png │ │ └── price.png │ ├── view │ │ ├── icon-mask.png │ │ └── default-image.jpg │ ├── navigator │ │ ├── icon-action.png │ │ ├── icon-basic.png │ │ ├── icon-flex.png │ │ ├── icon-form.png │ │ ├── icon-shop.png │ │ ├── icon-view.png │ │ └── icon-navigator.png │ └── animation │ │ └── transition │ │ └── test.png ├── app.js └── sitemap.json ├── config ├── component.json └── styles │ ├── _theme.less │ └── _mixins.less ├── .eslintignore ├── .github └── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md └── .gitignore /dist/form/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/collapse/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/sticky/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/segment-item/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/segment-item/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/form/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/segment-item/index.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/segment-item/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/segment-item/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/custom-tab-bar/index.json: -------------------------------------------------------------------------------- 1 | {"component":true} -------------------------------------------------------------------------------- /examples/dist/segment-item/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "components": [] 3 | } 4 | -------------------------------------------------------------------------------- /examples/pages/components/basic/pages/button/button.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/album/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/badge/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/card/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/collapse/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/form/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{} } -------------------------------------------------------------------------------- /dist/icon/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{} } -------------------------------------------------------------------------------- /dist/loading/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/mask/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/popup/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/price/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/radio/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/skeleton/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/spin/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/sticky/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/tabpanel/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /src/custom-tab-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /dist/countdown/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{} } -------------------------------------------------------------------------------- /dist/error-tip/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{} } -------------------------------------------------------------------------------- /dist/grid-item/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/slide-view/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/sticky-item/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{}} -------------------------------------------------------------------------------- /dist/tabpanel/index.wxss: -------------------------------------------------------------------------------- 1 | .l-tabpanel-content{width:100%;height:100%} -------------------------------------------------------------------------------- /examples/pages/about/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /src/form/index.less: -------------------------------------------------------------------------------- 1 | @import "../../config/styles/_base.less"; 2 | -------------------------------------------------------------------------------- /dist/album/index.wxss: -------------------------------------------------------------------------------- 1 | .container{display:grid}.vertical{height:360rpx} -------------------------------------------------------------------------------- /dist/segment-item/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{} } -------------------------------------------------------------------------------- /examples/dist/custom-tab-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /examples/components/tabs-card/index.wxss: -------------------------------------------------------------------------------- 1 | /* components/tabs-card/index.wxss */ -------------------------------------------------------------------------------- /examples/dist/album/index.wxss: -------------------------------------------------------------------------------- 1 | .container{display:grid}.vertical{height:360rpx} -------------------------------------------------------------------------------- /examples/dist/tabpanel/index.wxss: -------------------------------------------------------------------------------- 1 | .l-tabpanel-content{width:100%;height:100%} -------------------------------------------------------------------------------- /dist/step/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/tag/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /examples/components/column-title/index.wxss: -------------------------------------------------------------------------------- 1 | /* components/column-title/index.wxss */ -------------------------------------------------------------------------------- /examples/pages/filter/pages/string/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /src/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/price/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/tabpanel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /dist/avatar/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"} } -------------------------------------------------------------------------------- /dist/button/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /dist/counter/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/dialog/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-popup":"../popup/index"}} -------------------------------------------------------------------------------- /dist/message/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/rate/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"} } -------------------------------------------------------------------------------- /dist/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | page{ 3 | background-color: #f3f3f3; 4 | } 5 | -------------------------------------------------------------------------------- /examples/pages/filter/pages/string/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/filter/pages/string/index.wxss */ -------------------------------------------------------------------------------- /src/album/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } -------------------------------------------------------------------------------- /src/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/sticky-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /config/styles/_theme.less: -------------------------------------------------------------------------------- 1 | 2 | @theme-color : #3963BC; // 主题色 -------------------------------------------------------------------------------- /dist/checkbox/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-button":"../button/index"}} -------------------------------------------------------------------------------- /dist/count-selector/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/loadmore/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-loading":"../loading/index"}} -------------------------------------------------------------------------------- /dist/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /examples/dist/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/price/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/tabpanel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/pages/filter/components/wemark/wemark.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/badge/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/mask/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/segment-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /src/slide-view/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } -------------------------------------------------------------------------------- /src/spin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | examples/**/*.js 4 | dist 5 | src/bahaviors/*.js 6 | -------------------------------------------------------------------------------- /dist/form-item/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-error-tip":"../error-tip/index"}} -------------------------------------------------------------------------------- /dist/grid/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-grid-item":"../grid-item/index"} } -------------------------------------------------------------------------------- /dist/status-show/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-button":"../button/index"}} -------------------------------------------------------------------------------- /dist/tabpanel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/dist/album/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } -------------------------------------------------------------------------------- /examples/dist/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/dist/sticky-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/images/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/doc.png -------------------------------------------------------------------------------- /src/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /dist/error-tip/index.wxss: -------------------------------------------------------------------------------- 1 | .error-text{font-size:22rpx;color:#f4516c;margin-right:20rpx;line-height:2} -------------------------------------------------------------------------------- /examples/components/column-title/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/content-card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/navi-card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/navi-title/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/tabs-card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/badge/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/mask/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/segment-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/slide-view/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } -------------------------------------------------------------------------------- /examples/dist/spin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/images/code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/code.jpg -------------------------------------------------------------------------------- /examples/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/logo.png -------------------------------------------------------------------------------- /examples/pages/navigator/content/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /dist/behaviors/hover.js: -------------------------------------------------------------------------------- 1 | export default Behavior({behaviors:[],properties:{isHover:{type:Boolean,value:!0}}}); -------------------------------------------------------------------------------- /dist/behaviors/zIndex.js: -------------------------------------------------------------------------------- 1 | export default Behavior({behaviors:[],properties:{zIndex:{type:Number,value:777}}}); -------------------------------------------------------------------------------- /examples/components/content-title/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/components/detail-navi-card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /examples/dist/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /examples/dist/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/form/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /dist/image-picker/image/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/image-picker/image/add.png -------------------------------------------------------------------------------- /dist/slide-view/index.wxss: -------------------------------------------------------------------------------- 1 | .movable-content{display:flex;direction:row;overflow:hidden}.container{overflow:hidden} -------------------------------------------------------------------------------- /dist/status-show/image/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/cart.png -------------------------------------------------------------------------------- /dist/status-show/image/data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/data.png -------------------------------------------------------------------------------- /dist/steps/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-step":"../step/index"}} -------------------------------------------------------------------------------- /dist/toast/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-mask":"../mask/index"}} -------------------------------------------------------------------------------- /examples/dist/error-tip/index.wxss: -------------------------------------------------------------------------------- 1 | .error-text{font-size:22rpx;color:#f4516c;margin-right:20rpx;line-height:2} -------------------------------------------------------------------------------- /examples/dist/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/images/filter/is.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/filter/is.png -------------------------------------------------------------------------------- /examples/images/right-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/right-arrow.png -------------------------------------------------------------------------------- /examples/images/static/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/doc.png -------------------------------------------------------------------------------- /examples/images/static/tlbd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/tlbd.jpg -------------------------------------------------------------------------------- /examples/images/static/tx1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/tx1.jpg -------------------------------------------------------------------------------- /examples/images/static/tx2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/tx2.jpg -------------------------------------------------------------------------------- /examples/images/static/tx3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/tx3.jpg -------------------------------------------------------------------------------- /examples/images/static/tx4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/tx4.jpg -------------------------------------------------------------------------------- /examples/images/static/yzm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/yzm.png -------------------------------------------------------------------------------- /examples/images/tabbar/base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/base.png -------------------------------------------------------------------------------- /examples/images/tabbar/team.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/team.png -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/show/show.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/status-show/show/show.wxss */ -------------------------------------------------------------------------------- /src/countdown/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/error-tip/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /src/image-picker/image/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/image-picker/image/add.png -------------------------------------------------------------------------------- /src/status-show/image/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/cart.png -------------------------------------------------------------------------------- /src/status-show/image/data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/data.png -------------------------------------------------------------------------------- /src/status-show/image/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/error.png -------------------------------------------------------------------------------- /src/status-show/image/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/order.png -------------------------------------------------------------------------------- /dist/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-list":"../list/index","l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/search-bar/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-input":"../input/index","l-icon":"../icon/index"}} -------------------------------------------------------------------------------- /dist/status-show/image/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/error.png -------------------------------------------------------------------------------- /dist/status-show/image/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/order.png -------------------------------------------------------------------------------- /dist/transition/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-mask":"../mask/index"}} -------------------------------------------------------------------------------- /dist/water-flow/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{},"componentGenerics":{"l-water-flow-item":true} } -------------------------------------------------------------------------------- /examples/dist/form/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/images/component/is.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/is.png -------------------------------------------------------------------------------- /examples/images/component/tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/tab.png -------------------------------------------------------------------------------- /examples/images/component/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/tag.png -------------------------------------------------------------------------------- /examples/images/filter/array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/filter/array.png -------------------------------------------------------------------------------- /examples/images/filter/string.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/filter/string.png -------------------------------------------------------------------------------- /examples/images/tabbar/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/about.png -------------------------------------------------------------------------------- /examples/images/tabbar/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/filter.png -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/count-selector/index.wxss: -------------------------------------------------------------------------------- 1 | .count{ 2 | margin-left: 30rpx !important 3 | } -------------------------------------------------------------------------------- /src/status-show/image/address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/address.png -------------------------------------------------------------------------------- /src/status-show/image/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/network.png -------------------------------------------------------------------------------- /src/status-show/image/product.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/product.png -------------------------------------------------------------------------------- /src/status-show/image/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/src/status-show/image/success.png -------------------------------------------------------------------------------- /src/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /dist/combined-tabs/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-badge":"../badge/index"}} -------------------------------------------------------------------------------- /dist/input/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-error-tip":"../error-tip/index"}} -------------------------------------------------------------------------------- /dist/status-show/image/address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/address.png -------------------------------------------------------------------------------- /dist/status-show/image/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/network.png -------------------------------------------------------------------------------- /dist/status-show/image/product.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/product.png -------------------------------------------------------------------------------- /dist/status-show/image/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/dist/status-show/image/success.png -------------------------------------------------------------------------------- /dist/steps/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dist/textarea/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-error-tip":"../error-tip/index"}} -------------------------------------------------------------------------------- /examples/dist/countdown/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/error-tip/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/slide-view/index.wxss: -------------------------------------------------------------------------------- 1 | .movable-content{display:flex;direction:row;overflow:hidden}.container{overflow:hidden} -------------------------------------------------------------------------------- /examples/images/basic/icon-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/basic/icon-icon.png -------------------------------------------------------------------------------- /examples/images/component/album.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/album.png -------------------------------------------------------------------------------- /examples/images/component/array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/array.png -------------------------------------------------------------------------------- /examples/images/component/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/avatar.png -------------------------------------------------------------------------------- /examples/images/component/badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/badge.png -------------------------------------------------------------------------------- /examples/images/component/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/button.png -------------------------------------------------------------------------------- /examples/images/component/card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/card.png -------------------------------------------------------------------------------- /examples/images/component/dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/dialog.png -------------------------------------------------------------------------------- /examples/images/component/grid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/grid.jpg -------------------------------------------------------------------------------- /examples/images/component/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/icon.png -------------------------------------------------------------------------------- /examples/images/component/input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/input.png -------------------------------------------------------------------------------- /examples/images/component/list.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/list.jpg -------------------------------------------------------------------------------- /examples/images/component/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/mask.png -------------------------------------------------------------------------------- /examples/images/component/popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/popup.png -------------------------------------------------------------------------------- /examples/images/component/radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/radio.png -------------------------------------------------------------------------------- /examples/images/component/rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/rate.png -------------------------------------------------------------------------------- /examples/images/component/rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/rules.png -------------------------------------------------------------------------------- /examples/images/component/string.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/string.png -------------------------------------------------------------------------------- /examples/images/component/tabbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/tabbar.png -------------------------------------------------------------------------------- /examples/images/component/toast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/toast.png -------------------------------------------------------------------------------- /examples/images/response/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/response/picture.png -------------------------------------------------------------------------------- /examples/images/shopping/count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/shopping/count.png -------------------------------------------------------------------------------- /examples/images/shopping/price.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/shopping/price.png -------------------------------------------------------------------------------- /examples/images/static/index_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/index_bg.png -------------------------------------------------------------------------------- /examples/images/static/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/loading.gif -------------------------------------------------------------------------------- /examples/images/static/loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/loading2.gif -------------------------------------------------------------------------------- /examples/images/static/loadmor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/loadmor.gif -------------------------------------------------------------------------------- /examples/images/static/loadmore.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/loadmore.gif -------------------------------------------------------------------------------- /examples/images/view/icon-mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/view/icon-mask.png -------------------------------------------------------------------------------- /src/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/counter/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/error-tip/index.wxml: -------------------------------------------------------------------------------- 1 | {{errorText}} -------------------------------------------------------------------------------- /src/message/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/steps/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dist/error-tip/index.wxml: -------------------------------------------------------------------------------- 1 | {{errorText}} -------------------------------------------------------------------------------- /dist/radio-group/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-error-tip":"../error-tip/index","l-radio":"../radio/index"}} -------------------------------------------------------------------------------- /examples/dist/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/images/basic/icon-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/basic/icon-button.png -------------------------------------------------------------------------------- /examples/images/component/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/checkbox.png -------------------------------------------------------------------------------- /examples/images/component/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/loading.png -------------------------------------------------------------------------------- /examples/images/component/message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/message.png -------------------------------------------------------------------------------- /examples/images/component/segment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/segment.png -------------------------------------------------------------------------------- /examples/images/component/textarea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/textarea.png -------------------------------------------------------------------------------- /examples/images/filter/classnames.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/filter/classnames.png -------------------------------------------------------------------------------- /examples/images/filter/zeroPadding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/filter/zeroPadding.png -------------------------------------------------------------------------------- /examples/images/static/camera_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/static/camera_add.png -------------------------------------------------------------------------------- /examples/images/tabbar/base-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/base-select.png -------------------------------------------------------------------------------- /examples/images/tabbar/team-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/team-select.png -------------------------------------------------------------------------------- /examples/images/view/default-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/view/default-image.jpg -------------------------------------------------------------------------------- /src/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-button": "../button/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-popup": "../popup/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/step/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /dist/water-flow/index.wxss: -------------------------------------------------------------------------------- 1 | .water-flow-container{display:flex;width:100%;box-sizing:border-box;background:0 0}.water-column{flex:1} -------------------------------------------------------------------------------- /examples/components/tabs-card/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | components/tabs-card/index.wxml 3 | -------------------------------------------------------------------------------- /examples/dist/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/counter/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/error-tip/index.wxml: -------------------------------------------------------------------------------- 1 | {{errorText}} -------------------------------------------------------------------------------- /examples/dist/image-picker/image/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/image-picker/image/add.png -------------------------------------------------------------------------------- /examples/dist/message/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/status-show/image/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/cart.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/data.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/error.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/order.png -------------------------------------------------------------------------------- /examples/dist/steps/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/images/component/classnames.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/classnames.png -------------------------------------------------------------------------------- /examples/images/component/countdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/countdown.png -------------------------------------------------------------------------------- /examples/images/component/imagepicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/imagepicker.png -------------------------------------------------------------------------------- /examples/images/component/load-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/load-more.png -------------------------------------------------------------------------------- /examples/images/component/notice-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/notice-bar.png -------------------------------------------------------------------------------- /examples/images/component/slide-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/slide-view.png -------------------------------------------------------------------------------- /examples/images/component/status-show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/status-show.png -------------------------------------------------------------------------------- /examples/images/component/waterFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/waterFlow.png -------------------------------------------------------------------------------- /examples/images/component/zeroPadding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/zeroPadding.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-action.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-basic.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-flex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-flex.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-form.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-shop.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-view.png -------------------------------------------------------------------------------- /examples/images/tabbar/about-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/about-select.png -------------------------------------------------------------------------------- /examples/images/tabbar/filter-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/tabbar/filter-select.png -------------------------------------------------------------------------------- /examples/pages/filter/pages/zero-padding/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/filter/pages/zero-padding/index.wxss */ 2 | @import '../base/index.wxss' -------------------------------------------------------------------------------- /src/avatar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/count-selector/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/loadmore/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-loading":"../loading/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/status-show/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-button":"../button/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/tabpanel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /dist/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-error-tip":"../error-tip/index","l-checkbox":"../checkbox/index"}} -------------------------------------------------------------------------------- /dist/grid-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dist/list/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-badge":"../badge/index","l-tag":"../tag/index"} } -------------------------------------------------------------------------------- /examples/app.js: -------------------------------------------------------------------------------- 1 | //app.js 2 | App({ 3 | onLaunch: function() { 4 | 5 | }, 6 | 7 | globalData: { 8 | 9 | } 10 | }); -------------------------------------------------------------------------------- /examples/dist/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-button": "../button/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-popup": "../popup/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/status-show/image/address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/address.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/network.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/product.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/product.png -------------------------------------------------------------------------------- /examples/dist/status-show/image/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/dist/status-show/image/success.png -------------------------------------------------------------------------------- /examples/dist/step/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/images/component/action-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/action-sheet.png -------------------------------------------------------------------------------- /examples/images/component/combined-tabs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/component/combined-tabs.png -------------------------------------------------------------------------------- /examples/pages/filter/pages/base/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-wemark": "../../components/wemark/wemark" 4 | } 5 | } -------------------------------------------------------------------------------- /examples/pages/navigator/content/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/navigator/content/index.wxss */ 2 | page{ 3 | background-color: #fff; 4 | } 5 | -------------------------------------------------------------------------------- /src/grid-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/tabpanel/index.less: -------------------------------------------------------------------------------- 1 | /* components/tab/index.wxss */ 2 | 3 | .l-tabpanel-content { 4 | width: 100%; 5 | height: 100%; 6 | } 7 | -------------------------------------------------------------------------------- /dist/error-tip/index.js: -------------------------------------------------------------------------------- 1 | Component({externalClasses:["l-error-text","l-error-text-class"],properties:{errorText:String},data:{},methods:{}}); -------------------------------------------------------------------------------- /dist/tabs/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-badge":"../badge/index","l-tabpanel":"../tabpanel/index"}} -------------------------------------------------------------------------------- /examples/components/column-title/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | components/column-title/index.wxml 3 | -------------------------------------------------------------------------------- /examples/dist/avatar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/count-selector/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/loadmore/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-loading":"../loading/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/status-show/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-button":"../button/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/dist/tabpanel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/dist/water-flow/index.wxss: -------------------------------------------------------------------------------- 1 | .water-flow-container{display:flex;width:100%;box-sizing:border-box;background:0 0}.water-column{flex:1} -------------------------------------------------------------------------------- /examples/images/animation/transition/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/animation/transition/test.png -------------------------------------------------------------------------------- /examples/images/navigator/icon-navigator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/images/navigator/icon-navigator.png -------------------------------------------------------------------------------- /examples/pages/navigator/content/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "navi-content":"/components/navi-content/index" 4 | } 5 | } -------------------------------------------------------------------------------- /src/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-grid-item":"../grid-item/index" 5 | } 6 | } -------------------------------------------------------------------------------- /dist/steps/index.wxss: -------------------------------------------------------------------------------- 1 | .steps-container{display:flex;width:100%}.steps-container-row{flex-direction:row}.steps-container-column{flex-direction:column} -------------------------------------------------------------------------------- /examples/dist/grid-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/pages/components/layout/images/card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/layout/images/card.png -------------------------------------------------------------------------------- /examples/pages/components/view/pages/loadmore/case/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-loadmore": "/dist/loadmore/index" 4 | } 5 | } -------------------------------------------------------------------------------- /examples/pages/filter/pages/classnames/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-wemark": "../../components/wemark/wemark" 4 | } 5 | } -------------------------------------------------------------------------------- /examples/pages/filter/pages/string/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | pages/filter/pages/string/index.wxml 3 | -------------------------------------------------------------------------------- /examples/pages/filter/pages/zero-padding/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-wemark": "../../components/wemark/wemark" 4 | } 5 | } -------------------------------------------------------------------------------- /dist/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-popup":"../popup/index","l-button":"../button/index"} } -------------------------------------------------------------------------------- /dist/grid-item/index.wxss: -------------------------------------------------------------------------------- 1 | .grid-item{max-width:initial;max-height:initial;display:flex;justify-content:center;align-items:center;flex-direction:column} -------------------------------------------------------------------------------- /dist/image-picker/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-grid-item":"../grid-item/index","l-grid":"../grid/index"}} -------------------------------------------------------------------------------- /examples/dist/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-grid-item":"../grid-item/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/pages/components/nav/pages/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | .tabbar-wrapper{ 2 | width: 750rpx; 3 | margin-top: 50rpx; 4 | margin-left: -20rpx; 5 | } 6 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/show/show.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "status": "/dist/status-show/index" 4 | } 5 | } -------------------------------------------------------------------------------- /src/form-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip":"../error-tip/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /dist/price/index.wxss: -------------------------------------------------------------------------------- 1 | .price-del{text-decoration:line-through!important}.price-container{display:inline-block;text-align:center;color:#3963bc;font-size:28rpx} -------------------------------------------------------------------------------- /dist/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | .radio-group{width:100%}.radio-group-row{display:flex;flex-direction:row}.radio-group-column{display:flex;flex-direction:column} -------------------------------------------------------------------------------- /dist/segment/index.json: -------------------------------------------------------------------------------- 1 | {"component":true,"usingComponents":{"l-icon":"../icon/index","l-badge":"../badge/index","l-segment-item":"../segment-item/index"}} -------------------------------------------------------------------------------- /examples/dist/steps/index.wxss: -------------------------------------------------------------------------------- 1 | .steps-container{display:flex;width:100%}.steps-container-row{flex-direction:row}.steps-container-column{flex-direction:column} -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/add.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/my.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/tao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/tao.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/we.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/we.png -------------------------------------------------------------------------------- /src/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": 4 | { 5 | "l-icon": "../icon/index" 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/toast/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-mask": "../mask/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/form-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip":"../error-tip/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/dist/grid-item/index.wxss: -------------------------------------------------------------------------------- 1 | .grid-item{max-width:initial;max-height:initial;display:flex;justify-content:center;align-items:center;flex-direction:column} -------------------------------------------------------------------------------- /examples/pages/components/form/images/smile-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/images/smile-active.png -------------------------------------------------------------------------------- /examples/pages/components/form/images/smile-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/images/smile-inactive.png -------------------------------------------------------------------------------- /examples/pages/components/layout/images/wx_app_clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/layout/images/wx_app_clear.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/baby.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/cart.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/cart1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/cart1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/dining.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/dining.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/favor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/favor.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/home.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/home1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/home1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/living.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/living.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/mark.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/mark1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/mark1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/people.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/tao1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/tao1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/video.png -------------------------------------------------------------------------------- /src/search-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-input": "../input/index", 5 | "l-icon": "../icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-step":"../step/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-mask": "../mask/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": 4 | { 5 | "l-icon": "../icon/index" 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /examples/dist/price/index.wxss: -------------------------------------------------------------------------------- 1 | .price-del{text-decoration:line-through!important}.price-container{display:inline-block;text-align:center;color:#3963bc;font-size:28rpx} -------------------------------------------------------------------------------- /examples/dist/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | .radio-group{width:100%}.radio-group-row{display:flex;flex-direction:row}.radio-group-column{display:flex;flex-direction:column} -------------------------------------------------------------------------------- /examples/dist/toast/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-mask": "../mask/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/images/badroom-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/layout/images/badroom-active.png -------------------------------------------------------------------------------- /examples/pages/components/layout/images/wx_app_compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/layout/images/wx_app_compass.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/badroom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/badroom.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/bathroom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/bathroom.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/discover.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/kichten.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/kichten.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/my_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/my_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/my_fill1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/my_fill1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/my_fill2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/my_fill2.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/we_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/we_fill.png -------------------------------------------------------------------------------- /src/combined-tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/input/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-error-tip":"../error-tip/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/textarea/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-error-tip":"../error-tip/index" 6 | } 7 | } -------------------------------------------------------------------------------- /dist/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | .checkbox-group{flex-wrap:wrap}.checkbox-group-row{display:flex;flex-direction:row}.checkbox-group-column{display:flex;flex-direction:column} -------------------------------------------------------------------------------- /examples/dist/search-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-input": "../input/index", 5 | "l-icon": "../icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-step":"../step/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-mask": "../mask/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/animation/pages/transition/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/animation/pages/transition/test.png -------------------------------------------------------------------------------- /examples/pages/components/form/pages/radio/images/radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/pages/radio/images/radio.png -------------------------------------------------------------------------------- /examples/pages/components/layout/images/bathroom-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/layout/images/bathroom-active.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/baby_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/baby_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/cart_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/cart_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/cart_fill2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/cart_fill2.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/favor_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/favor_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/home_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/home_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/home_fill1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/home_fill1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/mark_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/mark_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/mark_fill1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/mark_fill1.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/video_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/video_fill.png -------------------------------------------------------------------------------- /src/album/index.less: -------------------------------------------------------------------------------- 1 | /* miniprogram_npm/lin-ui/picture-album/index.wxss */ 2 | .container{ 3 | display: grid; 4 | 5 | } 6 | .vertical { 7 | height: 360rpx; 8 | } -------------------------------------------------------------------------------- /src/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-list": "../list/index", 5 | "l-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/water-flow/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {}, 4 | "componentGenerics": { 5 | "l-water-flow-item": true 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/combined-tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/input/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-error-tip":"../error-tip/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/textarea/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-error-tip":"../error-tip/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/form/pages/checkbox/images/radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/pages/checkbox/images/radio.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/dining-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/dining-active.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/discover_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/discover_fill.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/living-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/living-active.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/people_fill1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/people_fill1.png -------------------------------------------------------------------------------- /examples/pages/components/view/pages/notice-bar/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/notice-bar/index.wxss */ 2 | .container{ 3 | display: flex; 4 | flex-direction: column 5 | } -------------------------------------------------------------------------------- /examples/dist/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | .checkbox-group{flex-wrap:wrap}.checkbox-group-row{display:flex;flex-direction:row}.checkbox-group-column{display:flex;flex-direction:column} -------------------------------------------------------------------------------- /examples/dist/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-list": "../list/index", 5 | "l-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /examples/dist/water-flow/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {}, 4 | "componentGenerics": { 5 | "l-water-flow-item": true 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/form/pages/radio/images/radiobutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/pages/radio/images/radiobutton.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/badroom-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/badroom-active.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/bathroom-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/bathroom-active.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/discover_fill2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/discover_fill2.png -------------------------------------------------------------------------------- /examples/pages/components/nav/images/tab-icon/kichten-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/nav/images/tab-icon/kichten-active.png -------------------------------------------------------------------------------- /examples/pages/components/form/pages/checkbox/images/radiobutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GzhiYi/lin-ui/master/examples/pages/components/form/pages/checkbox/images/radiobutton.png -------------------------------------------------------------------------------- /src/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip": "../error-tip/index", 5 | "l-radio":"../radio/index" 6 | } 7 | } -------------------------------------------------------------------------------- /dist/spin/index.js: -------------------------------------------------------------------------------- 1 | Component({externalClasses:["l-class"],properties:{color:String,show:Boolean,type:{type:String,value:"flash"},custom:Boolean,size:{type:String,value:"default"}},methods:{}}); -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/water-flow/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/search-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-search-bar": "/dist/search-bar/index", 4 | "l-icon":"/dist/icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /examples/components/navi-card/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{title}} 5 | -------------------------------------------------------------------------------- /examples/dist/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip": "../error-tip/index", 5 | "l-radio":"../radio/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/show/show.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index", 6 | "l-tabpanel":"../tabpanel/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/navigator/filter/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "detail-navi-card": "/components/detail-navi-card/index", 4 | "navi-title": "/components/navi-title/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip":"../error-tip/index", 5 | "l-checkbox": "../checkbox/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/error-tip/index.less: -------------------------------------------------------------------------------- 1 | @import "../../config/styles/_base.less"; 2 | 3 | .error-text { 4 | font-size: 22rpx; 5 | color: @error-color; 6 | margin-right:20rpx; 7 | line-height: 2; 8 | } -------------------------------------------------------------------------------- /src/list/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index", 6 | "l-tag":"../tag/index" 7 | } 8 | } -------------------------------------------------------------------------------- /dist/icon/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index", 6 | "l-tabpanel":"../tabpanel/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /src/icon/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/image-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-grid-item": "../grid-item/index", 6 | "l-grid": "../grid/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/dist/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-error-tip":"../error-tip/index", 5 | "l-checkbox": "../checkbox/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /examples/dist/list/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-badge":"../badge/index", 6 | "l-tag":"../tag/index" 7 | } 8 | } -------------------------------------------------------------------------------- /src/segment/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-badge": "../badge/index", 6 | "l-segment-item":"../segment-item/index" 7 | } 8 | } -------------------------------------------------------------------------------- /dist/common/async-validator/rule/whitespace.js: -------------------------------------------------------------------------------- 1 | import*as util from"../util";function whitespace(t,e,s,i,a){(/^\s+$/.test(e)||""===e)&&i.push(util.format(a.messages.whitespace,t.fullField))}export default whitespace; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/required.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";function required(r,e,u,i,o){const t=[],a=Array.isArray(e)?"array":typeof e;rules.required(r,e,i,t,o,a),u(t)}export default required; -------------------------------------------------------------------------------- /examples/dist/icon/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/dist/image-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-grid-item": "../grid-item/index", 6 | "l-grid": "../grid/index" 7 | } 8 | } -------------------------------------------------------------------------------- /src/grid-item/index.less: -------------------------------------------------------------------------------- 1 | .grid-item { 2 | max-width: initial; 3 | max-height: initial; 4 | display: flex; 5 | justify-content: center; 6 | align-items: center; 7 | flex-direction: column; 8 | } -------------------------------------------------------------------------------- /src/water-flow/index.less: -------------------------------------------------------------------------------- 1 | .water-flow-container { 2 | display : flex; 3 | width : 100%; 4 | box-sizing: border-box; 5 | background: transparent 6 | } 7 | 8 | .water-column { 9 | flex: 1 10 | } -------------------------------------------------------------------------------- /dist/rate/index.wxss: -------------------------------------------------------------------------------- 1 | .l-rate,.l-rate-star{display:inline-flex}.l-rate-star{position:relative}.l-rate-star~.l-rate-star{margin-left:10rpx}.icon-checked{position:absolute;overflow:hidden}.image-item{width:80rpx;height:80rpx} -------------------------------------------------------------------------------- /examples/dist/segment/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon": "../icon/index", 5 | "l-badge": "../badge/index", 6 | "l-segment-item":"../segment-item/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/water-flow/component/product/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-card": "/dist/card/index", 5 | "l-price": "/dist/price/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-popup":"../popup/index", 6 | "l-button":"../button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /src/behaviors/zIndex.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: { 5 | zIndex:{ 6 | type: Number, 7 | value: 777 8 | } 9 | } 10 | }); -------------------------------------------------------------------------------- /src/slide-view/index.less: -------------------------------------------------------------------------------- 1 | /* slide-view/slide-view.wxss */ 2 | .movable-content{ 3 | display: flex; 4 | direction: row; 5 | overflow: hidden; 6 | } 7 | 8 | .container { 9 | overflow: hidden; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /src/steps/index.less: -------------------------------------------------------------------------------- 1 | .steps-container { 2 | display: flex; 3 | width: 100%; 4 | 5 | &-row { 6 | flex-direction: row; 7 | } 8 | 9 | &-column { 10 | flex-direction: column 11 | } 12 | } -------------------------------------------------------------------------------- /examples/components/navi-content/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "detail-navi-card": "/components/detail-navi-card/index", 5 | "navi-title": "/components/navi-title/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/dist/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "l-icon":"../icon/index", 5 | "l-popup":"../popup/index", 6 | "l-button":"../button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/dist/rate/index.wxss: -------------------------------------------------------------------------------- 1 | .l-rate,.l-rate-star{display:inline-flex}.l-rate-star{position:relative}.l-rate-star~.l-rate-star{margin-left:10rpx}.icon-checked{position:absolute;overflow:hidden}.image-item{width:80rpx;height:80rpx} -------------------------------------------------------------------------------- /src/behaviors/hover.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: { 5 | isHover:{ 6 | type: Boolean, 7 | value: true 8 | } 9 | } 10 | }); -------------------------------------------------------------------------------- /src/filter/zero-padding.wxs: -------------------------------------------------------------------------------- 1 | function zeroPadding(num, length = 2) { 2 | if((num + "").length >= length) { 3 | return num; 4 | } 5 | return zeroPadding("0" + num, length) 6 | } 7 | 8 | module.exports = zeroPadding; -------------------------------------------------------------------------------- /dist/filter/zero-padding.wxs: -------------------------------------------------------------------------------- 1 | function zeroPadding(num, length = 2) { 2 | if((num + "").length >= length) { 3 | return num; 4 | } 5 | return zeroPadding("0" + num, length) 6 | } 7 | 8 | module.exports = zeroPadding; -------------------------------------------------------------------------------- /examples/dist/behaviors/zIndex.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: { 5 | zIndex:{ 6 | type: Number, 7 | value: 777 8 | } 9 | } 10 | }); -------------------------------------------------------------------------------- /dist/countdown/index.js: -------------------------------------------------------------------------------- 1 | import countDownBehaviors from"../behaviors/countdown";Component({externalClasses:["l-class","l-class-time","l-time-class"],behaviors:[countDownBehaviors],properties:{doneText:{type:String,value:"已结束"}},methods:{}}); -------------------------------------------------------------------------------- /dist/countdown/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{item.value}}{{item.name}} 3 | -------------------------------------------------------------------------------- /examples/dist/behaviors/hover.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: { 5 | isHover:{ 6 | type: Boolean, 7 | value: true 8 | } 9 | } 10 | }); -------------------------------------------------------------------------------- /examples/dist/filter/zero-padding.wxs: -------------------------------------------------------------------------------- 1 | function zeroPadding(num, length = 2) { 2 | if((num + "").length >= length) { 3 | return num; 4 | } 5 | return zeroPadding("0" + num, length) 6 | } 7 | 8 | module.exports = zeroPadding; -------------------------------------------------------------------------------- /src/countdown/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{item.value}}{{item.name}} 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **描述你希望的支持的新功能?** 11 | 12 | **你期望的 API 是怎样的?** 13 | -------------------------------------------------------------------------------- /dist/behaviors/validator.js: -------------------------------------------------------------------------------- 1 | export default Behavior({definitionFilter(e){const{properties:o}=e;Object.keys(o).forEach(e=>{const{options:t}=o[e];t&&(o[e].observer=function(o){t.includes(o)||console.error(`${e}: ${o} must be in the [${t}]`)})})}}); -------------------------------------------------------------------------------- /dist/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/pages/components/response/pages/message/index.wxss: -------------------------------------------------------------------------------- 1 | .button { 2 | background: rgba(223, 237, 255, 1) !important; 3 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 4 | color: rgba(45, 97, 179, 1) !important; 5 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/spin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-spin":"/dist/spin/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/index.wxss: -------------------------------------------------------------------------------- 1 | .button { 2 | background: rgba(223, 237, 255, 1) !important; 3 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 4 | color: rgba(45, 97, 179, 1) !important; 5 | } -------------------------------------------------------------------------------- /src/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /dist/behaviors/computeOffset.js: -------------------------------------------------------------------------------- 1 | export default Behavior({behaviors:[],properties:{},data:{distance:0},attached(){this.offsetMargin()},methods:{offsetMargin(){const{windowHeight:t,screenHeight:e}=wx.getSystemInfoSync();this.setData({distance:e-t})}}}); -------------------------------------------------------------------------------- /examples/dist/countdown/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{item.value}}{{item.name}} 3 | -------------------------------------------------------------------------------- /examples/pages/components/basic/pages/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-icon": "/dist/icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/form/pages/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-rate": "/dist/rate/index" 6 | } 7 | } -------------------------------------------------------------------------------- /dist/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /dist/common/async-validator/rule/required.js: -------------------------------------------------------------------------------- 1 | import*as util from"../util";function required(e,r,i,u,t,l){!e.required||i.hasOwnProperty(e.field)&&!util.isEmptyValue(r,l||e.type)||u.push(util.format(t.messages.required,e.fullField))}export default required; -------------------------------------------------------------------------------- /examples/dist/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/water-flow/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "l-water-flow":"/dist/water-flow/index", 5 | "product":"./component/product/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/avatar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-avatar": "/dist/avatar/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/spin/index.js: -------------------------------------------------------------------------------- 1 | import spinNaviConfigs from './spin-nav.js' 2 | 3 | Page({ 4 | 5 | data: { 6 | spinNaviConfigs: spinNaviConfigs 7 | }, 8 | 9 | onLoad: function(options) { 10 | 11 | }, 12 | 13 | }) -------------------------------------------------------------------------------- /src/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/radio-group/index.less: -------------------------------------------------------------------------------- 1 | .radio-group { 2 | width: 100%; 3 | 4 | &-row { 5 | display : flex; 6 | flex-direction: row; 7 | } 8 | 9 | &-column { 10 | display : flex; 11 | flex-direction: column; 12 | } 13 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/collapse/index.js: -------------------------------------------------------------------------------- 1 | Page({ 2 | onShareAppMessage: function () { 3 | 4 | }, 5 | 6 | fold(e) { 7 | console.log("折叠", e) 8 | }, 9 | 10 | expand(e) { 11 | console.log("展开", e) 12 | } 13 | }) 14 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/badge/index.js: -------------------------------------------------------------------------------- 1 | import badgeNaviConfigs from './badge-nav.js' 2 | 3 | Page({ 4 | 5 | data: { 6 | badgeNaviConfigs: badgeNaviConfigs 7 | }, 8 | 9 | onLoad: function(options) { 10 | 11 | }, 12 | 13 | }) -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-button":"/dist/button/index" 6 | } 7 | } -------------------------------------------------------------------------------- /examples/pages/navigator/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarBackgroundColor": "#3963BC", 3 | "navigationBarTextStyle": "white", 4 | "usingComponents": { 5 | "navi-card": "/components/navi-card/index", 6 | "l-card":"/dist/card/index" 7 | } 8 | } -------------------------------------------------------------------------------- /dist/sticky-item/index.wxss: -------------------------------------------------------------------------------- 1 | .l-sticky-item{display:flex;flex-direction:column}.l-sticky-wrapper{overflow:visible}.l-sticky-item-header{width:100%}.l-sticky-item-header-fixed{position:fixed;top:0}@supports (position:sticky){.l-sticky-item-header-sticky{position:sticky}} -------------------------------------------------------------------------------- /dist/transition/index.js: -------------------------------------------------------------------------------- 1 | import transition from"../behaviors/transition";Component({behaviors:[transition(!0)],externalClasses:["l-class","l-enter-class","l-enter-active-class","l-enter-to-class","l-leave-class","l-leave-active-class","l-leave-to-class"],methods:{}}); -------------------------------------------------------------------------------- /dist/utils/util.js: -------------------------------------------------------------------------------- 1 | const promisic=function(n){return function(t={}){return new Promise((c,r)=>{const s=Object.assign(t,{success:n=>{c(n)},fail:n=>{r(n)}});n(s)})}},px2rpx=function(n){const{screenWidth:t}=wx.getSystemInfoSync();return 750/t*n};export{promisic,px2rpx}; -------------------------------------------------------------------------------- /examples/dist/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "l-card":"/dist/card/index", 5 | "l-icon": "/dist/icon/index", 6 | "l-tag":"/dist/tag/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-notice-bar": "/dist/notice-bar/index" 6 | } 7 | } -------------------------------------------------------------------------------- /dist/common/async-validator/rule/enum.js: -------------------------------------------------------------------------------- 1 | import*as util from"../util";const ENUM="enum";function enumerable(e,u,n,m,r){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(u)&&m.push(util.format(r.messages.enum,e.fullField,e.enum.join(", ")))}export default enumerable; -------------------------------------------------------------------------------- /examples/dist/sticky-item/index.wxss: -------------------------------------------------------------------------------- 1 | .l-sticky-item{display:flex;flex-direction:column}.l-sticky-wrapper{overflow:visible}.l-sticky-item-header{width:100%}.l-sticky-item-header-fixed{position:fixed;top:0}@supports (position:sticky){.l-sticky-item-header-sticky{position:sticky}} -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/count-selector/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-count-selector": "/dist/count-selector/index" 6 | } 7 | } -------------------------------------------------------------------------------- /dist/icon/index.js: -------------------------------------------------------------------------------- 1 | Component({externalClasses:["l-class","l-class-self","l-self-class"],options:{addGlobalClass:!0},properties:{name:String,color:String,size:String},data:{default:{size:40,color:"#45526B"}},ready:function(){this.data.name||console.error("请传入Icon组件的name属性")},methods:{}}); -------------------------------------------------------------------------------- /src/price/index.less: -------------------------------------------------------------------------------- 1 | @import "../../config/styles/_base.less"; 2 | 3 | .price-del{ 4 | text-decoration: line-through !important; 5 | } 6 | 7 | .price-container{ 8 | display: inline-block; 9 | text-align: center; 10 | color: @theme-color; 11 | font-size: 28rpx; 12 | } -------------------------------------------------------------------------------- /dist/countdown/index.wxss: -------------------------------------------------------------------------------- 1 | .l-countdown{font-size:28rpx;line-height:40px}.l-countdown-item{display:inline-block;color:inherit}.l-countdown-time{display:inline-flex;width:56rpx;height:56rpx;background:#45526b;border-radius:4rpx;color:#fff;align-items:center;justify-content:center;margin:0 16rpx} -------------------------------------------------------------------------------- /examples/pages/components/basic/pages/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-button":"/dist/button/index", 6 | "l-icon":"/dist/icon/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/list/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-list": "/dist/list/index", 6 | "l-radio":"/dist/radio/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/mask/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-mask": "/dist/mask/index", 6 | "l-button":"/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-popup": "/dist/popup/index", 6 | "l-button":"/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-steps": "/dist/steps/index", 4 | "l-step": "/dist/step/index", 5 | "content-title": "/components/content-title/index", 6 | "content-card": "/components/content-card/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-tag": "/dist/tag/index", 6 | "l-notice":"/dist/notice-bar/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/album/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-album": "/dist/album/index", 6 | "l-avatar": "/dist/avatar/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/response/pages/toast/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-toast": "/dist/toast/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-skeleton": "/dist/skeleton/index", 4 | "l-button": "/dist/button/index", 5 | "l-icon":"/dist/icon/index", 6 | "l-card":"/dist/card/index", 7 | "l-tag":"/dist/tag/index" 8 | } 9 | } -------------------------------------------------------------------------------- /examples/components/navi-title/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{title}} 5 | 6 | 7 | {{count}} 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/dist/countdown/index.wxss: -------------------------------------------------------------------------------- 1 | .l-countdown{font-size:28rpx;line-height:40px}.l-countdown-item{display:inline-block;color:inherit}.l-countdown-time{display:inline-flex;width:56rpx;height:56rpx;background:#45526b;border-radius:4rpx;color:#fff;align-items:center;justify-content:center;margin:0 16rpx} -------------------------------------------------------------------------------- /examples/pages/components/form/pages/textarea/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-toast": "/dist/toast/index", 6 | "l-textarea": "/dist/textarea/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "l-collapse": "/dist/collapse/index", 4 | "l-collapse-item": "/dist/collapse-item/index", 5 | "l-button": "/dist/button/index", 6 | "l-icon": "/dist/icon/index" 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /examples/pages/components/response/pages/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-dialog": "/dist/dialog/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/loadmore/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-button": "/dist/button/index", 6 | "l-loadmore": "/dist/loadmore/index" 7 | } 8 | } -------------------------------------------------------------------------------- /dist/filter/object.wxs: -------------------------------------------------------------------------------- 1 | var REGEXP = getRegExp('{|}|"', 'g'); 2 | 3 | function keys(obj) { 4 | return JSON.stringify(obj) 5 | .replace(REGEXP, '') 6 | .split(',') 7 | .map(function(item) { 8 | return item.split(':')[0]; 9 | }); 10 | } 11 | 12 | module.exports.keys = keys; -------------------------------------------------------------------------------- /examples/pages/components/nav/pages/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-tabbar": "/dist/custom-tab-bar/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/response/pages/message/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-message": "/dist/message/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/countdown/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-countdown": "/dist/countdown/index", 6 | "l-button":"/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /src/filter/object.wxs: -------------------------------------------------------------------------------- 1 | var REGEXP = getRegExp('{|}|"', 'g'); 2 | 3 | function keys(obj) { 4 | return JSON.stringify(obj) 5 | .replace(REGEXP, '') 6 | .split(',') 7 | .map(function(item) { 8 | return item.split(':')[0]; 9 | }); 10 | } 11 | 12 | module.exports.keys = keys; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .idea 3 | .ipr 4 | .iws 5 | *.diff 6 | *.patch 7 | *.bak 8 | .DS_Store 9 | node_modules/ 10 | .project 11 | .settings 12 | npm-debug.log 13 | .*proj 14 | .svn/ 15 | *.swp 16 | *.swo 17 | *.log 18 | yarn-error.log 19 | .vscode 20 | package-lock.json 21 | examples/project.config.json -------------------------------------------------------------------------------- /dist/mask/index.wxss: -------------------------------------------------------------------------------- 1 | .container-mask{position:fixed;top:0;left:0;width:100%;height:100%;transition:all .3s}.mask-bg{height:100%;width:100%;background:#fff;z-index:99}.mask-content{display:inline-block;z-index:101;overflow:hidden}.center{display:flex;flex-direction:row;align-items:center;justify-content:center} -------------------------------------------------------------------------------- /examples/pages/components/response/pages/slide-view/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-slide-view": "/dist/slide-view/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/dist/filter/object.wxs: -------------------------------------------------------------------------------- 1 | var REGEXP = getRegExp('{|}|"', 'g'); 2 | 3 | function keys(obj) { 4 | return JSON.stringify(obj) 5 | .replace(REGEXP, '') 6 | .split(',') 7 | .map(function(item) { 8 | return item.split(':')[0]; 9 | }); 10 | } 11 | 12 | module.exports.keys = keys; -------------------------------------------------------------------------------- /examples/pages/components/form/pages/image-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-image-picker": "/dist/image-picker/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/filter/pages/base/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/filter/pages/is/index.wxss */ 2 | view { 3 | font-size: 28rpx; 4 | line-height: 52rpx; 5 | } 6 | .code { 7 | color: #3683d6; 8 | background-color: #e4f1ff; 9 | padding: 0 10rpx; 10 | border-radius: 4rpx; 11 | margin: 0 8rpx; 12 | } -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **LinUI版本(必填):** 11 | 12 | **设备(必填):** 13 | 14 | **基础库版本(必填):** 15 | 16 | **UI问题,请附上截图** 17 | 18 | **重现步骤,必要时请提供代码片段链接** 19 | 20 | -------------------------------------------------------------------------------- /examples/dist/mask/index.wxss: -------------------------------------------------------------------------------- 1 | .container-mask{position:fixed;top:0;left:0;width:100%;height:100%;transition:all .3s}.mask-bg{height:100%;width:100%;background:#fff;z-index:99}.mask-content{display:inline-block;z-index:101;overflow:hidden}.center{display:flex;flex-direction:row;align-items:center;justify-content:center} -------------------------------------------------------------------------------- /examples/pages/components/form/pages/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-checkbox-group": "/dist/checkbox-group/index", 6 | "l-checkbox": "/dist/checkbox/index" 7 | } 8 | } -------------------------------------------------------------------------------- /examples/pages/components/response/pages/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-action-sheet": "/dist/action-sheet/index", 6 | "l-button": "/dist/button/index" 7 | } 8 | } -------------------------------------------------------------------------------- /dist/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/components/content-card/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{name}} 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/price/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-price": "/dist/price/index", 6 | "l-tag":"/dist/tag/index", 7 | "l-icon":"/dist/icon/index" 8 | } 9 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/notice-bar/notice-nav.js: -------------------------------------------------------------------------------- 1 | const noticeNaviConfigs = [{ 2 | title: "基本案例", 3 | type: 0, 4 | config: { 5 | status: "show", 6 | opacity: .4, 7 | zIndex: 99, 8 | center: true, 9 | locked: false, 10 | 11 | } 12 | }] 13 | 14 | export default noticeNaviConfigs; -------------------------------------------------------------------------------- /examples/pages/components/form/pages/input/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-toast": "/dist/toast/index", 6 | "l-icon": "/dist/icon/index", 7 | "l-input": "/dist/input/index" 8 | } 9 | } -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/sticky/pages/sticky-base/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-sticky":"/dist/sticky/index", 6 | "l-sticky-item":"/dist/sticky-item/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /examples/pages/components/form/pages/textarea/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/dialog/index.wxss */ 2 | 3 | .buttun-wrapper { 4 | /*display: flex;*/ 5 | /*flex-direction: column;*/ 6 | /*align-items: center;*/ 7 | /*justify-content: center;*/ 8 | } 9 | 10 | .img{ 11 | width: 100rpx; 12 | height: 50rpx; 13 | } 14 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-grid-item": "/dist/grid-item/index", 6 | "l-grid": "/dist/grid/index", 7 | "l-icon":"/dist/icon/index" 8 | } 9 | } -------------------------------------------------------------------------------- /dist/common/async-validator/validator/boolean.js: -------------------------------------------------------------------------------- 1 | import{isEmptyValue}from"../util";import rules from"../rule/index.js";function boolean(e,r,i,u,o){const t=[];if(e.required||!e.required&&u.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,u,t,o),void 0!==r&&rules.type(e,r,u,t,o)}i(t)}export default boolean; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/method.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function method(e,r,i,t,u){const o=[];if(e.required||!e.required&&t.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,t,o,u),void 0!==r&&rules.type(e,r,t,o,u)}i(o)}export default method; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/object.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function object(e,r,i,t,u){const o=[];if(e.required||!e.required&&t.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,t,o,u),void 0!==r&&rules.type(e,r,t,o,u)}i(o)}export default object; -------------------------------------------------------------------------------- /examples/components/column-title/index.js: -------------------------------------------------------------------------------- 1 | // components/column-title/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | 8 | }, 9 | 10 | /** 11 | * 组件的初始数据 12 | */ 13 | data: { 14 | 15 | }, 16 | 17 | /** 18 | * 组件的方法列表 19 | */ 20 | methods: { 21 | 22 | } 23 | }) 24 | -------------------------------------------------------------------------------- /dist/common/async-validator/validator/regexp.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function regexp(e,r,i,u,t){const l=[];if(e.required||!e.required&&u.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,u,l,t),isEmptyValue(r)||rules.type(e,r,u,l,t)}i(l)}export default regexp; -------------------------------------------------------------------------------- /examples/pages/navigator/content/config/animation-navi.js: -------------------------------------------------------------------------------- 1 | 2 | const animationNaviConfigs = [ 3 | { 4 | icon: "/images/component/icon.png", 5 | title: "Transition", 6 | desc: "过渡", 7 | componentsPath: "/pages/components/animation/pages/transition/index" 8 | }, 9 | ] 10 | 11 | export default animationNaviConfigs; 12 | -------------------------------------------------------------------------------- /dist/common/async-validator/rule/index.js: -------------------------------------------------------------------------------- 1 | import required from"./required.js";import whitespace from"./whitespace.js";import type from"./type.js";import range from"./range.js";import enumRule from"./enum.js";import pattern from"./pattern.js";export default{required:required,whitespace:whitespace,type:type,range:range,enum:enumRule,pattern:pattern}; -------------------------------------------------------------------------------- /examples/pages/components/nav/pages/segment/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-segment": "/dist/segment/index", 6 | "l-segment-item": "/dist/segment-item/index", 7 | "l-button": "/dist/button/index" 8 | } 9 | } -------------------------------------------------------------------------------- /dist/common/async-validator/validator/enum.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";const ENUM="enum";function enumerable(e,r,u,i,t){const l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return u();rules.required(e,r,i,l,t),r&&rules.enum(e,r,i,l,t)}u(l)}export default enumerable; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/type.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function type(e,r,t,i,u){const p=e.type,l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(isEmptyValue(r,p)&&!e.required)return t();rules.required(e,r,i,l,u,p),isEmptyValue(r,p)||rules.type(e,r,i,l,u)}t(l)}export default type; -------------------------------------------------------------------------------- /dist/badge/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{finalCount}} 6 | 7 | -------------------------------------------------------------------------------- /dist/mask/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/badge/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{finalCount}} 6 | 7 | -------------------------------------------------------------------------------- /src/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dist/common/async-validator/validator/float.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function floatFn(e,r,i,u,t){const l=[];if(e.required||!e.required&&u.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,u,l,t),void 0!==r&&(rules.type(e,r,u,l,t),rules.range(e,r,u,l,t))}i(l)}export default floatFn; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/integer.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function integer(e,r,i,u,t){const l=[];if(e.required||!e.required&&u.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return i();rules.required(e,r,u,l,t),void 0!==r&&(rules.type(e,r,u,l,t),rules.range(e,r,u,l,t))}i(l)}export default integer; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/number.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function number(e,r,u,i,t){const l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return u();rules.required(e,r,i,l,t),void 0!==r&&(rules.type(e,r,i,l,t),rules.range(e,r,i,l,t))}u(l)}export default number; -------------------------------------------------------------------------------- /dist/common/async-validator/validator/pattern.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function pattern(r,e,t,i,u){const n=[];if(r.required||!r.required&&i.hasOwnProperty(r.field)){if(isEmptyValue(e,"string")&&!r.required)return t();rules.required(r,e,i,n,u),isEmptyValue(e,"string")||rules.pattern(r,e,i,n,u)}t(n)}export default pattern; -------------------------------------------------------------------------------- /dist/form/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/components/tabs-card/index.js: -------------------------------------------------------------------------------- 1 | // components/tabs-card/index.js 2 | Component({ 3 | /** 4 | * Component properties 5 | */ 6 | properties: { 7 | 8 | }, 9 | 10 | /** 11 | * Component initial data 12 | */ 13 | data: { 14 | 15 | }, 16 | 17 | /** 18 | * Component methods 19 | */ 20 | methods: { 21 | 22 | } 23 | }) 24 | -------------------------------------------------------------------------------- /examples/dist/badge/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{finalCount}} 6 | 7 | -------------------------------------------------------------------------------- /examples/dist/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/form/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dist/grid/index.wxss: -------------------------------------------------------------------------------- 1 | .l-grid{display:flex;width:inherit;flex-wrap:wrap}.l-grid .l-grid-item{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;border-style:solid;border-color:#ededed;border-width:0}.l-grid .center-grid{border-bottom-width:2rpx}.l-grid .side-grid{border-right-width:2rpx}.l-gird-hover{opacity:.8} -------------------------------------------------------------------------------- /dist/step/index.js: -------------------------------------------------------------------------------- 1 | Component({externalClasses:["l-class","l-step-class","l-title-class","l-describe-class","l-line-class"],options:{multipleSlots:!0},relations:{"../steps/index":{type:"parent"}},properties:{icon:String,title:String,describe:String,iconSize:{type:Number,value:24},iconColor:String,custom:Boolean},data:{},methods:{updateDataChange(e){this.setData({...e})}}}); -------------------------------------------------------------------------------- /examples/components/navi-title/index.js: -------------------------------------------------------------------------------- 1 | // components/navi-title/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | title:String, 8 | count:String 9 | }, 10 | 11 | /** 12 | * 组件的初始数据 13 | */ 14 | data: { 15 | 16 | }, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }) 25 | -------------------------------------------------------------------------------- /dist/behaviors/watchShow.js: -------------------------------------------------------------------------------- 1 | export default Behavior({observers:{show:function(t){t&&this.changeStatus(),t||this.setData({status:t})}},methods:{changeStatus(){this.setData({status:!0}),this.data.timer&&clearTimeout(this.data.timer),this.data.timer=setTimeout(()=>{this.setData({status:!1}),this.data.success&&this.data.success(),this.data.timer=null},this.properties.duration)}}}); -------------------------------------------------------------------------------- /examples/components/navi-content/index.js: -------------------------------------------------------------------------------- 1 | // components/navi-content/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | config:Array, 8 | title:String 9 | }, 10 | 11 | /** 12 | * 组件的初始数据 13 | */ 14 | data: { 15 | 16 | }, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }) 25 | -------------------------------------------------------------------------------- /examples/dist/form/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/water-flow/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/components/layout/pages/water-flow/index.wxss */ 2 | .water-flow{ 3 | /* margin: 0 15rpx !important; */ 4 | margin-right: 15rpx !important; 5 | } 6 | 7 | .water-flow-item{ 8 | margin-bottom: 20rpx; 9 | } 10 | 11 | .aaa{ 12 | height: 50rpx; 13 | width: 50rpx; 14 | background: red; 15 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/badge/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-spin": "/dist/spin/index", 6 | "l-badge": "/dist/badge/index", 7 | "l-icon": "/dist/icon/index", 8 | "l-button": "/dist/button/index" 9 | } 10 | } -------------------------------------------------------------------------------- /src/checkbox-group/index.less: -------------------------------------------------------------------------------- 1 | 2 | .checkbox-group{ 3 | flex-wrap: wrap; 4 | &-row{ 5 | display: flex; 6 | flex-direction: row; 7 | } 8 | &-column{ 9 | display: flex; 10 | flex-direction: column; 11 | } 12 | } 13 | // .checkbox-group-button{ 14 | // display: flex; 15 | // flex-direction: row !important; 16 | // flex-wrap: wrap; 17 | // } -------------------------------------------------------------------------------- /src/rate/index.less: -------------------------------------------------------------------------------- 1 | .l-rate-star,.l-rate { 2 | display: inline-flex; 3 | } 4 | .l-rate-star { 5 | position: relative; 6 | } 7 | 8 | .l-rate-star ~ .l-rate-star { 9 | margin-left: 10rpx; 10 | } 11 | 12 | .icon-checked { 13 | position: absolute; 14 | overflow: hidden; 15 | } 16 | 17 | .image-item { 18 | width: 80rpx; 19 | height: 80rpx; 20 | } -------------------------------------------------------------------------------- /config/styles/_mixins.less: -------------------------------------------------------------------------------- 1 | @import "./_base.less"; 2 | 3 | .hairline() { 4 | content: ''; 5 | position: absolute; 6 | top: 0; 7 | left: 0; 8 | width: 200%; 9 | height: 200%; 10 | transform: scale(.5); 11 | transform-origin: 0 0; 12 | pointer-events: none; 13 | box-sizing: border-box; 14 | border: 0 solid @border-color-split; 15 | } -------------------------------------------------------------------------------- /examples/dist/grid/index.wxss: -------------------------------------------------------------------------------- 1 | .l-grid{display:flex;width:inherit;flex-wrap:wrap}.l-grid .l-grid-item{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;border-style:solid;border-color:#ededed;border-width:0}.l-grid .center-grid{border-bottom-width:2rpx}.l-grid .side-grid{border-right-width:2rpx}.l-gird-hover{opacity:.8} -------------------------------------------------------------------------------- /src/error-tip/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | /** 3 | * 组件的属性列表 4 | */ 5 | externalClasses: ['l-error-text', 'l-error-text-class'], 6 | 7 | properties: { 8 | errorText:String 9 | }, 10 | 11 | /** 12 | * 组件的初始数据 13 | */ 14 | data: { 15 | 16 | }, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }); -------------------------------------------------------------------------------- /src/spin/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['l-class'], 3 | properties: { 4 | color: String, 5 | show: Boolean, 6 | type: { 7 | type: String, 8 | value: 'flash' 9 | }, 10 | // 自定义 11 | custom: Boolean, 12 | size: { 13 | type: String, 14 | value: 'default', 15 | }, 16 | }, 17 | methods: { 18 | } 19 | }); -------------------------------------------------------------------------------- /dist/common/async-validator/validator/array.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function array(r,e,a,u,i){const t=[];if(r.required||!r.required&&u.hasOwnProperty(r.field)){if(isEmptyValue(e,"array")&&!r.required)return a();rules.required(r,e,u,t,i,"array"),isEmptyValue(e,"array")||(rules.type(r,e,u,t,i),rules.range(r,e,u,t,i))}a(t)}export default array; -------------------------------------------------------------------------------- /examples/components/content-title/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{name}} 3 | 4 | {{describe}} 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | 6 | "l-loading": "/dist/loading/index", 7 | "l-loading": "/dist/loading/index", 8 | 9 | 10 | 11 | "l-button": "/dist/button/index" 12 | } 13 | } -------------------------------------------------------------------------------- /src/common/async-validator/validator/required.js: -------------------------------------------------------------------------------- 1 | import rules from '../rule/index.js'; 2 | 3 | function required(rule, value, callback, source, options) { 4 | const errors = []; 5 | const type = Array.isArray(value) ? 'array' : typeof value; 6 | rules.required(rule, value, source, errors, options, type); 7 | callback(errors); 8 | } 9 | 10 | export default required; 11 | -------------------------------------------------------------------------------- /examples/dist/error-tip/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | /** 3 | * 组件的属性列表 4 | */ 5 | externalClasses: ['l-error-text', 'l-error-text-class'], 6 | 7 | properties: { 8 | errorText:String 9 | }, 10 | 11 | /** 12 | * 组件的初始数据 13 | */ 14 | data: { 15 | 16 | }, 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }); -------------------------------------------------------------------------------- /examples/dist/spin/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['l-class'], 3 | properties: { 4 | color: String, 5 | show: Boolean, 6 | type: { 7 | type: String, 8 | value: 'flash' 9 | }, 10 | // 自定义 11 | custom: Boolean, 12 | size: { 13 | type: String, 14 | value: 'default', 15 | }, 16 | }, 17 | methods: { 18 | } 19 | }); -------------------------------------------------------------------------------- /examples/pages/components/form/pages/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-toast": "/dist/toast/index", 6 | "l-radio-group": "/dist/radio-group/index", 7 | "l-radio": "/dist/radio/index", 8 | "l-loading":"/dist/loading/index" 9 | } 10 | } -------------------------------------------------------------------------------- /src/countdown/index.js: -------------------------------------------------------------------------------- 1 | import countDownBehaviors from '../behaviors/countdown'; 2 | Component({ 3 | externalClasses: [ 4 | 'l-class', 5 | 'l-class-time', 6 | 'l-time-class' 7 | ], 8 | behaviors:[countDownBehaviors], 9 | properties: { 10 | doneText:{ 11 | type:String, 12 | value:'已结束' 13 | } 14 | }, 15 | methods: { 16 | 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /examples/components/navi-card/index.js: -------------------------------------------------------------------------------- 1 | // components/navi-card/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | title:String, 8 | icon:String, 9 | navigatePath:String 10 | }, 11 | 12 | /** 13 | * 组件的初始数据 14 | */ 15 | data: { 16 | 17 | }, 18 | 19 | /** 20 | * 组件的方法列表 21 | */ 22 | methods: { 23 | 24 | } 25 | }) 26 | -------------------------------------------------------------------------------- /examples/dist/common/async-validator/validator/required.js: -------------------------------------------------------------------------------- 1 | import rules from '../rule/index.js'; 2 | 3 | function required(rule, value, callback, source, options) { 4 | const errors = []; 5 | const type = Array.isArray(value) ? 'array' : typeof value; 6 | rules.required(rule, value, source, errors, options, type); 7 | callback(errors); 8 | } 9 | 10 | export default required; 11 | -------------------------------------------------------------------------------- /examples/pages/components/nav/pages/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-tabs": "/dist/tabs/index", 6 | "l-combined-tabs": "/dist/combined-tabs/index", 7 | "l-tabpanel": "/dist/tabpanel/index", 8 | "l-button":"/dist/button/index" 9 | } 10 | } -------------------------------------------------------------------------------- /examples/dist/countdown/index.js: -------------------------------------------------------------------------------- 1 | import countDownBehaviors from '../behaviors/countdown'; 2 | Component({ 3 | externalClasses: [ 4 | 'l-class', 5 | 'l-class-time', 6 | 'l-time-class' 7 | ], 8 | behaviors:[countDownBehaviors], 9 | properties: { 10 | doneText:{ 11 | type:String, 12 | value:'已结束' 13 | } 14 | }, 15 | methods: { 16 | 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/badge/index.wxss: -------------------------------------------------------------------------------- 1 | .img{ 2 | width: 60rpx; 3 | height: 60rpx; 4 | } 5 | 6 | .container{ 7 | display: flex; 8 | flex-direction: row; 9 | align-items: center; 10 | justify-content: space-between; 11 | box-sizing: border-box; 12 | padding: 0 80rpx 0 60rpx; 13 | } 14 | 15 | 16 | .btn{ 17 | width: 60rpx !important; 18 | } 19 | /* notification */ -------------------------------------------------------------------------------- /examples/pages/components/nav/pages/combined-tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-tabs": "/dist/tabs/index", 6 | "l-combined-tabs": "/dist/combined-tabs/index", 7 | "l-tabpanel": "/dist/tabpanel/index", 8 | "l-button": "/dist/button/index" 9 | } 10 | } -------------------------------------------------------------------------------- /dist/common/async-validator/validator/date.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function date(e,r,t,i,u){const l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(isEmptyValue(r)&&!e.required)return t();if(rules.required(e,r,i,l,u),!isEmptyValue(r)){let t;t="number"==typeof r?new Date(r):r,rules.type(e,t,i,l,u),t&&rules.range(e,t.getTime(),i,l,u)}}t(l)}export default date; -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/water-flow/component/product/index.js: -------------------------------------------------------------------------------- 1 | // pages/components/layout/pages/water-flow/component/product/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | data:Object 8 | }, 9 | 10 | /** 11 | * 组件的初始数据 12 | */ 13 | data: { 14 | 15 | }, 16 | 17 | /** 18 | * 组件的方法列表 19 | */ 20 | methods: { 21 | 22 | } 23 | }) -------------------------------------------------------------------------------- /src/common/async-validator/rule/index.js: -------------------------------------------------------------------------------- 1 | import required from './required.js'; 2 | import whitespace from './whitespace.js'; 3 | import type from './type.js'; 4 | import range from './range.js'; 5 | import enumRule from './enum.js'; 6 | import pattern from './pattern.js'; 7 | 8 | export default { 9 | required, 10 | whitespace, 11 | type, 12 | range, 13 | enum: enumRule, 14 | pattern, 15 | }; 16 | -------------------------------------------------------------------------------- /examples/dist/common/async-validator/rule/index.js: -------------------------------------------------------------------------------- 1 | import required from './required.js'; 2 | import whitespace from './whitespace.js'; 3 | import type from './type.js'; 4 | import range from './range.js'; 5 | import enumRule from './enum.js'; 6 | import pattern from './pattern.js'; 7 | 8 | export default { 9 | required, 10 | whitespace, 11 | type, 12 | range, 13 | enum: enumRule, 14 | pattern, 15 | }; 16 | -------------------------------------------------------------------------------- /dist/action-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | .l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>.l-button-text{margin-left:20rpx}.list-hover{opacity:.8} -------------------------------------------------------------------------------- /examples/pages/components/response/pages/message/message-nav.js: -------------------------------------------------------------------------------- 1 | const msgNaviConfigs = [{ 2 | title: "默认提示", 3 | type: 0 4 | }, 5 | { 6 | title: "成功提示", 7 | type: 1 8 | }, 9 | { 10 | title: "错误提示", 11 | type: 2 12 | }, 13 | { 14 | title: "警告提示", 15 | type: 3 16 | }, 17 | { 18 | title: "自定义消息提示时间", 19 | type: 5 20 | }, 21 | ] 22 | 23 | export default msgNaviConfigs; -------------------------------------------------------------------------------- /examples/components/detail-navi-card/index.js: -------------------------------------------------------------------------------- 1 | // components/detail-navi-card/index.js 2 | Component({ 3 | /** 4 | * 组件的属性列表 5 | */ 6 | properties: { 7 | componentsPath: String, 8 | title: String, 9 | desc: String, 10 | icon: String 11 | }, 12 | 13 | /** 14 | * 组件的初始数据 15 | */ 16 | data: { 17 | 18 | }, 19 | 20 | /** 21 | * 组件的方法列表 22 | */ 23 | methods: { 24 | 25 | } 26 | }) -------------------------------------------------------------------------------- /dist/common/async-validator/rule/pattern.js: -------------------------------------------------------------------------------- 1 | import*as util from"../util";function pattern(t,e,a,p,n){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||p.push(util.format(n.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"==typeof t.pattern){new RegExp(t.pattern.replace(/^\/|\/$/g,"")).test(e)||p.push(util.format(n.messages.pattern.mismatch,t.fullField,e,t.pattern))}}export default pattern; -------------------------------------------------------------------------------- /examples/dist/action-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | .l-action-sheet{background:#f7f7f7}.l-item-button{height:88rpx;line-height:88rpx;text-align:center;background:#fff;border-bottom:2rpx solid #f3f3f3;font-size:28rpx;color:#45526b;display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}.l-cancel{margin-top:12rpx}.l-cancel-x .l-item-button{padding-bottom:44rpx}.l-image-button>.l-button-text{margin-left:20rpx}.list-hover{opacity:.8} -------------------------------------------------------------------------------- /dist/collapse-item/index.wxss: -------------------------------------------------------------------------------- 1 | .container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.container-title{display:flex;justify-content:space-between;padding:10rpx;align-items:center;font-size:32rpx;color:#333}.container-title-l-icon{transition:.3s}.container-body{width:100%;color:#888;box-sizing:border-box;font-size:28rpx;transition:height .3s ease-in-out;overflow:hidden}.container-body-wrapper{position:relative;padding:10rpx} -------------------------------------------------------------------------------- /dist/card/index.js: -------------------------------------------------------------------------------- 1 | import validator from"../behaviors/validator";Component({externalClasses:["l-class","l-img-class","l-title-class"],options:{multipleSlots:!0},behaviors:[validator],properties:{image:String,title:String,describe:String,plaintext:Boolean,full:Boolean,position:{type:String,value:"left",options:["left","right"]},type:{type:String,value:"primary",options:["primary","avatar"]},imageMode:{type:String,value:"scaleToFill"}},data:{},methods:{}}); -------------------------------------------------------------------------------- /examples/dist/collapse-item/index.wxss: -------------------------------------------------------------------------------- 1 | .container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.container-title{display:flex;justify-content:space-between;padding:10rpx;align-items:center;font-size:32rpx;color:#333}.container-title-l-icon{transition:.3s}.container-body{width:100%;color:#888;box-sizing:border-box;font-size:28rpx;transition:height .3s ease-in-out;overflow:hidden}.container-body-wrapper{position:relative;padding:10rpx} -------------------------------------------------------------------------------- /examples/pages/components/form/pages/form/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/components/form/pages/form.wxss */ 2 | 3 | .l-form-btn-class{ 4 | display: flex; 5 | justify-content: space-around; 6 | margin-top: 10rpx; 7 | } 8 | 9 | .tip-type{ 10 | display: flex; 11 | align-items: center; 12 | justify-content: space-around; 13 | margin: 40rpx 0; 14 | } 15 | 16 | .l-input-container-class { 17 | width: 100% !important; 18 | } 19 | -------------------------------------------------------------------------------- /dist/grid-item/index.js: -------------------------------------------------------------------------------- 1 | Component({relations:{"../grid/index":{type:"parent"}},externalClasses:["l-grid-item","l-grid-item-class"],properties:{key:String,cell:{type:Object,value:{}}},data:{index:0},attached(){},observers:{key:function(){const e=this.getRelationNodes("../grid/index")[0];e&&(e.setData({gridItems:[],childNum:0}),e.initGrids())}},lifetimes:{show(){}},methods:{tapGridItem(){this.triggerEvent("linitemtap",{...this.data},{bubbles:!0,composed:!0})}}}); -------------------------------------------------------------------------------- /dist/common/async-validator/validator/string.js: -------------------------------------------------------------------------------- 1 | import rules from"../rule/index.js";import{isEmptyValue}from"../util";function string(e,r,i,t,s){const u=[];if(e.required||!e.required&&t.hasOwnProperty(e.field)){if(isEmptyValue(r,"string")&&!e.required)return i();rules.required(e,r,t,u,s,"string"),isEmptyValue(r,"string")||(rules.type(e,r,t,u,s),rules.range(e,r,t,u,s),rules.pattern(e,r,t,u,s),!0===e.whitespace&&rules.whitespace(e,r,t,u,s))}i(u)}export default string; -------------------------------------------------------------------------------- /dist/radio/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/tag/index.js: -------------------------------------------------------------------------------- 1 | import tagNaviConfigs from './tag-nav.js' 2 | 3 | 4 | Page({ 5 | 6 | /** 7 | * 页面的初始数据 8 | */ 9 | data: { 10 | tagNaviConfigs: tagNaviConfigs, 11 | select: false 12 | }, 13 | 14 | /** 15 | * 生命周期函数--监听页面加载 16 | */ 17 | onLoad: function(options) { 18 | 19 | }, 20 | 21 | selectTap() { 22 | this.setData({ 23 | select: !this.data.select 24 | }) 25 | } 26 | 27 | }) -------------------------------------------------------------------------------- /src/sticky-item/index.less: -------------------------------------------------------------------------------- 1 | .l-sticky-item{ 2 | display: flex; 3 | flex-direction: column; 4 | } 5 | 6 | .l-sticky-wrapper{ 7 | overflow: visible; 8 | } 9 | 10 | .l-sticky-item-header{ 11 | width: 100%; 12 | } 13 | 14 | .l-sticky-item-header-fixed{ 15 | position: fixed; 16 | top: 0; 17 | } 18 | 19 | /* 判断当前webview内核是否支持sticky属性 */ 20 | @supports(position: sticky){ 21 | .l-sticky-item-header-sticky{ 22 | position: sticky; 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /src/behaviors/computeOffset.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: {}, 5 | data: { 6 | distance: 0 7 | }, 8 | attached(){ 9 | this.offsetMargin(); 10 | }, 11 | methods: { 12 | offsetMargin() { 13 | const { windowHeight, screenHeight } = wx.getSystemInfoSync(); 14 | this.setData({ 15 | distance: (screenHeight-windowHeight ) 16 | }); 17 | } 18 | } 19 | }); -------------------------------------------------------------------------------- /examples/pages/navigator/content/config/basic-navi.js: -------------------------------------------------------------------------------- 1 | const basicNaviConfigs = [ 2 | { 3 | icon: "/images/component/button.png", 4 | title: "Button", 5 | desc: "按钮", 6 | componentsPath: "/pages/components/basic/pages/button/index" 7 | }, 8 | { 9 | icon: "/images/component/icon.png", 10 | title: "Icon", 11 | desc: "图标", 12 | componentsPath: "/pages/components/basic/pages/icon/index" 13 | }, 14 | ] 15 | 16 | export default basicNaviConfigs; -------------------------------------------------------------------------------- /src/countdown/index.less: -------------------------------------------------------------------------------- 1 | .l-countdown { 2 | font-size: 28rpx; 3 | line-height: 40px; 4 | } 5 | 6 | .l-countdown-item { 7 | display: inline-block; 8 | color: inherit; 9 | } 10 | 11 | .l-countdown-time { 12 | display: inline-flex; 13 | width: 56rpx; 14 | height: 56rpx; 15 | background: rgba(69, 82, 107, 1); 16 | border-radius: 4rpx; 17 | color: rgba(255, 255, 255, 1); 18 | align-items: center; 19 | justify-content: center; 20 | margin: 0 16rpx; 21 | } -------------------------------------------------------------------------------- /src/mask/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /dist/status-show/index.wxss: -------------------------------------------------------------------------------- 1 | .l-status-container{background-color:#fff;flex-direction:column;display:flex;align-items:center;justify-content:center;width:500rpx}.content{position:fixed;top:0;left:0;background:#fff;height:100%;width:100%}.ad-img{width:198rpx!important;height:204rpx!important}.top-img{width:264rpx;height:204rpx}.left-img{width:120rpx;height:184rpx}.image_margin_top{margin-top:-250rpx}.status-text{font-size:30rpx;color:#45526b;margin-top:40rpx}.button_margin_top{margin-top:80rpx} -------------------------------------------------------------------------------- /examples/dist/behaviors/computeOffset.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line no-undef 2 | export default Behavior({ 3 | behaviors: [], 4 | properties: {}, 5 | data: { 6 | distance: 0 7 | }, 8 | attached(){ 9 | this.offsetMargin(); 10 | }, 11 | methods: { 12 | offsetMargin() { 13 | const { windowHeight, screenHeight } = wx.getSystemInfoSync(); 14 | this.setData({ 15 | distance: (screenHeight-windowHeight ) 16 | }); 17 | } 18 | } 19 | }); -------------------------------------------------------------------------------- /examples/dist/mask/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/count-selector/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/radio/index.wxml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/components/content-card/index.js: -------------------------------------------------------------------------------- 1 | // components/cotent-title/index.js 2 | Component({ 3 | externalClasses: ['l-content'], 4 | /** 5 | * 组件的属性列表 6 | */ 7 | properties: { 8 | name: { 9 | type: String 10 | }, 11 | cardPadding: { 12 | type: Boolean, 13 | value: true 14 | } 15 | }, 16 | 17 | /** 18 | * 组件的初始数据 19 | */ 20 | data: { 21 | 22 | }, 23 | 24 | /** 25 | * 组件的方法列表 26 | */ 27 | methods: { 28 | 29 | } 30 | }) -------------------------------------------------------------------------------- /examples/components/navi-content/index.wxss: -------------------------------------------------------------------------------- 1 | .container { 2 | min-height: 100vh; 3 | min-width: 100vw; 4 | box-sizing: border-box; 5 | } 6 | 7 | .section { 8 | width: 100%; 9 | height: 100%; 10 | background: #fff; 11 | border-radius: 8rpx 8rpx 0 0; 12 | padding-bottom: 100rpx; 13 | border-top: 20rpx solid #f7f7f7; 14 | } 15 | 16 | .section-content { 17 | display: flex; 18 | justify-content: center; 19 | flex-direction: column; 20 | align-items: center; 21 | } 22 | -------------------------------------------------------------------------------- /examples/dist/status-show/index.wxss: -------------------------------------------------------------------------------- 1 | .l-status-container{background-color:#fff;flex-direction:column;display:flex;align-items:center;justify-content:center;width:500rpx}.content{position:fixed;top:0;left:0;background:#fff;height:100%;width:100%}.ad-img{width:198rpx!important;height:204rpx!important}.top-img{width:264rpx;height:204rpx}.left-img{width:120rpx;height:184rpx}.image_margin_top{margin-top:-250rpx}.status-text{font-size:30rpx;color:#45526b;margin-top:40rpx}.button_margin_top{margin-top:80rpx} -------------------------------------------------------------------------------- /src/transition/index.js: -------------------------------------------------------------------------------- 1 | // 过渡动画 2 | import transition from '../behaviors/transition'; 3 | Component({ 4 | /** 5 | * 组件的属性列表 6 | */ 7 | behaviors: [transition(true)], 8 | externalClasses: [ 9 | 'l-class', 10 | 'l-enter-class', 11 | 'l-enter-active-class', 12 | 'l-enter-to-class', 13 | 'l-leave-class', 14 | 'l-leave-active-class', 15 | 'l-leave-to-class' 16 | ], 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }); 25 | -------------------------------------------------------------------------------- /examples/dist/radio/index.wxml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/status-show/index.js: -------------------------------------------------------------------------------- 1 | import navConfig from './status-nav.js'; 2 | 3 | Page({ 4 | 5 | /** 6 | * 页面的初始数据 7 | */ 8 | data: { 9 | navConfig: navConfig, 10 | show: false 11 | }, 12 | 13 | /** 14 | * 生命周期函数--监听页面加载 15 | */ 16 | onLoad: function(options) { 17 | 18 | }, 19 | 20 | onShowTap(option) { 21 | const id = option.target.dataset.id 22 | wx.navigateTo({ 23 | url: 'show/show?id=' + id 24 | }) 25 | } 26 | }) -------------------------------------------------------------------------------- /dist/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/dist/transition/index.js: -------------------------------------------------------------------------------- 1 | // 过渡动画 2 | import transition from '../behaviors/transition'; 3 | Component({ 4 | /** 5 | * 组件的属性列表 6 | */ 7 | behaviors: [transition(true)], 8 | externalClasses: [ 9 | 'l-class', 10 | 'l-enter-class', 11 | 'l-enter-active-class', 12 | 'l-enter-to-class', 13 | 'l-leave-class', 14 | 'l-leave-active-class', 15 | 'l-leave-to-class' 16 | ], 17 | 18 | /** 19 | * 组件的方法列表 20 | */ 21 | methods: { 22 | 23 | } 24 | }); 25 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/sticky/pages/sticky-base/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/components/layout/pages/sticky/pages/stick-base/index.wxss */ 2 | /* 基本案例 */ 3 | .index-header { 4 | padding-left: 20rpx; 5 | box-sizing: border-box; 6 | color: #3863bc; 7 | background-color: #eeeeee; 8 | } 9 | 10 | .index-body-item { 11 | padding-left: 20rpx; 12 | height: 90rpx; 13 | line-height: 90rpx; 14 | } 15 | 16 | .index-body-item:not(:last-of-type) { 17 | border-bottom: 1px solid #dedede; 18 | } -------------------------------------------------------------------------------- /dist/message/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{content}} 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/countdown/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/countdown/index.wxss */ 2 | .content { 3 | padding-left: 70rpx!important; 4 | line-height: 120rpx; 5 | } 6 | .content .countdown-blue { 7 | width: 52rpx ; 8 | height: 52rpx; 9 | border: 2rpx solid #3683D6; 10 | border-radius: 50%; 11 | background:transparent; 12 | color: #3683D6; 13 | } 14 | 15 | .content .countdown-text { 16 | color: #3683D6; 17 | } 18 | 19 | .btn-toggle { 20 | margin: 40rpx 0; 21 | } 22 | -------------------------------------------------------------------------------- /src/message/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{content}} 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/dist/message/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{content}} 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/pages/components/response/pages/dialog/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/dialog/index.wxss */ 2 | 3 | .buttun-wrapper { 4 | display: flex; 5 | flex-direction: row; 6 | align-items: center; 7 | justify-content: center; 8 | } 9 | 10 | .button { 11 | background: rgba(223, 237, 255, 1) !important; 12 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 13 | color: rgba(45, 97, 179, 1) !important; 14 | } 15 | 16 | .dio-img{ 17 | width: 220rpx; 18 | height: 165rpx; 19 | } 20 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/loadmore/case/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{item.title}} 6 | {{item.time}} 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /dist/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dist/price/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{unit}} 4 | 5 | {{result}} 6 | -------------------------------------------------------------------------------- /examples/pages/components/form/pages/input/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/dialog/index.wxss */ 2 | 3 | .buttun-wrapper { 4 | display: flex; 5 | flex-direction: column; 6 | align-items: center; 7 | justify-content: center; 8 | } 9 | 10 | .img{ 11 | width: 100rpx; 12 | height: 50rpx; 13 | } 14 | 15 | .input-phone{ 16 | margin-top: 20rpx; 17 | border-radius: 60rpx; 18 | border: 2rpx solid #eee; 19 | background: #eaf0f7; 20 | color: red 21 | } 22 | 23 | .input-icon{ 24 | margin-left: 15rpx; 25 | } 26 | -------------------------------------------------------------------------------- /dist/mask/index.js: -------------------------------------------------------------------------------- 1 | import zIndex from"../behaviors/zIndex";Component({behaviors:[zIndex],externalClasses:["l-class","l-mask-class"],properties:{show:{type:Boolean,value:!1},opacity:{type:[String,Number],value:.4},zIndex:{type:Number,value:99},center:{type:Boolean,value:!1},locked:{type:Boolean,value:!0},fullScreen:{type:String,value:""},NavColor:{type:String,value:""}},data:{},methods:{doNothingMove(){},onMaskTap(){!0!==this.data.locked&&this.setData({show:!1}),this.triggerEvent("lintap",!0,{bubbles:!0,composed:!0})}},attached:function(){}}); -------------------------------------------------------------------------------- /examples/components/navi-content/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/icon/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['l-class', 'l-class-self', 'l-self-class'], 3 | options: { 4 | addGlobalClass: true 5 | }, 6 | properties: { 7 | name: String, 8 | color: String, 9 | size: String, 10 | }, 11 | 12 | data: { 13 | default: { 14 | size: 40, 15 | color: '#45526B', 16 | }, 17 | }, 18 | 19 | ready: function () { 20 | if (!this.data.name) { 21 | console.error('请传入Icon组件的name属性'); 22 | } 23 | }, 24 | methods: { 25 | } 26 | }); 27 | -------------------------------------------------------------------------------- /dist/album/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/pages/components/layout/pages/grid/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/layout/pages/grid/index.wxss */ 2 | 3 | /* .view-container { 4 | width: 280rpx; 5 | } */ 6 | 7 | .num { 8 | color: #fc6517; 9 | font-size: 42rpx; 10 | font-style: italic; 11 | } 12 | 13 | .text { 14 | height: 30rpx; 15 | font-size: 22rpx; 16 | font-family: PingFangSC-Regular; 17 | font-weight: 400; 18 | color: rgba(102, 102, 102, 1); 19 | line-height: 30rpx; 20 | margin-top: 9rpx; 21 | } 22 | 23 | .grid-item { 24 | height: 200rpx; 25 | } 26 | -------------------------------------------------------------------------------- /src/album/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /dist/water-flow/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /examples/dist/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/dist/icon/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['l-class', 'l-class-self', 'l-self-class'], 3 | options: { 4 | addGlobalClass: true 5 | }, 6 | properties: { 7 | name: String, 8 | color: String, 9 | size: String, 10 | }, 11 | 12 | data: { 13 | default: { 14 | size: 40, 15 | color: '#45526B', 16 | }, 17 | }, 18 | 19 | ready: function () { 20 | if (!this.data.name) { 21 | console.error('请传入Icon组件的name属性'); 22 | } 23 | }, 24 | methods: { 25 | } 26 | }); 27 | -------------------------------------------------------------------------------- /src/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dist/tabpanel/index.js: -------------------------------------------------------------------------------- 1 | Component({relations:{"../tabs/index":{type:"parent",linked:function(t){!this.data.parent&&this.setData({parent:t})}},"../combined-tabs/index":{type:"parent",linked:function(t){!this.data.parent&&this.setData({parent:t})}}},properties:{tab:String,subTab:String,subKey:String,key:String,icon:String,iconSize:{type:String,value:"20"},image:Object,picPlacement:{type:String,value:"top"}},observers:{"**":function(t){this.updateData(t)}},data:{isCurrent:!1,index:0,parent:null},methods:{updateData(){let t=this.data.parent;t&&t.initTabs()}}}); -------------------------------------------------------------------------------- /examples/components/detail-navi-card/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{title}} 8 | {{desc}} 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /examples/dist/album/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/water-flow/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /examples/dist/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/price/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{unit}} 4 | 5 | {{result}} 6 | -------------------------------------------------------------------------------- /examples/dist/water-flow/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /examples/pages/components/animation/pages/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "content-title": "/components/content-title/index", 4 | "content-card": "/components/content-card/index", 5 | "l-transition":"/dist/transition/index", 6 | "l-button":"/dist/button/index", 7 | "l-list": "/dist/list/index", 8 | "l-status": "/dist/status-show/index", 9 | "l-card": "/dist/card/index", 10 | "l-price": "/dist/price/index", 11 | "l-tag": "/dist/tag/index", 12 | "l-icon": "/dist/icon/index" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/pages/components/response/pages/action-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/response/pages/action-sheet/index.wxss */ 2 | .buttun-wrapper { 3 | display: flex; 4 | flex-direction: row; 5 | align-items: center; 6 | justify-content: center; 7 | } 8 | 9 | .button { 10 | background: rgba(223, 237, 255, 1) !important; 11 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 12 | color: rgba(45, 97, 179, 1) !important; 13 | } 14 | 15 | .action-title { 16 | font-size:24rpx !important; 17 | color:rgba(196,201,210,1) !important; 18 | } -------------------------------------------------------------------------------- /examples/dist/price/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{unit}} 4 | 5 | {{result}} 6 | -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/search-bar/index.wxss: -------------------------------------------------------------------------------- 1 | .content-name { 2 | font-size: 28rpx; 3 | font-family: PingFangSC-Regular; 4 | font-weight: 400; 5 | color: rgba(69, 82, 107, 1); 6 | line-height: 20px; 7 | margin-left: 8px; 8 | } 9 | 10 | .icon-container{ 11 | display: flex; 12 | flex-direction: row; 13 | align-items: center 14 | } 15 | 16 | .city{ 17 | font-size: 28rpx; 18 | color: #333; 19 | margin-right: 10rpx; 20 | } 21 | 22 | .aa{ 23 | margin-top: 20rpx; 24 | } 25 | 26 | .bb{ 27 | width: 500rpx !important; 28 | } -------------------------------------------------------------------------------- /examples/pages/components/view/pages/loadmore/index.wxss: -------------------------------------------------------------------------------- 1 | .custom-container{ 2 | display: flex; 3 | flex-direction: row; 4 | justify-content: center; 5 | align-items: center; 6 | } 7 | 8 | .custom-img{ 9 | width: 30rpx; 10 | height: 30rpx; 11 | margin-right: 20rpx 12 | } 13 | 14 | .custom-txt{ 15 | color: #bbb; 16 | font-size: 28rpx; 17 | } 18 | 19 | .button { 20 | background: rgba(223, 237, 255, 1) !important; 21 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 22 | color: rgba(45, 97, 179, 1) !important; 23 | } -------------------------------------------------------------------------------- /src/mask/index.less: -------------------------------------------------------------------------------- 1 | 2 | .container-mask{ 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | width: 100%; 7 | height: 100%; 8 | transition: all 0.3s; 9 | } 10 | 11 | .mask-bg{ 12 | height: 100%; 13 | width: 100%; 14 | background: #ffffff; 15 | // position: absolute; 16 | z-index: 99; 17 | } 18 | 19 | .mask-content { 20 | display: inline-block; 21 | // position: absolute; 22 | z-index: 101; 23 | overflow: hidden; 24 | } 25 | 26 | .center{ 27 | display: flex; 28 | flex-direction: row; 29 | align-items: center; 30 | justify-content: center; 31 | } -------------------------------------------------------------------------------- /dist/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/pages/components/view/pages/notice-bar/index.js: -------------------------------------------------------------------------------- 1 | // pages/view/pages/notice-bar/index.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | arr: ['我是通告栏一', '我是通告栏二', '我是通告栏三'], 9 | showIcon: true, 10 | }, 11 | 12 | /** 13 | * 生命周期函数--监听页面加载 14 | */ 15 | onLoad: function(options) { 16 | 17 | }, 18 | 19 | onSwip(e){ 20 | console.log(e) 21 | }, 22 | 23 | tap() { 24 | this.setData({ 25 | show: true 26 | }) 27 | }, 28 | 29 | handleIcon() { 30 | this.setData({ 31 | showIcon:false 32 | }) 33 | } 34 | }) -------------------------------------------------------------------------------- /examples/pages/components/form/pages/image-picker/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/form/pages/image-picker/index.wxss */ 2 | 3 | .item{ 4 | border-radius: 10px; 5 | } 6 | 7 | .add{ 8 | height: 100%; 9 | width: 100%; 10 | display: flex; 11 | flex-direction: column; 12 | align-items: center; 13 | justify-content: center; 14 | } 15 | 16 | .add-icon { 17 | height: 70rpx; 18 | width: 70rpx; 19 | margin-top: 10rpx; 20 | } 21 | 22 | .add-text { 23 | margin-top: 6rpx; 24 | font-size: 24rpx; 25 | font-weight: bold; 26 | color: #bfbfbf; 27 | } 28 | 29 | .top{ 30 | margin-top: 20rpx; 31 | } -------------------------------------------------------------------------------- /examples/pages/components/response/pages/toast/index.wxss: -------------------------------------------------------------------------------- 1 | /* pages/view/pages/dialog/index.wxss */ 2 | 3 | .buttun-wrapper { 4 | display: flex; 5 | flex-direction: row; 6 | align-items: center; 7 | justify-content: center; 8 | } 9 | 10 | .button { 11 | background: rgba(223, 237, 255, 1) !important; 12 | box-shadow: 6rpx 6rpx 16rpx 0px rgba(229, 233, 239, 0.5) !important; 13 | color: rgba(45, 97, 179, 1) !important; 14 | } 15 | 16 | .dio-img{ 17 | width: 220rpx; 18 | height: 180rpx; 19 | } 20 | 21 | .img{ 22 | width: 60rpx !important; 23 | height: 60rpx !important; 24 | } 25 | -------------------------------------------------------------------------------- /examples/pages/components/shopping/pages/price/index.wxss: -------------------------------------------------------------------------------- 1 | .price-container{ 2 | display: flex; 3 | flex-direction: row; 4 | align-items: center; 5 | margin-left: 30rpx; 6 | } 7 | 8 | .price{ 9 | margin-right: 120rpx !important; 10 | } 11 | 12 | .tag-l{ 13 | margin-right: 6rpx !important; 14 | height: 30rpx !important; 15 | line-height: 30rpx !important; 16 | } 17 | 18 | .tag-r{ 19 | margin-left: 6rpx !important; 20 | height: 30rpx !important; 21 | line-height: 30rpx !important; 22 | } 23 | 24 | .a-price{ 25 | color: #333 !important; 26 | font-size: 40rpx !important; 27 | } -------------------------------------------------------------------------------- /examples/pages/navigator/content/config.js: -------------------------------------------------------------------------------- 1 | import basic from './config/basic-navi.js' 2 | import animation from './config/animation-navi.js' 3 | import response from './config/response-navi.js' 4 | import layout from './config/layout-navi.js' 5 | import nav from './config/nav-navi.js' 6 | import view from './config/view-navi.js' 7 | import shopping from './config/shop-navi.js' 8 | import form from './config/form-navi.js' 9 | 10 | const config = { 11 | basic, 12 | response, 13 | layout, 14 | view, 15 | nav, 16 | form, 17 | shopping, 18 | animation 19 | } 20 | 21 | export default config 22 | --------------------------------------------------------------------------------