Skip to content

Commit

Permalink
feat: v2.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Mar 20, 2024
1 parent e79b6c0 commit 4e0ef73
Show file tree
Hide file tree
Showing 362 changed files with 3,130 additions and 2,528 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
### v2.6.12 (2024-03-20)

#### Features
* feat: searchbar组件升级,分为filled(默认)、outlined和homepage三种变体
* feat: weui-agree组件对齐方式调整为顶对齐
* feat: weui-agree组件去掉摆动动画

#### Bugfixes
* fix: 修复weui-select标题折行后的样式问题
* fix: 修复表单里验证码按钮disabled态被覆盖的问题



### v2.6.11 (2024-01-12)

#### Bugfixes
Expand Down
6 changes: 5 additions & 1 deletion dist-rpx-mode/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@
"example/navigation-bar/navigation-bar",
"example/tabbar/tabbar",

"example/searchbar/searchbar"
"example/searchbar/searchbar",
"example/searchbar/searchbar_filled",
"example/searchbar/searchbar_grey",
"example/searchbar/searchbar_outlined",
"example/searchbar/searchbar_homepage"
],
"window": {
"navigationBarTextStyle": "black",
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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_bottom_fixed.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
5 changes: 0 additions & 5 deletions dist-rpx-mode/example/form/form_vcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ Page({
});
}
const that = this;
setTimeout(() => {
that.setData({
msg: false,
});
}, 320);
},
checkboxChange(e) {
if (e.detail.value.includes('1')) {
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_vcode.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<view class="weui-form__ft">
<view class="weui-form__tips-area">
<checkbox-group bindchange="checkboxChange">
<label aria-role="" class="weui-wa-hotarea weui-agree {{msg ? 'weui-agree_animate' : ''}}">
<label aria-role="" class="weui-wa-hotarea weui-agree {{msg ? 'weui-agree_warn' : ''}}">
<checkbox aria-role="" value="{{checkValue}}" class="weui-agree__checkbox-check" />
<view class="weui-agree__checkbox" aria-labelledby="js_agree_txt js_agree_link" aria-role="checkbox"></view>
<view class="weui-agree__text"><text aria-hidden="true" id="js_agree_txt">阅读并同意</text><navigator id="js_agree_link">《相关条款》</navigator></view>
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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/form/form_vertical.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist-rpx-mode/example/information-bar/information-bar.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 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.6.11 (https://github.com/weui/weui-wxss)
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
* Copyright 2024 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
29 changes: 12 additions & 17 deletions dist-rpx-mode/example/searchbar/searchbar.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
Page({
mixins: [require('../../mixin/common')],
data: {
inputShowed: false,
inputVal: '',
},
showInput() {
this.setData({
inputShowed: true,
openSearchFilled() {
wx.navigateTo({
url: 'searchbar_filled',
});
},
hideInput() {
this.setData({
inputVal: '',
inputShowed: false,
openSearchGrey() {
wx.navigateTo({
url: 'searchbar_grey',
});
},
clearInput() {
this.setData({
inputVal: '',
openSearchOutlined() {
wx.navigateTo({
url: 'searchbar_outlined',
});
},
inputTyping(e) {
this.setData({
inputVal: e.detail.value,
openSearchHomepage() {
wx.navigateTo({
url: 'searchbar_homepage',
});
},
});
Loading

0 comments on commit 4e0ef73

Please sign in to comment.