Skip to content

Commit 4e0ef73

Browse files
committed
feat: v2.6.12
1 parent e79b6c0 commit 4e0ef73

File tree

362 files changed

+3130
-2528
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

362 files changed

+3130
-2528
lines changed

CHANGELOG.md

+13

dist-rpx-mode/app.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
"example/navigation-bar/navigation-bar",
5959
"example/tabbar/tabbar",
6060

61-
"example/searchbar/searchbar"
61+
"example/searchbar/searchbar",
62+
"example/searchbar/searchbar_filled",
63+
"example/searchbar/searchbar_grey",
64+
"example/searchbar/searchbar_outlined",
65+
"example/searchbar/searchbar_homepage"
6266
],
6367
"window": {
6468
"navigationBarTextStyle": "black",

dist-rpx-mode/app.wxss

+2-2
Large diffs are not rendered by default.

dist-rpx-mode/example/actionsheet/actionsheet.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/article/article.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/badge/badge.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/button/button.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/button/button_bottom_fixed.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/button/button_default.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/dialog/dialog.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/flex/flex.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/footer/footer.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_access.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_bottom_fixed.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_checkbox.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_input_status.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_page.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_radio.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_select.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_switch.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_textarea.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_vcode.js

-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ Page({
2020
});
2121
}
2222
const that = this;
23-
setTimeout(() => {
24-
that.setData({
25-
msg: false,
26-
});
27-
}, 320);
2823
},
2924
checkboxChange(e) {
3025
if (e.detail.value.includes('1')) {

dist-rpx-mode/example/form/form_vcode.wxml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<view class="weui-form__ft">
3939
<view class="weui-form__tips-area">
4040
<checkbox-group bindchange="checkboxChange">
41-
<label aria-role="" class="weui-wa-hotarea weui-agree {{msg ? 'weui-agree_animate' : ''}}">
41+
<label aria-role="" class="weui-wa-hotarea weui-agree {{msg ? 'weui-agree_warn' : ''}}">
4242
<checkbox aria-role="" value="{{checkValue}}" class="weui-agree__checkbox-check" />
4343
<view class="weui-agree__checkbox" aria-labelledby="js_agree_txt js_agree_link" aria-role="checkbox"></view>
4444
<view class="weui-agree__text"><text aria-hidden="true" id="js_agree_txt">阅读并同意</text><navigator id="js_agree_link">《相关条款》</navigator></view>

dist-rpx-mode/example/form/form_vcode.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/form/form_vertical.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/gallery/gallery.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/half-screen-dialog/half-screen-dialog.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/icons/icons.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/index.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/information-bar/information-bar.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/input/input.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/list/list.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/loading/loading.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/loadmore/loadmore.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_custom_area_cell.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_custom_area_preview.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_custom_area_tips.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_success.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_text.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_text_primary.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/msg/msg_warn.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/navbar/navbar.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/navigation-bar/navigation-bar.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/panel/panel.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/picker/picker.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/preview/preview.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/

dist-rpx-mode/example/progress/progress.wxss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* WeUI v2.6.11 (https://github.com/weui/weui-wxss)
2+
* WeUI v2.6.12 (https://github.com/weui/weui-wxss)
33
* Copyright 2024 Tencent, Inc.
44
* Licensed under the MIT license
55
*/
+12-17
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,23 @@
11
Page({
22
mixins: [require('../../mixin/common')],
3-
data: {
4-
inputShowed: false,
5-
inputVal: '',
6-
},
7-
showInput() {
8-
this.setData({
9-
inputShowed: true,
3+
openSearchFilled() {
4+
wx.navigateTo({
5+
url: 'searchbar_filled',
106
});
117
},
12-
hideInput() {
13-
this.setData({
14-
inputVal: '',
15-
inputShowed: false,
8+
openSearchGrey() {
9+
wx.navigateTo({
10+
url: 'searchbar_grey',
1611
});
1712
},
18-
clearInput() {
19-
this.setData({
20-
inputVal: '',
13+
openSearchOutlined() {
14+
wx.navigateTo({
15+
url: 'searchbar_outlined',
2116
});
2217
},
23-
inputTyping(e) {
24-
this.setData({
25-
inputVal: e.detail.value,
18+
openSearchHomepage() {
19+
wx.navigateTo({
20+
url: 'searchbar_homepage',
2621
});
2722
},
2823
});

0 commit comments

Comments
 (0)