Name: zanui-weapp
Owner: ??
Description: ???????????????? UI ??Powered by ??
Created: 2017-01-23 07:05:54.0
Updated: 2018-05-24 15:43:20.0
Pushed: 2018-05-24 08:46:43.0
Size: 2638
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
?????????????? UI ?
ZanUI-WeApp????? Web UI ?? ZanUI
???????????????????????????????????
???? badge?btn?card?cell?dialog?icon?label?noticebar?panel?popup?switch?tab?toast?toptips ????????????????????????????? Demo
?????????? ?????????
clone https://github.com/youzan/zanui-weapp.git
????
install
????
run dev
???????app.wxss
????zanui-weapp/dist/index.wxss
?
?????????? ????
??????????????????2??
????????????????????????
"usingComponents": {
"zan-button": "/path/to/zanui-weapp/dist/btn/index"
}
example/btn/index.html -->
-button>??</zan-button>
? Toast ?????????????????????????????????????
"usingComponents": {
"zan-toast": "/path/to/zanui-weapp/dist/toast/index"
}
-toast id="zan-toast-test"></zan-toast>
???? Toast ?????????????????? Toast ?
xample/toast/index.js
t Toast = require('/path/to/zanui-weapp/dist/toast/toast');
({
owToast() {
Toast({
selector: '#zan-toast-test',
message: 'toast??'
});
??????????example
?????
???????????????????????????????????????????????????? 3.0.0???????????? old_code ????????
?????????????????????
????? MIT???????????????
?????????????????? issue ? PR???? ZanUI-Weapp ????