Skip to content

Commit

Permalink
feat: weui v2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Dec 10, 2021
1 parent 405cd30 commit 16ef972
Show file tree
Hide file tree
Showing 335 changed files with 575 additions and 491 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### v2.5.4 (2021-12-10)

#### Bugfixes
* fix: 修复若干UI细节问题
* fix: 优化悬浮按钮、form、panel、cell、msg、select、switch、textarea、agree组件示例



### v2.5.3 (2021-12-08)

#### 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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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_bottom_fixed.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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_default.wxss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* WeUI v2.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
1 change: 1 addition & 0 deletions dist-rpx-mode/example/form/form_select.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<view class="weui-form">
<view class="weui-form__text-area">
<h2 class="weui-form__title">原生选择框</h2>
<view class="weui-form__desc">原生选择框样式</view>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
41 changes: 33 additions & 8 deletions dist-rpx-mode/example/form/form_select_primary.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,50 @@
<view class="page" data-weui-theme="{{theme}}" data-weui-mode="{{mode}}">
<view class="weui-form">
<view class="weui-form__text-area">
<h2 class="weui-form__title">模拟选择框</h2>
<view class="weui-form__title">模拟选择框</view>
<view class="weui-form__desc">用于丰富原生选择框结构,使其更具有扩展性</view>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells">
<view class="weui-cell weui-cell_active weui-cell_access" id="showDatePicker">
<view class="weui-cell__bd">日期</view>
<view class="weui-cell__ft"></view>
<view class="weui-cell weui-cell_active weui-cell_select" aria-haspopup="listbox" id="showDatePicker" aria-role="button">
<view class="weui-cell__bd"><view class="weui-select">日期</view></view>
</view>
<label for="js_input1" class="weui-cell weui-cell_active weui-cell_access weui-cell_select weui-cell_select-before">
<view class="weui-cell__hd" id="showPhone"><label class="weui-label">+86</label></view>
<view class="weui-cell weui-cell_active weui-cell_select weui-cell_select-before">
<view class="weui-cell__hd" id="showPhone" aria-haspopup="listbox" aria-role="button"><view class="weui-select">+86</view></view>
<view class="weui-cell__bd">
<input id="js_input1" class="weui-input" type="number" pattern="[0-9]*" placeholder="请输入号码" value="12345678907"></input>
</view>
</view>
<view id="showPicker" aria-haspopup="listbox" class="weui-cell weui-cell_active weui-cell_select weui-cell_select-after" aria-role="button">
<view class="weui-cell__hd"> <label class="weui-label">票种</label></view>
<view class="weui-cell__bd"><view class="weui-select">的士票</view></view>
</view>
<label for="js_input3" class="weui-cell weui-cell_active weui-cell_wrap">
<view class="weui-cell__hd">
<text class="weui-label">手机号</text>
</view>
<view class="weui-cell__bd">
<text class="weui-cell__control">+86</text>
<input id="js_input3" class="weui-input weui-cell__control weui-cell__control_flex" type="number" pattern="[0-9]*" placeholder="请输入号码" value="12345678907"></input>
</view>
</label>
<view class="weui-cell weui-cell_active weui-cell_access weui-cell_select weui-cell_select-after">
</view>
</view>
<view class="weui-cells__group" style="display:none;">
<view class="weui-cells">
<view class="weui-cell weui-cell_active weui-cell_select" aria-haspopup="listbox" id="showDatePicker" aria-role="button">
<view class="weui-cell__bd"> <view class="weui-select">日期</view></view>
</view>
<view class="weui-cell weui-cell_active weui-cell_select weui-cell_select-before">
<view class="weui-cell__hd" id="showPhone" aria-haspopup="listbox" aria-role="button"><view class="weui-select">+86</view></view>
<view class="weui-cell__bd">
<input id="js_input1" class="weui-input" type="number" pattern="[0-9]*" placeholder="请输入号码" value="12345678907"></input>
</view>
</view>
<view id="showPicker" aria-haspopup="listbox" class="weui-cell weui-cell_active weui-cell_select weui-cell_select-after" aria-role="button">
<view class="weui-cell__hd"> <label class="weui-label">票种</label></view>
<view class="weui-cell__bd" id="showPicker">的士票</view>
<view class="weui-cell__bd"><view class="weui-select">的士票</view></view>
</view>
</view>
</view>
Expand Down
3 changes: 2 additions & 1 deletion dist-rpx-mode/example/form/form_switch.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<view class="page" data-weui-theme="{{theme}}" data-weui-mode="{{mode}}">
<view class="weui-form">
<view class="weui-form__text-area">
<h2 class="weui-form__title">开关样式展示</h2>
<view class="weui-form__title">开关样式展示</view>
<view class="weui-form__desc">模拟开关样式</view>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells__title">问题描述</view>
<view class="weui-cells weui-cells_form">
<view class="weui-cell">
<view class="weui-cell" hover-class="weui-cell_active">
<view class="weui-cell__bd">
<textarea class="weui-textarea" placeholder="请描述你所发生的问题" placeholder-class="weui-input__placeholder" rows="3"></textarea>
<view aria-role="option" class="weui-textarea-counter"><span>0</span>/200</view>
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
10 changes: 5 additions & 5 deletions dist-rpx-mode/example/icons/icons.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
<view class="icon-box">
<text title="成功" aria-describedby="tip_1" class="weui-icon-success weui-icon_msg" aria-role="img"></text>
<view class="icon-box__ctn" aria-hidden="true">
<h3 class="icon-box__title">成功</h3>
<view class="icon-box__title">成功</view>
<view class="icon-box__desc" id="tip_1">用于表示操作顺利达成</view>
</view>
</view>
<view class="icon-box">
<text title="提示" aria-describedby="tip_2" class="weui-icon-info weui-icon_msg" aria-role="img"></text>
<view class="icon-box__ctn" aria-hidden="true">
<h3 class="icon-box__title">提示</h3>
<view class="icon-box__title">提示</view>
<view class="icon-box__desc" id="tip_2">用于表示信息提示;也常用于缺乏条件的操作拦截,提示用户所需信息</view>
</view>
</view>
<view class="icon-box">
<text title="普通警告" class="weui-icon-warn weui-icon_msg-primary" aria-role="img"></text>
<view class="icon-box__ctn" aria-hidden="true">
<h3 class="icon-box__title">普通警告</h3>
<view class="icon-box__title">普通警告</view>
<view class="icon-box__desc">用于表示操作后将引起一定后果的情况</view>
</view>
</view>
<view class="icon-box">
<text title="强烈警告" class="weui-icon-warn weui-icon_msg" aria-role="img"></text>
<view class="icon-box__ctn" aria-hidden="true">
<h3 class="icon-box__title">强烈警告</h3>
<view class="icon-box__title">强烈警告</view>
<view class="icon-box__desc">用于表示操作后将引起严重的不可挽回的后果的情况</view>
</view>
</view>
<view class="icon-box">
<text title="等待" class="weui-icon-waiting weui-icon_msg" aria-role="img"></text>
<view class="icon-box__ctn" aria-hidden="true">
<h3 class="icon-box__title">等待</h3>
<view class="icon-box__title">等待</view>
<view class="icon-box__desc">用于表示等待</view>
</view>
</view>
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<view class="weui-cell weui-cell_select weui-cell_select-before">
<view class="weui-cell__hd">
<picker aria-role="combobox" bindchange="bindCountryCodeChange" value="{{countryCodeIndex}}" range="{{countryCodes}}">
<view class="weui-select">{{countryCodes[countryCodeIndex]}}</view>
<view class="weui-select" style="width:3.14em">{{countryCodes[countryCodeIndex]}}</view>
</picker>
</view>
<view class="weui-cell__bd weui-cell__bd_in-select-before">
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.5.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.4 (https://github.com/weui/weui-wxss)
* Copyright 2021 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
6 changes: 3 additions & 3 deletions dist-rpx-mode/example/msg/msg_custom_area_cell.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<view class="weui-msg">
<view class="weui-msg__icon-area"><text class="weui-icon-success weui-icon_msg"></text></view>
<view class="weui-msg__text-area">
<h2 class="weui-msg__title">操作成功</h2>
<view class="weui-msg__title">操作成功</view>
<view class="weui-msg__desc">内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现<navigator class="weui-wa-hotarea weui-link" url="javascript:">文字链接</navigator></view>
<view class="weui-msg__custom-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells">
<navigator class="weui-cell weui-cell_access" url="javascript:">
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active" url="javascript:">
<text class="weui-cell__bd">cell standard</text>
<text class="weui-cell__ft"></text>
</navigator>
<navigator class="weui-cell weui-cell_access" url="javascript:">
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active" url="javascript:">
<text class="weui-cell__bd">cell standard</text>
<text class="weui-cell__ft"></text>
</navigator>
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<view class="weui-msg">
<view class="weui-msg__icon-area"><text class="weui-icon-success weui-icon_msg"></text></view>
<view class="weui-msg__text-area">
<h2 class="weui-msg__title">操作成功</h2>
<view class="weui-msg__title">操作成功</view>
<view class="weui-msg__desc">内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现<navigator class="weui-wa-hotarea weui-link" url="javascript:">文字链接</navigator></view>
<view class="weui-msg__custom-area">
<view class="weui-form-preview__list">
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.3 (https://github.com/weui/weui-wxss)
* WeUI v2.5.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.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<view class="weui-msg">
<view class="weui-msg__icon-area"><text class="weui-icon-success weui-icon_msg"></text></view>
<view class="weui-msg__text-area">
<h2 class="weui-msg__title">操作成功</h2>
<view class="weui-msg__title">操作成功</view>
<view class="weui-msg__desc">内容详情,可根据实际需要安排,如果换行则不超过规定长度,居中展现<navigator class="weui-wa-hotarea weui-link" url="javascript:">文字链接</navigator></view>
<view class="weui-msg__custom-area">
<view class="weui-list-tips">
Expand Down
Loading

0 comments on commit 16ef972

Please sign in to comment.