From ac26edbee43a1dfb8df45e98696120e2f1a878be Mon Sep 17 00:00:00 2001 From: xushengni Date: Thu, 9 May 2019 16:22:55 +0800 Subject: [PATCH] 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 d48b708..677ec8e 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 9c340df..050b0f5 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 47c06c3..1a3d124 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 0000000..8835af0 --- /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 8ea4e15..0f4e01d 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 0000000..8835af0 --- /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 4516907..8520d1b 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 0000000..8835af0 --- /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 0000000..57f3dcb --- /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 0000000..8835af0 --- /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 7a52ce2..a81ef07 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 5adb1f8..4eb07e5 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 0000000..8835af0 --- /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 0000000..8835af0 --- /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 e4e6c54..9005697 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 0000000..8835af0 --- /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 0000000..8835af0 --- /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 0000000..6ffc76e --- /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 0000000..8835af0 --- /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 0000000..41771ba --- /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 0000000..8835af0 --- /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 52a9a50..e5036fb 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 0000000..8835af0 --- /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 3601c05..66294bb 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 0000000..8835af0 --- /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 0000000..77a7a09 --- /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 0000000..8835af0 --- /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 470ac33..6b813fd 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 0000000..e69de29 diff --git a/dist/example/loadmore/loadmore.json b/dist/example/loadmore/loadmore.json new file mode 100644 index 0000000..8835af0 --- /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 24b90b3..2da7e85 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 0000000..8835af0 --- /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 8f3e4d1..ff36ab2 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 922ad0e..a6f9f4b 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 0000000..8835af0 --- /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 aecf3a1..9ef6c7f 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 922ad0e..1837700 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 0000000..f16cc1a --- /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 0000000..8835af0 --- /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 5dea316..2910595 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 0000000..5dea316 --- /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 922ad0e..1837700 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 0000000..1837700 --- /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 0000000..f16cc1a --- /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 0000000..f16cc1a --- /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 0000000..8835af0 --- /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 0000000..431e665 --- /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 0000000..5dea316 --- /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 0000000..1837700 --- /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 0000000..1837700 --- /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 0000000..f16cc1a --- /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 0000000..8835af0 --- /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 0000000..7de98f1 --- /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 0000000..1837700 --- /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 0000000..8835af0 --- /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 885f02e..0ecefc6 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 0000000..8835af0 --- /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 2b15acb..62af872 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 0000000..84edd13 --- /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 0000000..8835af0 --- /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 f3f20fc..944faa6 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 922ad0e..9ae7893 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 0000000..8835af0 --- /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 0000000..8835af0 --- /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 56ed11d..3262b00 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 0000000..8835af0 --- /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 da15a05..8c93fd8 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 4083ba6..1907507 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 0000000..8835af0 --- /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 0000000..8835af0 --- /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 0000000..9eb1347 --- /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 0000000..8835af0 --- /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 0000000..8835af0 --- /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 0000000..57cab53 --- /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 a83d320..6a3ee62 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 0000000..6a3ee62 --- /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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 b702157..217c2f4 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 a83d320..6a3ee62 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 3d6cfac..622407b 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 22edb23..a82e309 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 30cf150..f1cf847 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 0000000..5485d93 --- /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 0000000..134a18d --- /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 0000000..665022d --- /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 0000000..d6a125d --- /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 0000000..51ffc8f --- /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 0000000..5be5a46 --- /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 0000000..5ee5a9d --- /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 0000000..5e69cc1 --- /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 e6fa993..ce52d04 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 e797ca2..7d057de 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 652bc1d..59d1b9f 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 5c3de67..2a0907d 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 0c0b93c..e13d677 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 c1d78a6..4c02525 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 cbc4386..954b3d4 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 7b12b15..8fd8298 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 0d3560e..0c19914 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 0b14261..4744fc9 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 d20ba24..724bdf8 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 a26a647..d033fec 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 1743507..26aff50 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 7ecb406..72ed7e0 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 0000000..79753c8 --- /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 336d593..804b1a2 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 ec93f2c..1ee3fdb 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 4163c30..3ec0d6d 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 82e84e3..4b1e99f 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 5b5b047..a107228 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 a46cf96..1507450 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 c3954ef..f609175 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 1684443..0c0c413 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 10a9cf7..c882987 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 e30802c..01712f6 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 a86d27b..3e6d573 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 06cdca2..63c9baa 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 9c340df..050b0f5 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 47c06c3..1a3d124 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 8ea4e15..0f4e01d 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 4516907..8520d1b 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 7a52ce2..a81ef07 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 5adb1f8..4eb07e5 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 e4e6c54..9005697 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 52a9a50..e5036fb 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 470ac33..6b813fd 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 0000000..e69de29 diff --git a/src/example/msg/msg.js b/src/example/msg/msg.js index 24b90b3..2da7e85 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 8f3e4d1..ff36ab2 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 922ad0e..a6f9f4b 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 aecf3a1..9ef6c7f 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 922ad0e..1837700 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 5dea316..2910595 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 922ad0e..1837700 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 0000000..f16cc1a --- /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 0000000..431e665 --- /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 0000000..1837700 --- /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 0000000..f16cc1a --- /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 0000000..7de98f1 --- /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 0000000..1837700 --- /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 885f02e..0ecefc6 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 2b15acb..62af872 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 f3f20fc..944faa6 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 922ad0e..9ae7893 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 56ed11d..3262b00 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 da15a05..8c93fd8 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 4083ba6..1907507 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 fcd2a80..775925e 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 0000000..bf2f619 --- /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 06c908c..fa54e80 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 9ef0f60..bd62a46 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 2e13a32..569e835 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 d3ce922..3d0165c 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 b025de8..7d5a884 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 975a5c4..8aea47b 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 0000000..cbb090a --- /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 0000000..d08b219 --- /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 0000000..3fa17ea --- /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 0000000..63a4993 --- /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 0000000..3c4a93f --- /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 0000000..3be548b --- /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 0000000..5b4f650 --- /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 0000000..12b9b36 --- /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 19c3edd..b24b085 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 34fd370..1ab5fc9 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 e289e45..d0892ff 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 28c04f4..b061b8e 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 1b451f6..bc8b853 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 d5caafe..d62e64d 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 f536c95..b1f47bb 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 0000000..1a75d58 --- /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 0320cc6..4a9123e 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 598e767..deb606d 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 965c74f..c8098af 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 0f4d911..a662c52 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 acddcc5..b257707 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 3ced04d..0458246 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 f344fd9..0b43d68 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 72c49a3..9157641 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 +} -- GitLab