Skip to content

Commit

Permalink
feat: v2.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Aug 16, 2022
1 parent 6eb8813 commit 937faaa
Show file tree
Hide file tree
Showing 307 changed files with 467 additions and 339 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
### v2.5.11 (2022-08-16)

#### Features
* feat: 小程序新增slide半屏
* feat: 优化slide半屏、loadmore、button组件的实现


#### Bugfixes
* fix: 去掉弹窗适配无障碍focus时带系统默认聚焦样式



### v2.5.10 (2022-08-02)

#### Features
* feat: uploader组件的上传图标大小从固定尺寸改为相对尺寸

#### Bugfixes
* fix: 优化半屏弹窗样式代码



### v2.5.9 (2022-06-16)

#### Features
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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/button/button_bottom_fixed.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/button/button_default.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
11 changes: 7 additions & 4 deletions dist-rpx-mode/example/footer/footer.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
</view>
<view class="page__bd page__bd_spacing">
<view class="weui-footer">
<view class="weui-footer__text">Copyright &copy; 2008-2016 weui.io</view>
<view class="weui-footer__text">Copyright &copy; 2008-2022 weui.io</view>
</view>


<view class="weui-footer">
<view class="weui-footer__links">
<navigator class="weui-footer__link weui-wa-hotarea" url="javascript:">底部链接</navigator>
</view>
<view class="weui-footer__text">Copyright &copy; 2008-2016 weui.io</view>
<view class="weui-footer__text">Copyright &copy; 2008-2022 weui.io</view>
</view>


Expand All @@ -23,13 +23,16 @@
<navigator class="weui-footer__link weui-wa-hotarea" url="javascript:">底部链接</navigator>
<navigator class="weui-footer__link weui-wa-hotarea" url="javascript:">底部链接</navigator>
</view>
<view class="weui-footer__text">Copyright &copy; 2008-2016 weui.io</view>
<view class="weui-footer__text">Copyright &copy; 2008-2022 weui.io</view>
</view>
<view class="weui-footer weui-footer_fixed-bottom">
<view class="weui-footer__links">
<navigator class="weui-footer__link weui-wa-hotarea" url="javascript:home();">WeUI首页</navigator>
</view>
<view class="weui-footer__text">Copyright &copy; 2008-2016 weui.io</view>
<view class="weui-footer__text">Copyright &copy; 2008-2022 weui.io</view>
<navigator class="page_copyright" url="//beian.miit.gov.cn/">
备案号:粤B2-20090059
</navigator>
</view>
</view>
</view>
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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Page({
dialog2: false,
dialog3: false,
dialog4: false,
dialog5: false,
wrap: false,
wrap1: false,
},
Expand Down Expand Up @@ -54,6 +55,7 @@ Page({
dialog2: false,
dialog3: false,
dialog4: false,
dialog5: false,
});
},
open1() {
Expand All @@ -76,4 +78,9 @@ Page({
dialog4: true,
});
},
open5() {
this.setData({
dialog5: true,
});
},
});
14 changes: 14 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 @@ -9,6 +9,7 @@
<view aria-role="button" class="weui-btn weui-btn_default" bindtap="open2">样式二</view>
<view aria-role="button" class="weui-btn weui-btn_default" bindtap="open3">样式三</view>
<view aria-role="button" class="weui-btn weui-btn_default" bindtap="open4">样式四</view>
<view aria-role="button" class="weui-btn weui-btn_default" bindtap="open5">样式五</view>
</view>

<view aria-role="dialog" aria-modal="true" aria-labelledby="js_dialog1_title">
Expand Down Expand Up @@ -114,4 +115,17 @@
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" aria-labelledby="js_dialog5_title">
<view class="weui-mask weui-transition {{dialog5 ? 'weui-transition_show' : ''}}" bindtap="close"></view>
<view class="weui-half-screen-dialog weui-half-screen-dialog_slide weui-transition {{dialog5 ? 'weui-transition_show' : ''}}">
<view class="weui-half-screen-dialog__hd">
<view style="height:4px;border-radius:2px;" class="weui-half-screen-dialog__slide-icon">
<view style="opaicty:0;" class="weui-icon-arrow"></view>
</view>
</view>
<view class="weui-half-screen-dialog__bd" style="padding-top: 32px; height: 50px;">
下拉过程中需要改变slide-icon的height、border-radius,以及arrow的opacity三个参数
</view>
</view>
</view>
</view>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 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.5.9 (https://github.com/weui/weui-wxss)
* WeUI v2.5.11 (https://github.com/weui/weui-wxss)
* Copyright 2022 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
Loading

0 comments on commit 937faaa

Please sign in to comment.