From ac26edbee43a1dfb8df45e98696120e2f1a878be Mon Sep 17 00:00:00 2001 From: xushengni Date: Thu, 9 May 2019 16:22:55 +0800 Subject: [PATCH 1/2] weui-wxss-beta2.0 --- .gitignore | 3 +- dist/app.json | 4 +- dist/app.wxss | 7 +- dist/example/actionsheet/actionsheet.json | 3 + dist/example/actionsheet/actionsheet.wxml | 4 +- dist/example/article/article.json | 3 + dist/example/article/article.wxml | 4 +- dist/example/badge/badge.json | 3 + dist/example/badge/badge.wxss | 1 + dist/example/button/button.json | 3 + dist/example/button/button.wxml | 14 +- dist/example/button/button.wxss | 7 +- dist/example/dialog/dialog.json | 3 + dist/example/flex/flex.json | 3 + dist/example/flex/flex.wxss | 6 +- dist/example/footer/footer.json | 3 + dist/example/gallery/gallery.json | 3 + dist/example/gallery/gallery.wxss | 1 + dist/example/grid/grid.json | 3 + dist/example/grid/grid.wxss | 1 + dist/example/icons/icons.json | 3 + dist/example/icons/icons.wxml | 12 +- dist/example/index.json | 3 + dist/example/index.wxss | 2 +- dist/example/input/input.json | 3 + dist/example/input/input.wxss | 1 + dist/example/list/list.json | 3 + dist/example/list/list.wxml | 16 +- dist/example/list/list.wxss | 0 dist/example/loadmore/loadmore.json | 3 + dist/example/msg/msg.js | 12 +- dist/example/msg/msg.json | 3 + dist/example/msg/msg.wxml | 4 +- dist/example/msg/msg.wxss | 2 +- dist/example/msg/msg_fail.json | 3 + dist/example/msg/msg_fail.wxml | 8 +- dist/example/msg/msg_fail.wxss | 3 +- dist/example/msg/msg_success copy.js | 1 + dist/example/msg/msg_success.json | 3 + dist/example/msg/msg_success.wxml | 8 +- dist/example/msg/msg_success.wxml copy | 25 ++++ dist/example/msg/msg_success.wxss | 3 +- dist/example/msg/msg_success.wxss copy | 4 + dist/example/msg/msg_text copy.js | 1 + dist/example/msg/msg_text.js | 1 + dist/example/msg/msg_text.json | 3 + dist/example/msg/msg_text.wxml | 13 ++ dist/example/msg/msg_text.wxml copy | 25 ++++ dist/example/msg/msg_text.wxss | 4 + dist/example/msg/msg_text.wxss copy | 4 + dist/example/msg/msg_text_primary.js | 1 + dist/example/msg/msg_text_primary.json | 3 + dist/example/msg/msg_text_primary.wxml | 16 ++ dist/example/msg/msg_text_primary.wxss | 4 + dist/example/navbar/navbar.json | 3 + dist/example/navbar/navbar.wxml | 3 +- dist/example/panel/panel.json | 3 + dist/example/panel/panel.wxml | 10 +- dist/example/panel/panel.wxss | 1 + dist/example/picker/picker.json | 3 + dist/example/picker/picker.wxml | 12 +- dist/example/picker/picker.wxss | 3 +- dist/example/preview/preview.json | 3 + dist/example/progress/progress.json | 3 + dist/example/progress/progress.wxss | 3 +- dist/example/searchbar/searchbar.json | 3 + dist/example/searchbar/searchbar.wxml | 8 +- dist/example/searchbar/searchbar.wxss | 7 +- dist/example/slider/slider.json | 3 + dist/example/tabbar/tabbar.json | 3 + dist/example/tabbar/tabbar.wxss | 1 + dist/example/toast/toast.json | 3 + dist/example/uploader/uploader.json | 3 + dist/example/uploader/uploader.wxss | 1 + dist/style/base/fn.wxss | 2 +- dist/style/base/mixin/mobile.wxss | 5 + dist/style/base/mixin/setArrow.wxss | 2 +- dist/style/base/mixin/setOnepx.wxss | 2 +- dist/style/base/mixin/text.wxss | 2 +- dist/style/base/reset.wxss | 2 +- dist/style/base/variable/color.wxss | 2 +- dist/style/base/variable/global.wxss | 2 +- dist/style/base/variable/weui-button.wxss | 2 +- dist/style/base/variable/weui-cell.wxss | 2 +- dist/style/base/variable/weui-dialog.wxss | 2 +- dist/style/base/variable/weui-grid.wxss | 2 +- dist/style/base/variable/weui-msg.wxss | 2 +- dist/style/base/variable/weui-progress.wxss | 2 +- dist/style/weui.wxss | 4 +- dist/style/widget/weui-agree/weui-agree.wxss | 4 +- .../widget/weui-animate/weui-animate.wxss | 2 +- .../widget/weui-button/weui-btn_cell.wxss | 6 + .../widget/weui-button/weui-btn_default.wxss | 6 + .../widget/weui-button/weui-btn_disabled.wxss | 6 + .../widget/weui-button/weui-btn_global.wxss | 6 + .../widget/weui-button/weui-btn_loading.wxss | 6 + .../widget/weui-button/weui-btn_plain.wxss | 6 + .../widget/weui-button/weui-btn_primary.wxss | 6 + .../widget/weui-button/weui-btn_warn.wxss | 6 + .../style/widget/weui-button/weui-button.wxss | 4 +- dist/style/widget/weui-cell/weui-access.wxss | 4 +- dist/style/widget/weui-cell/weui-cell.wxss | 4 +- dist/style/widget/weui-cell/weui-check.wxss | 4 +- dist/style/widget/weui-cell/weui-form.wxss | 4 +- .../weui-form/weui-form-preview.wxss | 4 +- .../weui-cell/weui-form/weui-form_common.wxss | 4 +- .../weui-cell/weui-form/weui-select.wxss | 4 +- .../weui-cell/weui-form/weui-vcode.wxss | 4 +- dist/style/widget/weui-cell/weui-switch.wxss | 4 +- .../style/widget/weui-cell/weui-uploader.wxss | 4 +- dist/style/widget/weui-flex/weui-flex.wxss | 2 +- .../style/widget/weui-footer/weui-footer.wxss | 4 +- dist/style/widget/weui-grid/weui-grid.wxss | 4 +- dist/style/widget/weui-icon/weui-icon.wxss | 6 + .../widget/weui-loading/weui-loading.wxss | 2 +- .../widget/weui-media-box/weui-media-box.wxss | 4 +- dist/style/widget/weui-page/weui-article.wxss | 4 +- dist/style/widget/weui-page/weui-msg.wxss | 4 +- dist/style/widget/weui-panel/weui-panel.wxss | 4 +- .../widget/weui-progress/weui-progress.wxss | 2 +- .../widget/weui-searchbar/weui-searchbar.wxss | 4 +- dist/style/widget/weui-tab/weui-navbar.wxss | 4 +- dist/style/widget/weui-tab/weui-tab.wxss | 4 +- dist/style/widget/weui-tips/weui-badge.wxss | 4 +- .../style/widget/weui-tips/weui-loadmore.wxss | 4 +- package.json | 2 +- src/app.json | 4 +- src/app.wxss | 7 +- src/example/actionsheet/actionsheet.wxml | 4 +- src/example/article/article.wxml | 4 +- src/example/button/button.wxml | 14 +- src/example/button/button.wxss | 7 +- src/example/flex/flex.wxss | 6 +- src/example/icons/icons.wxml | 12 +- src/example/list/list.wxml | 16 +- src/example/list/list.wxss | 0 src/example/msg/msg.js | 12 +- src/example/msg/msg.wxml | 4 +- src/example/msg/msg.wxss | 2 +- src/example/msg/msg_fail.wxml | 8 +- src/example/msg/msg_fail.wxss | 3 +- src/example/msg/msg_success.wxml | 8 +- src/example/msg/msg_success.wxss | 3 +- src/example/msg/msg_text.js | 1 + src/example/msg/msg_text.wxml | 13 ++ src/example/msg/msg_text.wxss | 4 + src/example/msg/msg_text_primary.js | 1 + src/example/msg/msg_text_primary.wxml | 16 ++ src/example/msg/msg_text_primary.wxss | 4 + src/example/navbar/navbar.wxml | 3 +- src/example/panel/panel.wxml | 10 +- src/example/picker/picker.wxml | 12 +- src/example/picker/picker.wxss | 3 +- src/example/progress/progress.wxss | 3 +- src/example/searchbar/searchbar.wxml | 8 +- src/example/searchbar/searchbar.wxss | 7 +- src/style/base/fn.wxss | 3 +- src/style/base/mixin/mobile.wxss | 23 +++ src/style/base/variable/color.wxss | 25 ++-- src/style/base/variable/weui-button.wxss | 58 +++++++- src/style/base/variable/weui-cell.wxss | 26 ++-- src/style/base/variable/weui-dialog.wxss | 8 +- src/style/base/variable/weui-grid.wxss | 5 +- src/style/weui.wxss | 4 +- .../widget/weui-button/weui-btn_cell.wxss | 63 ++++++++ .../widget/weui-button/weui-btn_default.wxss | 33 +++++ .../widget/weui-button/weui-btn_disabled.wxss | 26 ++++ .../widget/weui-button/weui-btn_global.wxss | 46 ++++++ .../widget/weui-button/weui-btn_loading.wxss | 39 +++++ .../widget/weui-button/weui-btn_plain.wxss | 51 +++++++ .../widget/weui-button/weui-btn_primary.wxss | 32 ++++ .../widget/weui-button/weui-btn_warn.wxss | 33 +++++ src/style/widget/weui-button/weui-button.wxss | 138 +++++++++++++++++- src/style/widget/weui-cell/weui-access.wxss | 11 +- src/style/widget/weui-cell/weui-cell.wxss | 14 +- .../weui-form/weui-form-preview.wxss | 4 +- .../weui-cell/weui-form/weui-vcode.wxss | 6 +- src/style/widget/weui-cell/weui-uploader.wxss | 13 +- src/style/widget/weui-footer/weui-footer.wxss | 9 +- src/style/widget/weui-icon/weui-icon.wxss | 23 +++ .../widget/weui-media-box/weui-media-box.wxss | 19 ++- src/style/widget/weui-page/weui-article.wxss | 22 ++- src/style/widget/weui-page/weui-msg.wxss | 81 +++++++--- src/style/widget/weui-panel/weui-panel.wxss | 9 +- .../widget/weui-searchbar/weui-searchbar.wxss | 48 +++--- src/style/widget/weui-tab/weui-navbar.wxss | 51 +++++-- src/style/widget/weui-tab/weui-tab.wxss | 11 +- src/style/widget/weui-tips/weui-loadmore.wxss | 4 +- 188 files changed, 1340 insertions(+), 346 deletions(-) create mode 100644 dist/example/actionsheet/actionsheet.json create mode 100644 dist/example/article/article.json create mode 100644 dist/example/badge/badge.json create mode 100644 dist/example/badge/badge.wxss create mode 100644 dist/example/button/button.json create mode 100644 dist/example/dialog/dialog.json create mode 100644 dist/example/flex/flex.json create mode 100644 dist/example/footer/footer.json create mode 100644 dist/example/gallery/gallery.json create mode 100644 dist/example/gallery/gallery.wxss create mode 100644 dist/example/grid/grid.json create mode 100644 dist/example/grid/grid.wxss create mode 100644 dist/example/icons/icons.json create mode 100644 dist/example/index.json create mode 100644 dist/example/input/input.json create mode 100644 dist/example/input/input.wxss create mode 100644 dist/example/list/list.json create mode 100644 dist/example/list/list.wxss create mode 100644 dist/example/loadmore/loadmore.json create mode 100644 dist/example/msg/msg.json create mode 100644 dist/example/msg/msg_fail.json create mode 100644 dist/example/msg/msg_success copy.js create mode 100644 dist/example/msg/msg_success.json create mode 100644 dist/example/msg/msg_success.wxml copy create mode 100644 dist/example/msg/msg_success.wxss copy create mode 100644 dist/example/msg/msg_text copy.js create mode 100644 dist/example/msg/msg_text.js create mode 100644 dist/example/msg/msg_text.json create mode 100644 dist/example/msg/msg_text.wxml create mode 100644 dist/example/msg/msg_text.wxml copy create mode 100644 dist/example/msg/msg_text.wxss create mode 100644 dist/example/msg/msg_text.wxss copy create mode 100644 dist/example/msg/msg_text_primary.js create mode 100644 dist/example/msg/msg_text_primary.json create mode 100644 dist/example/msg/msg_text_primary.wxml create mode 100644 dist/example/msg/msg_text_primary.wxss create mode 100644 dist/example/navbar/navbar.json create mode 100644 dist/example/panel/panel.json create mode 100644 dist/example/panel/panel.wxss create mode 100644 dist/example/picker/picker.json create mode 100644 dist/example/preview/preview.json create mode 100644 dist/example/progress/progress.json create mode 100644 dist/example/searchbar/searchbar.json create mode 100644 dist/example/slider/slider.json create mode 100644 dist/example/tabbar/tabbar.json create mode 100644 dist/example/tabbar/tabbar.wxss create mode 100644 dist/example/toast/toast.json create mode 100644 dist/example/uploader/uploader.json create mode 100644 dist/example/uploader/uploader.wxss create mode 100644 dist/style/base/mixin/mobile.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_cell.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_default.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_disabled.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_global.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_loading.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_plain.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_primary.wxss create mode 100644 dist/style/widget/weui-button/weui-btn_warn.wxss create mode 100644 dist/style/widget/weui-icon/weui-icon.wxss create mode 100644 src/example/list/list.wxss create mode 100644 src/example/msg/msg_text.js create mode 100644 src/example/msg/msg_text.wxml create mode 100644 src/example/msg/msg_text.wxss create mode 100644 src/example/msg/msg_text_primary.js create mode 100644 src/example/msg/msg_text_primary.wxml create mode 100644 src/example/msg/msg_text_primary.wxss create mode 100644 src/style/base/mixin/mobile.wxss create mode 100644 src/style/widget/weui-button/weui-btn_cell.wxss create mode 100644 src/style/widget/weui-button/weui-btn_default.wxss create mode 100644 src/style/widget/weui-button/weui-btn_disabled.wxss create mode 100644 src/style/widget/weui-button/weui-btn_global.wxss create mode 100644 src/style/widget/weui-button/weui-btn_loading.wxss create mode 100644 src/style/widget/weui-button/weui-btn_plain.wxss create mode 100644 src/style/widget/weui-button/weui-btn_primary.wxss create mode 100644 src/style/widget/weui-button/weui-btn_warn.wxss create mode 100644 src/style/widget/weui-icon/weui-icon.wxss diff --git a/.gitignore b/.gitignore index d48b7082..677ec8e9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *~ .idea node_modules -npm-debug.log \ No newline at end of file +npm-debug.log +.DS_Store diff --git a/dist/app.json b/dist/app.json index 9c340df8..050b0f5f 100644 --- a/dist/app.json +++ b/dist/app.json @@ -23,6 +23,8 @@ "example/actionsheet/actionsheet", "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", @@ -46,4 +48,4 @@ "downloadFile": 10000 }, "debug": true -} \ No newline at end of file +} diff --git a/dist/app.wxss b/dist/app.wxss index 47c06c3d..1a3d1249 100644 --- a/dist/app.wxss +++ b/dist/app.wxss @@ -1,7 +1,7 @@ @import 'style/weui.wxss'; page{ - background-color: #F8F8F8; + background-color: #EDEDED; font-size: 16px; font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif; } @@ -32,4 +32,7 @@ page{ color: #888888; text-align: left; font-size: 14px; -} \ No newline at end of file +} +.weui-cell_example:before{ + left:52px; +} diff --git a/dist/example/actionsheet/actionsheet.json b/dist/example/actionsheet/actionsheet.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/actionsheet/actionsheet.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/actionsheet/actionsheet.wxml b/dist/example/actionsheet/actionsheet.wxml index 8ea4e15f..0f4e01df 100644 --- a/dist/example/actionsheet/actionsheet.wxml +++ b/dist/example/actionsheet/actionsheet.wxml @@ -5,7 +5,7 @@ - + - \ No newline at end of file + diff --git a/dist/example/article/article.json b/dist/example/article/article.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/article/article.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/article/article.wxml b/dist/example/article/article.wxml index 45169074..8520d1b1 100644 --- a/dist/example/article/article.wxml +++ b/dist/example/article/article.wxml @@ -7,7 +7,7 @@ 大标题 - 章标题 + 章标题 1.1 节标题 @@ -33,4 +33,4 @@ - \ No newline at end of file + diff --git a/dist/example/badge/badge.json b/dist/example/badge/badge.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/badge/badge.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/badge/badge.wxss b/dist/example/badge/badge.wxss new file mode 100644 index 00000000..57f3dcb9 --- /dev/null +++ b/dist/example/badge/badge.wxss @@ -0,0 +1 @@ +/* example/badge/badge.wxss */ \ No newline at end of file diff --git a/dist/example/button/button.json b/dist/example/button/button.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/button/button.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/button/button.wxml b/dist/example/button/button.wxml index 7a52ce23..a81ef076 100644 --- a/dist/example/button/button.wxml +++ b/dist/example/button/button.wxml @@ -4,14 +4,14 @@ 按钮,WeUI采用小程序原生的按钮为主体,加入一些间距的样式。 - - + + - - + + - - + + @@ -25,4 +25,4 @@ - \ No newline at end of file + diff --git a/dist/example/button/button.wxss b/dist/example/button/button.wxss index 5adb1f89..4eb07e51 100644 --- a/dist/example/button/button.wxss +++ b/dist/example/button/button.wxss @@ -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; -} \ No newline at end of file + margin: 0 4px; +} diff --git a/dist/example/dialog/dialog.json b/dist/example/dialog/dialog.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/dialog/dialog.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/flex/flex.json b/dist/example/flex/flex.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/flex/flex.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/flex/flex.wxss b/dist/example/flex/flex.wxss index e4e6c541..90056973 100644 --- a/dist/example/flex/flex.wxss +++ b/dist/example/flex/flex.wxss @@ -2,8 +2,8 @@ margin: 5px; padding: 0 10px; text-align: center; - background-color: #EBEBEB; + background-color: #F7F7F7; height: 2.3em; line-height: 2.3em; - color: #cfcfcf; -} \ No newline at end of file + color: rgba(0,0,0,.3); +} diff --git a/dist/example/footer/footer.json b/dist/example/footer/footer.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/footer/footer.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/gallery/gallery.json b/dist/example/gallery/gallery.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/gallery/gallery.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/gallery/gallery.wxss b/dist/example/gallery/gallery.wxss new file mode 100644 index 00000000..6ffc76e6 --- /dev/null +++ b/dist/example/gallery/gallery.wxss @@ -0,0 +1 @@ +/* example/gallery/gallery.wxss */ \ No newline at end of file diff --git a/dist/example/grid/grid.json b/dist/example/grid/grid.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/grid/grid.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/grid/grid.wxss b/dist/example/grid/grid.wxss new file mode 100644 index 00000000..41771ba7 --- /dev/null +++ b/dist/example/grid/grid.wxss @@ -0,0 +1 @@ +/* example/grid/grid.wxss */ \ No newline at end of file diff --git a/dist/example/icons/icons.json b/dist/example/icons/icons.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/icons/icons.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/icons/icons.wxml b/dist/example/icons/icons.wxml index 52a9a506..e5036fbe 100644 --- a/dist/example/icons/icons.wxml +++ b/dist/example/icons/icons.wxml @@ -5,35 +5,35 @@ - + 成功 用于表示操作顺利达成 - + 提示 用于表示信息提示;也常用于缺乏条件的操作拦截,提示用户所需信息 - + 普通警告 用于表示操作后将引起一定后果的情况 - + 强烈警告 用于表示操作后将引起严重的不可挽回的后果的情况 - + 等待 用于表示等待 @@ -50,4 +50,4 @@ - \ No newline at end of file + diff --git a/dist/example/index.json b/dist/example/index.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/index.wxss b/dist/example/index.wxss index 3601c055..66294bbb 100644 --- a/dist/example/index.wxss +++ b/dist/example/index.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ .weui-flex{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cells{margin-top:0;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:.3s;transition:.3s}.weui-cells:after,.weui-cells:before{display:none}.weui-cells_show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.weui-cell:before{right:15px}.kind-list__item{margin:10px 0;background-color:#fff;border-radius:2px;overflow:hidden}.kind-list__item:first-child{margin-top:0}.kind-list__img{width:30px;height:30px}.kind-list__item-hd{padding:20px;-webkit-transition:opacity .3s;transition:opacity .3s}.kind-list__item-hd_show{opacity:.4}.kind-list__item-bd{height:0;overflow:hidden}.kind-list__item-bd_show{height:auto} \ No newline at end of file diff --git a/dist/example/input/input.json b/dist/example/input/input.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/input/input.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/input/input.wxss b/dist/example/input/input.wxss new file mode 100644 index 00000000..77a7a099 --- /dev/null +++ b/dist/example/input/input.wxss @@ -0,0 +1 @@ +/* example/input/input.wxss */ \ No newline at end of file diff --git a/dist/example/list/list.json b/dist/example/list/list.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/list/list.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/list/list.wxml b/dist/example/list/list.wxml index 470ac337..6b813fda 100644 --- a/dist/example/list/list.wxml +++ b/dist/example/list/list.wxml @@ -14,16 +14,16 @@ 带图标、说明的列表项 - + - + 标题文字 说明文字 - + - + 标题文字 说明文字 @@ -58,18 +58,18 @@ - + cell standard 说明文字 - + - + cell standard 说明文字 - \ No newline at end of file + diff --git a/dist/example/list/list.wxss b/dist/example/list/list.wxss new file mode 100644 index 00000000..e69de29b diff --git a/dist/example/loadmore/loadmore.json b/dist/example/loadmore/loadmore.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/loadmore/loadmore.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg.js b/dist/example/msg/msg.js index 24b90b38..2da7e850 100644 --- a/dist/example/msg/msg.js +++ b/dist/example/msg/msg.js @@ -4,9 +4,19 @@ Page({ url: 'msg_success' }) }, + openText: function () { + wx.navigateTo({ + url: 'msg_text' + }) + }, + openTextPrimary: function () { + wx.navigateTo({ + url: 'msg_text_primary' + }) + }, openFail: function () { wx.navigateTo({ url: 'msg_fail' }) } -}); \ No newline at end of file +}); diff --git a/dist/example/msg/msg.json b/dist/example/msg/msg.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/msg/msg.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg.wxml b/dist/example/msg/msg.wxml index 8f3e4d11..ff36ab2a 100644 --- a/dist/example/msg/msg.wxml +++ b/dist/example/msg/msg.wxml @@ -7,6 +7,8 @@ + + - \ No newline at end of file + diff --git a/dist/example/msg/msg.wxss b/dist/example/msg/msg.wxss index 922ad0ef..a6f9f4bf 100644 --- a/dist/example/msg/msg.wxss +++ b/dist/example/msg/msg.wxss @@ -1,3 +1,3 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} diff --git a/dist/example/msg/msg_fail.json b/dist/example/msg/msg_fail.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/msg/msg_fail.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg_fail.wxml b/dist/example/msg/msg_fail.wxml index aecf3a17..9ef6c7f8 100644 --- a/dist/example/msg/msg_fail.wxml +++ b/dist/example/msg/msg_fail.wxml @@ -1,15 +1,17 @@ - + 操作失败 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + - @@ -22,4 +24,4 @@ - \ No newline at end of file + diff --git a/dist/example/msg/msg_fail.wxss b/dist/example/msg/msg_fail.wxss index 922ad0ef..1837700b 100644 --- a/dist/example/msg/msg_fail.wxss +++ b/dist/example/msg/msg_fail.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +page,.page{height:100%;} diff --git a/dist/example/msg/msg_success copy.js b/dist/example/msg/msg_success copy.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/dist/example/msg/msg_success copy.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/dist/example/msg/msg_success.json b/dist/example/msg/msg_success.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/msg/msg_success.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg_success.wxml b/dist/example/msg/msg_success.wxml index 5dea316e..29105957 100644 --- a/dist/example/msg/msg_success.wxml +++ b/dist/example/msg/msg_success.wxml @@ -1,7 +1,7 @@ - + 操作成功 @@ -10,9 +10,11 @@ - + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + @@ -22,4 +24,4 @@ - \ No newline at end of file + diff --git a/dist/example/msg/msg_success.wxml copy b/dist/example/msg/msg_success.wxml copy new file mode 100644 index 00000000..5dea316e --- /dev/null +++ b/dist/example/msg/msg_success.wxml copy @@ -0,0 +1,25 @@ + + + + + + + 操作成功 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + + + + 底部链接文本 + + Copyright © 2008-2016 weui.io + + + + \ No newline at end of file diff --git a/dist/example/msg/msg_success.wxss b/dist/example/msg/msg_success.wxss index 922ad0ef..1837700b 100644 --- a/dist/example/msg/msg_success.wxss +++ b/dist/example/msg/msg_success.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +page,.page{height:100%;} diff --git a/dist/example/msg/msg_success.wxss copy b/dist/example/msg/msg_success.wxss copy new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/dist/example/msg/msg_success.wxss copy @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/dist/example/msg/msg_text copy.js b/dist/example/msg/msg_text copy.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/dist/example/msg/msg_text copy.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/dist/example/msg/msg_text.js b/dist/example/msg/msg_text.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/dist/example/msg/msg_text.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/dist/example/msg/msg_text.json b/dist/example/msg/msg_text.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/msg/msg_text.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg_text.wxml b/dist/example/msg/msg_text.wxml new file mode 100644 index 00000000..431e6655 --- /dev/null +++ b/dist/example/msg/msg_text.wxml @@ -0,0 +1,13 @@ + + + + 操作成功 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + diff --git a/dist/example/msg/msg_text.wxml copy b/dist/example/msg/msg_text.wxml copy new file mode 100644 index 00000000..5dea316e --- /dev/null +++ b/dist/example/msg/msg_text.wxml copy @@ -0,0 +1,25 @@ + + + + + + + 操作成功 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + + + + 底部链接文本 + + Copyright © 2008-2016 weui.io + + + + \ No newline at end of file diff --git a/dist/example/msg/msg_text.wxss b/dist/example/msg/msg_text.wxss new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/dist/example/msg/msg_text.wxss @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/dist/example/msg/msg_text.wxss copy b/dist/example/msg/msg_text.wxss copy new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/dist/example/msg/msg_text.wxss copy @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/dist/example/msg/msg_text_primary.js b/dist/example/msg/msg_text_primary.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/dist/example/msg/msg_text_primary.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/dist/example/msg/msg_text_primary.json b/dist/example/msg/msg_text_primary.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/msg/msg_text_primary.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/msg/msg_text_primary.wxml b/dist/example/msg/msg_text_primary.wxml new file mode 100644 index 00000000..7de98f1a --- /dev/null +++ b/dist/example/msg/msg_text_primary.wxml @@ -0,0 +1,16 @@ + + + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + diff --git a/dist/example/msg/msg_text_primary.wxss b/dist/example/msg/msg_text_primary.wxss new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/dist/example/msg/msg_text_primary.wxss @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/dist/example/navbar/navbar.json b/dist/example/navbar/navbar.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/navbar/navbar.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/navbar/navbar.wxml b/dist/example/navbar/navbar.wxml index 885f02e8..0ecefc69 100644 --- a/dist/example/navbar/navbar.wxml +++ b/dist/example/navbar/navbar.wxml @@ -7,7 +7,6 @@ {{item}} - @@ -16,4 +15,4 @@ - \ No newline at end of file + diff --git a/dist/example/panel/panel.json b/dist/example/panel/panel.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/panel/panel.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/panel/panel.wxml b/dist/example/panel/panel.wxml index 2b15acb4..62af872f 100644 --- a/dist/example/panel/panel.wxml +++ b/dist/example/panel/panel.wxml @@ -57,15 +57,15 @@ - - + + 文字标题 - - + + 文字标题 @@ -90,4 +90,4 @@ - \ No newline at end of file + diff --git a/dist/example/panel/panel.wxss b/dist/example/panel/panel.wxss new file mode 100644 index 00000000..84edd135 --- /dev/null +++ b/dist/example/panel/panel.wxss @@ -0,0 +1 @@ +/* example/panel/panel.wxss */ \ No newline at end of file diff --git a/dist/example/picker/picker.json b/dist/example/picker/picker.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/picker/picker.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/picker/picker.wxml b/dist/example/picker/picker.wxml index f3f20fcb..944faa6a 100644 --- a/dist/example/picker/picker.wxml +++ b/dist/example/picker/picker.wxml @@ -6,14 +6,14 @@ - + - - + + - - + + - \ No newline at end of file + diff --git a/dist/example/picker/picker.wxss b/dist/example/picker/picker.wxss index 922ad0ef..9ae7893c 100644 --- a/dist/example/picker/picker.wxss +++ b/dist/example/picker/picker.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +picker{margin-bottom:16px;} diff --git a/dist/example/preview/preview.json b/dist/example/preview/preview.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/preview/preview.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/progress/progress.json b/dist/example/progress/progress.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/progress/progress.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/progress/progress.wxss b/dist/example/progress/progress.wxss index 56ed11de..3262b009 100644 --- a/dist/example/progress/progress.wxss +++ b/dist/example/progress/progress.wxss @@ -1,3 +1,4 @@ +page{background-color:#FFFFFF;} .weui-progress{ margin-bottom: 24px; -} \ No newline at end of file +} diff --git a/dist/example/searchbar/searchbar.json b/dist/example/searchbar/searchbar.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/searchbar/searchbar.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/searchbar/searchbar.wxml b/dist/example/searchbar/searchbar.wxml index da15a052..8c93fd8f 100644 --- a/dist/example/searchbar/searchbar.wxml +++ b/dist/example/searchbar/searchbar.wxml @@ -7,14 +7,14 @@ - + - + @@ -43,4 +43,4 @@ - \ No newline at end of file + diff --git a/dist/example/searchbar/searchbar.wxss b/dist/example/searchbar/searchbar.wxss index 4083ba64..19075075 100644 --- a/dist/example/searchbar/searchbar.wxss +++ b/dist/example/searchbar/searchbar.wxss @@ -2,9 +2,10 @@ margin-top: 0; font-size: 14px; } +.searchbar-result .weui-cell__bd{ + padding: 2px 0 2px 20px; + color: #666; +} .searchbar-result:before{ display: none; } -.weui-cell{ - padding: 12px 15px 12px 35px; -} \ No newline at end of file diff --git a/dist/example/slider/slider.json b/dist/example/slider/slider.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/slider/slider.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/tabbar/tabbar.json b/dist/example/tabbar/tabbar.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/tabbar/tabbar.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/tabbar/tabbar.wxss b/dist/example/tabbar/tabbar.wxss new file mode 100644 index 00000000..9eb13479 --- /dev/null +++ b/dist/example/tabbar/tabbar.wxss @@ -0,0 +1 @@ +/* example/tabbar/tabbar.wxss */ \ No newline at end of file diff --git a/dist/example/toast/toast.json b/dist/example/toast/toast.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/toast/toast.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/uploader/uploader.json b/dist/example/uploader/uploader.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/uploader/uploader.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/uploader/uploader.wxss b/dist/example/uploader/uploader.wxss new file mode 100644 index 00000000..57cab53f --- /dev/null +++ b/dist/example/uploader/uploader.wxss @@ -0,0 +1 @@ +/* example/uploader/uploader.wxss */ \ No newline at end of file diff --git a/dist/style/base/fn.wxss b/dist/style/base/fn.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/fn.wxss +++ b/dist/style/base/fn.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/mixin/mobile.wxss b/dist/style/base/mixin/mobile.wxss new file mode 100644 index 00000000..6a3ee626 --- /dev/null +++ b/dist/style/base/mixin/mobile.wxss @@ -0,0 +1,5 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ diff --git a/dist/style/base/mixin/setArrow.wxss b/dist/style/base/mixin/setArrow.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/mixin/setArrow.wxss +++ b/dist/style/base/mixin/setArrow.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/mixin/setOnepx.wxss b/dist/style/base/mixin/setOnepx.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/mixin/setOnepx.wxss +++ b/dist/style/base/mixin/setOnepx.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/mixin/text.wxss b/dist/style/base/mixin/text.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/mixin/text.wxss +++ b/dist/style/base/mixin/text.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/reset.wxss b/dist/style/base/reset.wxss index b702157e..217c2f40 100644 --- a/dist/style/base/reset.wxss +++ b/dist/style/base/reset.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle} \ No newline at end of file diff --git a/dist/style/base/variable/color.wxss b/dist/style/base/variable/color.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/color.wxss +++ b/dist/style/base/variable/color.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/global.wxss b/dist/style/base/variable/global.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/global.wxss +++ b/dist/style/base/variable/global.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-button.wxss b/dist/style/base/variable/weui-button.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-button.wxss +++ b/dist/style/base/variable/weui-button.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-cell.wxss b/dist/style/base/variable/weui-cell.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-cell.wxss +++ b/dist/style/base/variable/weui-cell.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-dialog.wxss b/dist/style/base/variable/weui-dialog.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-dialog.wxss +++ b/dist/style/base/variable/weui-dialog.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-grid.wxss b/dist/style/base/variable/weui-grid.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-grid.wxss +++ b/dist/style/base/variable/weui-grid.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-msg.wxss b/dist/style/base/variable/weui-msg.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-msg.wxss +++ b/dist/style/base/variable/weui-msg.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/variable/weui-progress.wxss b/dist/style/base/variable/weui-progress.wxss index a83d320f..6a3ee626 100644 --- a/dist/style/base/variable/weui-progress.wxss +++ b/dist/style/base/variable/weui-progress.wxss @@ -1,5 +1,5 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/weui.wxss b/dist/style/weui.wxss index 3d6cfacf..622407b0 100644 --- a/dist/style/weui.wxss +++ b/dist/style/weui.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle}.weui-cells{position:relative;margin-top:1.17647059em;background-color:#fff;line-height:1.41176471;font-size:17px}.weui-cells:before{top:0;border-top:1rpx solid #d9d9d9}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-cells:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999;font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ececec}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:#999}.weui-cell_access{color:inherit}.weui-cell__ft_in-access{padding-right:13px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586c94;font-size:14px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block}.weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:.35em}.weui-cell__ft_in-radio{padding-left:.35em}.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#e64340}.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid #d9d9d9}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:10px 15px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-form-preview__bd{padding:10px 15px;font-size:.9em;text-align:right;color:#999;line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:#999;text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#eee}.weui-form-preview__btn_default{color:#999}.weui-form-preview__btn_primary{color:#0bb20c}.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:15px;padding-right:30px;height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em;border-right:1rpx solid #d9d9d9}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:15px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:15px}.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:2.58823529em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:2.58823529em;font-size:17px;color:#3cc51f;white-space:nowrap}.weui-vcode-btn:active{color:#52a341}.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:10px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:#b2b2b2}.weui-uploader__bd{margin-bottom:-4px;margin-right:-9px;overflow:hidden}.weui-uploader__file{float:left;margin-right:9px;margin-bottom:9px}.weui-uploader__img{display:block;width:79px;height:79px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff}.weui-uploader__input-box{float:left;position:relative;margin-right:9px;margin-bottom:9px;width:77px;height:77px;border:1px solid #d9d9d9}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#d9d9d9}.weui-uploader__input-box:before{width:2px;height:39.5px}.weui-uploader__input-box:after{width:39.5px;height:2px}.weui-uploader__input-box:active{border-color:#999}.weui-uploader__input-box:active:after,.weui-uploader__input-box:active:before{background-color:#999}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0}.weui-article{padding:20px 15px;font-size:15px}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:18px;font-weight:400;margin-bottom:.9em}.weui-article__h2{font-size:16px;font-weight:400;margin-bottom:.34em}.weui-article__h3{font-weight:400;font-size:15px;margin-bottom:.34em}.weui-article__p{margin:0 0 .8em}.weui-msg{padding-top:36px;text-align:center}.weui-msg__link{display:inline;color:#586c94}.weui-msg__icon-area{margin-bottom:30px}.weui-msg__text-area{margin-bottom:25px;padding:0 20px}.weui-msg__title{margin-bottom:5px;font-weight:400;font-size:20px}.weui-msg__desc{font-size:14px;color:#999}.weui-msg__opr-area{margin-bottom:25px}.weui-msg__extra-area{margin-bottom:15px;font-size:14px;color:#999}@media screen and (min-height:438px){.weui-msg__extra-area{position:fixed;left:0;bottom:0;width:100%;text-align:center}}.weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn{margin-top:15px}.weui-btn:first-child{margin-top:0}.weui-btn-area{margin:1.17647059em 15px .3em}.weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:#999}.weui-agree__link{display:inline;color:#586c94}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px}.weui-footer{color:#999;font-size:14px;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 .62em;position:relative;font-size:14px;color:#586c94}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-.65em;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px}.weui-grids{border-top:1rpx solid #d9d9d9;border-left:1rpx solid #d9d9d9;overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid #d9d9d9;border-bottom:1rpx solid #d9d9d9}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:#000;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.weui-loading{margin:0 5px;width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#e64340;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0}.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid #e5e5e5;margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:#999}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:#e5e5e5}.weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid #e5e5e5}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}.weui-panel:after{bottom:0;border-bottom:1rpx solid #e5e5e5}.weui-panel__hd{padding:14px 15px 10px;color:#999;font-size:13px;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #e5e5e5;color:#e5e5e5;left:15px}.weui-media-box{padding:15px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #e5e5e5;color:#e5e5e5;left:15px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc{color:#999;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:15px;padding-bottom:5px;font-size:13px;color:#cecece;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #cecece}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:.8em;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none}.weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__opr{margin-left:15px;font-size:0}.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #ccc}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1aad19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1aad19;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.weui-tab{position:relative;height:100%}.weui-tab__panel{box-sizing:border-box;height:100%;padding-top:50px;overflow:auto;-webkit-overflow-scrolling:touch}.weui-search-bar{position:relative;padding:8px 10px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:#efeff4;border-top:1rpx solid #d7d6dc;border-bottom:1rpx solid #d7d6dc}.weui-icon-search{margin-right:8px;font-size:inherit}.weui-icon-search_in-box{position:absolute;left:10px;top:7px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:middle}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;border-radius:5px;background:#fff;border:1rpx solid #e6e6ea}.weui-search-bar__box{position:relative;padding-left:30px;padding-right:30px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:28px;line-height:28px;font-size:14px}.weui-icon-clear{position:absolute;top:0;right:0;padding:7px 8px;font-size:0}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:3px;text-align:center;color:#9b9b9b;background:#fff;line-height:28px}.weui-search-bar__cancel-btn{margin-left:10px;line-height:28px;color:#09bb07;white-space:nowrap} \ No newline at end of file +page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle}.weui-cells{position:relative;margin-top:8px;background-color:#fff;line-height:1.41176471;font-size:17px}.weui-cells:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-cells:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-cells__title{margin-top:16px;margin-bottom:3px;padding-left:16px;padding-right:16px;color:rgba(0,0,0,.5);font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:3px;color:rgba(0,0,0,.5);padding-left:16px;padding-right:16px;font-size:14px}.weui-cell{padding:16px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ececec}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:rgba(0,0,0,.5)}.weui-cell_access{color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell__ft_in-access{padding-right:16px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:8px;width:8px;border-width:2px 2px 0 0;border-color:#b2b2b2;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-5px;right:0}.weui-cell_link{color:#576b95;font-size:17px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block}.weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:16px}.weui-cell__ft_in-radio{padding-left:16px}.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#fa5151}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:rgba(0,0,0,.3);text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#fa5151}.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:16px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-form-preview__bd{padding:16px;font-size:.9em;text-align:right;color:rgba(0,0,0,.5);line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:rgba(0,0,0,.5);text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#576b95;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#ececec}.weui-form-preview__btn_default{color:rgba(0,0,0,.5)}.weui-form-preview__btn_primary{color:#576b95}.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:16px;padding-right:30px;height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em;border-right:1rpx solid rgba(0,0,0,.1)}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:16px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:16px}.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:3.29411765em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1rpx solid rgba(0,0,0,.1);line-height:3.29411765em;font-size:17px;color:#576b95;white-space:nowrap}.weui-vcode-btn:active{color:#767676}.weui-cell_switch{padding-top:12px;padding-bottom:12px}.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:16px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:rgba(0,0,0,.3)}.weui-uploader__bd{margin-bottom:-8px;margin-right:-8px;overflow:hidden}.weui-uploader__file{float:left;margin-right:8px;margin-bottom:8px}.weui-uploader__img{display:block;width:96px;height:96px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff}.weui-uploader__input-box{float:left;position:relative;margin-right:8px;margin-bottom:8px;width:96px;height:96px;box-sizing:border-box;background-color:#ededed}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#a3a3a3}.weui-uploader__input-box:before{width:2px;height:32px}.weui-uploader__input-box:after{width:32px;height:2px}.weui-uploader__input-box:active{border-color:#8b8b8b}.weui-uploader__input-box:active:after,.weui-uploader__input-box:active:before{background-color:#8b8b8b}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0}.weui-article{padding:24px 16px;padding:24px calc(16px + constant(safe-area-inset-right)) calc(24px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left));padding:24px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));font-size:17px;color:rgba(0,0,0,.9)}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:22px;font-weight:700;margin-bottom:.9em;line-height:1.4}.weui-article__h2{font-size:17px}.weui-article__h2,.weui-article__h3{font-weight:700;margin-bottom:.34em;line-height:1.4}.weui-article__h3{font-size:15px}.weui-article__p{margin:0 0 .8em}.weui-msg{padding-top:36px;padding:calc(36px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);padding:calc(36px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);text-align:center;line-height:1.4;min-height:100%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff}.weui-msg__link{color:#576b95;display:inline-block;vertical-align:baseline}.weui-msg__icon-area{margin-bottom:32px}.weui-msg__text-area{margin-bottom:32px;padding:0 32px;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:1.6}.weui-msg__text-area:first-child{padding-top:96px}.weui-msg__title{margin-bottom:5px;font-weight:700;font-size:22px;word-wrap:break-word;word-break:break-all}.weui-msg__desc{font-size:17px;color:rgba(0,0,0,.9)}.weui-msg__desc,.weui-msg__desc-primary{word-wrap:break-word;word-break:break-all;margin-bottom:16px}.weui-msg__desc-primary{font-size:14px;color:rgba(0,0,0,.5)}.weui-msg__opr-area{margin-bottom:16px}.weui-msg__opr-area .weui-btn-area{margin:0}.weui-msg__opr-area .weui-btn+.weui-btn{margin-bottom:16px}.weui-msg__opr-area:last-child{margin-bottom:96px}.weui-msg__opr-area+.weui-msg__extra-area{margin-top:48px}.weui-msg__tips-area{margin-bottom:16px;padding:0 40px}.weui-msg__opr-area+.weui-msg__tips-area{margin-bottom:48px}.weui-msg__tips-area:last-child{margin-bottom:64px}.weui-msg__extra-area,.weui-msg__tips{font-size:12px;color:rgba(0,0,0,.5)}.weui-msg__extra-area{position:static;margin-bottom:24px}.weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1}button.weui-btn,input.weui-btn{border-width:0;outline:0;-webkit-appearance:none}button.weui-btn:focus,input.weui-btn:focus{outline:0}button.weui-btn_inline,button.weui-btn_mini,input.weui-btn_inline,input.weui-btn_mini{width:auto}button.weui-btn_plain-default,button.weui-btn_plain-primary,input.weui-btn_plain-default,input.weui-btn_plain-primary{border-width:1px;background-color:transparent}.weui-btn_mini{display:inline-block;width:auto;padding:0 .75em;line-height:2;font-size:16px}.weui-btn+.weui-btn{margin-top:16px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:16px}.weui-btn-area{margin:48px 16px 8px}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:16px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}.weui-btn{position:relative;display:block;width:184px;margin-left:auto;margin-right:auto;padding:8px 24px;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;border-radius:4px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;border-width:0}.weui-btn:after{display:none}.weui-btn[size=mini],.weui-btn_block{width:auto}button[type=primary]{background-color:#07c160;color:#fff}.button-hover[type=primary]{color:#fff;background-color:#06ad56}button[type=default]{color:#06ae56;background-color:#f2f2f2}.button-hover[type=default]{color:#06ae56;background-color:#d9d9d9}button[type=warn]{color:#fa5151;background-color:#f2f2f2}.button-hover[type=warn]{color:#fa5151;background-color:#d9d9d9}button[disabled][type=primary],button[disabled][type=warn]{color:rgba(0,0,0,.18);background-color:#fafafa}button[type=primary][plain]{color:#07c160;border:1px solid #1aad19}.button-hover[type=primary][plain]{color:#06ae56;border-color:#179c16;background-color:rgba(0,0,0,.1)}button[type=default][plain]{color:#353535;border:1px solid #353535}.button-hover[type=default][plain]{color:#323232;border-color:#323232;background-color:rgba(0,0,0,.1)}button[disabled][type=default],button[disabled][type=primary]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent}.weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:rgba(0,0,0,.5)}.weui-agree__link{display:inline;color:#576b95}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px}.weui-footer{color:rgba(0,0,0,.3);font-size:14px;line-height:1.4;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 8px;position:relative;font-size:14px;color:#576b95}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-8px;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px}.weui-grids{border-top:1rpx solid rgba(0,0,0,.1);border-left:1rpx solid rgba(0,0,0,.1);overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid rgba(0,0,0,.1);border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:rgba(0,0,0,.9);font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.weui-loading{margin:0 5px;width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#fa5151;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0}.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid rgba(0,0,0,.1);margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:rgba(0,0,0,.5)}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:rgba(0,0,0,.1)}.weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-panel:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-panel__hd{padding:16px 16px 13px;color:rgba(0,0,0,.9);font-size:15px;font-weight:700;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-media-box{padding:16px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:1s6px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;color:rgba(0,0,0,.9);width:auto;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc,.weui-media-box__title{line-height:1.4;overflow:hidden;text-overflow:ellipsis}.weui-media-box__desc{color:rgba(0,0,0,.5);font-size:14px;padding-top:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:16px;padding-bottom:4px;font-size:13px;color:#cecece;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #cecece}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:16px;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none}.weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__opr{margin-left:15px;font-size:0}.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:#fff;border-bottom:1rpx solid rgba(0,0,0,.1);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.weui-navbar+.weui-tab__panel{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:16px;padding:calc(16px + constant(safe-area-inset-top)) 16px 16px;padding:calc(16px + env(safe-area-inset-top)) 16px 16px;text-align:center;font-size:17px;line-height:1.41176471}.weui-navbar__item:after{content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-navbar__item.weui-bar__item_on{background-color:#ececec}.weui-navbar__item:first-child{padding-left:calc(16px + constant(safe-area-inset-left));padding-left:calc(16px + env(safe-area-inset-left))}.weui-navbar__item:last-child{padding-right:calc(16px + constant(safe-area-inset-right));padding-right:calc(16px + env(safe-area-inset-right))}.weui-navbar__item:last-child:after{display:none}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:2px;background-color:#07c160;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;display:none}.weui-navbar__title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.weui-tab{display:-webkit-box;display:-webkit-flex;display:flex;height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.weui-tab__panel{box-sizing:border-box;-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.weui-search-bar{position:relative;padding:8px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:#ededed;-webkit-text-size-adjust:100%;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-icon-search{margin-right:8px;font-size:20px;vertical-align:top;margin-top:-.05em}.weui-icon-search_in-box{position:absolute;left:12px;top:50%;margin-top:-6px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:top}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;border-radius:4px;background:#fff}.weui-search-bar__box{position:relative;padding-left:32px;padding-right:32px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:32px;line-height:32px;font-size:14px;caret-color:#07c160}.weui-icon-clear{position:absolute;top:0;right:0;bottom:0;padding:0 12px;font-size:0}.weui-icon-clear:after{content:"";height:100%;vertical-align:middle;display:inline-block;width:0;overflow:hidden}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:4px;text-align:center;color:rgba(0,0,0,.5);background:#fff;line-height:32px}.weui-search-bar__cancel-btn{margin-left:8px;line-height:32px;color:#576b95;white-space:nowrap}icon[type=success]:after,icon[type=success]:before{color:#07c160!important} \ No newline at end of file diff --git a/dist/style/widget/weui-agree/weui-agree.wxss b/dist/style/widget/weui-agree/weui-agree.wxss index 22edb23e..a82e3097 100644 --- a/dist/style/widget/weui-agree/weui-agree.wxss +++ b/dist/style/widget/weui-agree/weui-agree.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:#999}.weui-agree__link{display:inline;color:#586c94}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px} \ No newline at end of file +.weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:rgba(0,0,0,.5)}.weui-agree__link{display:inline;color:#576b95}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px} \ No newline at end of file diff --git a/dist/style/widget/weui-animate/weui-animate.wxss b/dist/style/widget/weui-animate/weui-animate.wxss index 30cf1504..f1cf8474 100644 --- a/dist/style/widget/weui-animate/weui-animate.wxss +++ b/dist/style/widget/weui-animate/weui-animate.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ @-webkit-keyframes a{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes a{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.weui-animate-slide-up{-webkit-animation:a ease .3s forwards;animation:a ease .3s forwards}@-webkit-keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.weui-animate-slide-down{-webkit-animation:b ease .3s forwards;animation:b ease .3s forwards}@-webkit-keyframes c{0%{opacity:0}to{opacity:1}}@keyframes c{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:c ease .3s forwards;animation:c ease .3s forwards}@-webkit-keyframes d{0%{opacity:1}to{opacity:0}}@keyframes d{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:d ease .3s forwards;animation:d ease .3s forwards} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_cell.wxss b/dist/style/widget/weui-button/weui-btn_cell.wxss new file mode 100644 index 00000000..5485d934 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_cell.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_cell{position:relative;display:block;margin-left:auto;margin-right:auto;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;padding:16px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;background-color:#fff}.weui-btn_cell+.weui-btn_cell{margin-top:16px}.weui-btn_cell:active{background-color:#ececec}.weui-btn_cell__icon{display:inline-block;vertical-align:middle;width:24px;height:24px;margin:-.2em .34em 0 0}.weui-btn_cell-default{color:rgba(0,0,0,.9)}.weui-btn_cell-primary{color:#576b95}.weui-btn_cell-warn{color:#fa5151} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_default.wxss b/dist/style/widget/weui-button/weui-btn_default.wxss new file mode 100644 index 00000000..134a18d2 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_default.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_default{color:#06ae56;background-color:#f2f2f2}.weui-btn_default:not(.weui-btn_disabled):visited{color:#06ae56}.weui-btn_default:not(.weui-btn_disabled):active{color:#06ae56;background-color:#d9d9d9} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_disabled.wxss b/dist/style/widget/weui-button/weui-btn_disabled.wxss new file mode 100644 index 00000000..665022d0 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_disabled.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_disabled{color:rgba(0,0,0,.18);background-color:#fafafa} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_global.wxss b/dist/style/widget/weui-button/weui-btn_global.wxss new file mode 100644 index 00000000..d6a125df --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_global.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn{position:relative;display:block;width:184px;margin-left:auto;margin-right:auto;padding:8px 24px;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;border-radius:4px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden}.weui-btn_block{width:auto}.weui-btn_inline{display:inline-block} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_loading.wxss b/dist/style/widget/weui-button/weui-btn_loading.wxss new file mode 100644 index 00000000..51ffc8f5 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_loading.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary{color:#fff}.weui-btn_loading.weui-btn_default{background-color:#d9d9d9}.weui-btn_loading.weui-btn_primary{background-color:#06ad56}.weui-btn_loading.weui-btn_warn{background-color:#d9d9d9} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_plain.wxss b/dist/style/widget/weui-button/weui-btn_plain.wxss new file mode 100644 index 00000000..5be5a46e --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_plain.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_plain-primary{color:#07c160;border:1px solid #1aad19}.weui-btn_plain-primary:not(.weui-btn_plain-disabled):active{color:#06ae56;border-color:#179c16;background-color:rgba(0,0,0,.1)}.weui-btn_plain-primary:after{border-width:0}.weui-btn_plain-default{color:#353535;border:1px solid #353535}.weui-btn_plain-default:not(.weui-btn_plain-disabled):active{color:#323232;border-color:#323232;background-color:rgba(0,0,0,.1)}.weui-btn_plain-default:after{border-width:0}.weui-btn_plain-disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_primary.wxss b/dist/style/widget/weui-button/weui-btn_primary.wxss new file mode 100644 index 00000000..5ee5a9d8 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_primary.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_primary{background-color:#07c160}.weui-btn_primary:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_primary:not(.weui-btn_disabled):active{color:#fff;background-color:#06ad56} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-btn_warn.wxss b/dist/style/widget/weui-button/weui-btn_warn.wxss new file mode 100644 index 00000000..5e69cc11 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_warn.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +.weui-btn_warn{color:#fa5151;background-color:#f2f2f2}.weui-btn_warn:not(.weui-btn_disabled):visited{color:#fa5151}.weui-btn_warn:not(.weui-btn_disabled):active{color:#fa5151;background-color:#d9d9d9} \ No newline at end of file diff --git a/dist/style/widget/weui-button/weui-button.wxss b/dist/style/widget/weui-button/weui-button.wxss index e6fa9935..ce52d041 100644 --- a/dist/style/widget/weui-button/weui-button.wxss +++ b/dist/style/widget/weui-button/weui-button.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-btn{margin-top:15px}.weui-btn:first-child{margin-top:0}.weui-btn-area{margin:1.17647059em 15px .3em} \ No newline at end of file +button.weui-btn,input.weui-btn{border-width:0;outline:0;-webkit-appearance:none}button.weui-btn:focus,input.weui-btn:focus{outline:0}button.weui-btn_inline,button.weui-btn_mini,input.weui-btn_inline,input.weui-btn_mini{width:auto}button.weui-btn_plain-default,button.weui-btn_plain-primary,input.weui-btn_plain-default,input.weui-btn_plain-primary{border-width:1px;background-color:transparent}.weui-btn_mini{display:inline-block;width:auto;padding:0 .75em;line-height:2;font-size:16px}.weui-btn+.weui-btn{margin-top:16px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:16px}.weui-btn-area{margin:48px 16px 8px}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:16px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}.weui-btn{position:relative;display:block;width:184px;margin-left:auto;margin-right:auto;padding:8px 24px;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;border-radius:4px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;border-width:0}.weui-btn:after{display:none}.weui-btn[size=mini],.weui-btn_block{width:auto}button[type=primary]{background-color:#07c160;color:#fff}.button-hover[type=primary]{color:#fff;background-color:#06ad56}button[type=default]{color:#06ae56;background-color:#f2f2f2}.button-hover[type=default]{color:#06ae56;background-color:#d9d9d9}button[type=warn]{color:#fa5151;background-color:#f2f2f2}.button-hover[type=warn]{color:#fa5151;background-color:#d9d9d9}button[disabled][type=primary],button[disabled][type=warn]{color:rgba(0,0,0,.18);background-color:#fafafa}button[type=primary][plain]{color:#07c160;border:1px solid #1aad19}.button-hover[type=primary][plain]{color:#06ae56;border-color:#179c16;background-color:rgba(0,0,0,.1)}button[type=default][plain]{color:#353535;border:1px solid #353535}.button-hover[type=default][plain]{color:#323232;border-color:#323232;background-color:rgba(0,0,0,.1)}button[disabled][type=default],button[disabled][type=primary]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);background-color:transparent} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-access.wxss b/dist/style/widget/weui-cell/weui-access.wxss index e797ca20..7d057de0 100644 --- a/dist/style/widget/weui-cell/weui-access.wxss +++ b/dist/style/widget/weui-cell/weui-access.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_access{color:inherit}.weui-cell__ft_in-access{padding-right:13px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586c94;font-size:14px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block} \ No newline at end of file +.weui-cell_access{color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell__ft_in-access{padding-right:16px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:8px;width:8px;border-width:2px 2px 0 0;border-color:#b2b2b2;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-5px;right:0}.weui-cell_link{color:#576b95;font-size:17px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-cell.wxss b/dist/style/widget/weui-cell/weui-cell.wxss index 652bc1dc..59d1b9f9 100644 --- a/dist/style/widget/weui-cell/weui-cell.wxss +++ b/dist/style/widget/weui-cell/weui-cell.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cells{position:relative;margin-top:1.17647059em;background-color:#fff;line-height:1.41176471;font-size:17px}.weui-cells:before{top:0;border-top:1rpx solid #d9d9d9}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-cells:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999;font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ececec}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:#999} \ No newline at end of file +.weui-cells{position:relative;margin-top:8px;background-color:#fff;line-height:1.41176471;font-size:17px}.weui-cells:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-cells:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-cells__title{margin-top:16px;margin-bottom:3px;padding-left:16px;padding-right:16px;color:rgba(0,0,0,.5);font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:3px;color:rgba(0,0,0,.5);padding-left:16px;padding-right:16px;font-size:14px}.weui-cell{padding:16px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ececec}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:rgba(0,0,0,.5)} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-check.wxss b/dist/style/widget/weui-cell/weui-check.wxss index 5c3de674..2a0907d2 100644 --- a/dist/style/widget/weui-cell/weui-check.wxss +++ b/dist/style/widget/weui-cell/weui-check.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:.35em}.weui-cell__ft_in-radio{padding-left:.35em} \ No newline at end of file +.weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:16px}.weui-cell__ft_in-radio{padding-left:16px} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-form.wxss b/dist/style/widget/weui-cell/weui-form.wxss index 0c0b93c3..e13d6774 100644 --- a/dist/style/widget/weui-cell/weui-form.wxss +++ b/dist/style/widget/weui-cell/weui-form.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#e64340}.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid #d9d9d9}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:10px 15px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-form-preview__bd{padding:10px 15px;font-size:.9em;text-align:right;color:#999;line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:#999;text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#eee}.weui-form-preview__btn_default{color:#999}.weui-form-preview__btn_primary{color:#0bb20c}.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:15px;padding-right:30px;height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em;border-right:1rpx solid #d9d9d9}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:15px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:15px}.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:2.58823529em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:2.58823529em;font-size:17px;color:#3cc51f;white-space:nowrap}.weui-vcode-btn:active{color:#52a341} \ No newline at end of file +.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#fa5151}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:rgba(0,0,0,.3);text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#fa5151}.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:16px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-form-preview__bd{padding:16px;font-size:.9em;text-align:right;color:rgba(0,0,0,.5);line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:rgba(0,0,0,.5);text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#576b95;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#ececec}.weui-form-preview__btn_default{color:rgba(0,0,0,.5)}.weui-form-preview__btn_primary{color:#576b95}.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:16px;padding-right:30px;height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em;border-right:1rpx solid rgba(0,0,0,.1)}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:16px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:16px}.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:3.29411765em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1rpx solid rgba(0,0,0,.1);line-height:3.29411765em;font-size:17px;color:#576b95;white-space:nowrap}.weui-vcode-btn:active{color:#767676} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss b/dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss index c1d78a6c..4c025256 100644 --- a/dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss +++ b/dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid #d9d9d9}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:10px 15px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-form-preview__bd{padding:10px 15px;font-size:.9em;text-align:right;color:#999;line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:#999;text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#eee}.weui-form-preview__btn_default{color:#999}.weui-form-preview__btn_primary{color:#0bb20c} \ No newline at end of file +.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:16px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}.weui-form-preview__bd{padding:16px;font-size:.9em;text-align:right;color:rgba(0,0,0,.5);line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:rgba(0,0,0,.5);text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#576b95;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#ececec}.weui-form-preview__btn_default{color:rgba(0,0,0,.5)}.weui-form-preview__btn_primary{color:#576b95} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-form/weui-form_common.wxss b/dist/style/widget/weui-cell/weui-form/weui-form_common.wxss index cbc4386b..954b3d4f 100644 --- a/dist/style/widget/weui-cell/weui-form/weui-form_common.wxss +++ b/dist/style/widget/weui-cell/weui-form/weui-form_common.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#e64340} \ No newline at end of file +.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#fa5151}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:rgba(0,0,0,.3);text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#fa5151} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-form/weui-select.wxss b/dist/style/widget/weui-cell/weui-form/weui-select.wxss index 7b12b152..8fd82982 100644 --- a/dist/style/widget/weui-cell/weui-form/weui-select.wxss +++ b/dist/style/widget/weui-cell/weui-form/weui-select.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:15px;padding-right:30px;height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em;border-right:1rpx solid #d9d9d9}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:15px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:15px} \ No newline at end of file +.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:16px;padding-right:30px;height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em;border-right:1rpx solid rgba(0,0,0,.1)}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:16px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:16px} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-form/weui-vcode.wxss b/dist/style/widget/weui-cell/weui-form/weui-vcode.wxss index 0d3560ea..0c199143 100644 --- a/dist/style/widget/weui-cell/weui-form/weui-vcode.wxss +++ b/dist/style/widget/weui-cell/weui-form/weui-vcode.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:2.58823529em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:2.58823529em;font-size:17px;color:#3cc51f;white-space:nowrap}.weui-vcode-btn:active{color:#52a341} \ No newline at end of file +.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:3.29411765em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1rpx solid rgba(0,0,0,.1);line-height:3.29411765em;font-size:17px;color:#576b95;white-space:nowrap}.weui-vcode-btn:active{color:#767676} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-switch.wxss b/dist/style/widget/weui-cell/weui-switch.wxss index 0b142617..4744fc91 100644 --- a/dist/style/widget/weui-cell/weui-switch.wxss +++ b/dist/style/widget/weui-cell/weui-switch.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-cell_switch{padding-top:6px;padding-bottom:6px} \ No newline at end of file +.weui-cell_switch{padding-top:12px;padding-bottom:12px} \ No newline at end of file diff --git a/dist/style/widget/weui-cell/weui-uploader.wxss b/dist/style/widget/weui-cell/weui-uploader.wxss index d20ba247..724bdf83 100644 --- a/dist/style/widget/weui-cell/weui-uploader.wxss +++ b/dist/style/widget/weui-cell/weui-uploader.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:10px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:#b2b2b2}.weui-uploader__bd{margin-bottom:-4px;margin-right:-9px;overflow:hidden}.weui-uploader__file{float:left;margin-right:9px;margin-bottom:9px}.weui-uploader__img{display:block;width:79px;height:79px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff}.weui-uploader__input-box{float:left;position:relative;margin-right:9px;margin-bottom:9px;width:77px;height:77px;border:1px solid #d9d9d9}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#d9d9d9}.weui-uploader__input-box:before{width:2px;height:39.5px}.weui-uploader__input-box:after{width:39.5px;height:2px}.weui-uploader__input-box:active{border-color:#999}.weui-uploader__input-box:active:after,.weui-uploader__input-box:active:before{background-color:#999}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0} \ No newline at end of file +.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:16px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:rgba(0,0,0,.3)}.weui-uploader__bd{margin-bottom:-8px;margin-right:-8px;overflow:hidden}.weui-uploader__file{float:left;margin-right:8px;margin-bottom:8px}.weui-uploader__img{display:block;width:96px;height:96px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff}.weui-uploader__input-box{float:left;position:relative;margin-right:8px;margin-bottom:8px;width:96px;height:96px;box-sizing:border-box;background-color:#ededed}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#a3a3a3}.weui-uploader__input-box:before{width:2px;height:32px}.weui-uploader__input-box:after{width:32px;height:2px}.weui-uploader__input-box:active{border-color:#8b8b8b}.weui-uploader__input-box:active:after,.weui-uploader__input-box:active:before{background-color:#8b8b8b}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0} \ No newline at end of file diff --git a/dist/style/widget/weui-flex/weui-flex.wxss b/dist/style/widget/weui-flex/weui-flex.wxss index a26a647b..d033fecb 100644 --- a/dist/style/widget/weui-flex/weui-flex.wxss +++ b/dist/style/widget/weui-flex/weui-flex.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ .weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1} \ No newline at end of file diff --git a/dist/style/widget/weui-footer/weui-footer.wxss b/dist/style/widget/weui-footer/weui-footer.wxss index 17435071..26aff504 100644 --- a/dist/style/widget/weui-footer/weui-footer.wxss +++ b/dist/style/widget/weui-footer/weui-footer.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-footer{color:#999;font-size:14px;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 .62em;position:relative;font-size:14px;color:#586c94}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-.65em;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px} \ No newline at end of file +.weui-footer{color:rgba(0,0,0,.3);font-size:14px;line-height:1.4;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 8px;position:relative;font-size:14px;color:#576b95}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-8px;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px} \ No newline at end of file diff --git a/dist/style/widget/weui-grid/weui-grid.wxss b/dist/style/widget/weui-grid/weui-grid.wxss index 7ecb4061..72ed7e01 100644 --- a/dist/style/widget/weui-grid/weui-grid.wxss +++ b/dist/style/widget/weui-grid/weui-grid.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-grids{border-top:1rpx solid #d9d9d9;border-left:1rpx solid #d9d9d9;overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid #d9d9d9;border-bottom:1rpx solid #d9d9d9}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:#000;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden} \ No newline at end of file +.weui-grids{border-top:1rpx solid rgba(0,0,0,.1);border-left:1rpx solid rgba(0,0,0,.1);overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid rgba(0,0,0,.1);border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:rgba(0,0,0,.9);font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden} \ No newline at end of file diff --git a/dist/style/widget/weui-icon/weui-icon.wxss b/dist/style/widget/weui-icon/weui-icon.wxss new file mode 100644 index 00000000..79753c8c --- /dev/null +++ b/dist/style/widget/weui-icon/weui-icon.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. + * Licensed under the MIT license + */ +icon[type=success]:after,icon[type=success]:before{color:#07c160!important} \ No newline at end of file diff --git a/dist/style/widget/weui-loading/weui-loading.wxss b/dist/style/widget/weui-loading/weui-loading.wxss index 336d593a..804b1a21 100644 --- a/dist/style/widget/weui-loading/weui-loading.wxss +++ b/dist/style/widget/weui-loading/weui-loading.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ .weui-loading{margin:0 5px;width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} \ No newline at end of file diff --git a/dist/style/widget/weui-media-box/weui-media-box.wxss b/dist/style/widget/weui-media-box/weui-media-box.wxss index ec93f2cb..1ee3fdb5 100644 --- a/dist/style/widget/weui-media-box/weui-media-box.wxss +++ b/dist/style/widget/weui-media-box/weui-media-box.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-media-box{padding:15px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #e5e5e5;color:#e5e5e5;left:15px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc{color:#999;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:15px;padding-bottom:5px;font-size:13px;color:#cecece;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #cecece}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:.8em;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none} \ No newline at end of file +.weui-media-box{padding:16px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:1s6px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;color:rgba(0,0,0,.9);width:auto;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc,.weui-media-box__title{line-height:1.4;overflow:hidden;text-overflow:ellipsis}.weui-media-box__desc{color:rgba(0,0,0,.5);font-size:14px;padding-top:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:16px;padding-bottom:4px;font-size:13px;color:#cecece;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #cecece}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:16px;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none} \ No newline at end of file diff --git a/dist/style/widget/weui-page/weui-article.wxss b/dist/style/widget/weui-page/weui-article.wxss index 4163c30b..3ec0d6d5 100644 --- a/dist/style/widget/weui-page/weui-article.wxss +++ b/dist/style/widget/weui-page/weui-article.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-article{padding:20px 15px;font-size:15px}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:18px;font-weight:400;margin-bottom:.9em}.weui-article__h2{font-size:16px;font-weight:400;margin-bottom:.34em}.weui-article__h3{font-weight:400;font-size:15px;margin-bottom:.34em}.weui-article__p{margin:0 0 .8em} \ No newline at end of file +.weui-article{padding:24px 16px;padding:24px calc(16px + constant(safe-area-inset-right)) calc(24px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left));padding:24px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));font-size:17px;color:rgba(0,0,0,.9)}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:22px;font-weight:700;margin-bottom:.9em;line-height:1.4}.weui-article__h2{font-size:17px}.weui-article__h2,.weui-article__h3{font-weight:700;margin-bottom:.34em;line-height:1.4}.weui-article__h3{font-size:15px}.weui-article__p{margin:0 0 .8em} \ No newline at end of file diff --git a/dist/style/widget/weui-page/weui-msg.wxss b/dist/style/widget/weui-page/weui-msg.wxss index 82e84e38..4b1e99f8 100644 --- a/dist/style/widget/weui-page/weui-msg.wxss +++ b/dist/style/widget/weui-page/weui-msg.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-msg{padding-top:36px;text-align:center}.weui-msg__link{display:inline;color:#586c94}.weui-msg__icon-area{margin-bottom:30px}.weui-msg__text-area{margin-bottom:25px;padding:0 20px}.weui-msg__title{margin-bottom:5px;font-weight:400;font-size:20px}.weui-msg__desc{font-size:14px;color:#999}.weui-msg__opr-area{margin-bottom:25px}.weui-msg__extra-area{margin-bottom:15px;font-size:14px;color:#999}@media screen and (min-height:438px){.weui-msg__extra-area{position:fixed;left:0;bottom:0;width:100%;text-align:center}} \ No newline at end of file +.weui-msg{padding-top:36px;padding:calc(36px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);padding:calc(36px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);text-align:center;line-height:1.4;min-height:100%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff}.weui-msg__link{color:#576b95;display:inline-block;vertical-align:baseline}.weui-msg__icon-area{margin-bottom:32px}.weui-msg__text-area{margin-bottom:32px;padding:0 32px;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:1.6}.weui-msg__text-area:first-child{padding-top:96px}.weui-msg__title{margin-bottom:5px;font-weight:700;font-size:22px;word-wrap:break-word;word-break:break-all}.weui-msg__desc{font-size:17px;color:rgba(0,0,0,.9)}.weui-msg__desc,.weui-msg__desc-primary{word-wrap:break-word;word-break:break-all;margin-bottom:16px}.weui-msg__desc-primary{font-size:14px;color:rgba(0,0,0,.5)}.weui-msg__opr-area{margin-bottom:16px}.weui-msg__opr-area .weui-btn-area{margin:0}.weui-msg__opr-area .weui-btn+.weui-btn{margin-bottom:16px}.weui-msg__opr-area:last-child{margin-bottom:96px}.weui-msg__opr-area+.weui-msg__extra-area{margin-top:48px}.weui-msg__tips-area{margin-bottom:16px;padding:0 40px}.weui-msg__opr-area+.weui-msg__tips-area{margin-bottom:48px}.weui-msg__tips-area:last-child{margin-bottom:64px}.weui-msg__extra-area,.weui-msg__tips{font-size:12px;color:rgba(0,0,0,.5)}.weui-msg__extra-area{position:static;margin-bottom:24px} \ No newline at end of file diff --git a/dist/style/widget/weui-panel/weui-panel.wxss b/dist/style/widget/weui-panel/weui-panel.wxss index 5b5b047d..a1072282 100644 --- a/dist/style/widget/weui-panel/weui-panel.wxss +++ b/dist/style/widget/weui-panel/weui-panel.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid #e5e5e5}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}.weui-panel:after{bottom:0;border-bottom:1rpx solid #e5e5e5}.weui-panel__hd{padding:14px 15px 10px;color:#999;font-size:13px;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #e5e5e5;color:#e5e5e5;left:15px} \ No newline at end of file +.weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-panel:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-panel__hd{padding:16px 16px 13px;color:rgba(0,0,0,.9);font-size:15px;font-weight:700;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px} \ No newline at end of file diff --git a/dist/style/widget/weui-progress/weui-progress.wxss b/dist/style/widget/weui-progress/weui-progress.wxss index a46cf96e..1507450b 100644 --- a/dist/style/widget/weui-progress/weui-progress.wxss +++ b/dist/style/widget/weui-progress/weui-progress.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ .weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__opr{margin-left:15px;font-size:0} \ No newline at end of file diff --git a/dist/style/widget/weui-searchbar/weui-searchbar.wxss b/dist/style/widget/weui-searchbar/weui-searchbar.wxss index c3954ef6..f609175e 100644 --- a/dist/style/widget/weui-searchbar/weui-searchbar.wxss +++ b/dist/style/widget/weui-searchbar/weui-searchbar.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-search-bar{position:relative;padding:8px 10px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:#efeff4;border-top:1rpx solid #d7d6dc;border-bottom:1rpx solid #d7d6dc}.weui-icon-search{margin-right:8px;font-size:inherit}.weui-icon-search_in-box{position:absolute;left:10px;top:7px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:middle}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;border-radius:5px;background:#fff;border:1rpx solid #e6e6ea}.weui-search-bar__box{position:relative;padding-left:30px;padding-right:30px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:28px;line-height:28px;font-size:14px}.weui-icon-clear{position:absolute;top:0;right:0;padding:7px 8px;font-size:0}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:3px;text-align:center;color:#9b9b9b;background:#fff;line-height:28px}.weui-search-bar__cancel-btn{margin-left:10px;line-height:28px;color:#09bb07;white-space:nowrap} \ No newline at end of file +.weui-search-bar{position:relative;padding:8px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:#ededed;-webkit-text-size-adjust:100%;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-icon-search{margin-right:8px;font-size:20px;vertical-align:top;margin-top:-.05em}.weui-icon-search_in-box{position:absolute;left:12px;top:50%;margin-top:-6px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:top}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;border-radius:4px;background:#fff}.weui-search-bar__box{position:relative;padding-left:32px;padding-right:32px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:32px;line-height:32px;font-size:14px;caret-color:#07c160}.weui-icon-clear{position:absolute;top:0;right:0;bottom:0;padding:0 12px;font-size:0}.weui-icon-clear:after{content:"";height:100%;vertical-align:middle;display:inline-block;width:0;overflow:hidden}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:4px;text-align:center;color:rgba(0,0,0,.5);background:#fff;line-height:32px}.weui-search-bar__cancel-btn{margin-left:8px;line-height:32px;color:#576b95;white-space:nowrap} \ No newline at end of file diff --git a/dist/style/widget/weui-tab/weui-navbar.wxss b/dist/style/widget/weui-tab/weui-navbar.wxss index 16844435..0c0c413c 100644 --- a/dist/style/widget/weui-tab/weui-navbar.wxss +++ b/dist/style/widget/weui-tab/weui-navbar.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #ccc}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1aad19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1aad19;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal} \ No newline at end of file +.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:#fff;border-bottom:1rpx solid rgba(0,0,0,.1);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.weui-navbar+.weui-tab__panel{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:16px;padding:calc(16px + constant(safe-area-inset-top)) 16px 16px;padding:calc(16px + env(safe-area-inset-top)) 16px 16px;text-align:center;font-size:17px;line-height:1.41176471}.weui-navbar__item:after{content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-navbar__item.weui-bar__item_on{background-color:#ececec}.weui-navbar__item:first-child{padding-left:calc(16px + constant(safe-area-inset-left));padding-left:calc(16px + env(safe-area-inset-left))}.weui-navbar__item:last-child{padding-right:calc(16px + constant(safe-area-inset-right));padding-right:calc(16px + env(safe-area-inset-right))}.weui-navbar__item:last-child:after{display:none}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:2px;background-color:#07c160;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;display:none}.weui-navbar__title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1} \ No newline at end of file diff --git a/dist/style/widget/weui-tab/weui-tab.wxss b/dist/style/widget/weui-tab/weui-tab.wxss index 10a9cf7a..c8829875 100644 --- a/dist/style/widget/weui-tab/weui-tab.wxss +++ b/dist/style/widget/weui-tab/weui-tab.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #ccc}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1aad19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1aad19;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.weui-tab{position:relative;height:100%}.weui-tab__panel{box-sizing:border-box;height:100%;padding-top:50px;overflow:auto;-webkit-overflow-scrolling:touch} \ No newline at end of file +.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:#fff;border-bottom:1rpx solid rgba(0,0,0,.1);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.weui-navbar+.weui-tab__panel{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:16px;padding:calc(16px + constant(safe-area-inset-top)) 16px 16px;padding:calc(16px + env(safe-area-inset-top)) 16px 16px;text-align:center;font-size:17px;line-height:1.41176471}.weui-navbar__item:after{content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1)}.weui-navbar__item.weui-bar__item_on{background-color:#ececec}.weui-navbar__item:first-child{padding-left:calc(16px + constant(safe-area-inset-left));padding-left:calc(16px + env(safe-area-inset-left))}.weui-navbar__item:last-child{padding-right:calc(16px + constant(safe-area-inset-right));padding-right:calc(16px + env(safe-area-inset-right))}.weui-navbar__item:last-child:after{display:none}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:2px;background-color:#07c160;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;display:none}.weui-navbar__title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.weui-tab{display:-webkit-box;display:-webkit-flex;display:flex;height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.weui-tab__panel{box-sizing:border-box;-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch} \ No newline at end of file diff --git a/dist/style/widget/weui-tips/weui-badge.wxss b/dist/style/widget/weui-tips/weui-badge.wxss index e30802c1..01712f61 100644 --- a/dist/style/widget/weui-tips/weui-badge.wxss +++ b/dist/style/widget/weui-tips/weui-badge.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#e64340;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0} \ No newline at end of file +.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#fa5151;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0} \ No newline at end of file diff --git a/dist/style/widget/weui-tips/weui-loadmore.wxss b/dist/style/widget/weui-tips/weui-loadmore.wxss index a86d27b9..3e6d5733 100644 --- a/dist/style/widget/weui-tips/weui-loadmore.wxss +++ b/dist/style/widget/weui-tips/weui-loadmore.wxss @@ -1,6 +1,6 @@ /*! * WeUI v1.1.1 (https://github.com/weui/weui-wxss) - * Copyright 2017 Tencent, Inc. + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ -.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid #e5e5e5;margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:#999}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:#e5e5e5} \ No newline at end of file +.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid rgba(0,0,0,.1);margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:rgba(0,0,0,.5)}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:rgba(0,0,0,.1)} \ No newline at end of file diff --git a/package.json b/package.json index 06cdca21..63c9baa8 100644 --- a/package.json +++ b/package.json @@ -30,4 +30,4 @@ "gulp-postcss": "^6.2.0", "gulp-rename": "^1.2.2" } -} \ No newline at end of file +} diff --git a/src/app.json b/src/app.json index 9c340df8..050b0f5f 100644 --- a/src/app.json +++ b/src/app.json @@ -23,6 +23,8 @@ "example/actionsheet/actionsheet", "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", @@ -46,4 +48,4 @@ "downloadFile": 10000 }, "debug": true -} \ No newline at end of file +} diff --git a/src/app.wxss b/src/app.wxss index 47c06c3d..1a3d1249 100644 --- a/src/app.wxss +++ b/src/app.wxss @@ -1,7 +1,7 @@ @import 'style/weui.wxss'; page{ - background-color: #F8F8F8; + background-color: #EDEDED; font-size: 16px; font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif; } @@ -32,4 +32,7 @@ page{ color: #888888; text-align: left; font-size: 14px; -} \ No newline at end of file +} +.weui-cell_example:before{ + left:52px; +} diff --git a/src/example/actionsheet/actionsheet.wxml b/src/example/actionsheet/actionsheet.wxml index 8ea4e15f..0f4e01df 100644 --- a/src/example/actionsheet/actionsheet.wxml +++ b/src/example/actionsheet/actionsheet.wxml @@ -5,7 +5,7 @@ - + - \ No newline at end of file + diff --git a/src/example/article/article.wxml b/src/example/article/article.wxml index 45169074..8520d1b1 100644 --- a/src/example/article/article.wxml +++ b/src/example/article/article.wxml @@ -7,7 +7,7 @@ 大标题 - 章标题 + 章标题 1.1 节标题 @@ -33,4 +33,4 @@ - \ No newline at end of file + diff --git a/src/example/button/button.wxml b/src/example/button/button.wxml index 7a52ce23..a81ef076 100644 --- a/src/example/button/button.wxml +++ b/src/example/button/button.wxml @@ -4,14 +4,14 @@ 按钮,WeUI采用小程序原生的按钮为主体,加入一些间距的样式。 - - + + - - + + - - + + @@ -25,4 +25,4 @@ - \ No newline at end of file + diff --git a/src/example/button/button.wxss b/src/example/button/button.wxss index 5adb1f89..4eb07e51 100644 --- a/src/example/button/button.wxss +++ b/src/example/button/button.wxss @@ -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; -} \ No newline at end of file + margin: 0 4px; +} diff --git a/src/example/flex/flex.wxss b/src/example/flex/flex.wxss index e4e6c541..90056973 100644 --- a/src/example/flex/flex.wxss +++ b/src/example/flex/flex.wxss @@ -2,8 +2,8 @@ margin: 5px; padding: 0 10px; text-align: center; - background-color: #EBEBEB; + background-color: #F7F7F7; height: 2.3em; line-height: 2.3em; - color: #cfcfcf; -} \ No newline at end of file + color: rgba(0,0,0,.3); +} diff --git a/src/example/icons/icons.wxml b/src/example/icons/icons.wxml index 52a9a506..e5036fbe 100644 --- a/src/example/icons/icons.wxml +++ b/src/example/icons/icons.wxml @@ -5,35 +5,35 @@ - + 成功 用于表示操作顺利达成 - + 提示 用于表示信息提示;也常用于缺乏条件的操作拦截,提示用户所需信息 - + 普通警告 用于表示操作后将引起一定后果的情况 - + 强烈警告 用于表示操作后将引起严重的不可挽回的后果的情况 - + 等待 用于表示等待 @@ -50,4 +50,4 @@ - \ No newline at end of file + diff --git a/src/example/list/list.wxml b/src/example/list/list.wxml index 470ac337..6b813fda 100644 --- a/src/example/list/list.wxml +++ b/src/example/list/list.wxml @@ -14,16 +14,16 @@ 带图标、说明的列表项 - + - + 标题文字 说明文字 - + - + 标题文字 说明文字 @@ -58,18 +58,18 @@ - + cell standard 说明文字 - + - + cell standard 说明文字 - \ No newline at end of file + diff --git a/src/example/list/list.wxss b/src/example/list/list.wxss new file mode 100644 index 00000000..e69de29b diff --git a/src/example/msg/msg.js b/src/example/msg/msg.js index 24b90b38..2da7e850 100644 --- a/src/example/msg/msg.js +++ b/src/example/msg/msg.js @@ -4,9 +4,19 @@ Page({ url: 'msg_success' }) }, + openText: function () { + wx.navigateTo({ + url: 'msg_text' + }) + }, + openTextPrimary: function () { + wx.navigateTo({ + url: 'msg_text_primary' + }) + }, openFail: function () { wx.navigateTo({ url: 'msg_fail' }) } -}); \ No newline at end of file +}); diff --git a/src/example/msg/msg.wxml b/src/example/msg/msg.wxml index 8f3e4d11..ff36ab2a 100644 --- a/src/example/msg/msg.wxml +++ b/src/example/msg/msg.wxml @@ -7,6 +7,8 @@ + + - \ No newline at end of file + diff --git a/src/example/msg/msg.wxss b/src/example/msg/msg.wxss index 922ad0ef..a6f9f4bf 100644 --- a/src/example/msg/msg.wxss +++ b/src/example/msg/msg.wxss @@ -1,3 +1,3 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} diff --git a/src/example/msg/msg_fail.wxml b/src/example/msg/msg_fail.wxml index aecf3a17..9ef6c7f8 100644 --- a/src/example/msg/msg_fail.wxml +++ b/src/example/msg/msg_fail.wxml @@ -1,15 +1,17 @@ - + 操作失败 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + - @@ -22,4 +24,4 @@ - \ No newline at end of file + diff --git a/src/example/msg/msg_fail.wxss b/src/example/msg/msg_fail.wxss index 922ad0ef..1837700b 100644 --- a/src/example/msg/msg_fail.wxss +++ b/src/example/msg/msg_fail.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +page,.page{height:100%;} diff --git a/src/example/msg/msg_success.wxml b/src/example/msg/msg_success.wxml index 5dea316e..29105957 100644 --- a/src/example/msg/msg_success.wxml +++ b/src/example/msg/msg_success.wxml @@ -1,7 +1,7 @@ - + 操作成功 @@ -10,9 +10,11 @@ - + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + @@ -22,4 +24,4 @@ - \ No newline at end of file + diff --git a/src/example/msg/msg_success.wxss b/src/example/msg/msg_success.wxss index 922ad0ef..1837700b 100644 --- a/src/example/msg/msg_success.wxss +++ b/src/example/msg/msg_success.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +page,.page{height:100%;} diff --git a/src/example/msg/msg_text.js b/src/example/msg/msg_text.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/src/example/msg/msg_text.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/src/example/msg/msg_text.wxml b/src/example/msg/msg_text.wxml new file mode 100644 index 00000000..431e6655 --- /dev/null +++ b/src/example/msg/msg_text.wxml @@ -0,0 +1,13 @@ + + + + 操作成功 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + diff --git a/src/example/msg/msg_text.wxss b/src/example/msg/msg_text.wxss new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/src/example/msg/msg_text.wxss @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/src/example/msg/msg_text_primary.js b/src/example/msg/msg_text_primary.js new file mode 100644 index 00000000..f16cc1a8 --- /dev/null +++ b/src/example/msg/msg_text_primary.js @@ -0,0 +1 @@ +Page({}); \ No newline at end of file diff --git a/src/example/msg/msg_text_primary.wxml b/src/example/msg/msg_text_primary.wxml new file mode 100644 index 00000000..7de98f1a --- /dev/null +++ b/src/example/msg/msg_text_primary.wxml @@ -0,0 +1,16 @@ + + + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + + + + + + 内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现文字链接 + + + diff --git a/src/example/msg/msg_text_primary.wxss b/src/example/msg/msg_text_primary.wxss new file mode 100644 index 00000000..1837700b --- /dev/null +++ b/src/example/msg/msg_text_primary.wxss @@ -0,0 +1,4 @@ +page{ + background-color: #FFFFFF; +} +page,.page{height:100%;} diff --git a/src/example/navbar/navbar.wxml b/src/example/navbar/navbar.wxml index 885f02e8..0ecefc69 100644 --- a/src/example/navbar/navbar.wxml +++ b/src/example/navbar/navbar.wxml @@ -7,7 +7,6 @@ {{item}} - @@ -16,4 +15,4 @@ - \ No newline at end of file + diff --git a/src/example/panel/panel.wxml b/src/example/panel/panel.wxml index 2b15acb4..62af872f 100644 --- a/src/example/panel/panel.wxml +++ b/src/example/panel/panel.wxml @@ -57,15 +57,15 @@ - - + + 文字标题 - - + + 文字标题 @@ -90,4 +90,4 @@ - \ No newline at end of file + diff --git a/src/example/picker/picker.wxml b/src/example/picker/picker.wxml index f3f20fcb..944faa6a 100644 --- a/src/example/picker/picker.wxml +++ b/src/example/picker/picker.wxml @@ -6,14 +6,14 @@ - + - - + + - - + + - \ No newline at end of file + diff --git a/src/example/picker/picker.wxss b/src/example/picker/picker.wxss index 922ad0ef..9ae7893c 100644 --- a/src/example/picker/picker.wxss +++ b/src/example/picker/picker.wxss @@ -1,3 +1,4 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +picker{margin-bottom:16px;} diff --git a/src/example/progress/progress.wxss b/src/example/progress/progress.wxss index 56ed11de..3262b009 100644 --- a/src/example/progress/progress.wxss +++ b/src/example/progress/progress.wxss @@ -1,3 +1,4 @@ +page{background-color:#FFFFFF;} .weui-progress{ margin-bottom: 24px; -} \ No newline at end of file +} diff --git a/src/example/searchbar/searchbar.wxml b/src/example/searchbar/searchbar.wxml index da15a052..8c93fd8f 100644 --- a/src/example/searchbar/searchbar.wxml +++ b/src/example/searchbar/searchbar.wxml @@ -7,14 +7,14 @@ - + - + @@ -43,4 +43,4 @@ - \ No newline at end of file + diff --git a/src/example/searchbar/searchbar.wxss b/src/example/searchbar/searchbar.wxss index 4083ba64..19075075 100644 --- a/src/example/searchbar/searchbar.wxss +++ b/src/example/searchbar/searchbar.wxss @@ -2,9 +2,10 @@ margin-top: 0; font-size: 14px; } +.searchbar-result .weui-cell__bd{ + padding: 2px 0 2px 20px; + color: #666; +} .searchbar-result:before{ display: none; } -.weui-cell{ - padding: 12px 15px 12px 35px; -} \ No newline at end of file diff --git a/src/style/base/fn.wxss b/src/style/base/fn.wxss index fcd2a806..775925ec 100644 --- a/src/style/base/fn.wxss +++ b/src/style/base/fn.wxss @@ -22,6 +22,7 @@ @import "mixin/setOnepx.wxss"; @import "mixin/setArrow.wxss"; @import "mixin/text.wxss"; +@import "mixin/mobile.wxss"; // variable @@ -34,4 +35,4 @@ @import "variable/weui-msg.wxss"; @import "variable/weui-grid.wxss"; @import "variable/weui-progress.wxss"; -@import "variable/weui-dialog.wxss"; \ No newline at end of file +@import "variable/weui-dialog.wxss"; diff --git a/src/style/base/mixin/mobile.wxss b/src/style/base/mixin/mobile.wxss new file mode 100644 index 00000000..bf2f6191 --- /dev/null +++ b/src/style/base/mixin/mobile.wxss @@ -0,0 +1,23 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +.setTapColor(@c:rgba(0,0,0,0)) { + -webkit-tap-highlight-color: @c; +} diff --git a/src/style/base/variable/color.wxss b/src/style/base/variable/color.wxss index 06c908c9..fa54e80b 100644 --- a/src/style/base/variable/color.wxss +++ b/src/style/base/variable/color.wxss @@ -19,22 +19,29 @@ */ // color -@weuiColorPrimary: #1AAD19; -@weuiColorWarn: #E64340; +@weuiColorPrimary: #07C160; +@weuiColorWarn: #FA5151; + +// active mask +@weuiActiveMaskWhite:rgba(0,0,0,.05); +@weuiActiveMaskColored:rgba(0,0,0,.1); +@weuiActiveMaskBlack:rgba(0,0,0,.15); // link -@weuiLinkColorDefault: #586C94; +@weuiLinkColorDefault: #576B95; // background -@weuiBgColorDefault: #EFEFF4; +@weuiBgColorDefault: #EDEDED; +@weuiBgColorPrimary: #F7F7F7; @weuiBgColorActive: #ECECEC; // line -@weuiLineColorLight: #E5E5E5; -@weuiLineColorDark: #BCBAB6; +@weuiLineColorLight: rgba(0,0,0,.1); +@weuiLineColorDark: rgba(0,0,0,.3); // text -@weuiTextColorTitle: #000000; -@weuiTextColorTips: #B2B2B2; +@weuiTextColorTitle: rgba(0,0,0,.9); +@weuiTextColorDesc: rgba(0,0,0,.5); +@weuiTextColorTips: rgba(0,0,0,.3); @weuiTextColorWarn: @weuiColorWarn; -@weuiTextColorGray: #999999; \ No newline at end of file +@weuiTextColorGray: @weuiTextColorDesc; diff --git a/src/style/base/variable/weui-button.wxss b/src/style/base/variable/weui-button.wxss index 9ef0f60c..bd62a468 100644 --- a/src/style/base/variable/weui-button.wxss +++ b/src/style/base/variable/weui-button.wxss @@ -17,5 +17,61 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@import "../fn.wxss"; -@weuiBtnDefaultGap:15px; \ No newline at end of file +@weuiBtnWidth:184px; +@weuiBtnHeight:40px; +@weuiBtnFontSize:17px; +@weuiBtnBorderRadius:4px; +@weuiBtnDefaultGap:16px; + +@weuiBtnMiniFontSize:16px; +@weuiBtnMiniHeight:32px; + +@weuiBtnCellHeight:56px; +@weuiBtnCellGap:16px; +@weuiBtnCellLineHeight: unit((@weuiBtnCellHeight - 2 * @weuiBtnCellGap) / @weuiBtnFontSize); + +@weuiBtnFontColor:#FFFFFF; +@weuiBtnActiveFontColor:#FFFFFF; +@weuiBtnDisabledFontColor:rgba(0,0,0,.18); +@weuiBtnDisabledBg:overlay(rgba(0,0,0,.02),#FFFFFF); +@weuiBtnHoverDefaultMask:@weuiActiveMaskWhite; +@weuiBtnHoverPrimaryMask:@weuiActiveMaskColored; + +@weuiBtnDefaultFontColor:#06AE56; +@weuiBtnDefaultActiveFontColor:#06AE56; +@weuiBtnDefaultDisabledFontColor:@weuiBtnDisabledFontColor; + +@weuiBtnDefaultBg:#F2F2F2; +@weuiBtnDefaultActiveBg:#D9D9D9; +@weuiBtnDefaultDisabledBg:@weuiBtnDisabledBg; + + +@weuiBtnPrimaryFontColor:#FFFFFF; +@weuiBtnPrimaryActiveFontColor:#FFFFFF; +@weuiBtnPrimaryDisabledFontColor:@weuiBtnDisabledFontColor; + +@weuiBtnPrimaryBg:#07C160; +@weuiBtnPrimaryActiveBg:#06AD56; +@weuiBtnPrimaryDisabledBg:@weuiBtnDisabledBg; + + +@weuiBtnWarnFontColor:@weuiColorWarn; +@weuiBtnWarnActiveFontColor:@weuiColorWarn; +@weuiBtnWarnDisabledFontColor:@weuiBtnDisabledFontColor; + +@weuiBtnWarnBg:#F2F2F2; +@weuiBtnWarnActiveBg:#D9D9D9; +@weuiBtnwarnDisabledBg:@weuiBtnDisabledBg; + + +@weuiBtnPlainPrimaryColor:#07C160; +@weuiBtnPlainPrimaryBorderColor:rgba(26,173,25,1); +@weuiBtnPlainPrimaryActiveColor:overlay(@weuiBtnHoverPrimaryMask,@weuiBtnPlainPrimaryColor); +@weuiBtnPlainPrimaryActiveBorderColor:overlay(@weuiBtnHoverPrimaryMask,@weuiBtnPlainPrimaryBorderColor); + +@weuiBtnPlainDefaultColor:rgba(53,53,53,1); +@weuiBtnPlainDefaultBorderColor:rgba(53,53,53,1); +@weuiBtnPlainDefaultActiveColor:overlay(@weuiBtnHoverDefaultMask,@weuiBtnPlainDefaultColor); +@weuiBtnPlainDefaultActiveBorderColor:overlay(@weuiBtnHoverDefaultMask,@weuiBtnPlainDefaultBorderColor); diff --git a/src/style/base/variable/weui-cell.wxss b/src/style/base/variable/weui-cell.wxss index 2e13a322..569e835a 100644 --- a/src/style/base/variable/weui-cell.wxss +++ b/src/style/base/variable/weui-cell.wxss @@ -18,27 +18,29 @@ * limitations under the License. */ +@import "../fn.wxss"; + @weuiCellBg:#FFFFFF; -@weuiCellBorderColor:#D9D9D9; -@weuiCellGapV:10px; -@weuiCellGapH:15px; -@weuiCellInnerGapH:.35em; +@weuiCellBorderColor:@weuiLineColorLight; +@weuiCellGapV:16px; +@weuiCellGapH:16px; +@weuiCellInnerGapH:16px; @weuiCellFontSize:17px; -@weuiCellHeight: 44px; +@weuiCellHeight: 56px; @weuiCellHeightEm: unit(@weuiCellHeight / @weuiCellFontSize, em); @weuiCellTipsFontSize:14px; @weuiCellLabelWidth:105px; -@weuiCellActiveBg: #ECECEC; +@weuiCellActiveBg: @weuiBgColorActive; @weuiCellLineHeight: unit((@weuiCellHeight - 2 * @weuiCellGapV) / @weuiCellFontSize); // 高度为44px,减去上下padding的行高 -@weuiCellsMarginTop:unit(20 / @weuiCellFontSize, em); +@weuiCellsMarginTop:8px; // weui switch @weuiSwitchHeight: 32px; // weui uploader -@weuiUploaderBorderColor:#D9D9D9; -@weuiUploaderActiveBorderColor:#999999; -@weuiUploaderFileSpacing: 9px; -@weuiUploaderSize: 79px; -@weuiUploaderBorderWidth: 1px; \ No newline at end of file +@weuiUploaderBorderColor:#A3A3A3; +@weuiUploaderActiveBorderColor:overlay(@weuiActiveMaskBlack,@weuiUploaderBorderColor); +@weuiUploaderFileSpacing: 8px; +@weuiUploaderSize: 96px; +@weuiUploaderBorderWidth: 1px; diff --git a/src/style/base/variable/weui-dialog.wxss b/src/style/base/variable/weui-dialog.wxss index d3ce922d..3d0165c0 100644 --- a/src/style/base/variable/weui-dialog.wxss +++ b/src/style/base/variable/weui-dialog.wxss @@ -18,8 +18,10 @@ * limitations under the License. */ +@import "../fn.wxss"; + @weuiDialogBackgroundColor: #FFFFFF; -@weuiDialogLineColor: #D5D5D6; -@weuiDialogLinkColor: #3CC51F; -@weuiDialogLinkActiveBc: #EEEEEE; +@weuiDialogLineColor: @weuiLineColorLight; +@weuiDialogLinkColor: @weuiLinkColorDefault; +@weuiDialogLinkActiveBc: @weuiBgColorActive; @weuiDialogGapWidth: 1.6em; diff --git a/src/style/base/variable/weui-grid.wxss b/src/style/base/variable/weui-grid.wxss index b025de81..7d5a884a 100644 --- a/src/style/base/variable/weui-grid.wxss +++ b/src/style/base/variable/weui-grid.wxss @@ -17,8 +17,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@import "../fn.wxss"; -@weuiGridBorderColor:#D9D9D9; +@weuiGridBorderColor:@weuiLineColorLight; @weuiGridFontSize: 14px; @weuiGridIconSize: 28px; -@weuiGridColumnCount: 3; \ No newline at end of file +@weuiGridColumnCount: 3; diff --git a/src/style/weui.wxss b/src/style/weui.wxss index 975a5c44..8aea47bb 100644 --- a/src/style/weui.wxss +++ b/src/style/weui.wxss @@ -53,4 +53,6 @@ @import "./widget/weui-tab/weui-tab.wxss"; -@import "./widget/weui-searchbar/weui-searchbar.wxss"; \ No newline at end of file +@import "./widget/weui-searchbar/weui-searchbar.wxss"; + +@import "./widget/weui-icon/weui-icon.wxss"; diff --git a/src/style/widget/weui-button/weui-btn_cell.wxss b/src/style/widget/weui-button/weui-btn_cell.wxss new file mode 100644 index 00000000..cbb090ac --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_cell.wxss @@ -0,0 +1,63 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_cell{ + position: relative; + display: block; + margin-left: auto; + margin-right: auto; + box-sizing: border-box; + font-weight:700; + font-size: @weuiBtnFontSize; + text-align: center; + text-decoration: none; + color: @weuiBtnFontColor; + line-height: @weuiBtnCellLineHeight; + padding:@weuiBtnCellGap; + .setTapColor(); + overflow: hidden; + background-color:#FFFFFF; + & + &{ + margin-top:@weuiBtnDefaultGap; + } + &:active{ + background-color:@weuiBgColorActive; + } +} +.weui-btn_cell__icon{ + display:inline-block; + vertical-align:middle; + width:24px; + height:24px; + margin:-.2em .34em 0 0; +} +.weui-btn_cell-default{ + color:rgba(0,0,0,.9); +} +.weui-btn_cell-primary{ + color:@weuiLinkColorDefault; +} +.weui-btn_cell-warn{ + color:@weuiColorWarn; +} + + diff --git a/src/style/widget/weui-button/weui-btn_default.wxss b/src/style/widget/weui-button/weui-btn_default.wxss new file mode 100644 index 00000000..d08b219d --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_default.wxss @@ -0,0 +1,33 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_default { + color: @weuiBtnDefaultFontColor; + background-color: @weuiBtnDefaultBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnDefaultFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnDefaultActiveFontColor; + background-color: @weuiBtnDefaultActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_disabled.wxss b/src/style/widget/weui-button/weui-btn_disabled.wxss new file mode 100644 index 00000000..3fa17ea1 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_disabled.wxss @@ -0,0 +1,26 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_disabled { + color: @weuiBtnDisabledFontColor; + background-color: @weuiBtnDisabledBg; +} diff --git a/src/style/widget/weui-button/weui-btn_global.wxss b/src/style/widget/weui-button/weui-btn_global.wxss new file mode 100644 index 00000000..63a49939 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_global.wxss @@ -0,0 +1,46 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn { + position: relative; + display: block; + width:@weuiBtnWidth; + margin-left: auto; + margin-right: auto; + padding:8px 24px; + box-sizing: border-box; + font-weight:700; + font-size: @weuiBtnFontSize; + text-align: center; + text-decoration: none; + color: @weuiBtnFontColor; + line-height: unit((@weuiBtnHeight - 16) / @weuiBtnFontSize); + border-radius: @weuiBtnBorderRadius; + .setTapColor(); + overflow: hidden; +} +.weui-btn_block { + width:auto; +} +.weui-btn_inline { + display: inline-block; +} diff --git a/src/style/widget/weui-button/weui-btn_loading.wxss b/src/style/widget/weui-button/weui-btn_loading.wxss new file mode 100644 index 00000000..3c4a93ff --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_loading.wxss @@ -0,0 +1,39 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_loading{ + .weui-loading{ + margin:-.2em .34em 0 0; + } + &.weui-btn_primary { + color: #FFFFFF; + } + &.weui-btn_default{ + background-color: @weuiBtnDefaultActiveBg; + } + &.weui-btn_primary{ + background-color: @weuiBtnPrimaryActiveBg; + } + &.weui-btn_warn{ + background-color: @weuiBtnWarnActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_plain.wxss b/src/style/widget/weui-button/weui-btn_plain.wxss new file mode 100644 index 00000000..3be548b2 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_plain.wxss @@ -0,0 +1,51 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_plain-primary { + color: @weuiBtnPlainPrimaryColor; + border: 1px solid @weuiBtnPlainPrimaryBorderColor; + &:not(.weui-btn_plain-disabled):active { + color:@weuiBtnPlainPrimaryActiveColor; + border-color: @weuiBtnPlainPrimaryActiveBorderColor; + background-color:rgba(0,0,0,.1); + } + &:after { + border-width: 0; + } +} + +.weui-btn_plain-default { + color: @weuiBtnPlainDefaultColor; + border: 1px solid @weuiBtnPlainDefaultBorderColor; + &:not(.weui-btn_plain-disabled):active { + color:@weuiBtnPlainDefaultActiveColor; + border-color: @weuiBtnPlainDefaultActiveBorderColor; + background-color:rgba(0,0,0,.1); + } + &:after { + border-width: 0; + } +} +.weui-btn_plain-disabled{ + color:rgba(0,0,0,.2); + border-color:rgba(0,0,0,.2); +} diff --git a/src/style/widget/weui-button/weui-btn_primary.wxss b/src/style/widget/weui-button/weui-btn_primary.wxss new file mode 100644 index 00000000..5b4f6500 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_primary.wxss @@ -0,0 +1,32 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_primary { + background-color: @weuiBtnPrimaryBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnPrimaryFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnPrimaryActiveFontColor; + background-color: @weuiBtnPrimaryActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_warn.wxss b/src/style/widget/weui-button/weui-btn_warn.wxss new file mode 100644 index 00000000..12b9b36c --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_warn.wxss @@ -0,0 +1,33 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_warn { + color:@weuiBtnWarnFontColor; + background-color: @weuiBtnWarnBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnWarnFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnWarnActiveFontColor; + background-color:@weuiBtnWarnActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-button.wxss b/src/style/widget/weui-button/weui-button.wxss index 19c3edda..b24b085d 100644 --- a/src/style/widget/weui-button/weui-button.wxss +++ b/src/style/widget/weui-button/weui-button.wxss @@ -20,12 +20,138 @@ @import "../../base/fn.wxss"; -.weui-btn{ +button, input { + &.weui-btn { + border-width: 0; + outline: 0; + -webkit-appearance: none; + &:focus { + outline: 0; + } + } + &.weui-btn_inline,&.weui-btn_mini { + width: auto; + } + &.weui-btn_plain-primary,&.weui-btn_plain-default{ + border-width: 1px; + background-color: transparent; + } +} + +.weui-btn_mini { + display: inline-block; + width:auto; + padding: 0 unit(12px/@weuiBtnMiniFontSize,em); + line-height: unit(@weuiBtnMiniHeight/@weuiBtnMiniFontSize); + font-size: @weuiBtnMiniFontSize; +} + + +/*gap between btn*/ +.weui-btn + .weui-btn { margin-top: @weuiBtnDefaultGap; - &:first-child{ - margin-top: 0; +} + +.weui-btn.weui-btn_inline + .weui-btn.weui-btn_inline { + margin-top: auto; + margin-left: @weuiBtnDefaultGap; +} + +.weui-btn-area { + margin: 48px @weuiBtnDefaultGap 8px; + +} +.weui-btn-area_inline { + display: flex; + .weui-btn { + margin-top: auto; + margin-right: @weuiBtnDefaultGap; + width: 100%; + flex: 1; + &:last-child { + margin-right: 0; + } } } -.weui-btn-area{ - margin: @weuiCellsMarginTop @weuiBtnDefaultGap .3em; -} \ No newline at end of file + + + +.weui-btn { + position: relative; + display: block; + width:@weuiBtnWidth; + margin-left: auto; + margin-right: auto; + padding:8px 24px; + box-sizing: border-box; + font-weight:700; + font-size: @weuiBtnFontSize; + text-align: center; + text-decoration: none; + color: @weuiBtnFontColor; + line-height: unit((@weuiBtnHeight - 16) / @weuiBtnFontSize); + border-radius: @weuiBtnBorderRadius; + .setTapColor(); + overflow: hidden; + border-width:0; +} +.weui-btn:after{display:none;} +.weui-btn_block { + width:auto; +} +.weui-btn[size=mini]{ + width:auto; +} +button[type=primary]{ + background-color: @weuiBtnPrimaryBg; + color: @weuiBtnPrimaryFontColor; +} +.button-hover[type=primary]{ + color: @weuiBtnPrimaryActiveFontColor; + background-color: @weuiBtnPrimaryActiveBg; +} +button[type=default]{ + color: @weuiBtnDefaultFontColor; + background-color: @weuiBtnDefaultBg; +} +.button-hover[type=default]{ + color: @weuiBtnDefaultActiveFontColor; + background-color: @weuiBtnDefaultActiveBg; +} +button[type=warn]{ + color:@weuiBtnWarnFontColor; + background-color: @weuiBtnWarnBg; +} +.button-hover[type=warn]{ + color: @weuiBtnWarnActiveFontColor; + background-color:@weuiBtnWarnActiveBg; +} + +button[disabled][type=primary],button[disabled][type=warn]{ + color: @weuiBtnDisabledFontColor; + background-color: @weuiBtnDisabledBg; +} +button[type=primary][plain]{ + color: @weuiBtnPlainPrimaryColor; + border: 1px solid @weuiBtnPlainPrimaryBorderColor; +} +.button-hover[type=primary][plain]{ + color:@weuiBtnPlainPrimaryActiveColor; + border-color: @weuiBtnPlainPrimaryActiveBorderColor; + background-color:rgba(0,0,0,.1); +} +button[type=default][plain]{ + color: @weuiBtnPlainDefaultColor; + border: 1px solid @weuiBtnPlainDefaultBorderColor; +} +.button-hover[type=default][plain]{ + color:@weuiBtnPlainDefaultActiveColor; + border-color: @weuiBtnPlainDefaultActiveBorderColor; + background-color:rgba(0,0,0,.1); +} +button[disabled][type=primary], +button[disabled][type=default]{ + color:rgba(0,0,0,.2); + border-color:rgba(0,0,0,.2); + background-color:transparent; +} diff --git a/src/style/widget/weui-cell/weui-access.wxss b/src/style/widget/weui-cell/weui-access.wxss index 34fd370c..1ab5fc98 100644 --- a/src/style/widget/weui-cell/weui-access.wxss +++ b/src/style/widget/weui-cell/weui-access.wxss @@ -22,22 +22,23 @@ .weui-cell_access { color: inherit; + .setTapColor(); } .weui-cell__ft_in-access { - padding-right: 13px; + padding-right: 16px; position: relative; &:after { content: " "; - .setArrow(right, 6px, #C8C8CD, 2px); + .setArrow(right, 8px, #B2B2B2, 2px); position: absolute; top: 50%; - margin-top: -4px; - right: 2px; + margin-top: -5px; + right: 0; } } .weui-cell_link{ color: @weuiLinkColorDefault; - font-size: 14px; + font-size: 17px; &:active{ background-color: @weuiCellActiveBg; diff --git a/src/style/widget/weui-cell/weui-cell.wxss b/src/style/widget/weui-cell/weui-cell.wxss index e289e455..d0892ff6 100644 --- a/src/style/widget/weui-cell/weui-cell.wxss +++ b/src/style/widget/weui-cell/weui-cell.wxss @@ -35,8 +35,8 @@ } .weui-cells__title { - margin-top: .77em; // 15px - 行高 - margin-bottom: .3em; // 8px - 行高 + margin-top: 16px; + margin-bottom: 3px; padding-left: @weuiCellGapH; padding-right: @weuiCellGapH; color: @weuiTextColorGray; @@ -47,15 +47,15 @@ } .weui-cells__tips { - margin-top: .3em; // 8px - 行高 - color: @weuiTextColorGray; + margin-top: 3px; + color: @weuiTextColorDesc; padding-left: @weuiCellGapH; padding-right: @weuiCellGapH; font-size: @weuiCellTipsFontSize; } .weui-cell { - padding: @weuiCellGapV @weuiCellGapH; + padding: @weuiCellGapV; position: relative; //这个是为了兼容cells容器onepx方案被before挡住而做的 display: flex; align-items: center; @@ -80,5 +80,5 @@ } .weui-cell__ft { text-align: right; - color: @weuiTextColorGray; -} \ No newline at end of file + color: @weuiTextColorDesc; +} diff --git a/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss b/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss index 28c04f4d..b061b8e7 100644 --- a/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss +++ b/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss @@ -100,5 +100,5 @@ color: @weuiTextColorGray; } .weui-form-preview__btn_primary { - color: #0BB20C; -} \ No newline at end of file + color: @weuiLinkColorDefault; +} diff --git a/src/style/widget/weui-cell/weui-form/weui-vcode.wxss b/src/style/widget/weui-cell/weui-form/weui-vcode.wxss index 1b451f6e..bc8b853f 100644 --- a/src/style/widget/weui-cell/weui-form/weui-vcode.wxss +++ b/src/style/widget/weui-cell/weui-form/weui-vcode.wxss @@ -33,13 +33,13 @@ height: unit(@weuiCellHeight / @weuiCellFontSize, em); margin-left: 5px; padding: 0 0.6em 0 0.7em; - border-left: 1px solid @weuiLineColorLight; + border-left: 1rpx solid @weuiLineColorLight; line-height: unit(@weuiCellHeight / @weuiCellFontSize, em); vertical-align: middle; font-size: @weuiCellFontSize; - color: @weuiDialogLinkColor; + color: @weuiLinkColorDefault; white-space: nowrap; &:active { color: desaturate(@weuiDialogLinkColor, 30%); } -} \ No newline at end of file +} diff --git a/src/style/widget/weui-cell/weui-uploader.wxss b/src/style/widget/weui-cell/weui-uploader.wxss index d5caafe7..d62e64de 100644 --- a/src/style/widget/weui-cell/weui-uploader.wxss +++ b/src/style/widget/weui-cell/weui-uploader.wxss @@ -71,9 +71,10 @@ position: relative; margin-right: @weuiUploaderFileSpacing; margin-bottom: @weuiUploaderFileSpacing; - width: @weuiUploaderSize - @weuiUploaderBorderWidth * 2; - height: @weuiUploaderSize - @weuiUploaderBorderWidth * 2; - border: @weuiUploaderBorderWidth solid @weuiUploaderBorderColor; + width: @weuiUploaderSize; + height: @weuiUploaderSize; + box-sizing:border-box; + background-color:@weuiBgColorDefault; &:before, &:after{ content: " "; position: absolute; @@ -84,10 +85,10 @@ } &:before{ width: @weuiUploaderBorderWidth + 1; - height: @weuiUploaderSize / 2; + height: @weuiUploaderSize / 3; } &:after{ - width: @weuiUploaderSize / 2; + width: @weuiUploaderSize / 3; height: @weuiUploaderBorderWidth + 1; } &:active{ @@ -105,4 +106,4 @@ width: 100%; height: 100%; opacity: 0; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-footer/weui-footer.wxss b/src/style/widget/weui-footer/weui-footer.wxss index f536c954..b1f47bb1 100644 --- a/src/style/widget/weui-footer/weui-footer.wxss +++ b/src/style/widget/weui-footer/weui-footer.wxss @@ -21,8 +21,9 @@ @import "../../base/fn.wxss"; .weui-footer { - color: @weuiTextColorGray; + color: @weuiTextColorTips; font-size: 14px; + line-height:1.4; text-align: center; } .weui-footer_fixed-bottom{ @@ -37,13 +38,13 @@ .weui-footer__link{ display: inline-block; vertical-align: top; - margin: 0 .62em; + margin: 0 8px; position: relative; font-size: 14px; color: @weuiLinkColorDefault; &:before{ .setLeftLine(); - left: -.65em; + left: -8px; top: .36em; bottom: .36em; } @@ -56,4 +57,4 @@ .weui-footer__text{ padding: 0 .34em; font-size: 12px; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-icon/weui-icon.wxss b/src/style/widget/weui-icon/weui-icon.wxss new file mode 100644 index 00000000..1a75d58b --- /dev/null +++ b/src/style/widget/weui-icon/weui-icon.wxss @@ -0,0 +1,23 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +icon[type="success"]:before,icon[type="success"]:after{color:@weuiColorPrimary !important;} diff --git a/src/style/widget/weui-media-box/weui-media-box.wxss b/src/style/widget/weui-media-box/weui-media-box.wxss index 0320cc60..4a9123ee 100644 --- a/src/style/widget/weui-media-box/weui-media-box.wxss +++ b/src/style/widget/weui-media-box/weui-media-box.wxss @@ -21,11 +21,11 @@ @import "../../base/fn.wxss"; .weui-media-box { - padding: 15px; + padding: 16px; position: relative; &:before { .setTopLine(@weuiLineColorLight); - left: 15px; + left: 1s6px; } &:first-child { &:before { @@ -36,19 +36,22 @@ .weui-media-box__title { font-weight: 400; font-size: 17px; + line-height:1.4; + color:@weuiTextColorTitle; .ellipsis(); word-wrap: break-word; word-break: break-all; } .weui-media-box__desc { color: @weuiTextColorGray; - font-size: 13px; - line-height: 1.2; + font-size: 14px; + line-height: 1.4; + padding-top:4px; .ellipsisLn(2); } .weui-media-box__info { - margin-top: 15px; - padding-bottom: 5px; + margin-top: 16px; + padding-bottom: 4px; font-size: 13px; color: #CECECE; line-height: 1em; @@ -78,7 +81,7 @@ vertical-align: top; } .weui-media-box__hd_in-appmsg { - margin-right: .8em; + margin-right: 16px; width: 60px; height: 60px; line-height: 60px; @@ -96,4 +99,4 @@ &:before { display: none; } -} \ No newline at end of file +} diff --git a/src/style/widget/weui-page/weui-article.wxss b/src/style/widget/weui-page/weui-article.wxss index 598e7672..deb606d7 100644 --- a/src/style/widget/weui-page/weui-article.wxss +++ b/src/style/widget/weui-page/weui-article.wxss @@ -21,27 +21,33 @@ @import "../../base/fn.wxss"; .weui-article { - padding: 20px 15px; - font-size: 15px; + padding: 24px 16px; + padding:24px calc(16px ~"+ constant(safe-area-inset-right)") calc(24px ~"+ constant(safe-area-inset-bottom)") calc(16px ~"+ constant(safe-area-inset-left)"); + padding:24px calc(16px ~"+ env(safe-area-inset-right)") calc(24px ~"+ env(safe-area-inset-bottom)") calc(16px ~"+ env(safe-area-inset-left)"); + font-size: 17px; + color:rgba(0,0,0,.9); } .weui-article__section { margin-bottom: 1.5em; } .weui-article__h1 { - font-size: 18px; - font-weight:400; + font-size: 22px; + font-weight:700; margin-bottom: .9em; + line-height:1.4; } .weui-article__h2 { - font-size: 16px; - font-weight:400; + font-size: 17px; + font-weight:700; margin-bottom: .34em; + line-height:1.4; } .weui-article__h3 { - font-weight:400; + font-weight:700; font-size: 15px; margin-bottom: .34em; + line-height:1.4; } .weui-article__p { margin: 0 0 .8em; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-page/weui-msg.wxss b/src/style/widget/weui-page/weui-msg.wxss index 965c74fa..c8098af7 100644 --- a/src/style/widget/weui-page/weui-msg.wxss +++ b/src/style/widget/weui-page/weui-msg.wxss @@ -21,44 +21,79 @@ @import "../../base/fn.wxss"; .weui-msg { - padding-top: @weuiMsgPaddingTop; - text-align: center; + padding-top: @weuiMsgPaddingTop; + padding:calc(@weuiMsgPaddingTop ~"+ constant(safe-area-inset-top)") constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); + padding:calc(@weuiMsgPaddingTop ~"+ env(safe-area-inset-top)") env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); + text-align: center; + line-height:1.4; + min-height:100%; + box-sizing:border-box; + display:flex; + flex-direction: column; + background-color: #FFFFFF; } .weui-msg__link{ - display: inline; color: @weuiLinkColorDefault; + display: inline-block; + vertical-align: baseline; } .weui-msg__icon-area { - margin-bottom: @weuiMsgIconGap; + margin-bottom: 32px; } .weui-msg__text-area { - margin-bottom: @weuiMsgTextGap; - padding:0 20px; + margin-bottom: 32px; + padding:0 32px; + flex:1; + line-height:1.6; } +.weui-msg__text-area:first-child{padding-top:96px;} .weui-msg__title { margin-bottom: @weuiMsgTitleGap; - font-weight: 400; - font-size: 20px; + font-weight: 700; + font-size: 22px; + word-wrap:break-word; + word-break:break-all; } .weui-msg__desc { + font-size: 17px; + color: @weuiTextColorTitle; + word-wrap:break-word; + word-break:break-all; + margin-bottom:16px; +} +.weui-msg__desc-primary { font-size: 14px; - color: @weuiTextColorGray; + color: @weuiTextColorDesc; + word-wrap:break-word; + word-break:break-all; + margin-bottom:16px; } .weui-msg__opr-area { - margin-bottom: @weuiMsgOprGap; + margin-bottom: 16px; +} +.weui-msg__opr-area .weui-btn-area{margin:0} +.weui-msg__opr-area .weui-btn + .weui-btn{margin-bottom:16px;} +.weui-msg__opr-area:last-child{margin-bottom:96px;} +.weui-msg__opr-area + .weui-msg__extra-area{ + margin-top:48px; +} +.weui-msg__tips-area { + margin-bottom: 16px; + padding:0 40px; +} +.weui-msg__opr-area + .weui-msg__tips-area { + margin-bottom: 48px; +} +.weui-msg__tips-area:last-child{ + margin-bottom: 64px; +} +.weui-msg__tips { + font-size:12px; + color: @weuiTextColorDesc; } .weui-msg__extra-area { - margin-bottom: @weuiMsgExtraAreaGap; - font-size: 14px; - color: @weuiTextColorGray; + position:static; + margin-bottom: 24px; + font-size: 12px; + color: @weuiTextColorDesc; } - -@media screen and (min-height: @weuiMsgExtraAreaOfMinHeight) { - .weui-msg__extra-area { - position: fixed; - left: 0; - bottom: 0; - width: 100%; - text-align: center; - } -} \ No newline at end of file diff --git a/src/style/widget/weui-panel/weui-panel.wxss b/src/style/widget/weui-panel/weui-panel.wxss index 0f4d9119..a662c528 100644 --- a/src/style/widget/weui-panel/weui-panel.wxss +++ b/src/style/widget/weui-panel/weui-panel.wxss @@ -39,13 +39,14 @@ } .weui-panel__hd { - padding: 14px 15px 10px; - color: @weuiTextColorGray; - font-size: 13px; + padding: 16px 16px 13px; + color: @weuiTextColorTitle; + font-size: 15px; + font-weight:700; position: relative; &:after { .setBottomLine(@weuiLineColorLight); - left: 15px; + left: 16px; } } diff --git a/src/style/widget/weui-searchbar/weui-searchbar.wxss b/src/style/widget/weui-searchbar/weui-searchbar.wxss index acddcc53..b2577076 100644 --- a/src/style/widget/weui-searchbar/weui-searchbar.wxss +++ b/src/style/widget/weui-searchbar/weui-searchbar.wxss @@ -20,42 +20,44 @@ @import "../../base/fn.wxss"; -@weuiSearchBarHeight: 28px; +@weuiSearchBarHeight: 32px; .weui-search-bar { position: relative; - padding: 8px 10px; + padding: 8px; display: flex; box-sizing: border-box; - background-color: #EFEFF4; - border-top: 1rpx solid #D7D6DC; - border-bottom: 1rpx solid #D7D6DC; + background-color: @weuiBgColorDefault; + -webkit-text-size-adjust: 100%; + align-items: center; } .weui-icon-search { margin-right: 8px; - font-size:inherit; + font-size:20px; + vertical-align:top; + margin-top:-.05em; } .weui-icon-search_in-box { position: absolute; - left: 10px; - top: 7px; + left: 12px; + top: 50%; + margin-top:-6px; } .weui-search-bar__text{ display: inline-block; font-size: 14px; - vertical-align: middle; + vertical-align: top; } .weui-search-bar__form { position: relative; flex: auto; - border-radius: 5px; + border-radius: 4px; background: #FFFFFF; - border: 1rpx solid #E6E6EA; } .weui-search-bar__box { position: relative; - padding-left: 30px; - padding-right: 30px; + padding-left: 32px; + padding-right: 32px; width: 100%; box-sizing: border-box; z-index: 1; @@ -64,13 +66,23 @@ height: @weuiSearchBarHeight; line-height: @weuiSearchBarHeight; font-size: 14px; + caret-color: @weuiColorPrimary; } .weui-icon-clear { position: absolute; top: 0; right: 0; - padding: 7px 8px; + bottom:0; + padding: 0 12px; font-size: 0; + &:after{ + content:""; + height:100%; + vertical-align:middle; + display:inline-block; + width:0; + overflow:hidden; + } } .weui-search-bar__label { position: absolute; @@ -79,15 +91,15 @@ bottom: 0; left: 0; z-index: 2; - border-radius: 3px; + border-radius: 4px; text-align: center; - color: #9B9B9B; + color: @weuiTextColorDesc; background: #FFFFFF; line-height: @weuiSearchBarHeight; } .weui-search-bar__cancel-btn { - margin-left: 10px; + margin-left: 8px; line-height: @weuiSearchBarHeight; - color: #09BB07; + color: @weuiLinkColorDefault; white-space: nowrap; } diff --git a/src/style/widget/weui-tab/weui-navbar.wxss b/src/style/widget/weui-tab/weui-navbar.wxss index 3ced04d2..0458246a 100644 --- a/src/style/widget/weui-tab/weui-navbar.wxss +++ b/src/style/widget/weui-tab/weui-navbar.wxss @@ -20,26 +20,51 @@ @import "../../base/fn.wxss"; -@weuiNavBarColor: #1AAD19; +@weuiNavBarColor: @weuiColorPrimary; +@weuiNavBarHeight:56px; + .weui-navbar { display: flex; - position: absolute; + position: relative; z-index: 500; - top: 0; - width: 100%; - border-bottom: 1rpx solid #CCCCCC; + background-color:#FFFFFF; + border-bottom: 1rpx solid @weuiLineColorLight; + padding-top:constant(safe-area-inset-top); + padding-top:env(safe-area-inset-top); +} +.weui-navbar + .weui-tab__panel { + padding-bottom:constant(safe-area-inset-bottom); + padding-bottom:env(safe-area-inset-bottom); } .weui-navbar__item { position: relative; display: block; flex: 1; - padding: 13px 0; + padding: 16px; + padding:calc(16px ~"+ constant(safe-area-inset-top)") 16px 16px; + padding:calc(16px ~"+ env(safe-area-inset-top)") 16px 16px; + text-align: center; - font-size: 0; + font-size: 17px; + line-height:unit((@weuiNavBarHeight - 32) / 17); + &:after { + .setRightLine(@weuiLineColorLight); + } &.weui-bar__item_on { - color: @weuiNavBarColor; + background-color: @weuiBgColorActive; + } + &:first-child { + padding-left:calc(16px ~"+ constant(safe-area-inset-left)"); + padding-left:calc(16px ~"+ env(safe-area-inset-left)"); + } + &:last-child { + padding-right:calc(16px ~"+ constant(safe-area-inset-right)"); + padding-right:calc(16px ~"+ env(safe-area-inset-right)"); + &:after { + display: none; + } } } .weui-navbar__slider { @@ -48,13 +73,11 @@ left: 0; bottom: 0; width: 6em; - height: 3px; + height: 2px; background-color: @weuiNavBarColor; transition: transform .3s; + display:none; } .weui-navbar__title{ - display: inline-block; - font-size: 15px; - max-width: 8em; - .ellipsis(); -} \ No newline at end of file + .ellipsisLn(1); +} diff --git a/src/style/widget/weui-tab/weui-tab.wxss b/src/style/widget/weui-tab/weui-tab.wxss index f344fd9f..0b43d681 100644 --- a/src/style/widget/weui-tab/weui-tab.wxss +++ b/src/style/widget/weui-tab/weui-tab.wxss @@ -22,14 +22,15 @@ @import "weui-navbar.wxss"; .weui-tab { - position: relative; - height: 100%; + display: flex; + height:100%; + box-sizing: border-box; + flex-direction: column; } .weui-tab__panel{ box-sizing: border-box; - height: 100%; - padding-top: 50px; + flex:1; overflow: auto; -webkit-overflow-scrolling: touch; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-tips/weui-loadmore.wxss b/src/style/widget/weui-tips/weui-loadmore.wxss index 72c49a3b..91576411 100644 --- a/src/style/widget/weui-tips/weui-loadmore.wxss +++ b/src/style/widget/weui-tips/weui-loadmore.wxss @@ -40,7 +40,7 @@ top:-.9em; padding:0 .55em; background-color: #FFFFFF; - color:@weuiTextColorGray; + color:@weuiTextColorDesc; } .weui-loadmore_dot{ } @@ -61,4 +61,4 @@ border-radius: 50%; background-color: @weuiLineColorLight; } -} \ No newline at end of file +} From cb607ed463e7b124e12e1575f4b069e8f9b697f8 Mon Sep 17 00:00:00 2001 From: xushengni Date: Thu, 1 Aug 2019 16:37:45 +0800 Subject: [PATCH 2/2] feat: weui-wxss 2.0 --- CHANGELOG.md | 15 ++- DIFF.md | 0 LICENSE.txt | 0 README.md | 0 dist/app.js | 0 dist/app.json | 20 ++-- dist/app.wxss | 5 +- dist/example/actionsheet/actionsheet.js | 0 dist/example/actionsheet/actionsheet.wxml | 0 dist/example/actionsheet/actionsheet.wxss | 0 dist/example/article/article.js | 0 dist/example/article/article.wxml | 0 dist/example/article/article.wxss | 0 dist/example/badge/badge.js | 0 dist/example/badge/badge.wxml | 0 dist/example/button/button.js | 0 dist/example/button/button.wxml | 6 - dist/example/button/button.wxss | 0 dist/example/dialog/dialog.js | 26 +++-- dist/example/dialog/dialog.wxml | 25 ++++- dist/example/dialog/dialog.wxss | 11 +- dist/example/flex/flex.js | 0 dist/example/flex/flex.wxml | 0 dist/example/flex/flex.wxss | 0 dist/example/footer/footer.js | 0 dist/example/footer/footer.wxml | 0 dist/example/footer/footer.wxss | 0 dist/example/gallery/gallery.js | 13 ++- dist/example/gallery/gallery.wxml | 18 ++- dist/example/grid/grid.js | 0 dist/example/grid/grid.wxml | 0 dist/example/icons/icons.js | 0 dist/example/icons/icons.wxml | 0 dist/example/icons/icons.wxss | 0 dist/example/images/base64.js | 0 dist/example/images/icon_footer.png | Bin dist/example/images/icon_footer_link.png | Bin dist/example/images/icon_intro.png | Bin dist/example/images/icon_nav_feedback.png | Bin dist/example/images/icon_nav_form.png | Bin dist/example/images/icon_nav_nav.png | Bin dist/example/images/icon_nav_search.png | Bin dist/example/images/icon_nav_special.png | Bin dist/example/images/icon_nav_widget.png | Bin dist/example/images/icon_nav_z-index.png | Bin dist/example/images/icon_tabbar.png | Bin dist/example/images/logo.png | Bin dist/example/images/pic_160.png | Bin dist/example/images/pic_article.png | Bin dist/example/images/vcode.jpg | Bin dist/example/index.js | 8 +- dist/example/index.wxml | 0 dist/example/index.wxss | 2 +- dist/example/input/input.js | 0 dist/example/input/input.wxml | 18 +-- dist/example/list/list.js | 0 dist/example/list/list.wxml | 0 dist/example/list/list.wxss | 0 dist/example/loadmore/loadmore.js | 0 dist/example/loadmore/loadmore.wxml | 0 dist/example/loadmore/loadmore.wxss | 0 dist/example/msg/msg.js | 0 dist/example/msg/msg.wxml | 0 dist/example/msg/msg.wxss | 0 dist/example/msg/msg_fail.js | 0 dist/example/msg/msg_fail.wxml | 0 dist/example/msg/msg_fail.wxss | 0 dist/example/msg/msg_success copy.js | 1 - dist/example/msg/msg_success.js | 0 dist/example/msg/msg_success.wxml | 0 dist/example/msg/msg_success.wxml copy | 25 ----- dist/example/msg/msg_success.wxss | 0 dist/example/msg/msg_success.wxss copy | 4 - dist/example/msg/msg_text copy.js | 1 - dist/example/msg/msg_text.js | 0 dist/example/msg/msg_text.wxml | 0 dist/example/msg/msg_text.wxml copy | 25 ----- dist/example/msg/msg_text.wxss | 0 dist/example/msg/msg_text.wxss copy | 4 - dist/example/msg/msg_text_primary.js | 0 dist/example/msg/msg_text_primary.wxml | 0 dist/example/msg/msg_text_primary.wxss | 0 dist/example/navbar/navbar.js | 0 dist/example/navbar/navbar.wxml | 0 dist/example/navbar/navbar.wxss | 0 dist/example/panel/panel.js | 0 dist/example/panel/panel.wxml | 0 dist/example/picker/picker.js | 0 dist/example/picker/picker.wxml | 0 dist/example/picker/picker.wxss | 0 dist/example/preview/preview.js | 0 dist/example/preview/preview.wxml | 0 dist/example/preview/preview.wxss | 0 dist/example/progress/progress.js | 0 dist/example/progress/progress.wxml | 0 dist/example/progress/progress.wxss | 0 dist/example/searchbar/searchbar.js | 0 dist/example/searchbar/searchbar.wxml | 6 +- dist/example/searchbar/searchbar.wxss | 0 dist/example/slider/slider.js | 0 dist/example/slider/slider.wxml | 0 dist/example/slider/slider.wxss | 0 dist/example/tabbar/tabbar.js | 0 dist/example/tabbar/tabbar.wxml | 19 +++- dist/example/tabbar/tabbar.wxss | 7 +- dist/example/toast/toast.js | 0 dist/example/toast/toast.wxml | 0 dist/example/toast/toast.wxss | 0 dist/example/uploader/uploader.js | 0 dist/example/uploader/uploader.wxml | 16 ++- dist/style/base/fn.wxss | 2 +- dist/style/base/mixin/mobile.wxss | 2 +- dist/style/base/mixin/setArrow.wxss | 2 +- dist/style/base/mixin/setOnepx.wxss | 2 +- dist/style/base/mixin/text.wxss | 2 +- dist/style/base/reset.wxss | 2 +- dist/style/base/variable/color.wxss | 2 +- dist/style/base/variable/global.wxss | 2 +- dist/style/base/variable/weui-button.wxss | 2 +- dist/style/base/variable/weui-cell.wxss | 2 +- dist/style/base/variable/weui-dialog.wxss | 2 +- dist/style/base/variable/weui-grid.wxss | 2 +- dist/style/base/variable/weui-msg.wxss | 2 +- dist/style/base/variable/weui-progress.wxss | 2 +- dist/style/weui.wxss | 4 +- dist/style/widget/weui-agree/weui-agree.wxss | 2 +- .../widget/weui-animate/weui-animate.wxss | 2 +- .../widget/weui-button/weui-btn_cell.wxss | 2 +- .../widget/weui-button/weui-btn_default.wxss | 2 +- .../widget/weui-button/weui-btn_disabled.wxss | 2 +- .../widget/weui-button/weui-btn_global.wxss | 2 +- .../widget/weui-button/weui-btn_loading.wxss | 2 +- .../widget/weui-button/weui-btn_plain.wxss | 2 +- .../widget/weui-button/weui-btn_primary.wxss | 2 +- .../widget/weui-button/weui-btn_warn.wxss | 2 +- .../style/widget/weui-button/weui-button.wxss | 4 +- dist/style/widget/weui-cell/weui-access.wxss | 2 +- dist/style/widget/weui-cell/weui-cell.wxss | 4 +- dist/style/widget/weui-cell/weui-check.wxss | 4 +- dist/style/widget/weui-cell/weui-form.wxss | 4 +- .../weui-form/weui-form-preview.wxss | 4 +- .../weui-cell/weui-form/weui-form_common.wxss | 4 +- .../weui-cell/weui-form/weui-select.wxss | 2 +- .../weui-cell/weui-form/weui-vcode.wxss | 4 +- dist/style/widget/weui-cell/weui-switch.wxss | 2 +- .../style/widget/weui-cell/weui-uploader.wxss | 4 +- dist/style/widget/weui-flex/weui-flex.wxss | 2 +- .../style/widget/weui-footer/weui-footer.wxss | 4 +- dist/style/widget/weui-grid/weui-grid.wxss | 2 +- dist/style/widget/weui-icon/weui-icon.wxss | 2 +- .../widget/weui-loading/weui-loading.wxss | 2 +- .../widget/weui-media-box/weui-media-box.wxss | 2 +- dist/style/widget/weui-page/weui-article.wxss | 2 +- dist/style/widget/weui-page/weui-msg.wxss | 4 +- dist/style/widget/weui-panel/weui-panel.wxss | 2 +- .../widget/weui-progress/weui-progress.wxss | 2 +- .../widget/weui-searchbar/weui-searchbar.wxss | 4 +- dist/style/widget/weui-tab/weui-navbar.wxss | 2 +- dist/style/widget/weui-tab/weui-tab.wxss | 4 +- dist/style/widget/weui-tips/weui-badge.wxss | 2 +- .../style/widget/weui-tips/weui-loadmore.wxss | 2 +- gulpfile.js | 0 package.json | 2 +- src/app.js | 0 src/app.json | 10 +- src/app.wxss | 5 +- src/example/actionsheet/actionsheet.js | 0 src/example/actionsheet/actionsheet.wxml | 0 src/example/actionsheet/actionsheet.wxss | 0 src/example/article/article.js | 0 src/example/article/article.wxml | 0 src/example/article/article.wxss | 0 src/example/badge/badge.js | 0 src/example/badge/badge.wxml | 0 src/example/button/button.js | 0 src/example/button/button.wxml | 6 - src/example/button/button.wxss | 0 src/example/dialog/dialog.js | 26 +++-- src/example/dialog/dialog.wxml | 25 ++++- src/example/dialog/dialog.wxss | 11 +- src/example/flex/flex.js | 0 src/example/flex/flex.wxml | 0 src/example/flex/flex.wxss | 0 src/example/footer/footer.js | 0 src/example/footer/footer.wxml | 0 src/example/footer/footer.wxss | 0 src/example/gallery/gallery.js | 13 ++- src/example/gallery/gallery.wxml | 18 ++- src/example/grid/grid.js | 0 src/example/grid/grid.wxml | 0 src/example/icons/icons.js | 0 src/example/icons/icons.wxml | 0 src/example/icons/icons.wxss | 0 src/example/images/base64.js | 0 src/example/images/icon_footer.png | Bin src/example/images/icon_footer_link.png | Bin src/example/images/icon_intro.png | Bin src/example/images/icon_nav_feedback.png | Bin src/example/images/icon_nav_form.png | Bin src/example/images/icon_nav_nav.png | Bin src/example/images/icon_nav_search.png | Bin src/example/images/icon_nav_special.png | Bin src/example/images/icon_nav_widget.png | Bin src/example/images/icon_nav_z-index.png | Bin src/example/images/icon_tabbar.png | Bin src/example/images/logo.png | Bin src/example/images/pic_160.png | Bin src/example/images/pic_article.png | Bin src/example/images/vcode.jpg | Bin src/example/index.js | 8 +- src/example/index.wxml | 0 src/example/index.wxss | 0 src/example/input/input.js | 0 src/example/input/input.wxml | 18 +-- src/example/list/list.js | 0 src/example/list/list.wxml | 0 src/example/list/list.wxss | 0 src/example/loadmore/loadmore.js | 0 src/example/loadmore/loadmore.wxml | 0 src/example/loadmore/loadmore.wxss | 0 src/example/msg/msg.js | 0 src/example/msg/msg.wxml | 0 src/example/msg/msg.wxss | 0 src/example/msg/msg_fail.js | 0 src/example/msg/msg_fail.wxml | 0 src/example/msg/msg_fail.wxss | 0 src/example/msg/msg_success.js | 0 src/example/msg/msg_success.wxml | 0 src/example/msg/msg_success.wxss | 0 src/example/msg/msg_text.js | 0 src/example/msg/msg_text.wxml | 0 src/example/msg/msg_text.wxss | 0 src/example/msg/msg_text_primary.js | 0 src/example/msg/msg_text_primary.wxml | 0 src/example/msg/msg_text_primary.wxss | 0 src/example/navbar/navbar.js | 0 src/example/navbar/navbar.wxml | 0 src/example/navbar/navbar.wxss | 0 src/example/panel/panel.js | 0 src/example/panel/panel.wxml | 0 src/example/picker/picker.js | 0 src/example/picker/picker.wxml | 0 src/example/picker/picker.wxss | 0 src/example/preview/preview.js | 0 src/example/preview/preview.wxml | 0 src/example/preview/preview.wxss | 0 src/example/progress/progress.js | 0 src/example/progress/progress.wxml | 0 src/example/progress/progress.wxss | 0 src/example/searchbar/searchbar.js | 0 src/example/searchbar/searchbar.wxml | 6 +- src/example/searchbar/searchbar.wxss | 0 src/example/slider/slider.js | 0 src/example/slider/slider.wxml | 0 src/example/slider/slider.wxss | 0 src/example/tabbar/tabbar.js | 0 src/example/tabbar/tabbar.wxml | 19 +++- src/example/toast/toast.js | 0 src/example/toast/toast.wxml | 0 src/example/toast/toast.wxss | 0 src/example/uploader/uploader.js | 0 src/example/uploader/uploader.wxml | 16 ++- src/style/base/fn.wxss | 1 + src/style/base/mixin/mobile.wxss | 0 src/style/base/mixin/setArrow.wxss | 0 src/style/base/mixin/setOnepx.wxss | 0 src/style/base/mixin/text.wxss | 0 src/style/base/reset.wxss | 0 src/style/base/variable/color.wxss | 0 src/style/base/variable/global.wxss | 0 src/style/base/variable/weui-button.wxss | 0 src/style/base/variable/weui-cell.wxss | 2 +- src/style/base/variable/weui-dialog.wxss | 4 +- src/style/base/variable/weui-grid.wxss | 0 src/style/base/variable/weui-msg.wxss | 0 src/style/base/variable/weui-progress.wxss | 0 src/style/weui.wxss | 11 +- src/style/widget/weui-agree/weui-agree.wxss | 0 .../widget/weui-animate/weui-animate.wxss | 0 .../widget/weui-button/weui-btn_cell.wxss | 0 .../widget/weui-button/weui-btn_default.wxss | 0 .../widget/weui-button/weui-btn_disabled.wxss | 0 .../widget/weui-button/weui-btn_global.wxss | 0 .../widget/weui-button/weui-btn_loading.wxss | 0 .../widget/weui-button/weui-btn_plain.wxss | 0 .../widget/weui-button/weui-btn_primary.wxss | 0 .../widget/weui-button/weui-btn_warn.wxss | 0 src/style/widget/weui-button/weui-button.wxss | 106 ------------------ src/style/widget/weui-cell/weui-access.wxss | 0 src/style/widget/weui-cell/weui-cell.wxss | 13 +++ src/style/widget/weui-cell/weui-check.wxss | 18 ++- src/style/widget/weui-cell/weui-form.wxss | 0 .../weui-form/weui-form-preview.wxss | 6 +- .../weui-cell/weui-form/weui-form_common.wxss | 26 +---- .../weui-cell/weui-form/weui-select.wxss | 0 .../weui-cell/weui-form/weui-vcode.wxss | 4 +- src/style/widget/weui-cell/weui-switch.wxss | 0 src/style/widget/weui-cell/weui-uploader.wxss | 11 +- src/style/widget/weui-flex/weui-flex.wxss | 0 src/style/widget/weui-footer/weui-footer.wxss | 4 +- src/style/widget/weui-grid/weui-grid.wxss | 0 src/style/widget/weui-icon/weui-icon.wxss | 0 .../widget/weui-loading/weui-loading.wxss | 0 .../widget/weui-media-box/weui-media-box.wxss | 0 src/style/widget/weui-page/weui-article.wxss | 0 src/style/widget/weui-page/weui-msg.wxss | 2 +- src/style/widget/weui-panel/weui-panel.wxss | 0 .../widget/weui-progress/weui-progress.wxss | 0 .../widget/weui-searchbar/weui-searchbar.wxss | 8 +- src/style/widget/weui-tab/weui-navbar.wxss | 0 src/style/widget/weui-tab/weui-tab.wxss | 1 + src/style/widget/weui-tips/weui-badge.wxss | 0 src/style/widget/weui-tips/weui-loadmore.wxss | 0 313 files changed, 416 insertions(+), 387 deletions(-) mode change 100644 => 100755 CHANGELOG.md mode change 100644 => 100755 DIFF.md mode change 100644 => 100755 LICENSE.txt mode change 100644 => 100755 README.md mode change 100644 => 100755 dist/app.js mode change 100644 => 100755 dist/app.json mode change 100644 => 100755 dist/app.wxss mode change 100644 => 100755 dist/example/actionsheet/actionsheet.js mode change 100644 => 100755 dist/example/actionsheet/actionsheet.wxml mode change 100644 => 100755 dist/example/actionsheet/actionsheet.wxss mode change 100644 => 100755 dist/example/article/article.js mode change 100644 => 100755 dist/example/article/article.wxml mode change 100644 => 100755 dist/example/article/article.wxss mode change 100644 => 100755 dist/example/badge/badge.js mode change 100644 => 100755 dist/example/badge/badge.wxml mode change 100644 => 100755 dist/example/button/button.js mode change 100644 => 100755 dist/example/button/button.wxml mode change 100644 => 100755 dist/example/button/button.wxss mode change 100644 => 100755 dist/example/dialog/dialog.js mode change 100644 => 100755 dist/example/dialog/dialog.wxml mode change 100644 => 100755 dist/example/dialog/dialog.wxss mode change 100644 => 100755 dist/example/flex/flex.js mode change 100644 => 100755 dist/example/flex/flex.wxml mode change 100644 => 100755 dist/example/flex/flex.wxss mode change 100644 => 100755 dist/example/footer/footer.js mode change 100644 => 100755 dist/example/footer/footer.wxml mode change 100644 => 100755 dist/example/footer/footer.wxss mode change 100644 => 100755 dist/example/gallery/gallery.js mode change 100644 => 100755 dist/example/gallery/gallery.wxml mode change 100644 => 100755 dist/example/grid/grid.js mode change 100644 => 100755 dist/example/grid/grid.wxml mode change 100644 => 100755 dist/example/icons/icons.js mode change 100644 => 100755 dist/example/icons/icons.wxml mode change 100644 => 100755 dist/example/icons/icons.wxss mode change 100644 => 100755 dist/example/images/base64.js mode change 100644 => 100755 dist/example/images/icon_footer.png mode change 100644 => 100755 dist/example/images/icon_footer_link.png mode change 100644 => 100755 dist/example/images/icon_intro.png mode change 100644 => 100755 dist/example/images/icon_nav_feedback.png mode change 100644 => 100755 dist/example/images/icon_nav_form.png mode change 100644 => 100755 dist/example/images/icon_nav_nav.png mode change 100644 => 100755 dist/example/images/icon_nav_search.png mode change 100644 => 100755 dist/example/images/icon_nav_special.png mode change 100644 => 100755 dist/example/images/icon_nav_widget.png mode change 100644 => 100755 dist/example/images/icon_nav_z-index.png mode change 100644 => 100755 dist/example/images/icon_tabbar.png mode change 100644 => 100755 dist/example/images/logo.png mode change 100644 => 100755 dist/example/images/pic_160.png mode change 100644 => 100755 dist/example/images/pic_article.png mode change 100644 => 100755 dist/example/images/vcode.jpg mode change 100644 => 100755 dist/example/index.js mode change 100644 => 100755 dist/example/index.wxml mode change 100644 => 100755 dist/example/index.wxss mode change 100644 => 100755 dist/example/input/input.js mode change 100644 => 100755 dist/example/input/input.wxml mode change 100644 => 100755 dist/example/list/list.js mode change 100644 => 100755 dist/example/list/list.wxml mode change 100644 => 100755 dist/example/list/list.wxss mode change 100644 => 100755 dist/example/loadmore/loadmore.js mode change 100644 => 100755 dist/example/loadmore/loadmore.wxml mode change 100644 => 100755 dist/example/loadmore/loadmore.wxss mode change 100644 => 100755 dist/example/msg/msg.js mode change 100644 => 100755 dist/example/msg/msg.wxml mode change 100644 => 100755 dist/example/msg/msg.wxss mode change 100644 => 100755 dist/example/msg/msg_fail.js mode change 100644 => 100755 dist/example/msg/msg_fail.wxml mode change 100644 => 100755 dist/example/msg/msg_fail.wxss delete mode 100644 dist/example/msg/msg_success copy.js mode change 100644 => 100755 dist/example/msg/msg_success.js mode change 100644 => 100755 dist/example/msg/msg_success.wxml delete mode 100644 dist/example/msg/msg_success.wxml copy mode change 100644 => 100755 dist/example/msg/msg_success.wxss delete mode 100644 dist/example/msg/msg_success.wxss copy delete mode 100644 dist/example/msg/msg_text copy.js mode change 100644 => 100755 dist/example/msg/msg_text.js mode change 100644 => 100755 dist/example/msg/msg_text.wxml delete mode 100644 dist/example/msg/msg_text.wxml copy mode change 100644 => 100755 dist/example/msg/msg_text.wxss delete mode 100644 dist/example/msg/msg_text.wxss copy mode change 100644 => 100755 dist/example/msg/msg_text_primary.js mode change 100644 => 100755 dist/example/msg/msg_text_primary.wxml mode change 100644 => 100755 dist/example/msg/msg_text_primary.wxss mode change 100644 => 100755 dist/example/navbar/navbar.js mode change 100644 => 100755 dist/example/navbar/navbar.wxml mode change 100644 => 100755 dist/example/navbar/navbar.wxss mode change 100644 => 100755 dist/example/panel/panel.js mode change 100644 => 100755 dist/example/panel/panel.wxml mode change 100644 => 100755 dist/example/picker/picker.js mode change 100644 => 100755 dist/example/picker/picker.wxml mode change 100644 => 100755 dist/example/picker/picker.wxss mode change 100644 => 100755 dist/example/preview/preview.js mode change 100644 => 100755 dist/example/preview/preview.wxml mode change 100644 => 100755 dist/example/preview/preview.wxss mode change 100644 => 100755 dist/example/progress/progress.js mode change 100644 => 100755 dist/example/progress/progress.wxml mode change 100644 => 100755 dist/example/progress/progress.wxss mode change 100644 => 100755 dist/example/searchbar/searchbar.js mode change 100644 => 100755 dist/example/searchbar/searchbar.wxml mode change 100644 => 100755 dist/example/searchbar/searchbar.wxss mode change 100644 => 100755 dist/example/slider/slider.js mode change 100644 => 100755 dist/example/slider/slider.wxml mode change 100644 => 100755 dist/example/slider/slider.wxss mode change 100644 => 100755 dist/example/tabbar/tabbar.js mode change 100644 => 100755 dist/example/tabbar/tabbar.wxml mode change 100644 => 100755 dist/example/toast/toast.js mode change 100644 => 100755 dist/example/toast/toast.wxml mode change 100644 => 100755 dist/example/toast/toast.wxss mode change 100644 => 100755 dist/example/uploader/uploader.js mode change 100644 => 100755 dist/example/uploader/uploader.wxml mode change 100644 => 100755 dist/style/base/fn.wxss mode change 100644 => 100755 dist/style/base/mixin/mobile.wxss mode change 100644 => 100755 dist/style/base/mixin/setArrow.wxss mode change 100644 => 100755 dist/style/base/mixin/setOnepx.wxss mode change 100644 => 100755 dist/style/base/mixin/text.wxss mode change 100644 => 100755 dist/style/base/reset.wxss mode change 100644 => 100755 dist/style/base/variable/color.wxss mode change 100644 => 100755 dist/style/base/variable/global.wxss mode change 100644 => 100755 dist/style/base/variable/weui-button.wxss mode change 100644 => 100755 dist/style/base/variable/weui-cell.wxss mode change 100644 => 100755 dist/style/base/variable/weui-dialog.wxss mode change 100644 => 100755 dist/style/base/variable/weui-grid.wxss mode change 100644 => 100755 dist/style/base/variable/weui-msg.wxss mode change 100644 => 100755 dist/style/base/variable/weui-progress.wxss mode change 100644 => 100755 dist/style/weui.wxss mode change 100644 => 100755 dist/style/widget/weui-agree/weui-agree.wxss mode change 100644 => 100755 dist/style/widget/weui-animate/weui-animate.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_cell.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_default.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_disabled.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_global.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_loading.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_plain.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_primary.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-btn_warn.wxss mode change 100644 => 100755 dist/style/widget/weui-button/weui-button.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-access.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-cell.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-check.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-form.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-form/weui-form_common.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-form/weui-select.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-form/weui-vcode.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-switch.wxss mode change 100644 => 100755 dist/style/widget/weui-cell/weui-uploader.wxss mode change 100644 => 100755 dist/style/widget/weui-flex/weui-flex.wxss mode change 100644 => 100755 dist/style/widget/weui-footer/weui-footer.wxss mode change 100644 => 100755 dist/style/widget/weui-grid/weui-grid.wxss mode change 100644 => 100755 dist/style/widget/weui-icon/weui-icon.wxss mode change 100644 => 100755 dist/style/widget/weui-loading/weui-loading.wxss mode change 100644 => 100755 dist/style/widget/weui-media-box/weui-media-box.wxss mode change 100644 => 100755 dist/style/widget/weui-page/weui-article.wxss mode change 100644 => 100755 dist/style/widget/weui-page/weui-msg.wxss mode change 100644 => 100755 dist/style/widget/weui-panel/weui-panel.wxss mode change 100644 => 100755 dist/style/widget/weui-progress/weui-progress.wxss mode change 100644 => 100755 dist/style/widget/weui-searchbar/weui-searchbar.wxss mode change 100644 => 100755 dist/style/widget/weui-tab/weui-navbar.wxss mode change 100644 => 100755 dist/style/widget/weui-tab/weui-tab.wxss mode change 100644 => 100755 dist/style/widget/weui-tips/weui-badge.wxss mode change 100644 => 100755 dist/style/widget/weui-tips/weui-loadmore.wxss mode change 100644 => 100755 gulpfile.js mode change 100644 => 100755 package.json mode change 100644 => 100755 src/app.js mode change 100644 => 100755 src/app.json mode change 100644 => 100755 src/app.wxss mode change 100644 => 100755 src/example/actionsheet/actionsheet.js mode change 100644 => 100755 src/example/actionsheet/actionsheet.wxml mode change 100644 => 100755 src/example/actionsheet/actionsheet.wxss mode change 100644 => 100755 src/example/article/article.js mode change 100644 => 100755 src/example/article/article.wxml mode change 100644 => 100755 src/example/article/article.wxss mode change 100644 => 100755 src/example/badge/badge.js mode change 100644 => 100755 src/example/badge/badge.wxml mode change 100644 => 100755 src/example/button/button.js mode change 100644 => 100755 src/example/button/button.wxml mode change 100644 => 100755 src/example/button/button.wxss mode change 100644 => 100755 src/example/dialog/dialog.js mode change 100644 => 100755 src/example/dialog/dialog.wxml mode change 100644 => 100755 src/example/dialog/dialog.wxss mode change 100644 => 100755 src/example/flex/flex.js mode change 100644 => 100755 src/example/flex/flex.wxml mode change 100644 => 100755 src/example/flex/flex.wxss mode change 100644 => 100755 src/example/footer/footer.js mode change 100644 => 100755 src/example/footer/footer.wxml mode change 100644 => 100755 src/example/footer/footer.wxss mode change 100644 => 100755 src/example/gallery/gallery.js mode change 100644 => 100755 src/example/gallery/gallery.wxml mode change 100644 => 100755 src/example/grid/grid.js mode change 100644 => 100755 src/example/grid/grid.wxml mode change 100644 => 100755 src/example/icons/icons.js mode change 100644 => 100755 src/example/icons/icons.wxml mode change 100644 => 100755 src/example/icons/icons.wxss mode change 100644 => 100755 src/example/images/base64.js mode change 100644 => 100755 src/example/images/icon_footer.png mode change 100644 => 100755 src/example/images/icon_footer_link.png mode change 100644 => 100755 src/example/images/icon_intro.png mode change 100644 => 100755 src/example/images/icon_nav_feedback.png mode change 100644 => 100755 src/example/images/icon_nav_form.png mode change 100644 => 100755 src/example/images/icon_nav_nav.png mode change 100644 => 100755 src/example/images/icon_nav_search.png mode change 100644 => 100755 src/example/images/icon_nav_special.png mode change 100644 => 100755 src/example/images/icon_nav_widget.png mode change 100644 => 100755 src/example/images/icon_nav_z-index.png mode change 100644 => 100755 src/example/images/icon_tabbar.png mode change 100644 => 100755 src/example/images/logo.png mode change 100644 => 100755 src/example/images/pic_160.png mode change 100644 => 100755 src/example/images/pic_article.png mode change 100644 => 100755 src/example/images/vcode.jpg mode change 100644 => 100755 src/example/index.js mode change 100644 => 100755 src/example/index.wxml mode change 100644 => 100755 src/example/index.wxss mode change 100644 => 100755 src/example/input/input.js mode change 100644 => 100755 src/example/input/input.wxml mode change 100644 => 100755 src/example/list/list.js mode change 100644 => 100755 src/example/list/list.wxml mode change 100644 => 100755 src/example/list/list.wxss mode change 100644 => 100755 src/example/loadmore/loadmore.js mode change 100644 => 100755 src/example/loadmore/loadmore.wxml mode change 100644 => 100755 src/example/loadmore/loadmore.wxss mode change 100644 => 100755 src/example/msg/msg.js mode change 100644 => 100755 src/example/msg/msg.wxml mode change 100644 => 100755 src/example/msg/msg.wxss mode change 100644 => 100755 src/example/msg/msg_fail.js mode change 100644 => 100755 src/example/msg/msg_fail.wxml mode change 100644 => 100755 src/example/msg/msg_fail.wxss mode change 100644 => 100755 src/example/msg/msg_success.js mode change 100644 => 100755 src/example/msg/msg_success.wxml mode change 100644 => 100755 src/example/msg/msg_success.wxss mode change 100644 => 100755 src/example/msg/msg_text.js mode change 100644 => 100755 src/example/msg/msg_text.wxml mode change 100644 => 100755 src/example/msg/msg_text.wxss mode change 100644 => 100755 src/example/msg/msg_text_primary.js mode change 100644 => 100755 src/example/msg/msg_text_primary.wxml mode change 100644 => 100755 src/example/msg/msg_text_primary.wxss mode change 100644 => 100755 src/example/navbar/navbar.js mode change 100644 => 100755 src/example/navbar/navbar.wxml mode change 100644 => 100755 src/example/navbar/navbar.wxss mode change 100644 => 100755 src/example/panel/panel.js mode change 100644 => 100755 src/example/panel/panel.wxml mode change 100644 => 100755 src/example/picker/picker.js mode change 100644 => 100755 src/example/picker/picker.wxml mode change 100644 => 100755 src/example/picker/picker.wxss mode change 100644 => 100755 src/example/preview/preview.js mode change 100644 => 100755 src/example/preview/preview.wxml mode change 100644 => 100755 src/example/preview/preview.wxss mode change 100644 => 100755 src/example/progress/progress.js mode change 100644 => 100755 src/example/progress/progress.wxml mode change 100644 => 100755 src/example/progress/progress.wxss mode change 100644 => 100755 src/example/searchbar/searchbar.js mode change 100644 => 100755 src/example/searchbar/searchbar.wxml mode change 100644 => 100755 src/example/searchbar/searchbar.wxss mode change 100644 => 100755 src/example/slider/slider.js mode change 100644 => 100755 src/example/slider/slider.wxml mode change 100644 => 100755 src/example/slider/slider.wxss mode change 100644 => 100755 src/example/tabbar/tabbar.js mode change 100644 => 100755 src/example/tabbar/tabbar.wxml mode change 100644 => 100755 src/example/toast/toast.js mode change 100644 => 100755 src/example/toast/toast.wxml mode change 100644 => 100755 src/example/toast/toast.wxss mode change 100644 => 100755 src/example/uploader/uploader.js mode change 100644 => 100755 src/example/uploader/uploader.wxml mode change 100644 => 100755 src/style/base/fn.wxss mode change 100644 => 100755 src/style/base/mixin/mobile.wxss mode change 100644 => 100755 src/style/base/mixin/setArrow.wxss mode change 100644 => 100755 src/style/base/mixin/setOnepx.wxss mode change 100644 => 100755 src/style/base/mixin/text.wxss mode change 100644 => 100755 src/style/base/reset.wxss mode change 100644 => 100755 src/style/base/variable/color.wxss mode change 100644 => 100755 src/style/base/variable/global.wxss mode change 100644 => 100755 src/style/base/variable/weui-button.wxss mode change 100644 => 100755 src/style/base/variable/weui-cell.wxss mode change 100644 => 100755 src/style/base/variable/weui-dialog.wxss mode change 100644 => 100755 src/style/base/variable/weui-grid.wxss mode change 100644 => 100755 src/style/base/variable/weui-msg.wxss mode change 100644 => 100755 src/style/base/variable/weui-progress.wxss mode change 100644 => 100755 src/style/weui.wxss mode change 100644 => 100755 src/style/widget/weui-agree/weui-agree.wxss mode change 100644 => 100755 src/style/widget/weui-animate/weui-animate.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_cell.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_default.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_disabled.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_global.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_loading.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_plain.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_primary.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-btn_warn.wxss mode change 100644 => 100755 src/style/widget/weui-button/weui-button.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-access.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-cell.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-check.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-form.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-form/weui-form-preview.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-form/weui-form_common.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-form/weui-select.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-form/weui-vcode.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-switch.wxss mode change 100644 => 100755 src/style/widget/weui-cell/weui-uploader.wxss mode change 100644 => 100755 src/style/widget/weui-flex/weui-flex.wxss mode change 100644 => 100755 src/style/widget/weui-footer/weui-footer.wxss mode change 100644 => 100755 src/style/widget/weui-grid/weui-grid.wxss mode change 100644 => 100755 src/style/widget/weui-icon/weui-icon.wxss mode change 100644 => 100755 src/style/widget/weui-loading/weui-loading.wxss mode change 100644 => 100755 src/style/widget/weui-media-box/weui-media-box.wxss mode change 100644 => 100755 src/style/widget/weui-page/weui-article.wxss mode change 100644 => 100755 src/style/widget/weui-page/weui-msg.wxss mode change 100644 => 100755 src/style/widget/weui-panel/weui-panel.wxss mode change 100644 => 100755 src/style/widget/weui-progress/weui-progress.wxss mode change 100644 => 100755 src/style/widget/weui-searchbar/weui-searchbar.wxss mode change 100644 => 100755 src/style/widget/weui-tab/weui-navbar.wxss mode change 100644 => 100755 src/style/widget/weui-tab/weui-tab.wxss mode change 100644 => 100755 src/style/widget/weui-tips/weui-badge.wxss mode change 100644 => 100755 src/style/widget/weui-tips/weui-loadmore.wxss diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 index d102e87f..aa639256 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +#### v 2.0.0 (2019-08-01) + +- 【同步weui】 颜色规范、字体大小规范、间距规范对齐微信7.0新视觉风格 +- 【同步weui】 更新weui-cell、weui-uploader、weui-article、weui-footer、weui-msg、weui-panel、weui-search-bar等组件的UI +- 【增强】 增加组件 slideview 右滑操作 +- 【增强】 增加组件 gallery 模拟原生全屏预览 +- 【增强】 增加组件 loading 加载中 +- 【增强】 增加组件 dialog 模拟原生弹窗 +- 【增强】 增加组件 half-screen-dialog 半屏弹窗 +- 【增强】 增加组件 navigation-bar 模拟原生顶部导航条 +- 【增强】 增加组件 tabbar 模拟原生底部tab +- 【优化】 废弃组件 navbar + #### v 1.1.1 (2017-01-18) - 【同步weui】 增加扩展类.weui-loading_transparent @@ -18,4 +31,4 @@ 初始发布 -- Initial release \ No newline at end of file +- Initial release diff --git a/DIFF.md b/DIFF.md old mode 100644 new mode 100755 diff --git a/LICENSE.txt b/LICENSE.txt old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/dist/app.js b/dist/app.js old mode 100644 new mode 100755 diff --git a/dist/app.json b/dist/app.json old mode 100644 new mode 100755 index 050b0f5f..26f5fc9c --- a/dist/app.json +++ b/dist/app.json @@ -1,13 +1,12 @@ { "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", @@ -15,12 +14,13 @@ "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", @@ -29,17 +29,15 @@ "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, @@ -47,5 +45,7 @@ "uploadFile": 10000, "downloadFile": 10000 }, - "debug": true -} + "style": "v2", + "debug": true, + "sitemapLocation": "sitemap42.json" +} \ No newline at end of file diff --git a/dist/app.wxss b/dist/app.wxss old mode 100644 new mode 100755 index 1a3d1249..60d29e2b --- a/dist/app.wxss +++ b/dist/app.wxss @@ -17,10 +17,13 @@ page{ } .page__ft{ - padding-bottom: 10px; text-align: center; + padding:0 0 10px; + padding:0 0 calc(10px + constant(safe-area-inset-bottom)); + padding:0 0 calc(10px + env(safe-area-inset-bottom)); } + .page__title { text-align: left; font-size: 20px; diff --git a/dist/example/actionsheet/actionsheet.js b/dist/example/actionsheet/actionsheet.js old mode 100644 new mode 100755 diff --git a/dist/example/actionsheet/actionsheet.wxml b/dist/example/actionsheet/actionsheet.wxml old mode 100644 new mode 100755 diff --git a/dist/example/actionsheet/actionsheet.wxss b/dist/example/actionsheet/actionsheet.wxss old mode 100644 new mode 100755 diff --git a/dist/example/article/article.js b/dist/example/article/article.js old mode 100644 new mode 100755 diff --git a/dist/example/article/article.wxml b/dist/example/article/article.wxml old mode 100644 new mode 100755 diff --git a/dist/example/article/article.wxss b/dist/example/article/article.wxss old mode 100644 new mode 100755 diff --git a/dist/example/badge/badge.js b/dist/example/badge/badge.js old mode 100644 new mode 100755 diff --git a/dist/example/badge/badge.wxml b/dist/example/badge/badge.wxml old mode 100644 new mode 100755 diff --git a/dist/example/button/button.js b/dist/example/button/button.js old mode 100644 new mode 100755 diff --git a/dist/example/button/button.wxml b/dist/example/button/button.wxml old mode 100644 new mode 100755 index a81ef076..d50c2e53 --- a/dist/example/button/button.wxml +++ b/dist/example/button/button.wxml @@ -14,12 +14,6 @@ - - - - - - diff --git a/dist/example/button/button.wxss b/dist/example/button/button.wxss old mode 100644 new mode 100755 diff --git a/dist/example/dialog/dialog.js b/dist/example/dialog/dialog.js old mode 100644 new mode 100755 index 5459e874..f597169d --- a/dist/example/dialog/dialog.js +++ b/dist/example/dialog/dialog.js @@ -1,5 +1,8 @@ Page({ - openConfirm: function () { + data: { + showDialog: false + }, + openConfirm: function () { wx.showModal({ title: '弹窗标题', content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', @@ -15,15 +18,14 @@ Page({ } }); }, - openAlert: function () { - wx.showModal({ - content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', - showCancel: false, - success: function (res) { - if (res.confirm) { - console.log('用户点击确定') - } - } - }); + openDialog: function () { + this.setData({ + istrue: true + }) + }, + closeDialog: function () { + this.setData({ + istrue: false + }) } -}); \ No newline at end of file +}); diff --git a/dist/example/dialog/dialog.wxml b/dist/example/dialog/dialog.wxml old mode 100644 new mode 100755 index 44d95312..15ca9e7c --- a/dist/example/dialog/dialog.wxml +++ b/dist/example/dialog/dialog.wxml @@ -1,12 +1,29 @@ Dialog - 对话框,采用小程序原生的modal + 对话框 - - + + + + + + + + + 标题 + + + + + + 取消 + 确定 + + + - \ No newline at end of file + diff --git a/dist/example/dialog/dialog.wxss b/dist/example/dialog/dialog.wxss old mode 100644 new mode 100755 index 922ad0ef..e2ff0ef3 --- a/dist/example/dialog/dialog.wxss +++ b/dist/example/dialog/dialog.wxss @@ -1,3 +1,12 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +.weui-demo-dialog{ + visibility:hidden; + opacity:0; + transition:opacity .3s; +} +.weui-demo-dialog_show{ + visibility:visible; + opacity:1; +} diff --git a/dist/example/flex/flex.js b/dist/example/flex/flex.js old mode 100644 new mode 100755 diff --git a/dist/example/flex/flex.wxml b/dist/example/flex/flex.wxml old mode 100644 new mode 100755 diff --git a/dist/example/flex/flex.wxss b/dist/example/flex/flex.wxss old mode 100644 new mode 100755 diff --git a/dist/example/footer/footer.js b/dist/example/footer/footer.js old mode 100644 new mode 100755 diff --git a/dist/example/footer/footer.wxml b/dist/example/footer/footer.wxml old mode 100644 new mode 100755 diff --git a/dist/example/footer/footer.wxss b/dist/example/footer/footer.wxss old mode 100644 new mode 100755 diff --git a/dist/example/gallery/gallery.js b/dist/example/gallery/gallery.js old mode 100644 new mode 100755 index f16cc1a8..0706d051 --- a/dist/example/gallery/gallery.js +++ b/dist/example/gallery/gallery.js @@ -1 +1,12 @@ -Page({}); \ No newline at end of file +Page({ + openGallery: function () { + this.setData({ + istrue: true + }) + }, + closeGallery: function () { + this.setData({ + istrue: false + }) + } +}); diff --git a/dist/example/gallery/gallery.wxml b/dist/example/gallery/gallery.wxml old mode 100644 new mode 100755 index 82deb5d6..92aaa808 --- a/dist/example/gallery/gallery.wxml +++ b/dist/example/gallery/gallery.wxml @@ -1,6 +1,20 @@ Gallery - 画廊,建议采用小程序原生的wx.previewImage来实现。详情请看小程序文档。 + 画廊,模拟小程序原生的wx.previewImage。 - \ No newline at end of file + + + + + + 1/17 + + + + + 删除 + + + + diff --git a/dist/example/grid/grid.js b/dist/example/grid/grid.js old mode 100644 new mode 100755 diff --git a/dist/example/grid/grid.wxml b/dist/example/grid/grid.wxml old mode 100644 new mode 100755 diff --git a/dist/example/icons/icons.js b/dist/example/icons/icons.js old mode 100644 new mode 100755 diff --git a/dist/example/icons/icons.wxml b/dist/example/icons/icons.wxml old mode 100644 new mode 100755 diff --git a/dist/example/icons/icons.wxss b/dist/example/icons/icons.wxss old mode 100644 new mode 100755 diff --git a/dist/example/images/base64.js b/dist/example/images/base64.js old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_footer.png b/dist/example/images/icon_footer.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_footer_link.png b/dist/example/images/icon_footer_link.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_intro.png b/dist/example/images/icon_intro.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_feedback.png b/dist/example/images/icon_nav_feedback.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_form.png b/dist/example/images/icon_nav_form.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_nav.png b/dist/example/images/icon_nav_nav.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_search.png b/dist/example/images/icon_nav_search.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_special.png b/dist/example/images/icon_nav_special.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_widget.png b/dist/example/images/icon_nav_widget.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_z-index.png b/dist/example/images/icon_nav_z-index.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_tabbar.png b/dist/example/images/icon_tabbar.png old mode 100644 new mode 100755 diff --git a/dist/example/images/logo.png b/dist/example/images/logo.png old mode 100644 new mode 100755 diff --git a/dist/example/images/pic_160.png b/dist/example/images/pic_160.png old mode 100644 new mode 100755 diff --git a/dist/example/images/pic_article.png b/dist/example/images/pic_article.png old mode 100644 new mode 100755 diff --git a/dist/example/images/vcode.jpg b/dist/example/images/vcode.jpg old mode 100644 new mode 100755 diff --git a/dist/example/index.js b/dist/example/index.js old mode 100644 new mode 100755 index aee218e7..7a0f0d7c --- a/dist/example/index.js +++ b/dist/example/index.js @@ -5,25 +5,25 @@ Page({ id: 'form', name: '表单', open: false, - pages: ['button', 'list', 'input', 'slider', 'uploader'] + pages: ['button', 'list', 'slideview', 'input', 'slider', 'uploader'] }, { id: 'widget', name: '基础组件', open: false, - pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loadmore', 'panel', 'preview', 'progress'] + pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loading', 'loadmore', 'panel', 'preview', 'progress'] }, { id: 'feedback', name: '操作反馈', open: false, - pages: ['actionsheet', 'dialog', 'msg', 'picker', 'toast'] + pages: ['actionsheet', 'dialog', 'half-screen-dialog', 'msg', 'picker', 'toast'] }, { id: 'nav', name: '导航相关', open: false, - pages: ['navbar', 'tabbar'] + pages: ['navigation-bar', 'tabbar'] }, { id: 'search', diff --git a/dist/example/index.wxml b/dist/example/index.wxml old mode 100644 new mode 100755 diff --git a/dist/example/index.wxss b/dist/example/index.wxss old mode 100644 new mode 100755 index 66294bbb..8bd5df2c --- a/dist/example/index.wxss +++ b/dist/example/index.wxss @@ -1,5 +1,5 @@ /*! - * WeUI v1.1.1 (https://github.com/weui/weui-wxss) + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/example/input/input.js b/dist/example/input/input.js old mode 100644 new mode 100755 diff --git a/dist/example/input/input.wxml b/dist/example/input/input.wxml old mode 100644 new mode 100755 index 7669d1f5..4ebc9413 --- a/dist/example/input/input.wxml +++ b/dist/example/input/input.wxml @@ -24,7 +24,7 @@ 复选列表项 - +