diff --git a/.gitignore b/.gitignore index d48b708263e57512990618192219d0675916ca1e..677ec8e96ae19d824719a29924434c4937dc3d16 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 9c340df8bc6243e8fba13b80c9b911c66e86b15b..050b0f5f46db47c6c82ae413778bdcf12e228e03 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 47c06c3d420e87e2b68d76c93978845ba7d2aa6e..1a3d12496659d0e9cfbefdeddd762ad0da2656da 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 8ea4e15f1b65ec1698808e4277d20875e8ec358e..0f4e01df3a34367705f02a53b43c43c7ba81adac 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 451690741a2370f1bb9dfb3f5c95da5120d24fb9..8520d1b1fcb88c607677039c1e9f74d763ac1f9b 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..57f3dcb962f5728c622a377fcd6d0fc84c9d71e3 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 7a52ce23537377d88874a030b18c395bdb2fdee5..a81ef0764518a0837a07bda4d587f69f07232699 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 5adb1f895313a2a4d6452c35f1b2f95e4eddbd08..4eb07e51495a7b71e23acb621b6745a945276cfb 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 e4e6c5416f755c0eb8b26111651af2a4258f5be6..900569734e7c42510be482f4c22a2c276254f28a 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..6ffc76e61ca467f7816e1ba8336044f80b214c5a --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..41771ba7dd15d38665f04bae2776e2b55e124626 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 52a9a506b1f2d532919d2b8023dc8edcf37fa032..e5036fbe36b73469a91943ccb8dc7d209b7152bc 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 3601c055ed00cbad02c15e13c9f2c569701e8141..66294bbb97b10eb8dd29bcff8601777de1b6c92d 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..77a7a099d4474d47aa816f289bab9dd7b7a50498 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 470ac337fd9c0852c1b0623647e447eb0e269e84..6b813fda1920a93f5bc43a269b44373cbc2815df 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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/dist/example/loadmore/loadmore.json b/dist/example/loadmore/loadmore.json new file mode 100644 index 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 24b90b38dfd333e6c3cf61b9c6523c0be472c25f..2da7e8501f939bd79752c9a0c2905f60bbc6bac0 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 8f3e4d11fa675b0bef290ca6029a38f607a69d24..ff36ab2a2fbb20b2add5229b3f3e216d76a6ef65 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..a6f9f4bff079fe4f506fabda0272d75737c7acd9 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 aecf3a17507f8944e1f3f80accf844530b569f65..9ef6c7f8fbf15777d2a4505a66f0367817c3b8ff 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..1837700bb29b54d35f723d1037d0aa96e9b94e25 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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 5dea316eea447ade71f5db8435f9cad81258fef4..2910595729294698e3954158ceb732de13b214be 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 0000000000000000000000000000000000000000..5dea316eea447ade71f5db8435f9cad81258fef4 --- /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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..1837700bb29b54d35f723d1037d0aa96e9b94e25 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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..431e6655034b8f2a99ab8e9d042036d0dc50c52f --- /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 0000000000000000000000000000000000000000..5dea316eea447ade71f5db8435f9cad81258fef4 --- /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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..7de98f1ab11717bf916b6482b1e065683c9de09a --- /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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 885f02e80d7804edbb66e002f3f4f082fa59cff3..0ecefc69abccd9704e69efae660e82dbee10b853 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 2b15acb4402f71464dca022b42a11176ebdcc8d3..62af872f34bc0547324f5354911e4a053c7a8dbb 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 0000000000000000000000000000000000000000..84edd135ba85495dc28925f4c26a18efb3f8473b --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 f3f20fcbe1246d71b1b2824aa03deed524422114..944faa6a0df734ff8331a5ece668a9a949a59621 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..9ae7893cfbded0d011fff9fb5719251febca5f01 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 56ed11dea1227037052112ac13bd49260e5fecf2..3262b009ad0c77e7aea1baf522815cebd2644c2a 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 da15a0521a8cdcb5e111ca7799aaf7db97909587..8c93fd8ff1ace22b631a2ebe29f57f08947a3eca 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 4083ba648b54367d02a1102232d31f7482c30ec9..1907507530a4436a4ca0ec1b92c7906f5583a78e 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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..9eb13479e591b5a10f1c6fe51183c523a75dadcf --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..8835af0699ccec004cbe685ef938cd2d63ea7037 --- /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 0000000000000000000000000000000000000000..57cab53f9a293dc528bb4a53f4a4bb65bc435ef8 --- /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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 0000000000000000000000000000000000000000..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 --- /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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 b702157e068c27cd8ff0dc295c8331a571826686..217c2f40594820f4b986e430d8f42e94e51c0e9f 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 a83d320fe0b32d0984ea6c27368ff45d6d3374c7..6a3ee6268d72a31a1193aa1ddee5053b992bcb09 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 3d6cfacfa71a08316e9ef193616fae47fbcd5eaa..622407b0cc63272232efc8f823bce50e902205ef 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 22edb23e17e329e0c887fbe5f84d6703bd086760..a82e30977e01f26bb9f12b9527f9bc1982b66e89 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 30cf15044b8e4c1eea24896b3f08b999ecd52412..f1cf84746adf8d1aa9cbcb61d240c5ab1b4bc40d 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 0000000000000000000000000000000000000000..5485d9348ce2d62e95edad1510b1e6c5c72117a9 --- /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 0000000000000000000000000000000000000000..134a18d2bf8f425a486bb904f0a9997ded23fe3a --- /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 0000000000000000000000000000000000000000..665022d083bf4ffae7eb16666859f7dcdb105154 --- /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 0000000000000000000000000000000000000000..d6a125df16f3d3ce4b3a07bbbbb8fc2747458a0f --- /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 0000000000000000000000000000000000000000..51ffc8f56b6a69002f6a523cf61967d7671a33ed --- /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 0000000000000000000000000000000000000000..5be5a46e0bc99794c97d7f42563536798fa7299a --- /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 0000000000000000000000000000000000000000..5ee5a9d8cdb6be619d08e8b2d3c5e4d84ae61b7c --- /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 0000000000000000000000000000000000000000..5e69cc1152652e6c784ef8b1e3c891b6753fea2c --- /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 e6fa993560c18d51464fe50f0552f209d7b82fb6..ce52d04157056070c7bef4f5acb0d5889939d516 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 e797ca20177f00ed80041a9e06f2365b2de2eb9d..7d057de0396803ec4270b93e0795b51bca57fb86 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 652bc1dc8461773d4d53b276628854dc615dea62..59d1b9f99b8a47c75e5098c85a53d5bc12fff01e 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 5c3de674d9b3309b9f30d872a0d817e5ed07e109..2a0907d2ca4b3b7b1405e035d8b3d4a4deacaa68 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 0c0b93c340690d45d3e46916a6669e817e3654d9..e13d6774642ee345a6356e5ce2eae7311ca7630d 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 c1d78a6cdd7e02e6ab1ec263f9729e198143eddd..4c0252562755b5e9ff12d9a75e399601ac26e532 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 cbc4386ba40ebbc1f8adc26aaa6479d4510cd6b9..954b3d4f04142147d3676a7b68024a6de0ebf773 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 7b12b1527b6831554be34d2e1421c383bd203cd3..8fd829828bb4f2f6f2080a4c1ceb39a66fb1ab92 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 0d3560eae1e22e9c52dfae1401bb7b0322a943e8..0c1991434ad2800a0ec4916b52ee3368834c0adb 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 0b142617ba69d62687636d15e4e9f50b1e0b602a..4744fc914458723f21e176dda203c2144edc0c74 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 d20ba247f75d8574a1ca002e3cf547adb1c7dfb1..724bdf83b9ed0aa83a401f0d34350cc33cbd3447 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 a26a647b0868815f3eb22f4850201344851ee496..d033fecb2f436a58439715734cb0ed3fc437bc54 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 1743507116c70a92e7d9d34af2399de156aaabfc..26aff50430dd287ba273b74df1ddbcc39c4c75d8 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 7ecb4061f96eb02d1b5afe46c34b732eb26269d8..72ed7e0194ba3d4cbbbd1055e73f360785cf3373 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 0000000000000000000000000000000000000000..79753c8c2fea63154860fca72a255bdca1dbd7ae --- /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 336d593ae21637c9a0e4eaea3eefe38fe9323e6d..804b1a210f7ef41fb8d766be9a1a89ca1b796545 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 ec93f2cbf7aeea51f5c1cf4f8355470709b528bc..1ee3fdb541c19f4e82eecabedce05d6b969f63fe 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 4163c30b85e727b9852f9dc16e0317b0f549c08c..3ec0d6d5a531189dcd8a1a363861306e05696407 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 82e84e38a1088b3611a51f698ac94d62aa74f87e..4b1e99f8cfd0efc0831fc4a9da7a31b260676a9a 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 5b5b047d714554a3d7d02d77d9b4b3d65129d49c..a107228285221cbdd6a4e37e4b94c8d5390f7562 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 a46cf96e68422f23fc3f9c17c067ed9e94a8657a..1507450bb69897c4febe6abebcc694c4eeb5e245 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 c3954ef6c560a24891592c0f91a636f6a4d7ac13..f609175e5d9f0816e9f214d6f0af28c6e6734595 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 16844435f858b59f6a177de927226cbb8a729c26..0c0c413c2552e675048d4e2a16ae9492cc1d95e4 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 10a9cf7a3f10164843527ebbf808b8a787bd40fd..c88298754b1280b3a03462986bab0ed7127cda6d 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 e30802c12308dd84adc9ca4309d5835bb460648e..01712f612340d84416727390158a2e3112a7df73 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 a86d27b91a6af2f4143a876a95774be4d144f82f..3e6d573346905952bfabbb3802842f508af2a65c 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 06cdca210462a32c92b3e53c1525230ab2a314c1..63c9baa8c5dd34da1d43c792fddf2ac54ca89e95 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 9c340df8bc6243e8fba13b80c9b911c66e86b15b..050b0f5f46db47c6c82ae413778bdcf12e228e03 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 47c06c3d420e87e2b68d76c93978845ba7d2aa6e..1a3d12496659d0e9cfbefdeddd762ad0da2656da 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 8ea4e15f1b65ec1698808e4277d20875e8ec358e..0f4e01df3a34367705f02a53b43c43c7ba81adac 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 451690741a2370f1bb9dfb3f5c95da5120d24fb9..8520d1b1fcb88c607677039c1e9f74d763ac1f9b 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 7a52ce23537377d88874a030b18c395bdb2fdee5..a81ef0764518a0837a07bda4d587f69f07232699 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 5adb1f895313a2a4d6452c35f1b2f95e4eddbd08..4eb07e51495a7b71e23acb621b6745a945276cfb 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 e4e6c5416f755c0eb8b26111651af2a4258f5be6..900569734e7c42510be482f4c22a2c276254f28a 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 52a9a506b1f2d532919d2b8023dc8edcf37fa032..e5036fbe36b73469a91943ccb8dc7d209b7152bc 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 470ac337fd9c0852c1b0623647e447eb0e269e84..6b813fda1920a93f5bc43a269b44373cbc2815df 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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/example/msg/msg.js b/src/example/msg/msg.js index 24b90b38dfd333e6c3cf61b9c6523c0be472c25f..2da7e8501f939bd79752c9a0c2905f60bbc6bac0 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 8f3e4d11fa675b0bef290ca6029a38f607a69d24..ff36ab2a2fbb20b2add5229b3f3e216d76a6ef65 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..a6f9f4bff079fe4f506fabda0272d75737c7acd9 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 aecf3a17507f8944e1f3f80accf844530b569f65..9ef6c7f8fbf15777d2a4505a66f0367817c3b8ff 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..1837700bb29b54d35f723d1037d0aa96e9b94e25 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 5dea316eea447ade71f5db8435f9cad81258fef4..2910595729294698e3954158ceb732de13b214be 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..1837700bb29b54d35f723d1037d0aa96e9b94e25 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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..431e6655034b8f2a99ab8e9d042036d0dc50c52f --- /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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 0000000000000000000000000000000000000000..f16cc1a8255aae310cbd340c85f98ff26a7bfb2d --- /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 0000000000000000000000000000000000000000..7de98f1ab11717bf916b6482b1e065683c9de09a --- /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 0000000000000000000000000000000000000000..1837700bb29b54d35f723d1037d0aa96e9b94e25 --- /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 885f02e80d7804edbb66e002f3f4f082fa59cff3..0ecefc69abccd9704e69efae660e82dbee10b853 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 2b15acb4402f71464dca022b42a11176ebdcc8d3..62af872f34bc0547324f5354911e4a053c7a8dbb 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 f3f20fcbe1246d71b1b2824aa03deed524422114..944faa6a0df734ff8331a5ece668a9a949a59621 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 922ad0ef6f63d2b5e483a49b5a6c76943e1d41ba..9ae7893cfbded0d011fff9fb5719251febca5f01 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 56ed11dea1227037052112ac13bd49260e5fecf2..3262b009ad0c77e7aea1baf522815cebd2644c2a 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 da15a0521a8cdcb5e111ca7799aaf7db97909587..8c93fd8ff1ace22b631a2ebe29f57f08947a3eca 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 4083ba648b54367d02a1102232d31f7482c30ec9..1907507530a4436a4ca0ec1b92c7906f5583a78e 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 fcd2a80666a6918d132c900aad1b8afbd6f672d0..775925eccd7849872400f51e2a0633fe6beb88a9 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 0000000000000000000000000000000000000000..bf2f619157e2bada42169889c15cbf9197a015aa --- /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 06c908c981920432ef581701d93b9c4938ad6840..fa54e80b7fdbcbeb292145a02489a21c153405e9 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 9ef0f60c416f0e7e6d51ab29e8b1248345e9ceb8..bd62a46806fcd0c833dba79e2a6f666ae168e3e3 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 2e13a3224d5df7999baaa35815d0def9e50345ab..569e835a8a141f7e973964fc69ed00b9c24f7b0d 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 d3ce922d09c9fb90fa2792bd333cd42028043e23..3d0165c07890b177a80fc2fedf4b7b747f0e7d56 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 b025de8187c347c8ba14800d1ea0b6477a440e7e..7d5a884a9d1a7330d184c782822b171a1c9e6ac3 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 975a5c4489452f70377d41852d27992de6d9a67e..8aea47bbe094ee4b34f582c5700e2e9c020f17b0 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 0000000000000000000000000000000000000000..cbb090aca85460e4d7de3d1d2a7d1c551a36205f --- /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 0000000000000000000000000000000000000000..d08b219dcac7c8b9664d8c370acf31972d1d330a --- /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 0000000000000000000000000000000000000000..3fa17ea1b19b51611a4d3b8987d1aed254f2369f --- /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 0000000000000000000000000000000000000000..63a499392fa77f77e5bf7c754df2a3a8024ad35d --- /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 0000000000000000000000000000000000000000..3c4a93ffbea2af55e92f7ce62ccf9a42707ef1ba --- /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 0000000000000000000000000000000000000000..3be548b2980dbdc34c684279affd1486719c9da2 --- /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 0000000000000000000000000000000000000000..5b4f6500c6df79bba06739e7d759d9d510dc172a --- /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 0000000000000000000000000000000000000000..12b9b36c6793b60b24348babd0e650082ba5f273 --- /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 19c3edda5d7e85001e0ede42658590061919282f..b24b085dbe7551a023343762ae692014f62675b0 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 34fd370c9564ac0696ba90136f7afb7b82243f0a..1ab5fc98a661866c57e49a85ac53dd75e382c5ba 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 e289e4559a129315957a5072dee096d9905fe3e2..d0892ff6cf17ad83bcc70f9745329ec5f1aaa79b 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 28c04f4d6171be720b4de570844bb3e953197064..b061b8e7d4b4c8369d3d45351646e7638cf548af 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 1b451f6e6f329f264ccd23298bc01977790b3398..bc8b853fc8069b9eca4f851f80f184a95a68f443 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 d5caafe7bbd6b46c94e98014e1709b65b4ba4976..d62e64de8b2ace3b55a7f121de243e461e44b616 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 f536c954d6aa1da283c332827adcbc3cb577e292..b1f47bb1c5dfa21815f4cfaddd2fce0cc4be6120 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 0000000000000000000000000000000000000000..1a75d58b40fbab894cd5217cbde3e2d5cc1e3f37 --- /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 0320cc605ae94433d2b96b37865eae781f5a1407..4a9123ee5dc1878a91500ef8ad25f017b1d39aef 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 598e76720294365c7f9eb24bcd07fc2ea6c7affe..deb606d752c561bc0677b55b739b169d31ac98f9 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 965c74fa9c58e743fbbcbd7f534fee0413f28701..c8098af719a4db0143374f153beada9ed2f891e4 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 0f4d9119c8bb6d4bb287d0f617d6d138e4f94860..a662c5282778b494fe7ee4dabaa48a39eae219ed 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 acddcc53c658f6e0c09257f9028f5ceaa829927e..b257707616260879978bb2c178532f517c740fdb 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 3ced04d2f96b48903d9a366a953794c419a42766..0458246a235ed6a8fd728c4ed3479269b44712cd 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 f344fd9fa883629554baac48153567034760d629..0b43d681f876ae624ffb12bc9f7877a334cfdfbd 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 72c49a3b06c7921a79e761cab59fd71a4380e482..91576411f4e8e74968a40dc26b1048f30b4c00f5 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 +}