-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from uxsi/more
weui-wxss v2.0.0
- Loading branch information
Showing
343 changed files
with
1,547 additions
and
524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
*~ | ||
.idea | ||
node_modules | ||
npm-debug.log | ||
npm-debug.log | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,51 @@ | ||
{ | ||
"pages": [ | ||
"example/index", | ||
|
||
"example/button/button", | ||
"example/list/list", | ||
"example/slideview/slideview", | ||
"example/input/input", | ||
"example/slider/slider", | ||
"example/uploader/uploader", | ||
|
||
"example/article/article", | ||
"example/badge/badge", | ||
"example/flex/flex", | ||
"example/footer/footer", | ||
"example/gallery/gallery", | ||
"example/grid/grid", | ||
"example/icons/icons", | ||
"example/loading/loading", | ||
"example/loadmore/loadmore", | ||
"example/panel/panel", | ||
"example/preview/preview", | ||
"example/progress/progress", | ||
|
||
"example/actionsheet/actionsheet", | ||
"example/half-screen-dialog/half-screen-dialog", | ||
"example/dialog/dialog", | ||
"example/msg/msg", | ||
"example/msg/msg_text", | ||
"example/msg/msg_text_primary", | ||
"example/msg/msg_success", | ||
"example/msg/msg_fail", | ||
"example/picker/picker", | ||
"example/toast/toast", | ||
|
||
"example/navbar/navbar", | ||
"example/navigation-bar/navigation-bar", | ||
"example/tabbar/tabbar", | ||
|
||
"example/searchbar/searchbar" | ||
], | ||
"window": { | ||
"navigationBarTextStyle": "black", | ||
"navigationBarTitleText": "WeUI for 小程序", | ||
"navigationBarBackgroundColor": "#f8f8f8", | ||
"backgroundColor": "#f8f8f8" | ||
"navigationBarBackgroundColor": "#EDEDED", | ||
"backgroundColor": "#EDEDED" | ||
}, | ||
"networkTimeout": { | ||
"request": 10000, | ||
"connectSocket": 10000, | ||
"uploadFile": 10000, | ||
"downloadFile": 10000 | ||
}, | ||
"debug": true | ||
"style": "v2", | ||
"debug": true, | ||
"sitemapLocation": "sitemap42.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* example/badge/badge.wxss */ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
page{background-color:#EDEDED;} | ||
.button-sp-area{ | ||
margin: 0 auto; | ||
padding-top: 15px; | ||
width: 60%; | ||
text-align:center; | ||
} | ||
.mini-btn{ | ||
margin-right: 5px; | ||
} | ||
margin: 0 4px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
<view class="page"> | ||
<view class="page__hd"> | ||
<view class="page__title">Dialog</view> | ||
<view class="page__desc">对话框,采用小程序原生的modal</view> | ||
<view class="page__desc">对话框</view> | ||
</view> | ||
<view class="page__bd"> | ||
<view class="weui-btn-area"> | ||
<button class="weui-btn" type="default" bindtap="openConfirm">Confirm Dialog</button> | ||
<button class="weui-btn" type="default" bindtap="openAlert">Alert Dialog</button> | ||
<button class="weui-btn" type="default" bindtap="openConfirm">原生 Dialog</button> | ||
<button class="weui-btn" type="default" bindtap="openDialog">模拟 Dialog</button> | ||
</view> | ||
<view class="weui-demo-dialog {{istrue ? 'weui-demo-dialog_show' : ''}}"> | ||
<view class="weui-mask" bindtap="closeDialog"></view> | ||
<view class="weui-dialog__wrp" bindtap="closeDialog"> | ||
<view class="weui-dialog" catchtap="stopEvent"> | ||
<view class="weui-dialog__hd"> | ||
<view class="weui-dialog__title">标题</view> | ||
</view> | ||
<view class="weui-dialog__bd"> | ||
<image class="weui-article__img" src="../images/pic_article.png" mode="aspectFill" style="max-width:100%;"/> | ||
</view> | ||
<view class="weui-dialog__ft"> | ||
<view class="weui-dialog__btn weui-dialog__btn_default" bindtap="closeDialog">取消</view> | ||
<view class="weui-dialog__btn" bindtap="closeDialog">确定</view> | ||
</view> | ||
</view> | ||
</view> | ||
</view> | ||
</view> | ||
</view> | ||
</view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
page{ | ||
background-color: #FFFFFF; | ||
} | ||
} | ||
.weui-demo-dialog{ | ||
visibility:hidden; | ||
opacity:0; | ||
transition:opacity .3s; | ||
} | ||
.weui-demo-dialog_show{ | ||
visibility:visible; | ||
opacity:1; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
Page({}); | ||
Page({ | ||
openGallery: function () { | ||
this.setData({ | ||
istrue: true | ||
}) | ||
}, | ||
closeGallery: function () { | ||
this.setData({ | ||
istrue: false | ||
}) | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
<view class="page"> | ||
<view class="page__hd"> | ||
<view class="page__title">Gallery</view> | ||
<view class="page__desc">画廊,建议采用小程序原生的wx.previewImage来实现。详情请看小程序文档。</view> | ||
<view class="page__desc">画廊,模拟小程序原生的wx.previewImage。</view> | ||
</view> | ||
</view> | ||
<view class="page__bd"> | ||
<view class="weui-btn-area"> | ||
<button class="weui-btn" type="default" bindtap="openGallery">Gallery</button> | ||
</view> | ||
<view class="weui-gallery {{istrue ? 'weui-gallery_show' : ''}}" bindtap="closeGallery"> | ||
<view class="weui-gallery__info">1/17</view> | ||
<view class="weui-gallery__img__wrp"> | ||
<image mode="aspectFit" class="weui-gallery__img" src="../images/pic_160.png"></image> | ||
</view> | ||
<view class="weui-gallery__opr"> | ||
<navigator href="javascript:" class="weui-gallery__del">删除</navigator> | ||
</view> | ||
</view> | ||
</view> | ||
</view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* example/gallery/gallery.wxss */ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* example/grid/grid.wxss */ |
Empty file.
Oops, something went wrong.