Skip to content

Commit

Permalink
feat: weui-wxss v2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Mar 23, 2021
1 parent dbb8026 commit 824bc0e
Show file tree
Hide file tree
Showing 282 changed files with 810 additions and 764 deletions.
26 changes: 14 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
### v2.4.4 (2021-03-23)

#### Features
* feat: 升级半屏弹窗组件UI
* feat: 升级msg组件UI

#### Bugfixes
* fix: 修复半屏弹窗单个按钮的布局问题
* fix: 修复actionsheet组件取消按钮字体颜色问题
* fix: 调整上传组件边距



### v2.4.3 (2021-02-01)

#### Features
Expand All @@ -7,9 +20,7 @@
* feat: 表单状态新增当前位置报错场景
* feat: 表单组件新增跳转列表项
* feat: 新增链接点击态色值变量
* feat: 更新License年份
* feat: 提供rpx版本,rpx版本样式库目录为`weui-wxss/dist-rpx-mode`

* feat: 更新License年份 & 提供rpx版本

#### Bugfixes
* fix: 修复Input组件placeholde字体颜色
Expand All @@ -20,22 +31,13 @@
### v2.4.2 (2020-11-25)

#### Bugfixes
* fix: 回退version版本到2.4.1
* fix: 把weui和weui-wxss的changelog对齐现网版本
* fix: 修复picker组件darkmode下的背景色适配问题
* fix: 修复toast组件的旧版loading图标大小
* fix: 修复msg组件英文文本词间断行问题



### v2.4.2 (2020-11-25)

#### Bugfixes
* fix: 修复picker组件darkmode下的背景色适配问题
* fix: 修复toast组件的旧版loading图标大小
* fix: 修复msg组件英文文本词间断行问题


### v2.4.1 (2020-11-05)

#### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WeUI for 小程序 为微信小程序量身设计
- 样式文件可直接引用`dist/style/weui.wxss`,或者单独引用`dist/style/widget`下的组件的`wxss`
- 组件的wxml结构请看`dist/example/`下的组件

### rpx版本
### rpx版本
默认版本使用的是`px`。这里也提供`rpx`版本,文件在[`dist-rpx-mode`](https://github.com/Tencent/weui-wxss/tree/master/dist-rpx-mode)目录下。


Expand Down
4 changes: 2 additions & 2 deletions dist-rpx-mode/app.wxss

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist-rpx-mode/example/actionsheet/actionsheet.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/article/article.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/badge/badge.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/button/button.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/dialog/dialog.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/flex/flex.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/footer/footer.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_access.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_checkbox.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_input_status.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_page.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_radio.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_select.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_switch.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_textarea.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_vcode.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/gallery/gallery.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
11 changes: 9 additions & 2 deletions dist-rpx-mode/example/half-screen-dialog/half-screen-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ Page({
mixins: [require('../../mixin/themeChanged')],
data: {
dialog1: false,
dialog2: false
dialog2: false,
dialog3: false
},
close: function() {
this.setData({
dialog1: false,
dialog2: false
dialog2: false,
dialog3: false
});
},
open1() {
Expand All @@ -20,4 +22,9 @@ Page({
dialog2: true
});
},
open3() {
this.setData({
dialog3: true
});
},
});
26 changes: 26 additions & 0 deletions dist-rpx-mode/example/half-screen-dialog/half-screen-dialog.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<view class="page__bd page__bd_spacing">
<a class="weui-btn weui-btn_default" bindtap="open1">样式一</a>
<a class="weui-btn weui-btn_default" bindtap="open2">样式二</a>
<a class="weui-btn weui-btn_default" bindtap="open3">样式三</a>
</view>

<view class="fadeIn" wx:if="{{dialog1}}">
Expand Down Expand Up @@ -53,4 +54,29 @@
</view>
</view>
</view>
<view class="fadeIn" wx:if="{{dialog3}}">
<view class="weui-mask" bindtap="close"></view>
<view class="weui-half-screen-dialog">
<view class="weui-half-screen-dialog__hd">
<view class="weui-half-screen-dialog__hd__side" bindtap="close">
<a class="weui-icon-btn">关闭<i class="weui-icon-close-thin"></i></a>
</view>
<view class="weui-half-screen-dialog__hd__main">
<strong class="weui-half-screen-dialog__title">标题</strong>
</view>
</view>
<view class="weui-half-screen-dialog__bd" style="padding-top:32px;height:50px;">
可放自定义内容
</view>
<view class="weui-half-screen-dialog__ft">
<view class="weui-half-screen-dialog__btn-area">
<a class="weui-btn weui-btn_default" bindtap="close">辅助操作</a>
<a class="weui-btn weui-btn_primary" bindtap="close">主操作</a>
</view>
<view class="weui-half-screen-dialog__attachment-area">
<a class="weui-link" href="javacript:;">附加操作</a>
</view>
</view>
</view>
</view>
</view>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/icons/icons.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/index.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/input/input.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/list/list.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/loading/loading.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/loadmore/loadmore.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_custom_area_cell.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_custom_area_preview.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_custom_area_tips.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_success.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_text.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_text_primary.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/msg/msg_warn.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/navbar/navbar.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/navigation-bar/navigation-bar.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/panel/panel.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/picker/picker.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/preview/preview.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/progress/progress.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.4.3 (https://github.com/weui/weui-wxss)
* WeUI v2.4.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
Loading

0 comments on commit 824bc0e

Please sign in to comment.