Skip to content

Commit

Permalink
feat: v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Jun 21, 2023
1 parent 82aa51e commit 96b9641
Show file tree
Hide file tree
Showing 373 changed files with 2,071 additions and 1,739 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### v2.6.0 (2023-06-21)

#### Features
* feat: 新增informationBar组件
* feat: cell组件支持上下结构
* feat: actionsheet菜单新增副标题
* feat: form新增weui-form__bd和weui-form__ft结构,布局向后兼容
* feat: form新增底部悬浮效果
* feat: button UI升级



### v2.5.16 (2023-01-16)

#### Features
Expand Down
3 changes: 3 additions & 0 deletions dist-rpx-mode/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
"example/form/form_primary",
"example/form/form_input_status",
"example/form/form_vcode",
"example/form/form_bottom_fixed",
"example/form/form_access",
"example/form/form_checkbox",
"example/form/form_radio",
"example/form/form_switch",
"example/form/form_select",
"example/form/form_textarea",
"example/form/form_vertical",
"example/list/list",
"example/slideview/slideview",
"example/slider/slider",
Expand Down Expand Up @@ -52,6 +54,7 @@
"example/picker/picker",
"example/toast/toast",
"example/top-tips/top-tips",
"example/information-bar/information-bar",

"example/navigation-bar/navigation-bar",
"example/tabbar/tabbar",
Expand Down
4 changes: 2 additions & 2 deletions dist-rpx-mode/app.wxss

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion dist-rpx-mode/example/actionsheet/actionsheet.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
</view>
<view class="weui-actionsheet__menu">
<view aria-role="button" class="weui-actionsheet__cell">示例菜单</view>
<view aria-role="button" class="weui-actionsheet__cell">示例菜单</view>
<view aria-role="button" class="weui-actionsheet__cell weui-actionsheet__cell_tips">
示例菜单
<view class="weui-actionsheet__cell__tips">副标题</view>
</view>
<view aria-role="button" class="weui-actionsheet__cell weui-actionsheet__cell_warn">负向菜单</view>
</view>
<view class="weui-actionsheet__action">
Expand Down
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
17 changes: 14 additions & 3 deletions dist-rpx-mode/example/button/button_bottom_fixed.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,20 @@
<view class="weui-bottom-fixed-opr-page__content">
<view class="weui-bottom-fixed-opr-demo">Dolor tempora dolore aperiam fuga necessitatibus? Odio atque tempora deleniti voluptates voluptatem. Dolorem earum voluptas blanditiis labore quisquam? Quibusdam nesciunt consequatur aliquam ea corrupti animi, itaque consequatur neque? At porroSit nemo aliquid quas error doloremque Reiciendis ratione repellendus quae sit commodi amet architecto? Aut officiis aliquam fugit nulla at necessitatibus Optio totam quibusdam laboriosam aperiam libero! Officiis reiciendis Elit quaerat sed vero perferendis architecto consequatur. Consequuntur ad illum dolore ut accusamus. Cum possimus odit sequi quaerat beatae, eveniet. Rerum dolore ipsam quia consectetur iste Veniam mollitia dolores tempore? Dolor tempora dolore aperiam fuga necessitatibus? Odio atque tempora deleniti voluptates voluptatem. Dolorem earum voluptas blanditiis labore quisquam? Quibusdam nesciunt consequatur aliquam ea corrupti animi, itaque consequatur neque? At porroSit nemo aliquid quas error doloremque Reiciendis ratione repellendus quae sit commodi amet architecto? Aut officiis aliquam fugit nulla at necessitatibus Optio totam quibusdam laboriosam aperiam libero! Officiis reiciendis Elit quaerat sed vero perferendis architecto consequatur. Consequuntur ad illum dolore ut accusamus. Cum possimus odit sequi quaerat beatae, eveniet. Rerum dolore ipsam quia consectetur iste Veniam mollitia dolores tempore? </view>
</view>
<view class="weui-bottom-fixed-opr" id="js_opr">
<navigator class="weui-btn weui-btn_primary" id="js_btn" aria-role="button" url="javascript:;">阅读并同意</navigator>
<navigator class="weui-btn weui-btn_default" aria-role="button" url="javascript:;">取消</navigator>
<view class="weui-bottom-fixed-opr-page__tool">
<view class="weui-bottom-fixed-opr-page__tips">
<checkbox-group bindchange="checkboxChange">
<label aria-role="" class="weui-wa-hotarea weui-agree">
<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>
</label>
</checkbox-group>
</view>
<view class="weui-bottom-fixed-opr">
<navigator class="weui-btn weui-btn_primary" id="js_btn" aria-role="button" url="javascript:;">阅读并同意</navigator>
<navigator class="weui-btn weui-btn_default" aria-role="button" url="javascript:;">取消</navigator>
</view>
</view>
</view>
</view>
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
11 changes: 10 additions & 1 deletion dist-rpx-mode/example/button/button_default.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<view class="button-sp-area">
<navigator class="weui-btn weui-btn_primary" aria-role="button" url="javascript:">主要操作</navigator>
<navigator title="正在操作" class="weui-btn weui-btn_primary weui-btn_loading" aria-role="button" url="javascript:"><text class="weui-mask-loading"></text>主要操作</navigator>
<navigator title="正在操作" class="weui-btn weui-btn_primary weui-btn_loading" aria-role="button" url="javascript:"><text class="weui-mask-loading"></text>主要操作</navigator>
<navigator aria-disabled="true" disabled class="weui-btn weui-btn_disabled weui-btn_primary" aria-role="button" url="javascript:">主要操作</navigator>
<navigator class="weui-btn weui-btn_default" aria-role="button" url="javascript:">次要操作</navigator>
<navigator title="正在操作" class="weui-btn weui-btn_default weui-btn_loading" aria-role="button" url="javascript:"><text class="weui-mask-loading"></text>次要操作</navigator>
Expand All @@ -17,6 +16,16 @@
<navigator title="正在操作" class="weui-btn weui-btn_warn weui-btn_loading" aria-role="button" url="javascript:"><text class="weui-mask-loading"></text>警示操作</navigator>
<navigator aria-disabled="true" disabled class="weui-btn weui-btn_disabled weui-btn_warn" aria-role="button" url="javascript:">警示操作</navigator>
</view>
<view class="button-sp-area">
<navigator class="weui-btn weui-btn_primary weui-btn_medium" aria-role="button" url="javascript:">medium 按钮</navigator>
<navigator class="weui-btn weui-btn_default weui-btn_medium" aria-role="button" url="javascript:">medium 按钮</navigator>
<navigator class="weui-btn weui-btn_warn weui-btn_medium" aria-role="button" url="javascript:">medium 按钮</navigator>
</view>
<view class="button-sp-area overlay">
<navigator class="weui-btn weui-btn_overlay" aria-role="button" url="javascript:">overlay 按钮</navigator>
<navigator class="weui-btn weui-btn_overlay weui-btn_medium" aria-role="button" url="javascript:">overlay 按钮</navigator>
<navigator class="weui-btn weui-btn_overlay weui-btn_mini" aria-role="button" url="javascript:">overlay 按钮</navigator>
</view>
<view class="button-sp-area cell">
<navigator class="weui-btn_cell weui-btn_cell-default" aria-role="button" url="javascript:">普通行按钮</navigator>
<navigator class="weui-btn_cell weui-btn_cell-primary" aria-role="button" url="javascript:">强调行按钮</navigator>
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
2 changes: 2 additions & 0 deletions dist-rpx-mode/example/form/form.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
<view style="display:none;" aria-role="button" bindtap="open" data-url="form_primary" class="weui-btn weui-btn_default">反色表单</view>
<view aria-role="button" bindtap="open" data-url="form_input_status" class="weui-btn weui-btn_default">输入框状态</view>
<view aria-role="button" bindtap="open" data-url="form_vcode" class="weui-btn weui-btn_default">验证码</view>
<view aria-role="button" bindtap="open" data-url="form_bottom_fixed" class="weui-btn weui-btn_default">底部悬浮</view>
<view aria-role="button" bindtap="open" data-url="form_access" class="weui-btn weui-btn_default">跳转列表项</view>
<view aria-role="button" bindtap="open" data-url="form_checkbox" class="weui-btn weui-btn_default">复选框</view>
<view aria-role="button" bindtap="open" data-url="form_radio" class="weui-btn weui-btn_default">单选框</view>
<view aria-role="button" bindtap="open" data-url="form_switch" class="weui-btn weui-btn_default">开关</view>
<view aria-role="button" bindtap="open" data-url="form_select" class="weui-btn weui-btn_default">选择框</view>
<view aria-role="button" bindtap="open" data-url="form_textarea" class="weui-btn weui-btn_default">文本域</view>
<view aria-role="button" bindtap="open" data-url="form_vertical" class="weui-btn weui-btn_default">上下结构</view>
</view>
</view>
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
34 changes: 18 additions & 16 deletions dist-rpx-mode/example/form/form_access.wxml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<page-meta root-font-size="system"/>
<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>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells">
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active" url="javascript:;">
<view class="weui-cell__bd"><view>cell standard</view></view>
<view class="weui-cell__ft"></view>
</navigator>
<navigator class="weui-cell weui-cell_access" url="javascript:;" hover-class="weui-cell_active">
<view class="weui-cell__bd"><view>cell standard</view></view>
<view class="weui-cell__ft"></view>
</navigator>
</view>
</view>
<view class="weui-form__bd">
<view class="weui-form__text-area">
<h2 class="weui-form__title">跳转列表项</h2>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells">
<navigator class="weui-cell weui-cell_access" hover-class="weui-cell_active" url="javascript:;">
<view class="weui-cell__bd"><view>cell standard</view></view>
<view class="weui-cell__ft"></view>
</navigator>
<navigator class="weui-cell weui-cell_access" url="javascript:;" hover-class="weui-cell_active">
<view class="weui-cell__bd"><view>cell standard</view></view>
<view class="weui-cell__ft"></view>
</navigator>
</view>
</view>
</view>
</view>
</view>
</view>
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
76 changes: 40 additions & 36 deletions dist-rpx-mode/example/form/form_checkbox.wxml
Original file line number Diff line number Diff line change
@@ -1,41 +1,45 @@
<page-meta root-font-size="system"/>
<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>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells weui-cells_checkbox">
<checkbox-group bindchange="checkboxChange">
<label class="weui-cell weui-cell_active weui-check__label {{item.disabled ? 'weui-cell_disabled' : ''}}" wx:for="{{items}}" wx:key="name">
<view class="weui-cell__hd">
<checkbox
class="weui-check"
value="{{item.name}}"
checked="{{item.checked}}"
disabled="{{item.disabled}}"
/>
<i class="weui-icon-checked"></i>
</view>
<view class="weui-cell__bd">
<view>{{item.value}}</view>
</view>
</label>
</checkbox-group>
<navigator class="weui-cell weui-cell_active weui-cell_link" hover-class="weui-cell_active">
<view class="weui-cell__bd">添加更多</view>
</navigator>
</view>
</view>
</view>
<view class="weui-form__opr-area">
<view aria-role="button" class="weui-btn weui-btn_primary">下一步</view>
</view>
<view class="weui-form__tips-area">
<view class="weui-form__tips">
<text aria-role="option" aria-labelledby="js_tips_txt js_tips_link" id="js_tips_txt">点击下一步即表示</text><navigator id="js_tips_link" url="javascript:">同意用户协议</navigator>
</view>
</view>
<view class="weui-form__bd">
<view class="weui-form__text-area">
<h2 class="weui-form__title">复选框样式展示</h2>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells weui-cells_checkbox">
<checkbox-group bindchange="checkboxChange">
<label class="weui-cell weui-cell_active weui-check__label {{item.disabled ? 'weui-cell_disabled' : ''}}" wx:for="{{items}}" wx:key="name">
<view class="weui-cell__hd">
<checkbox
class="weui-check"
value="{{item.name}}"
checked="{{item.checked}}"
disabled="{{item.disabled}}"
/>
<i class="weui-icon-checked"></i>
</view>
<view class="weui-cell__bd">
<view>{{item.value}}</view>
</view>
</label>
</checkbox-group>
<navigator class="weui-cell weui-cell_active weui-cell_link" hover-class="weui-cell_active">
<view class="weui-cell__bd">添加更多</view>
</navigator>
</view>
</view>
</view>
</view>
<view class="weui-form__ft">
<view class="weui-form__opr-area">
<view aria-role="button" class="weui-btn weui-btn_primary">下一步</view>
</view>
<view class="weui-form__tips-area">
<view class="weui-form__tips">
<text aria-role="option" aria-labelledby="js_tips_txt js_tips_link" id="js_tips_txt">点击下一步即表示</text><navigator id="js_tips_link" url="javascript:">同意用户协议</navigator>
</view>
</view>
</view>
</view>
</view>
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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 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.16 (https://github.com/weui/weui-wxss)
* WeUI v2.6.0 (https://github.com/weui/weui-wxss)
* Copyright 2023 Tencent, Inc.
* Licensed under the MIT license
*/
Expand Down
Loading

0 comments on commit 96b9641

Please sign in to comment.