diff --git a/.gitignore b/.gitignore index d48b7082..677ec8e9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *~ .idea node_modules -npm-debug.log \ No newline at end of file +npm-debug.log +.DS_Store diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 index d102e87f..aa639256 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +#### v 2.0.0 (2019-08-01) + +- 【同步weui】 颜色规范、字体大小规范、间距规范对齐微信7.0新视觉风格 +- 【同步weui】 更新weui-cell、weui-uploader、weui-article、weui-footer、weui-msg、weui-panel、weui-search-bar等组件的UI +- 【增强】 增加组件 slideview 右滑操作 +- 【增强】 增加组件 gallery 模拟原生全屏预览 +- 【增强】 增加组件 loading 加载中 +- 【增强】 增加组件 dialog 模拟原生弹窗 +- 【增强】 增加组件 half-screen-dialog 半屏弹窗 +- 【增强】 增加组件 navigation-bar 模拟原生顶部导航条 +- 【增强】 增加组件 tabbar 模拟原生底部tab +- 【优化】 废弃组件 navbar + #### v 1.1.1 (2017-01-18) - 【同步weui】 增加扩展类.weui-loading_transparent @@ -18,4 +31,4 @@ 初始发布 -- Initial release \ No newline at end of file +- Initial release diff --git a/DIFF.md b/DIFF.md old mode 100644 new mode 100755 diff --git a/LICENSE.txt b/LICENSE.txt old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/dist/app.js b/dist/app.js old mode 100644 new mode 100755 diff --git a/dist/app.json b/dist/app.json old mode 100644 new mode 100755 index 9c340df8..26f5fc9c --- a/dist/app.json +++ b/dist/app.json @@ -1,13 +1,12 @@ { "pages": [ "example/index", - "example/button/button", "example/list/list", + "example/slideview/slideview", "example/input/input", "example/slider/slider", "example/uploader/uploader", - "example/article/article", "example/badge/badge", "example/flex/flex", @@ -15,29 +14,30 @@ "example/gallery/gallery", "example/grid/grid", "example/icons/icons", + "example/loading/loading", "example/loadmore/loadmore", "example/panel/panel", "example/preview/preview", "example/progress/progress", - "example/actionsheet/actionsheet", + "example/half-screen-dialog/half-screen-dialog", "example/dialog/dialog", "example/msg/msg", + "example/msg/msg_text", + "example/msg/msg_text_primary", "example/msg/msg_success", "example/msg/msg_fail", "example/picker/picker", "example/toast/toast", - - "example/navbar/navbar", + "example/navigation-bar/navigation-bar", "example/tabbar/tabbar", - "example/searchbar/searchbar" ], "window": { "navigationBarTextStyle": "black", "navigationBarTitleText": "WeUI for 小程序", - "navigationBarBackgroundColor": "#f8f8f8", - "backgroundColor": "#f8f8f8" + "navigationBarBackgroundColor": "#EDEDED", + "backgroundColor": "#EDEDED" }, "networkTimeout": { "request": 10000, @@ -45,5 +45,7 @@ "uploadFile": 10000, "downloadFile": 10000 }, - "debug": true + "style": "v2", + "debug": true, + "sitemapLocation": "sitemap42.json" } \ No newline at end of file diff --git a/dist/app.wxss b/dist/app.wxss old mode 100644 new mode 100755 index 47c06c3d..60d29e2b --- 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; } @@ -17,10 +17,13 @@ page{ } .page__ft{ - padding-bottom: 10px; text-align: center; + padding:0 0 10px; + padding:0 0 calc(10px + constant(safe-area-inset-bottom)); + padding:0 0 calc(10px + env(safe-area-inset-bottom)); } + .page__title { text-align: left; font-size: 20px; @@ -32,4 +35,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.js b/dist/example/actionsheet/actionsheet.js old mode 100644 new mode 100755 diff --git a/dist/example/actionsheet/actionsheet.json b/dist/example/actionsheet/actionsheet.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/actionsheet/actionsheet.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/actionsheet/actionsheet.wxml b/dist/example/actionsheet/actionsheet.wxml old mode 100644 new mode 100755 index 8ea4e15f..0f4e01df --- 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/actionsheet/actionsheet.wxss b/dist/example/actionsheet/actionsheet.wxss old mode 100644 new mode 100755 diff --git a/dist/example/article/article.js b/dist/example/article/article.js old mode 100644 new mode 100755 diff --git a/dist/example/article/article.json b/dist/example/article/article.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/article/article.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/article/article.wxml b/dist/example/article/article.wxml old mode 100644 new mode 100755 index 45169074..8520d1b1 --- 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/article/article.wxss b/dist/example/article/article.wxss old mode 100644 new mode 100755 diff --git a/dist/example/badge/badge.js b/dist/example/badge/badge.js old mode 100644 new mode 100755 diff --git a/dist/example/badge/badge.json b/dist/example/badge/badge.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/badge/badge.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/badge/badge.wxml b/dist/example/badge/badge.wxml old mode 100644 new mode 100755 diff --git a/dist/example/badge/badge.wxss b/dist/example/badge/badge.wxss new file mode 100644 index 00000000..57f3dcb9 --- /dev/null +++ b/dist/example/badge/badge.wxss @@ -0,0 +1 @@ +/* example/badge/badge.wxss */ \ No newline at end of file diff --git a/dist/example/button/button.js b/dist/example/button/button.js old mode 100644 new mode 100755 diff --git a/dist/example/button/button.json b/dist/example/button/button.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/button/button.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/button/button.wxml b/dist/example/button/button.wxml old mode 100644 new mode 100755 index 7a52ce23..d50c2e53 --- a/dist/example/button/button.wxml +++ b/dist/example/button/button.wxml @@ -4,25 +4,19 @@ 按钮,WeUI采用小程序原生的按钮为主体,加入一些间距的样式。 - - + + - - + + - - + + - - - - - - - \ No newline at end of file + diff --git a/dist/example/button/button.wxss b/dist/example/button/button.wxss old mode 100644 new mode 100755 index 5adb1f89..4eb07e51 --- 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.js b/dist/example/dialog/dialog.js old mode 100644 new mode 100755 index 5459e874..f597169d --- a/dist/example/dialog/dialog.js +++ b/dist/example/dialog/dialog.js @@ -1,5 +1,8 @@ Page({ - openConfirm: function () { + data: { + showDialog: false + }, + openConfirm: function () { wx.showModal({ title: '弹窗标题', content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', @@ -15,15 +18,14 @@ Page({ } }); }, - openAlert: function () { - wx.showModal({ - content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', - showCancel: false, - success: function (res) { - if (res.confirm) { - console.log('用户点击确定') - } - } - }); + openDialog: function () { + this.setData({ + istrue: true + }) + }, + closeDialog: function () { + this.setData({ + istrue: false + }) } -}); \ No newline at end of file +}); diff --git a/dist/example/dialog/dialog.json b/dist/example/dialog/dialog.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/dialog/dialog.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/dialog/dialog.wxml b/dist/example/dialog/dialog.wxml old mode 100644 new mode 100755 index 44d95312..15ca9e7c --- a/dist/example/dialog/dialog.wxml +++ b/dist/example/dialog/dialog.wxml @@ -1,12 +1,29 @@ Dialog - 对话框,采用小程序原生的modal + 对话框 - - + + + + + + + + + 标题 + + + + + + 取消 + 确定 + + + - \ No newline at end of file + diff --git a/dist/example/dialog/dialog.wxss b/dist/example/dialog/dialog.wxss old mode 100644 new mode 100755 index 922ad0ef..e2ff0ef3 --- a/dist/example/dialog/dialog.wxss +++ b/dist/example/dialog/dialog.wxss @@ -1,3 +1,12 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +.weui-demo-dialog{ + visibility:hidden; + opacity:0; + transition:opacity .3s; +} +.weui-demo-dialog_show{ + visibility:visible; + opacity:1; +} diff --git a/dist/example/flex/flex.js b/dist/example/flex/flex.js old mode 100644 new mode 100755 diff --git a/dist/example/flex/flex.json b/dist/example/flex/flex.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/flex/flex.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/flex/flex.wxml b/dist/example/flex/flex.wxml old mode 100644 new mode 100755 diff --git a/dist/example/flex/flex.wxss b/dist/example/flex/flex.wxss old mode 100644 new mode 100755 index e4e6c541..90056973 --- 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.js b/dist/example/footer/footer.js old mode 100644 new mode 100755 diff --git a/dist/example/footer/footer.json b/dist/example/footer/footer.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/footer/footer.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/footer/footer.wxml b/dist/example/footer/footer.wxml old mode 100644 new mode 100755 diff --git a/dist/example/footer/footer.wxss b/dist/example/footer/footer.wxss old mode 100644 new mode 100755 diff --git a/dist/example/gallery/gallery.js b/dist/example/gallery/gallery.js old mode 100644 new mode 100755 index f16cc1a8..0706d051 --- a/dist/example/gallery/gallery.js +++ b/dist/example/gallery/gallery.js @@ -1 +1,12 @@ -Page({}); \ No newline at end of file +Page({ + openGallery: function () { + this.setData({ + istrue: true + }) + }, + closeGallery: function () { + this.setData({ + istrue: false + }) + } +}); diff --git a/dist/example/gallery/gallery.json b/dist/example/gallery/gallery.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/gallery/gallery.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/gallery/gallery.wxml b/dist/example/gallery/gallery.wxml old mode 100644 new mode 100755 index 82deb5d6..92aaa808 --- a/dist/example/gallery/gallery.wxml +++ b/dist/example/gallery/gallery.wxml @@ -1,6 +1,20 @@ Gallery - 画廊,建议采用小程序原生的wx.previewImage来实现。详情请看小程序文档。 + 画廊,模拟小程序原生的wx.previewImage。 - \ No newline at end of file + + + + + + 1/17 + + + + + 删除 + + + + diff --git a/dist/example/gallery/gallery.wxss b/dist/example/gallery/gallery.wxss new file mode 100644 index 00000000..6ffc76e6 --- /dev/null +++ b/dist/example/gallery/gallery.wxss @@ -0,0 +1 @@ +/* example/gallery/gallery.wxss */ \ No newline at end of file diff --git a/dist/example/grid/grid.js b/dist/example/grid/grid.js old mode 100644 new mode 100755 diff --git a/dist/example/grid/grid.json b/dist/example/grid/grid.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/grid/grid.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/grid/grid.wxml b/dist/example/grid/grid.wxml old mode 100644 new mode 100755 diff --git a/dist/example/grid/grid.wxss b/dist/example/grid/grid.wxss new file mode 100644 index 00000000..41771ba7 --- /dev/null +++ b/dist/example/grid/grid.wxss @@ -0,0 +1 @@ +/* example/grid/grid.wxss */ \ No newline at end of file diff --git a/dist/example/icons/icons.js b/dist/example/icons/icons.js old mode 100644 new mode 100755 diff --git a/dist/example/icons/icons.json b/dist/example/icons/icons.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/icons/icons.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/icons/icons.wxml b/dist/example/icons/icons.wxml old mode 100644 new mode 100755 index 52a9a506..e5036fbe --- 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/icons/icons.wxss b/dist/example/icons/icons.wxss old mode 100644 new mode 100755 diff --git a/dist/example/images/base64.js b/dist/example/images/base64.js old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_footer.png b/dist/example/images/icon_footer.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_footer_link.png b/dist/example/images/icon_footer_link.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_intro.png b/dist/example/images/icon_intro.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_feedback.png b/dist/example/images/icon_nav_feedback.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_form.png b/dist/example/images/icon_nav_form.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_nav.png b/dist/example/images/icon_nav_nav.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_search.png b/dist/example/images/icon_nav_search.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_special.png b/dist/example/images/icon_nav_special.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_widget.png b/dist/example/images/icon_nav_widget.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_nav_z-index.png b/dist/example/images/icon_nav_z-index.png old mode 100644 new mode 100755 diff --git a/dist/example/images/icon_tabbar.png b/dist/example/images/icon_tabbar.png old mode 100644 new mode 100755 diff --git a/dist/example/images/logo.png b/dist/example/images/logo.png old mode 100644 new mode 100755 diff --git a/dist/example/images/pic_160.png b/dist/example/images/pic_160.png old mode 100644 new mode 100755 diff --git a/dist/example/images/pic_article.png b/dist/example/images/pic_article.png old mode 100644 new mode 100755 diff --git a/dist/example/images/vcode.jpg b/dist/example/images/vcode.jpg old mode 100644 new mode 100755 diff --git a/dist/example/index.js b/dist/example/index.js old mode 100644 new mode 100755 index aee218e7..7a0f0d7c --- a/dist/example/index.js +++ b/dist/example/index.js @@ -5,25 +5,25 @@ Page({ id: 'form', name: '表单', open: false, - pages: ['button', 'list', 'input', 'slider', 'uploader'] + pages: ['button', 'list', 'slideview', 'input', 'slider', 'uploader'] }, { id: 'widget', name: '基础组件', open: false, - pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loadmore', 'panel', 'preview', 'progress'] + pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loading', 'loadmore', 'panel', 'preview', 'progress'] }, { id: 'feedback', name: '操作反馈', open: false, - pages: ['actionsheet', 'dialog', 'msg', 'picker', 'toast'] + pages: ['actionsheet', 'dialog', 'half-screen-dialog', 'msg', 'picker', 'toast'] }, { id: 'nav', name: '导航相关', open: false, - pages: ['navbar', 'tabbar'] + pages: ['navigation-bar', 'tabbar'] }, { id: 'search', diff --git a/dist/example/index.json b/dist/example/index.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/index.wxml b/dist/example/index.wxml old mode 100644 new mode 100755 diff --git a/dist/example/index.wxss b/dist/example/index.wxss old mode 100644 new mode 100755 index 3601c055..8bd5df2c --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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.js b/dist/example/input/input.js old mode 100644 new mode 100755 diff --git a/dist/example/input/input.json b/dist/example/input/input.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/input/input.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/input/input.wxml b/dist/example/input/input.wxml old mode 100644 new mode 100755 index 7669d1f5..4ebc9413 --- a/dist/example/input/input.wxml +++ b/dist/example/input/input.wxml @@ -24,7 +24,7 @@ 复选列表项 - + @@ -16,4 +15,4 @@ - \ No newline at end of file + diff --git a/dist/example/navbar/navbar.wxss b/dist/example/navbar/navbar.wxss old mode 100644 new mode 100755 diff --git a/dist/example/panel/panel.js b/dist/example/panel/panel.js old mode 100644 new mode 100755 diff --git a/dist/example/panel/panel.json b/dist/example/panel/panel.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/panel/panel.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/panel/panel.wxml b/dist/example/panel/panel.wxml old mode 100644 new mode 100755 index 2b15acb4..62af872f --- a/dist/example/panel/panel.wxml +++ b/dist/example/panel/panel.wxml @@ -57,15 +57,15 @@ - - + + 文字标题 - - + + 文字标题 @@ -90,4 +90,4 @@ - \ No newline at end of file + diff --git a/dist/example/panel/panel.wxss b/dist/example/panel/panel.wxss new file mode 100644 index 00000000..84edd135 --- /dev/null +++ b/dist/example/panel/panel.wxss @@ -0,0 +1 @@ +/* example/panel/panel.wxss */ \ No newline at end of file diff --git a/dist/example/picker/picker.js b/dist/example/picker/picker.js old mode 100644 new mode 100755 diff --git a/dist/example/picker/picker.json b/dist/example/picker/picker.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/picker/picker.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/picker/picker.wxml b/dist/example/picker/picker.wxml old mode 100644 new mode 100755 index f3f20fcb..944faa6a --- 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 old mode 100644 new mode 100755 index 922ad0ef..9ae7893c --- 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.js b/dist/example/preview/preview.js old mode 100644 new mode 100755 diff --git a/dist/example/preview/preview.json b/dist/example/preview/preview.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/preview/preview.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/preview/preview.wxml b/dist/example/preview/preview.wxml old mode 100644 new mode 100755 diff --git a/dist/example/preview/preview.wxss b/dist/example/preview/preview.wxss old mode 100644 new mode 100755 diff --git a/dist/example/progress/progress.js b/dist/example/progress/progress.js old mode 100644 new mode 100755 diff --git a/dist/example/progress/progress.json b/dist/example/progress/progress.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/progress/progress.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/progress/progress.wxml b/dist/example/progress/progress.wxml old mode 100644 new mode 100755 diff --git a/dist/example/progress/progress.wxss b/dist/example/progress/progress.wxss old mode 100644 new mode 100755 index 56ed11de..3262b009 --- 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.js b/dist/example/searchbar/searchbar.js old mode 100644 new mode 100755 diff --git a/dist/example/searchbar/searchbar.json b/dist/example/searchbar/searchbar.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/searchbar/searchbar.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/searchbar/searchbar.wxml b/dist/example/searchbar/searchbar.wxml old mode 100644 new mode 100755 index da15a052..ea09d105 --- a/dist/example/searchbar/searchbar.wxml +++ b/dist/example/searchbar/searchbar.wxml @@ -43,4 +43,4 @@ - \ No newline at end of file + diff --git a/dist/example/searchbar/searchbar.wxss b/dist/example/searchbar/searchbar.wxss old mode 100644 new mode 100755 index 4083ba64..19075075 --- 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.js b/dist/example/slider/slider.js old mode 100644 new mode 100755 diff --git a/dist/example/slider/slider.json b/dist/example/slider/slider.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/slider/slider.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/slider/slider.wxml b/dist/example/slider/slider.wxml old mode 100644 new mode 100755 diff --git a/dist/example/slider/slider.wxss b/dist/example/slider/slider.wxss old mode 100644 new mode 100755 diff --git a/dist/example/tabbar/tabbar.js b/dist/example/tabbar/tabbar.js old mode 100644 new mode 100755 diff --git a/dist/example/tabbar/tabbar.json b/dist/example/tabbar/tabbar.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/tabbar/tabbar.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/tabbar/tabbar.wxml b/dist/example/tabbar/tabbar.wxml old mode 100644 new mode 100755 index 2763cb5a..ba450978 --- a/dist/example/tabbar/tabbar.wxml +++ b/dist/example/tabbar/tabbar.wxml @@ -3,4 +3,21 @@ Tabbar 底部导航,建议采用小程序原生的tabbar,通过设置app.json来实现。详情请看小程序文档。 - \ No newline at end of file + + + + + + + 标题 + + + + + + + 标题 + + + + diff --git a/dist/example/tabbar/tabbar.wxss b/dist/example/tabbar/tabbar.wxss new file mode 100644 index 00000000..8a1a6ceb --- /dev/null +++ b/dist/example/tabbar/tabbar.wxss @@ -0,0 +1,6 @@ +.weui-tabbar{ + position:fixed; + bottom:0; + left:0; + right:0; +} diff --git a/dist/example/toast/toast.js b/dist/example/toast/toast.js old mode 100644 new mode 100755 diff --git a/dist/example/toast/toast.json b/dist/example/toast/toast.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/toast/toast.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/toast/toast.wxml b/dist/example/toast/toast.wxml old mode 100644 new mode 100755 diff --git a/dist/example/toast/toast.wxss b/dist/example/toast/toast.wxss old mode 100644 new mode 100755 diff --git a/dist/example/uploader/uploader.js b/dist/example/uploader/uploader.js old mode 100644 new mode 100755 diff --git a/dist/example/uploader/uploader.json b/dist/example/uploader/uploader.json new file mode 100644 index 00000000..8835af06 --- /dev/null +++ b/dist/example/uploader/uploader.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/example/uploader/uploader.wxml b/dist/example/uploader/uploader.wxml old mode 100644 new mode 100755 index cfd91da5..cd81f98f --- a/dist/example/uploader/uploader.wxml +++ b/dist/example/uploader/uploader.wxml @@ -9,8 +9,13 @@ - 图片上传 - {{files.length}}/2 + + 图片上传 + {{files.length}}/2 + + + 上传提示 + @@ -25,8 +30,11 @@ - + + + + @@ -48,4 +56,4 @@ - \ No newline at end of file + diff --git a/dist/example/uploader/uploader.wxss b/dist/example/uploader/uploader.wxss new file mode 100644 index 00000000..57cab53f --- /dev/null +++ b/dist/example/uploader/uploader.wxss @@ -0,0 +1 @@ +/* example/uploader/uploader.wxss */ \ No newline at end of file diff --git a/dist/style/base/fn.wxss b/dist/style/base/fn.wxss old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 100755 index 00000000..1988db54 --- /dev/null +++ b/dist/style/base/mixin/mobile.wxss @@ -0,0 +1,5 @@ +/*! + * WeUI v2.0.0 (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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/base/reset.wxss b/dist/style/base/reset.wxss old mode 100644 new mode 100755 index b702157e..7b911d86 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a83d320f..1988db54 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * Copyright 2019 Tencent, Inc. * Licensed under the MIT license */ diff --git a/dist/style/weui.wxss b/dist/style/weui.wxss old mode 100644 new mode 100755 index 3d6cfacf..21f5e070 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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_label-block,.weui-cell_wxss.weui-cell_wxss:before{display:block}.weui-cell_label-block .weui-label{width:auto;word-break:normal;-webkit-hyphens:auto;hyphens:auto}.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-cells_checkbox .weui-check__label:before{left:55px}.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:1.41176471em;min-height:1.41176471em;line-height:1.41176471}.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:56px;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;font-weight:700;font-size:17px}.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,.9)}.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-top:0;padding-right:0;padding-bottom: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{padding-bottom:16px}.weui-uploader__overview{display:-webkit-box;display:-webkit-flex;display:flex;-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__tips{color:rgba(0,0,0,.3);font-size:14px;line-height:1.4;padding-top:4px}.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 16px}.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}.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-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:16px;bottom:calc(16px + constant(safe-area-inset-bottom));bottom:calc(16px + env(safe-area-inset-bottom));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)}}.wx_dot_loading,.wx_dot_loading:after,.wx_dot_loading:before{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;background-color:rgba(0,0,0,.3);font-size:0;-webkit-animation:c 1.6s step-start infinite;animation:c 1.6s step-start infinite}.wx_dot_loading{position:relative}.wx_dot_loading:before{content:"";position:absolute;left:-12px;background-color:rgba(0,0,0,.1);-webkit-animation:b 1.6s step-start infinite;animation:b 1.6s step-start infinite}.wx_dot_loading:after{content:"";position:absolute;right:-12px;background-color:rgba(0,0,0,.5);-webkit-animation:d 1.6s step-start infinite;animation:d 1.6s step-start infinite}@-webkit-keyframes b{0%,to{background-color:rgba(0,0,0,.1)}30%{background-color:rgba(0,0,0,.5)}60%{background-color:rgba(0,0,0,.3)}}@keyframes b{0%,to{background-color:rgba(0,0,0,.1)}30%{background-color:rgba(0,0,0,.5)}60%{background-color:rgba(0,0,0,.3)}}@-webkit-keyframes c{0%,to{background-color:rgba(0,0,0,.3)}30%{background-color:rgba(0,0,0,.1)}60%{background-color:rgba(0,0,0,.5)}}@keyframes c{0%,to{background-color:rgba(0,0,0,.3)}30%{background-color:rgba(0,0,0,.1)}60%{background-color:rgba(0,0,0,.5)}}@-webkit-keyframes d{0%,to{background-color:rgba(0,0,0,.5)}30%{background-color:rgba(0,0,0,.3)}60%{background-color:rgba(0,0,0,.1)}}@keyframes d{0%,to{background-color:rgba(0,0,0,.5)}30%{background-color:rgba(0,0,0,.3)}60%{background-color:rgba(0,0,0,.1)}}.wx_dot_loading_white{background-color:hsla(0,0%,100%,.3);-webkit-animation:f 1.6s step-start infinite;animation:f 1.6s step-start infinite}.wx_dot_loading_white:before{background-color:hsla(0,0%,100%,.5);-webkit-animation:e 1.6s step-start infinite;animation:e 1.6s step-start infinite}.wx_dot_loading_white:after{background-color:hsla(0,0%,100%,.1);-webkit-animation:g 1.6s step-start infinite;animation:g 1.6s step-start infinite}@-webkit-keyframes e{0%,to{background-color:hsla(0,0%,100%,.5)}30%{background-color:hsla(0,0%,100%,.1)}60%{background-color:hsla(0,0%,100%,.3)}}@keyframes e{0%,to{background-color:hsla(0,0%,100%,.5)}30%{background-color:hsla(0,0%,100%,.1)}60%{background-color:hsla(0,0%,100%,.3)}}@-webkit-keyframes f{0%,to{background-color:hsla(0,0%,100%,.3)}30%{background-color:hsla(0,0%,100%,.5)}60%{background-color:hsla(0,0%,100%,.1)}}@keyframes f{0%,to{background-color:hsla(0,0%,100%,.3)}30%{background-color:hsla(0,0%,100%,.5)}60%{background-color:hsla(0,0%,100%,.1)}}@-webkit-keyframes g{0%,to{background-color:hsla(0,0%,100%,.1)}30%{background-color:hsla(0,0%,100%,.3)}60%{background-color:hsla(0,0%,100%,.5)}}@keyframes g{0%,to{background-color:hsla(0,0%,100%,.1)}30%{background-color:hsla(0,0%,100%,.3)}60%{background-color:hsla(0,0%,100%,.5)}}.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-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-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-tabbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:#f7f7f7}.weui-tabbar: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)}.weui-tabbar__item{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 0 4px;padding-bottom:calc(8px + constant(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom));font-size:0;color:rgba(0,0,0,.5);text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-tabbar__item:first-child{padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}.weui-tabbar__item:last-child{padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#07c160}.weui-tabbar__icon{display:inline-block;width:28px;height:28px;margin-bottom:2px}.weui-tabbar__icon>i,i.weui-tabbar__icon{font-size:24px;color:rgba(0,0,0,.5)}.weui-tabbar__icon image{width:100%;height:100%}.weui-tabbar__label{color:rgba(0,0,0,.9);font-size:10px;line-height:1.4}.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}:host{width:100%}.weui-slideview{position:relative;overflow:hidden}.weui-slideview__left{position:relative;z-index:10}.weui-slideview__right{position:absolute;z-index:1;left:100%;top:0;height:100%}.weui-slideview__btn__wrp{position:absolute;left:0;bottom:0;text-align:center;min-width:69px;height:100%;white-space:nowrap}.weui-slideview__btn{color:#fff;padding:0 17px}.weui-slideview__btn-group_default .weui-slideview__btn{background:#c7c7cc}.weui-slideview__btn-group_default~.weui-slideview__btn-group_default:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #fff;color:#fff}.weui-slideview__btn-group_default:first-child:before{display:none}.weui-slideview__btn-group_warn .weui-slideview__btn{background:#fe3b30}.weui-slideview__btn-group_warn~.weui-slideview__btn-group_warn:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #fff;color:#fff}.weui-slideview__btn-group_warn:first-child:before{display:none}.weui-slideview_icon .weui-slideview__btn__wrp{background:transparent;font-size:0}.weui-slideview_icon .weui-slideview__btn__wrp:first-child{padding-left:16px}.weui-slideview_icon .weui-slideview__btn__wrp:last-child{padding-right:8px}.weui-slideview_icon .weui-slideview__btn{width:48px;height:48px;line-height:48px;padding:0;display:inline-block;vertical-align:middle;border-radius:50%;background-color:#fff}.weui-slideview_icon .weui-slideview__btn__icon{display:inline-block;vertical-align:middle;width:22px;height:22px}.weui-gallery{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;z-index:1000;-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;opacity:0;visibility:hidden;-webkit-transition:opacity .3s;transition:opacity .3s}.weui-gallery_show{display:-webkit-box;display:-webkit-flex;display:flex;visibility:visible;opacity:1}.weui-gallery__img__wrp{-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;font-size:0}.weui-gallery__img{background:50% no-repeat;background-size:contain;position:absoulte;width:100%;height:100%}.weui-gallery__opr{background-color:#0d0d0d;color:#fff;line-height:60px;min-height:60px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);text-align:center}.weui-gallery__opr navigator{color:#fff}.weui-gallery__del{display:block}.weui-gallery__info{color:#fff;font-size:17px;line-height:60px;min-height:60px;text-align:center}.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:14px;vertical-align:top;margin-top:.64em;height:1em;line-height:1em}.weui-icon-search_in-box{position:absolute;left:12px;top:50%;margin-top:-8px}.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}.weui-mask{background:rgba(0,0,0,.6)}.weui-mask,.weui-mask_transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}.weui-dialog__wrp{position:fixed;z-index:5000;top:16px;bottom:16px;left:16px;right:16px;text-align:center;font-size:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.weui-dialog__wrp .weui-dialog{max-height:100%}.weui-dialog{background-color:#fff;text-align:center;border-radius:12px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;max-height:90%}.weui-dialog__hd{padding:32px 24px 16px}.weui-dialog__title{font-weight:700;font-size:17px;line-height:1.4}.weui-dialog__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 24px;margin-bottom:32px;min-height:40px;font-size:17px;line-height:1.4;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;color:rgba(0,0,0,.5)}.weui-dialog__bd:first-child{padding:32px 24px 0;font-weight:700;color:rgba(0,0,0,.9);-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.weui-dialog__bd:first-child,.weui-dialog__ft{display:-webkit-box;display:-webkit-flex;display:flex}.weui-dialog__ft{position:relative;line-height:64px;min-height:64px;font-size:17px}.weui-dialog__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-dialog__btn{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#576b95;font-weight:700;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.weui-dialog__btn:active{background-color:#ececec}.weui-dialog__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-dialog__btn:first-child:after{display:none}.weui-dialog__btn_default{color:rgba(0,0,0,.9)}@media screen and (min-width:352px){.weui-dialog{width:320px;margin:0 auto}}.weui-half-screen-dialog{position:fixed;left:0;right:0;bottom:0;max-height:75%;z-index:5000;line-height:1.4;background-color:#fff;border-top-left-radius:12px;border-top-right-radius:12px;overflow:hidden;padding:0 24px;padding:0 calc(24px + constant(safe-area-inset-right)) constant(safe-area-inset-bottom) calc(24px + constant(safe-area-inset-left));padding:0 calc(24px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(24px + env(safe-area-inset-left))}.weui-half-screen-dialog__hd{font-size:8px;height:8em;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-half-screen-dialog__hd .weui-icon-btn{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.weui-half-screen-dialog__hd__side{position:relative;left:-8px}.weui-half-screen-dialog__hd__main{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-half-screen-dialog__hd__side+.weui-half-screen-dialog__hd__main{text-align:center;padding:0 40px}.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side{right:-8px;left:auto}.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side .weui-icon-btn{right:0}.weui-half-screen-dialog__title{display:block;color:rgba(0,0,0,.9);font-weight:700;font-size:15px}.weui-half-screen-dialog__subtitle{display:block;color:rgba(0,0,0,.5);font-size:10px}.weui-half-screen-dialog__bd{word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-y:auto}.weui-half-screen-dialog__desc{padding-top:4px;font-size:17px;font-weight:700;color:rgba(0,0,0,.9);line-height:1.4}.weui-half-screen-dialog__tips{padding-top:16px;font-size:14px;color:rgba(0,0,0,.3);line-height:1.4}.weui-half-screen-dialog__ft{padding:40px 24px 32px;text-align:center}.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2),.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2)+.weui-btn{display:inline-block;vertical-align:top;margin:0 8px;width:120px}.weui-icon-btn{background-color:transparent;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;border:0;outline:0;font-size:0}.weui-icon-btn_goback{width:12px;height:24px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' d='M-16-8c0-6.627 5.367-12 12-12h390c6.628 0 12 5.374 12 12v52H-16V-8z'/%3E%3Cpath fill='%23000' fill-opacity='.9' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/g%3E%3C/svg%3E")}.weui-icon-btn_close{width:24px;height:24px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cpath id='a' d='M8 6.943L1.807.75.75 1.807 6.943 8 .75 14.193l1.057 1.057L8 9.057l6.193 6.193 1.057-1.057L9.057 8l6.193-6.193L14.193.75z'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd' transform='translate(-16 -20)'%3E%3Cpath fill='%23FFF' d='M0 12C0 5.373 5.367 0 12 0h390c6.628 0 12 5.374 12 12v52H0V12z'/%3E%3Cuse fill='%23000' fill-opacity='.9' transform='translate(20 24)' xlink:href='%23a'/%3E%3C/g%3E%3C/svg%3E")}.weui-icon-btn_more{width:24px;height:24px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' d='M-374-8c0-6.627 5.367-12 12-12H28c6.628 0 12 5.374 12 12v52h-414V-8z'/%3E%3Cpath fill='%23000' fill-opacity='.9' d='M6.75 12a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0zM12 10.25a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5z'/%3E%3C/g%3E%3C/svg%3E")}.weui-toptips{position:fixed;-webkit-transform:translateZ(0) translateY(-108%);transform:translateZ(0) translateY(-108%);text-align:center;top:8px;left:16px;right:16px;border-radius:4px;padding:8px;-webkit-border-radius:4px;color:hsla(0,0%,100%,.9);font-size:17px;line-height:1.4;background:rgba(250,81,81,.9);z-index:5000;word-wrap:break-word;word-break:break-all;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_warn{background-color:#fa5151}.weui-toptips_success{background-color:#09bb07}.weui-toptips_error{background-color:#fa5151}.weui-toptips_info{background-color:#10aeff}page{--height:44px;--right:190rpx}.weui-navigation-bar{overflow:hidden}.weui-navigation-bar .android{--height:48px;--right:222rpx}.weui-navigation-bar__inner{position:fixed;top:0;left:0;z-index:5001;height:var(--height);padding-right:var(--right);width:calc(100% - var(--right))}.weui-navigation-bar__inner,.weui-navigation-bar__inner .weui-navigation-bar__left{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-navigation-bar__inner .weui-navigation-bar__left{position:relative;width:var(--right);padding-left:16px;-webkit-box-pack:center}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn{display:inline-block;vertical-align:middle;background-repeat:no-repeat}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback{font-size:12px;width:1em;height:2em;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E");background-position:50% 50%;background-size:cover}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback:active{opacity:.5}.weui-navigation-bar__inner .weui-navigation-bar__center{font-size:17px;text-align:center;position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.weui-navigation-bar__inner .weui-navigation-bar__loading{font-size:0}.weui-navigation-bar__inner .weui-navigation-bar__loading .weui-loading{margin-left:0}.weui-navigation-bar__inner .weui-navigation-bar__right{margin-right:16px}.weui-navigation-bar__placeholder{height:var(--height);background:#f8f8f8;position:relative;z-index:50} \ 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 old mode 100644 new mode 100755 index 22edb23e..257de88a --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 30cf1504..721cbde0 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 100755 index 00000000..b81d51c9 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_cell.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..58af4cf8 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_default.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..920177eb --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_disabled.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..222835ba --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_global.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..9cda0395 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_loading.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..2228ef71 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_plain.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..3e584575 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_primary.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 100755 index 00000000..a7625954 --- /dev/null +++ b/dist/style/widget/weui-button/weui-btn_warn.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 old mode 100644 new mode 100755 index e6fa9935..2a46c4b6 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 +.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} \ 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 old mode 100644 new mode 100755 index e797ca20..e1a60b1c --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 652bc1dc..c5e8ea18 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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)}.weui-cell_label-block,.weui-cell_wxss.weui-cell_wxss:before{display:block}.weui-cell_label-block .weui-label{width:auto;word-break:normal;-webkit-hyphens:auto;hyphens:auto} \ 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 old mode 100644 new mode 100755 index 5c3de674..70ad8aef --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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-cells_checkbox .weui-check__label:before{left:55px}.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 old mode 100644 new mode 100755 index 0c0b93c3..116b12b2 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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-toptips{position:fixed;-webkit-transform:translateZ(0) translateY(-108%);transform:translateZ(0) translateY(-108%);text-align:center;top:8px;left:16px;right:16px;border-radius:4px;padding:8px;-webkit-border-radius:4px;color:hsla(0,0%,100%,.9);font-size:17px;line-height:1.4;background:rgba(250,81,81,.9);z-index:5000;word-wrap:break-word;word-break:break-all;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_warn{background-color:#fa5151}.weui-toptips_success{background-color:#09bb07}.weui-toptips_error{background-color:#fa5151}.weui-toptips_info{background-color:#10aeff}.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:1.41176471em;min-height:1.41176471em;line-height:1.41176471}.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:56px;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;font-weight:700;font-size:17px}.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,.9)}.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-top:0;padding-right:0;padding-bottom: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 old mode 100644 new mode 100755 index c1d78a6c..27d82413 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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:56px;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;font-weight:700;font-size:17px}.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,.9)}.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 old mode 100644 new mode 100755 index cbc4386b..277f3ba2 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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-toptips{position:fixed;-webkit-transform:translateZ(0) translateY(-108%);transform:translateZ(0) translateY(-108%);text-align:center;top:8px;left:16px;right:16px;border-radius:4px;padding:8px;-webkit-border-radius:4px;color:hsla(0,0%,100%,.9);font-size:17px;line-height:1.4;background:rgba(250,81,81,.9);z-index:5000;word-wrap:break-word;word-break:break-all;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_warn{background-color:#fa5151}.weui-toptips_success{background-color:#09bb07}.weui-toptips_error{background-color:#fa5151}.weui-toptips_info{background-color:#10aeff}.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:1.41176471em;min-height:1.41176471em;line-height:1.41176471}.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 old mode 100644 new mode 100755 index 7b12b152..1fd49e66 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 0d3560ea..ee54a970 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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-top:0;padding-right:0;padding-bottom: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 old mode 100644 new mode 100755 index 0b142617..8b676e18 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index d20ba247..6d5e5643 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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{padding-bottom:16px}.weui-uploader__overview{display:-webkit-box;display:-webkit-flex;display:flex;-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__tips{color:rgba(0,0,0,.3);font-size:14px;line-height:1.4;padding-top:4px}.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 old mode 100644 new mode 100755 index a26a647b..272ce01e --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 17435071..89c7e328 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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:16px;bottom:calc(16px + constant(safe-area-inset-bottom));bottom:calc(16px + env(safe-area-inset-bottom));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 old mode 100644 new mode 100755 index 7ecb4061..16444b60 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 100755 index 00000000..e6acecf2 --- /dev/null +++ b/dist/style/widget/weui-icon/weui-icon.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.0.0 (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 old mode 100644 new mode 100755 index 336d593a..9ddcdee8 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index ec93f2cb..442446b1 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 4163c30b..0cbffaa2 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 82e84e38..63e1c585 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 16px}.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 old mode 100644 new mode 100755 index 5b5b047d..0ff7b30f --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a46cf96e..9abb2d05 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index c3954ef6..eb030cda --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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:14px;vertical-align:top;margin-top:.64em;height:1em;line-height:1em}.weui-icon-search_in-box{position:absolute;left:12px;top:50%;margin-top:-8px}.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 old mode 100644 new mode 100755 index 16844435..bd41053c --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index 10a9cf7a..9261be6d --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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-tabbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:#f7f7f7}.weui-tabbar: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)}.weui-tabbar__item{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 0 4px;padding-bottom:calc(8px + constant(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom));font-size:0;color:rgba(0,0,0,.5);text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-tabbar__item:first-child{padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}.weui-tabbar__item:last-child{padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#07c160}.weui-tabbar__icon{display:inline-block;width:28px;height:28px;margin-bottom:2px}.weui-tabbar__icon>i,i.weui-tabbar__icon{font-size:24px;color:rgba(0,0,0,.5)}.weui-tabbar__icon image{width:100%;height:100%}.weui-tabbar__label{color:rgba(0,0,0,.9);font-size:10px;line-height:1.4}.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 old mode 100644 new mode 100755 index e30802c1..205adcbb --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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 old mode 100644 new mode 100755 index a86d27b9..d4635396 --- 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. + * WeUI v2.0.0 (https://github.com/weui/weui-wxss) + * 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/gulpfile.js b/gulpfile.js old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 index 06cdca21..e0cfd8f9 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "weui-wxss", - "version": "1.1.1", + "version": "2.0.0", "description": "weui-wxss", "main": "dist/style/weui.wxss", "directories": { @@ -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.js b/src/app.js old mode 100644 new mode 100755 diff --git a/src/app.json b/src/app.json old mode 100644 new mode 100755 index 9c340df8..d9ee00ab --- a/src/app.json +++ b/src/app.json @@ -4,6 +4,7 @@ "example/button/button", "example/list/list", + "example/slideview/slideview", "example/input/input", "example/slider/slider", "example/uploader/uploader", @@ -15,20 +16,24 @@ "example/gallery/gallery", "example/grid/grid", "example/icons/icons", + "example/loading/loading", "example/loadmore/loadmore", "example/panel/panel", "example/preview/preview", "example/progress/progress", "example/actionsheet/actionsheet", + "example/half-screen-dialog/half-screen-dialog", "example/dialog/dialog", "example/msg/msg", + "example/msg/msg_text", + "example/msg/msg_text_primary", "example/msg/msg_success", "example/msg/msg_fail", "example/picker/picker", "example/toast/toast", - "example/navbar/navbar", + "example/navigation-bar/navigation-bar", "example/tabbar/tabbar", "example/searchbar/searchbar" @@ -36,8 +41,8 @@ "window": { "navigationBarTextStyle": "black", "navigationBarTitleText": "WeUI for 小程序", - "navigationBarBackgroundColor": "#f8f8f8", - "backgroundColor": "#f8f8f8" + "navigationBarBackgroundColor": "#EDEDED", + "backgroundColor": "#EDEDED" }, "networkTimeout": { "request": 10000, @@ -45,5 +50,6 @@ "uploadFile": 10000, "downloadFile": 10000 }, + "style": "v2", "debug": true -} \ No newline at end of file +} diff --git a/src/app.wxss b/src/app.wxss old mode 100644 new mode 100755 index 47c06c3d..60d29e2b --- 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; } @@ -17,10 +17,13 @@ page{ } .page__ft{ - padding-bottom: 10px; text-align: center; + padding:0 0 10px; + padding:0 0 calc(10px + constant(safe-area-inset-bottom)); + padding:0 0 calc(10px + env(safe-area-inset-bottom)); } + .page__title { text-align: left; font-size: 20px; @@ -32,4 +35,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.js b/src/example/actionsheet/actionsheet.js old mode 100644 new mode 100755 diff --git a/src/example/actionsheet/actionsheet.wxml b/src/example/actionsheet/actionsheet.wxml old mode 100644 new mode 100755 index 8ea4e15f..0f4e01df --- 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/actionsheet/actionsheet.wxss b/src/example/actionsheet/actionsheet.wxss old mode 100644 new mode 100755 diff --git a/src/example/article/article.js b/src/example/article/article.js old mode 100644 new mode 100755 diff --git a/src/example/article/article.wxml b/src/example/article/article.wxml old mode 100644 new mode 100755 index 45169074..8520d1b1 --- 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/article/article.wxss b/src/example/article/article.wxss old mode 100644 new mode 100755 diff --git a/src/example/badge/badge.js b/src/example/badge/badge.js old mode 100644 new mode 100755 diff --git a/src/example/badge/badge.wxml b/src/example/badge/badge.wxml old mode 100644 new mode 100755 diff --git a/src/example/button/button.js b/src/example/button/button.js old mode 100644 new mode 100755 diff --git a/src/example/button/button.wxml b/src/example/button/button.wxml old mode 100644 new mode 100755 index 7a52ce23..d50c2e53 --- a/src/example/button/button.wxml +++ b/src/example/button/button.wxml @@ -4,25 +4,19 @@ 按钮,WeUI采用小程序原生的按钮为主体,加入一些间距的样式。 - - + + - - + + - - + + - - - - - - - \ No newline at end of file + diff --git a/src/example/button/button.wxss b/src/example/button/button.wxss old mode 100644 new mode 100755 index 5adb1f89..4eb07e51 --- 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/dialog/dialog.js b/src/example/dialog/dialog.js old mode 100644 new mode 100755 index 5459e874..f597169d --- a/src/example/dialog/dialog.js +++ b/src/example/dialog/dialog.js @@ -1,5 +1,8 @@ Page({ - openConfirm: function () { + data: { + showDialog: false + }, + openConfirm: function () { wx.showModal({ title: '弹窗标题', content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', @@ -15,15 +18,14 @@ Page({ } }); }, - openAlert: function () { - wx.showModal({ - content: '弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内', - showCancel: false, - success: function (res) { - if (res.confirm) { - console.log('用户点击确定') - } - } - }); + openDialog: function () { + this.setData({ + istrue: true + }) + }, + closeDialog: function () { + this.setData({ + istrue: false + }) } -}); \ No newline at end of file +}); diff --git a/src/example/dialog/dialog.wxml b/src/example/dialog/dialog.wxml old mode 100644 new mode 100755 index 44d95312..15ca9e7c --- a/src/example/dialog/dialog.wxml +++ b/src/example/dialog/dialog.wxml @@ -1,12 +1,29 @@ Dialog - 对话框,采用小程序原生的modal + 对话框 - - + + + + + + + + + 标题 + + + + + + 取消 + 确定 + + + - \ No newline at end of file + diff --git a/src/example/dialog/dialog.wxss b/src/example/dialog/dialog.wxss old mode 100644 new mode 100755 index 922ad0ef..e2ff0ef3 --- a/src/example/dialog/dialog.wxss +++ b/src/example/dialog/dialog.wxss @@ -1,3 +1,12 @@ page{ background-color: #FFFFFF; -} \ No newline at end of file +} +.weui-demo-dialog{ + visibility:hidden; + opacity:0; + transition:opacity .3s; +} +.weui-demo-dialog_show{ + visibility:visible; + opacity:1; +} diff --git a/src/example/flex/flex.js b/src/example/flex/flex.js old mode 100644 new mode 100755 diff --git a/src/example/flex/flex.wxml b/src/example/flex/flex.wxml old mode 100644 new mode 100755 diff --git a/src/example/flex/flex.wxss b/src/example/flex/flex.wxss old mode 100644 new mode 100755 index e4e6c541..90056973 --- 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/footer/footer.js b/src/example/footer/footer.js old mode 100644 new mode 100755 diff --git a/src/example/footer/footer.wxml b/src/example/footer/footer.wxml old mode 100644 new mode 100755 diff --git a/src/example/footer/footer.wxss b/src/example/footer/footer.wxss old mode 100644 new mode 100755 diff --git a/src/example/gallery/gallery.js b/src/example/gallery/gallery.js old mode 100644 new mode 100755 index f16cc1a8..0706d051 --- a/src/example/gallery/gallery.js +++ b/src/example/gallery/gallery.js @@ -1 +1,12 @@ -Page({}); \ No newline at end of file +Page({ + openGallery: function () { + this.setData({ + istrue: true + }) + }, + closeGallery: function () { + this.setData({ + istrue: false + }) + } +}); diff --git a/src/example/gallery/gallery.wxml b/src/example/gallery/gallery.wxml old mode 100644 new mode 100755 index 82deb5d6..92aaa808 --- a/src/example/gallery/gallery.wxml +++ b/src/example/gallery/gallery.wxml @@ -1,6 +1,20 @@ Gallery - 画廊,建议采用小程序原生的wx.previewImage来实现。详情请看小程序文档。 + 画廊,模拟小程序原生的wx.previewImage。 - \ No newline at end of file + + + + + + 1/17 + + + + + 删除 + + + + diff --git a/src/example/grid/grid.js b/src/example/grid/grid.js old mode 100644 new mode 100755 diff --git a/src/example/grid/grid.wxml b/src/example/grid/grid.wxml old mode 100644 new mode 100755 diff --git a/src/example/icons/icons.js b/src/example/icons/icons.js old mode 100644 new mode 100755 diff --git a/src/example/icons/icons.wxml b/src/example/icons/icons.wxml old mode 100644 new mode 100755 index 52a9a506..e5036fbe --- 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/icons/icons.wxss b/src/example/icons/icons.wxss old mode 100644 new mode 100755 diff --git a/src/example/images/base64.js b/src/example/images/base64.js old mode 100644 new mode 100755 diff --git a/src/example/images/icon_footer.png b/src/example/images/icon_footer.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_footer_link.png b/src/example/images/icon_footer_link.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_intro.png b/src/example/images/icon_intro.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_feedback.png b/src/example/images/icon_nav_feedback.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_form.png b/src/example/images/icon_nav_form.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_nav.png b/src/example/images/icon_nav_nav.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_search.png b/src/example/images/icon_nav_search.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_special.png b/src/example/images/icon_nav_special.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_widget.png b/src/example/images/icon_nav_widget.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_nav_z-index.png b/src/example/images/icon_nav_z-index.png old mode 100644 new mode 100755 diff --git a/src/example/images/icon_tabbar.png b/src/example/images/icon_tabbar.png old mode 100644 new mode 100755 diff --git a/src/example/images/logo.png b/src/example/images/logo.png old mode 100644 new mode 100755 diff --git a/src/example/images/pic_160.png b/src/example/images/pic_160.png old mode 100644 new mode 100755 diff --git a/src/example/images/pic_article.png b/src/example/images/pic_article.png old mode 100644 new mode 100755 diff --git a/src/example/images/vcode.jpg b/src/example/images/vcode.jpg old mode 100644 new mode 100755 diff --git a/src/example/index.js b/src/example/index.js old mode 100644 new mode 100755 index aee218e7..7a0f0d7c --- a/src/example/index.js +++ b/src/example/index.js @@ -5,25 +5,25 @@ Page({ id: 'form', name: '表单', open: false, - pages: ['button', 'list', 'input', 'slider', 'uploader'] + pages: ['button', 'list', 'slideview', 'input', 'slider', 'uploader'] }, { id: 'widget', name: '基础组件', open: false, - pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loadmore', 'panel', 'preview', 'progress'] + pages: ['article', 'badge', 'flex', 'footer', 'gallery', 'grid', 'icons', 'loading', 'loadmore', 'panel', 'preview', 'progress'] }, { id: 'feedback', name: '操作反馈', open: false, - pages: ['actionsheet', 'dialog', 'msg', 'picker', 'toast'] + pages: ['actionsheet', 'dialog', 'half-screen-dialog', 'msg', 'picker', 'toast'] }, { id: 'nav', name: '导航相关', open: false, - pages: ['navbar', 'tabbar'] + pages: ['navigation-bar', 'tabbar'] }, { id: 'search', diff --git a/src/example/index.wxml b/src/example/index.wxml old mode 100644 new mode 100755 diff --git a/src/example/index.wxss b/src/example/index.wxss old mode 100644 new mode 100755 diff --git a/src/example/input/input.js b/src/example/input/input.js old mode 100644 new mode 100755 diff --git a/src/example/input/input.wxml b/src/example/input/input.wxml old mode 100644 new mode 100755 index 7669d1f5..4ebc9413 --- a/src/example/input/input.wxml +++ b/src/example/input/input.wxml @@ -24,7 +24,7 @@ 复选列表项 - + @@ -16,4 +15,4 @@ - \ No newline at end of file + diff --git a/src/example/navbar/navbar.wxss b/src/example/navbar/navbar.wxss old mode 100644 new mode 100755 diff --git a/src/example/panel/panel.js b/src/example/panel/panel.js old mode 100644 new mode 100755 diff --git a/src/example/panel/panel.wxml b/src/example/panel/panel.wxml old mode 100644 new mode 100755 index 2b15acb4..62af872f --- 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.js b/src/example/picker/picker.js old mode 100644 new mode 100755 diff --git a/src/example/picker/picker.wxml b/src/example/picker/picker.wxml old mode 100644 new mode 100755 index f3f20fcb..944faa6a --- 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 old mode 100644 new mode 100755 index 922ad0ef..9ae7893c --- 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/preview/preview.js b/src/example/preview/preview.js old mode 100644 new mode 100755 diff --git a/src/example/preview/preview.wxml b/src/example/preview/preview.wxml old mode 100644 new mode 100755 diff --git a/src/example/preview/preview.wxss b/src/example/preview/preview.wxss old mode 100644 new mode 100755 diff --git a/src/example/progress/progress.js b/src/example/progress/progress.js old mode 100644 new mode 100755 diff --git a/src/example/progress/progress.wxml b/src/example/progress/progress.wxml old mode 100644 new mode 100755 diff --git a/src/example/progress/progress.wxss b/src/example/progress/progress.wxss old mode 100644 new mode 100755 index 56ed11de..3262b009 --- 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.js b/src/example/searchbar/searchbar.js old mode 100644 new mode 100755 diff --git a/src/example/searchbar/searchbar.wxml b/src/example/searchbar/searchbar.wxml old mode 100644 new mode 100755 index da15a052..ea09d105 --- a/src/example/searchbar/searchbar.wxml +++ b/src/example/searchbar/searchbar.wxml @@ -43,4 +43,4 @@ - \ No newline at end of file + diff --git a/src/example/searchbar/searchbar.wxss b/src/example/searchbar/searchbar.wxss old mode 100644 new mode 100755 index 4083ba64..19075075 --- 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/example/slider/slider.js b/src/example/slider/slider.js old mode 100644 new mode 100755 diff --git a/src/example/slider/slider.wxml b/src/example/slider/slider.wxml old mode 100644 new mode 100755 diff --git a/src/example/slider/slider.wxss b/src/example/slider/slider.wxss old mode 100644 new mode 100755 diff --git a/src/example/tabbar/tabbar.js b/src/example/tabbar/tabbar.js old mode 100644 new mode 100755 diff --git a/src/example/tabbar/tabbar.wxml b/src/example/tabbar/tabbar.wxml old mode 100644 new mode 100755 index 2763cb5a..ba450978 --- a/src/example/tabbar/tabbar.wxml +++ b/src/example/tabbar/tabbar.wxml @@ -3,4 +3,21 @@ Tabbar 底部导航,建议采用小程序原生的tabbar,通过设置app.json来实现。详情请看小程序文档。 - \ No newline at end of file + + + + + + + 标题 + + + + + + + 标题 + + + + diff --git a/src/example/toast/toast.js b/src/example/toast/toast.js old mode 100644 new mode 100755 diff --git a/src/example/toast/toast.wxml b/src/example/toast/toast.wxml old mode 100644 new mode 100755 diff --git a/src/example/toast/toast.wxss b/src/example/toast/toast.wxss old mode 100644 new mode 100755 diff --git a/src/example/uploader/uploader.js b/src/example/uploader/uploader.js old mode 100644 new mode 100755 diff --git a/src/example/uploader/uploader.wxml b/src/example/uploader/uploader.wxml old mode 100644 new mode 100755 index cfd91da5..cd81f98f --- a/src/example/uploader/uploader.wxml +++ b/src/example/uploader/uploader.wxml @@ -9,8 +9,13 @@ - 图片上传 - {{files.length}}/2 + + 图片上传 + {{files.length}}/2 + + + 上传提示 + @@ -25,8 +30,11 @@ - + + + + @@ -48,4 +56,4 @@ - \ No newline at end of file + diff --git a/src/style/base/fn.wxss b/src/style/base/fn.wxss old mode 100644 new mode 100755 index fcd2a806..c9ae592e --- 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,5 @@ @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"; +@import "variable/weui-tab.wxss"; diff --git a/src/style/base/mixin/mobile.wxss b/src/style/base/mixin/mobile.wxss new file mode 100755 index 00000000..bf2f6191 --- /dev/null +++ b/src/style/base/mixin/mobile.wxss @@ -0,0 +1,23 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +.setTapColor(@c:rgba(0,0,0,0)) { + -webkit-tap-highlight-color: @c; +} diff --git a/src/style/base/mixin/setArrow.wxss b/src/style/base/mixin/setArrow.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/mixin/setOnepx.wxss b/src/style/base/mixin/setOnepx.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/mixin/text.wxss b/src/style/base/mixin/text.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/reset.wxss b/src/style/base/reset.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/variable/color.wxss b/src/style/base/variable/color.wxss old mode 100644 new mode 100755 index 06c908c9..fa54e80b --- 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/global.wxss b/src/style/base/variable/global.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/variable/weui-button.wxss b/src/style/base/variable/weui-button.wxss old mode 100644 new mode 100755 index 9ef0f60c..bd62a468 --- 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 old mode 100644 new mode 100755 index 2e13a322..a07384b0 --- 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); +@weuiCellLineHeight: unit((@weuiCellHeight - 2 * @weuiCellGapV) / @weuiCellFontSize); // 高度减去上下padding的行高 +@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 old mode 100644 new mode 100755 index d3ce922d..077a64df --- 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; -@weuiDialogGapWidth: 1.6em; +@weuiDialogLineColor: rgba(0,0,0,.1); +@weuiDialogLinkColor: @weuiLinkColorDefault; +@weuiDialogLinkActiveBc: @weuiBgColorActive; +@weuiDialogGapWidth: 24px; diff --git a/src/style/base/variable/weui-grid.wxss b/src/style/base/variable/weui-grid.wxss old mode 100644 new mode 100755 index b025de81..7d5a884a --- 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/base/variable/weui-msg.wxss b/src/style/base/variable/weui-msg.wxss old mode 100644 new mode 100755 diff --git a/src/style/base/variable/weui-progress.wxss b/src/style/base/variable/weui-progress.wxss old mode 100644 new mode 100755 diff --git a/src/style/weui.wxss b/src/style/weui.wxss old mode 100644 new mode 100755 index 975a5c44..9ffccb12 --- a/src/style/weui.wxss +++ b/src/style/weui.wxss @@ -41,9 +41,10 @@ @import "./widget/weui-grid/weui-grid.wxss"; @import "./widget/weui-loading/weui-loading.wxss"; +@import "./widget/weui-loading/weui-dot-loading.wxss"; +@import "./widget/weui-tips/weui-loadmore.wxss"; @import "./widget/weui-tips/weui-badge.wxss"; -@import "./widget/weui-tips/weui-loadmore.wxss"; @import "./widget/weui-panel/weui-panel.wxss"; @@ -52,5 +53,15 @@ @import "./widget/weui-progress/weui-progress.wxss"; @import "./widget/weui-tab/weui-tab.wxss"; +@import "./widget/weui-cell/weui-slideview.wxss"; +@import "./widget/weui-cell/weui-gallery.wxss"; + +@import "./widget/weui-searchbar/weui-searchbar.wxss"; + +@import "./widget/weui-icon/weui-icon.wxss"; -@import "./widget/weui-searchbar/weui-searchbar.wxss"; \ No newline at end of file +@import "./widget/weui-tips/weui-mask.wxss"; +@import "./widget/weui-tips/weui-dialog.wxss"; +@import "./widget/weui-tips/weui-half-screen-dialog.wxss"; +@import "./widget/weui-tips/weui-toptips.wxss"; +@import "./widget/weui-navigation-bar/weui-navigation-bar.wxss"; diff --git a/src/style/widget/weui-agree/weui-agree.wxss b/src/style/widget/weui-agree/weui-agree.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-animate/weui-animate.wxss b/src/style/widget/weui-animate/weui-animate.wxss old mode 100644 new mode 100755 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 100755 index 00000000..cbb090ac --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_cell.wxss @@ -0,0 +1,63 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_cell{ + position: relative; + display: block; + margin-left: auto; + margin-right: auto; + box-sizing: border-box; + font-weight:700; + font-size: @weuiBtnFontSize; + text-align: center; + text-decoration: none; + color: @weuiBtnFontColor; + line-height: @weuiBtnCellLineHeight; + padding:@weuiBtnCellGap; + .setTapColor(); + overflow: hidden; + background-color:#FFFFFF; + & + &{ + margin-top:@weuiBtnDefaultGap; + } + &:active{ + background-color:@weuiBgColorActive; + } +} +.weui-btn_cell__icon{ + display:inline-block; + vertical-align:middle; + width:24px; + height:24px; + margin:-.2em .34em 0 0; +} +.weui-btn_cell-default{ + color:rgba(0,0,0,.9); +} +.weui-btn_cell-primary{ + color:@weuiLinkColorDefault; +} +.weui-btn_cell-warn{ + color:@weuiColorWarn; +} + + diff --git a/src/style/widget/weui-button/weui-btn_default.wxss b/src/style/widget/weui-button/weui-btn_default.wxss new file mode 100755 index 00000000..d08b219d --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_default.wxss @@ -0,0 +1,33 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_default { + color: @weuiBtnDefaultFontColor; + background-color: @weuiBtnDefaultBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnDefaultFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnDefaultActiveFontColor; + background-color: @weuiBtnDefaultActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_disabled.wxss b/src/style/widget/weui-button/weui-btn_disabled.wxss new file mode 100755 index 00000000..3fa17ea1 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_disabled.wxss @@ -0,0 +1,26 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_disabled { + color: @weuiBtnDisabledFontColor; + background-color: @weuiBtnDisabledBg; +} diff --git a/src/style/widget/weui-button/weui-btn_global.wxss b/src/style/widget/weui-button/weui-btn_global.wxss new file mode 100755 index 00000000..63a49939 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_global.wxss @@ -0,0 +1,46 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn { + position: relative; + display: block; + width:@weuiBtnWidth; + margin-left: auto; + margin-right: auto; + padding:8px 24px; + box-sizing: border-box; + font-weight:700; + font-size: @weuiBtnFontSize; + text-align: center; + text-decoration: none; + color: @weuiBtnFontColor; + line-height: unit((@weuiBtnHeight - 16) / @weuiBtnFontSize); + border-radius: @weuiBtnBorderRadius; + .setTapColor(); + overflow: hidden; +} +.weui-btn_block { + width:auto; +} +.weui-btn_inline { + display: inline-block; +} diff --git a/src/style/widget/weui-button/weui-btn_loading.wxss b/src/style/widget/weui-button/weui-btn_loading.wxss new file mode 100755 index 00000000..3c4a93ff --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_loading.wxss @@ -0,0 +1,39 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_loading{ + .weui-loading{ + margin:-.2em .34em 0 0; + } + &.weui-btn_primary { + color: #FFFFFF; + } + &.weui-btn_default{ + background-color: @weuiBtnDefaultActiveBg; + } + &.weui-btn_primary{ + background-color: @weuiBtnPrimaryActiveBg; + } + &.weui-btn_warn{ + background-color: @weuiBtnWarnActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_plain.wxss b/src/style/widget/weui-button/weui-btn_plain.wxss new file mode 100755 index 00000000..3be548b2 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_plain.wxss @@ -0,0 +1,51 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_plain-primary { + color: @weuiBtnPlainPrimaryColor; + border: 1px solid @weuiBtnPlainPrimaryBorderColor; + &:not(.weui-btn_plain-disabled):active { + color:@weuiBtnPlainPrimaryActiveColor; + border-color: @weuiBtnPlainPrimaryActiveBorderColor; + background-color:rgba(0,0,0,.1); + } + &:after { + border-width: 0; + } +} + +.weui-btn_plain-default { + color: @weuiBtnPlainDefaultColor; + border: 1px solid @weuiBtnPlainDefaultBorderColor; + &:not(.weui-btn_plain-disabled):active { + color:@weuiBtnPlainDefaultActiveColor; + border-color: @weuiBtnPlainDefaultActiveBorderColor; + background-color:rgba(0,0,0,.1); + } + &:after { + border-width: 0; + } +} +.weui-btn_plain-disabled{ + color:rgba(0,0,0,.2); + border-color:rgba(0,0,0,.2); +} diff --git a/src/style/widget/weui-button/weui-btn_primary.wxss b/src/style/widget/weui-button/weui-btn_primary.wxss new file mode 100755 index 00000000..5b4f6500 --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_primary.wxss @@ -0,0 +1,32 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_primary { + background-color: @weuiBtnPrimaryBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnPrimaryFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnPrimaryActiveFontColor; + background-color: @weuiBtnPrimaryActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-btn_warn.wxss b/src/style/widget/weui-button/weui-btn_warn.wxss new file mode 100755 index 00000000..12b9b36c --- /dev/null +++ b/src/style/widget/weui-button/weui-btn_warn.wxss @@ -0,0 +1,33 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +.weui-btn_warn { + color:@weuiBtnWarnFontColor; + background-color: @weuiBtnWarnBg; + &:not(.weui-btn_disabled):visited { + color: @weuiBtnWarnFontColor; + } + &:not(.weui-btn_disabled):active { + color: @weuiBtnWarnActiveFontColor; + background-color:@weuiBtnWarnActiveBg; + } +} diff --git a/src/style/widget/weui-button/weui-button.wxss b/src/style/widget/weui-button/weui-button.wxss old mode 100644 new mode 100755 index 19c3edda..cc5fa3fa --- a/src/style/widget/weui-button/weui-button.wxss +++ b/src/style/widget/weui-button/weui-button.wxss @@ -20,12 +20,32 @@ @import "../../base/fn.wxss"; -.weui-btn{ + +/*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 + + diff --git a/src/style/widget/weui-cell/weui-access.wxss b/src/style/widget/weui-cell/weui-access.wxss old mode 100644 new mode 100755 index 34fd370c..1ab5fc98 --- 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 old mode 100644 new mode 100755 index e289e455..403a5af9 --- 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,18 @@ } .weui-cell__ft { text-align: right; - color: @weuiTextColorGray; -} \ No newline at end of file + color: @weuiTextColorDesc; +} + +.weui-cell_wxss{ + &&:before{display:block;} +} +.weui-cell_label-block{ + display:block; + .weui-label{ + width:auto; + word-break:initial; + -webkit-hyphens:auto; + hyphens:auto; + } +} diff --git a/src/style/widget/weui-cell/weui-check.wxss b/src/style/widget/weui-cell/weui-check.wxss old mode 100644 new mode 100755 index 9eacfa58..593a3205 --- a/src/style/widget/weui-cell/weui-check.wxss +++ b/src/style/widget/weui-cell/weui-check.wxss @@ -20,17 +20,15 @@ @import "../../base/fn.wxss"; -// icon -.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-cells_checkbox{ + .weui-check__label{ + &:before{ + left:55px; + } + } } +// icon .weui-check__label{ &:active{ background-color: @weuiCellActiveBg; @@ -45,4 +43,4 @@ } .weui-cell__ft_in-radio{ padding-left: @weuiCellInnerGapH; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-cell/weui-form.wxss b/src/style/widget/weui-cell/weui-form.wxss old mode 100644 new mode 100755 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 old mode 100644 new mode 100755 index 28c04f4d..7cbee752 --- a/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss +++ b/src/style/widget/weui-cell/weui-form/weui-form-preview.wxss @@ -55,7 +55,7 @@ } .weui-form-preview__ft{ position: relative; - line-height: 50px; + line-height: 56px; display: flex; &:after { .setTopLine(@weuiDialogLineColor); @@ -84,6 +84,8 @@ flex: 1; color: @weuiDialogLinkColor; text-align: center; + font-weight:700; + font-size:17px; &:after { .setLeftLine(@weuiDialogLineColor); } @@ -97,8 +99,8 @@ background-color: @weuiDialogLinkActiveBc; } .weui-form-preview__btn_default { - color: @weuiTextColorGray; + color: @weuiTextColorTitle; } .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-form_common.wxss b/src/style/widget/weui-cell/weui-form/weui-form_common.wxss old mode 100644 new mode 100755 index 0308ffa3..50c703eb --- a/src/style/widget/weui-cell/weui-form/weui-form_common.wxss +++ b/src/style/widget/weui-cell/weui-form/weui-form_common.wxss @@ -19,6 +19,7 @@ */ @import "../../../base/fn.wxss"; +@import "../../weui-tips/weui-toptips.wxss"; .weui-cell_input{ padding-top: 0; @@ -29,26 +30,9 @@ .text_wrap(); } .weui-input{ - height: @weuiCellHeightEm; - min-height: @weuiCellHeightEm; - line-height: @weuiCellHeightEm; -} -.weui-toptips{ - //display: none; // 通过 wx:if 来控制 - position: fixed; - transform: translateZ(0); - top: 0; - left: 0; - right: 0; - padding: 5px; - font-size: 14px; - text-align: center; - color: #FFFFFF; - z-index: 5000; - .text_wrap(); -} -.weui-toptips_warn{ - background-color: @weuiColorWarn; + height: unit(@weuiCellLineHeight,em); + min-height: unit(@weuiCellLineHeight,em); + line-height: @weuiCellLineHeight; } .weui-textarea{ display: block; @@ -63,4 +47,4 @@ } .weui-cell_warn{ color: @weuiTextColorWarn; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-cell/weui-form/weui-select.wxss b/src/style/widget/weui-cell/weui-form/weui-select.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-cell/weui-form/weui-vcode.wxss b/src/style/widget/weui-cell/weui-form/weui-vcode.wxss old mode 100644 new mode 100755 index 1b451f6e..713dd1ed --- a/src/style/widget/weui-cell/weui-form/weui-vcode.wxss +++ b/src/style/widget/weui-cell/weui-form/weui-vcode.wxss @@ -21,7 +21,9 @@ @import "../../../base/fn.wxss"; .weui-cell_vcode { - padding-right: 0; + padding-top: 0; + padding-right: 0; + padding-bottom: 0; } .weui-vcode-img{ margin-left: 5px; @@ -33,13 +35,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-switch.wxss b/src/style/widget/weui-cell/weui-switch.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-cell/weui-uploader.wxss b/src/style/widget/weui-cell/weui-uploader.wxss old mode 100644 new mode 100755 index d5caafe7..de1125eb --- a/src/style/widget/weui-cell/weui-uploader.wxss +++ b/src/style/widget/weui-cell/weui-uploader.wxss @@ -22,13 +22,22 @@ .weui-uploader{} .weui-uploader__hd{ - display: flex; padding-bottom: @weuiCellGapV; + padding-bottom: 16px; +} +.weui-uploader__overview{ + display: flex; align-items: center; } .weui-uploader__title{ flex: 1; } +.weui-uploader__tips{ + color: @weuiTextColorTips; + font-size:14px; + line-height:1.4; + padding-top:4px; +} .weui-uploader__info{ color: @weuiTextColorTips; } @@ -71,9 +80,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 +94,10 @@ } &:before{ width: @weuiUploaderBorderWidth + 1; - height: @weuiUploaderSize / 2; + height: @weuiUploaderSize / 3; } &:after{ - width: @weuiUploaderSize / 2; + width: @weuiUploaderSize / 3; height: @weuiUploaderBorderWidth + 1; } &:active{ @@ -105,4 +115,4 @@ width: 100%; height: 100%; opacity: 0; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-flex/weui-flex.wxss b/src/style/widget/weui-flex/weui-flex.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-footer/weui-footer.wxss b/src/style/widget/weui-footer/weui-footer.wxss old mode 100644 new mode 100755 index f536c954..3fa16d69 --- a/src/style/widget/weui-footer/weui-footer.wxss +++ b/src/style/widget/weui-footer/weui-footer.wxss @@ -21,13 +21,16 @@ @import "../../base/fn.wxss"; .weui-footer { - color: @weuiTextColorGray; + color: @weuiTextColorTips; font-size: 14px; + line-height:1.4; text-align: center; } .weui-footer_fixed-bottom{ position: fixed; - bottom: .52em; + bottom: 16px; + bottom: calc(16px ~"+ constant(safe-area-inset-bottom)"); + bottom: calc(16px ~"+ env(safe-area-inset-bottom)"); left: 0; right: 0; } @@ -37,13 +40,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 +59,4 @@ .weui-footer__text{ padding: 0 .34em; font-size: 12px; -} \ No newline at end of file +} diff --git a/src/style/widget/weui-grid/weui-grid.wxss b/src/style/widget/weui-grid/weui-grid.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-icon/weui-icon.wxss b/src/style/widget/weui-icon/weui-icon.wxss new file mode 100755 index 00000000..1a75d58b --- /dev/null +++ b/src/style/widget/weui-icon/weui-icon.wxss @@ -0,0 +1,23 @@ +/** +* Tencent is pleased to support the open source community by making +* WeUI-WXSS available. +* +* Copyright (C) 2017 THL A29 Limited, a Tencent company. +* All rights reserved. +* +* Licensed under the MIT License (the "License"); you may not use +* this file except in compliance with the License. You may obtain a copy of +* the License at +* +* http://opensource.org/licenses/MIT +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +@import "../../base/fn.wxss"; + +icon[type="success"]:before,icon[type="success"]:after{color:@weuiColorPrimary !important;} diff --git a/src/style/widget/weui-loading/weui-loading.wxss b/src/style/widget/weui-loading/weui-loading.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-media-box/weui-media-box.wxss b/src/style/widget/weui-media-box/weui-media-box.wxss old mode 100644 new mode 100755 index 0320cc60..4a9123ee --- 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 old mode 100644 new mode 100755 index 598e7672..deb606d7 --- 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 old mode 100644 new mode 100755 index 965c74fa..e0f2923c --- 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 16px;} +.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 old mode 100644 new mode 100755 index 0f4d9119..a662c528 --- 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-progress/weui-progress.wxss b/src/style/widget/weui-progress/weui-progress.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-searchbar/weui-searchbar.wxss b/src/style/widget/weui-searchbar/weui-searchbar.wxss old mode 100644 new mode 100755 index acddcc53..383d4c7e --- a/src/style/widget/weui-searchbar/weui-searchbar.wxss +++ b/src/style/widget/weui-searchbar/weui-searchbar.wxss @@ -20,42 +20,46 @@ @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:14px; + vertical-align:top; + margin-top:.64em; + height:1em; + line-height:1em; } .weui-icon-search_in-box { position: absolute; - left: 10px; - top: 7px; + left: 12px; + top: 50%; + margin-top:-8px; } .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 +68,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 +93,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 old mode 100644 new mode 100755 index 3ced04d2..0458246a --- 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 old mode 100644 new mode 100755 index f344fd9f..45191266 --- a/src/style/widget/weui-tab/weui-tab.wxss +++ b/src/style/widget/weui-tab/weui-tab.wxss @@ -20,16 +20,18 @@ @import "../../base/fn.wxss"; @import "weui-navbar.wxss"; +@import "weui-tabbar.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-badge.wxss b/src/style/widget/weui-tips/weui-badge.wxss old mode 100644 new mode 100755 diff --git a/src/style/widget/weui-tips/weui-loadmore.wxss b/src/style/widget/weui-tips/weui-loadmore.wxss old mode 100644 new mode 100755 index 72c49a3b..91576411 --- 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 +}