Skip to content

Commit

Permalink
update: 1.5.3版本更新,示例更新
Browse files Browse the repository at this point in the history
  • Loading branch information
18148764734 committed Mar 22, 2024
1 parent 22d9bc5 commit 00fafea
Show file tree
Hide file tree
Showing 23 changed files with 116 additions and 45 deletions.
53 changes: 53 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,59 @@
- 主版本号:含有破坏性更新和新特性,不在发布周期内。

<!-- 更新占位 -->
<log title="1.5.3" date="2024-03-22">
<log-item title="uni-collapse 组件更新">
<log-item-text tag-type="fix">
titleBorder类型修正
</log-item-text>
</log-item>
<log-item title="uni-data-checkbox 组件更新">
<log-item-text tag-type="fix">
单选模式下选中样式不生效的bug
</log-item-text>
</log-item>
<log-item title="uni-easyinput 组件更新">
<log-item-text tag-type="fix">
在密码输入情况下 清除和小眼睛覆盖bug 在edge浏览器下显示双眼睛bug
</log-item-text>
</log-item>
<log-item title="uni-file-picker 组件更新">
<log-item-text tag-type="perf">
补充 删除文件时返回文件下标
</log-item-text>
</log-item>
<log-item title="uni-number-box 组件更新">
<log-item-text tag-type="feat">
设置宽度属性width(单位:px)
</log-item-text>
</log-item>
<log-item title="uni-popup 组件更新">
<log-item-text tag-type="fix">
uni-popup-dialog 数据输入时修正为双向绑定
</log-item-text>
</log-item>
<log-item title="uni-search-bar 组件更新">
<log-item-text tag-type="fix">
清空按钮emit值错误的bug
</log-item-text>
</log-item>
<log-item title="uni-segmented-control 组件更新">
<log-item-text tag-type="feat">
inActiveColor属性,可供配置未激活时的颜色
</log-item-text>
</log-item>
<log-item title="uni-tag 组件更新">
<log-item-text tag-type="perf">
app下边框过窄导致不显示的bug
</log-item-text>
</log-item>
<log-item title="uni-tooltip 组件更新">
<log-item-text tag-type="fix">
弹出位置修正
</log-item-text>
</log-item>
</log>

<log title="1.5.2" date="2024-02-22">
<log-item title="uni-countdown 组件更新">
<log-item-text tag-type="feat">
Expand Down
13 changes: 6 additions & 7 deletions pages/vue/popup/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<uni-card is-full :is-shadow="false">
<text class="uni-h6">弹出层组件用于弹出一个覆盖到页面上的内容,使用场景如:底部弹出分享弹窗、页面插屏广告等。</text>
</uni-card>
<uni-section title="基本示例" type="line">
<uni-section title="基本示例" type="line" sub-title="自定义顶部圆角">
<view class="example-body box">
<button class="button" type="primary" @click="toggle('top')"><text class="button-text">顶部</text></button>
<button class="button" type="primary" @click="toggle('bottom')"><text class="button-text">底部</text></button>
Expand Down Expand Up @@ -44,16 +44,15 @@
<view class="dialog-box">
<text class="dialog-text">输入内容:{{ value }}</text>
</view>
<button class="button" type="primary" @click="inputDialogToggle"><text
class="button-text">输入对话框</text></button>
<button class="button" type="primary" @click="inputDialogToggle"><text class="button-text">输入对话框</text></button>

</uni-section>
<uni-section title="底部分享示例" type="line" padding>
<button class="button" type="primary" @click="shareToggle"><text class="button-text">分享模版示例</text></button>
</uni-section>
<view>
<!-- 普通弹窗 -->
<uni-popup ref="popup" background-color="#fff" @change="change">
<uni-popup ref="popup" background-color="#fff" @change="change" border-radius="10px 10px 0 0">
<view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }"><text
class="text">popup 内容</text></view>
</uni-popup>
Expand All @@ -69,7 +68,8 @@
<view>
<!-- 提示窗示例 -->
<uni-popup ref="alertDialog" type="dialog">
<uni-popup-dialog :showClose="showClose" :type="msgType" cancelText="关闭" confirmText="同意" title="通知" content="欢迎使用 uni-popup!" @confirm="dialogConfirm" @close="dialogClose"></uni-popup-dialog>
<uni-popup-dialog :showClose="showClose" :type="msgType" cancelText="关闭" confirmText="同意" title="通知"
content="欢迎使用 uni-popup!" @confirm="dialogConfirm" @close="dialogClose"></uni-popup-dialog>
</uni-popup>
</view>

Expand Down Expand Up @@ -196,7 +196,6 @@
justify-content: center;
padding: 15px;
height: 50px;
background-color: #fff;
}
.popup-height {
Expand Down Expand Up @@ -272,4 +271,4 @@
font-size: 14px;
color: #333;
}
</style>
</style>
2 changes: 1 addition & 1 deletion pages/vue/segmented-control/segmented-control.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<uni-section title="实心标签" type="line">
<view class="uni-padding-wrap uni-common-mt">
<uni-segmented-control :current="current" :values="items" :style-type="styleType"
:active-color="activeColor" @clickItem="onClickItem" :in-active-color="'#2b2b2b'"/>
:active-color="activeColor" @clickItem="onClickItem" :in-active-color="'#f7e2e9'"/>
</view>
<view class="content">
<view v-if="current === 0"><text class="content-text">选项卡1的内容</text></view>
Expand Down
20 changes: 10 additions & 10 deletions temps/sync-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"uni-breadcrumb": "0.1.2",
"uni-calendar": "1.4.11",
"uni-card": "1.3.1",
"uni-collapse": "1.4.3",
"uni-collapse": "1.4.4",
"uni-combox": "1.0.1",
"uni-countdown": "1.2.3",
"uni-data-checkbox": "1.0.4",
"uni-data-checkbox": "1.0.5",
"uni-data-picker": "2.0.0",
"uni-data-select": "1.0.7",
"uni-dateformat": "1.0.0",
"uni-datetime-picker": "2.2.32",
"uni-drawer": "1.2.1",
"uni-easyinput": "1.1.15",
"uni-easyinput": "1.1.16",
"uni-fab": "1.2.5",
"uni-fav": "1.2.1",
"uni-file-picker": "1.0.7",
"uni-file-picker": "1.0.8",
"uni-forms": "1.4.10",
"uni-goods-nav": "1.2.1",
"uni-grid": "1.4.0",
Expand All @@ -27,21 +27,21 @@
"uni-load-more": "1.3.3",
"uni-nav-bar": "1.3.11",
"uni-notice-bar": "1.2.2",
"uni-number-box": "1.2.5",
"uni-number-box": "1.2.6",
"uni-pagination": "1.2.4",
"uni-popup": "1.8.8",
"uni-popup": "1.8.9",
"uni-rate": "1.3.1",
"uni-row": "1.0.0",
"uni-scss": "1.0.3",
"uni-search-bar": "1.2.7",
"uni-search-bar": "1.2.8",
"uni-section": "0.0.1",
"uni-segmented-control": "1.2.0",
"uni-segmented-control": "1.2.1",
"uni-steps": "1.1.1",
"uni-swipe-action": "1.3.10",
"uni-swiper-dot": "1.2.0",
"uni-table": "1.2.4",
"uni-tag": "2.1.0",
"uni-tag": "2.1.1",
"uni-title": "1.1.1",
"uni-tooltip": "0.2.2",
"uni-tooltip": "0.2.3",
"uni-transition": "1.3.2"
}
2 changes: 2 additions & 0 deletions uni_modules/uni-collapse/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.4.4(2024-03-20)
- 修复 titleBorder类型修正
## 1.4.3(2022-01-25)
- 修复 初始化的时候 ,open 属性失效的bug
## 1.4.2(2022-01-21)
Expand Down
11 changes: 4 additions & 7 deletions uni_modules/uni-collapse/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-collapse",
"displayName": "uni-collapse 折叠面板",
"version": "1.4.3",
"version": "1.4.4",
"description": "Collapse 组件,可以折叠 / 展开的内容区域。",
"keywords": [
"uni-ui",
Expand All @@ -16,11 +16,7 @@
"directories": {
"example": "../../temps/example_temps"
},
"dcloudext": {
"category": [
"前端组件",
"通用组件"
],
"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
Expand All @@ -37,7 +33,8 @@
"data": "",
"permissions": ""
},
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
"type": "component-vue"
},
"uni_modules": {
"dependencies": [
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-data-checkbox/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.5(2024-03-20)
- 修复 单选模式下选中样式不生效的bug
## 1.0.4(2024-01-27)
- 修复 修复错别字chagne为change
## 1.0.3(2022-09-16)
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-data-checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-data-checkbox",
"displayName": "uni-data-checkbox 数据选择器",
"version": "1.0.4",
"version": "1.0.5",
"description": "通过数据驱动的单选框和复选框",
"keywords": [
"uni-ui",
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-easyinput/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.1.16(2024-03-20)
- 修复 在密码输入情况下 清除和小眼睛覆盖bug 在edge浏览器下显示双眼睛bug
## 1.1.15(2024-02-21)
- 新增 左侧插槽:left
## 1.1.14(2024-02-19)
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-easyinput/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-easyinput",
"displayName": "uni-easyinput 增强输入框",
"version": "1.1.15",
"version": "1.1.16",
"description": "Easyinput 组件是对原生input组件的增强",
"keywords": [
"uni-ui",
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-file-picker/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.0.8(2024-03-20)
- 补充 删除文件时返回文件下标
## 1.0.7(2024-02-21)
- 新增 微信小程序选择视频时改用chooseMedia,并返回视频缩略图
## 1.0.6(2024-01-06)
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-file-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-file-picker",
"displayName": "uni-file-picker 文件选择上传",
"version": "1.0.7",
"version": "1.0.8",
"description": "文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间",
"keywords": [
"uni-ui",
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-popup/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.8.9(2024-03-20)
- 修复 uni-popup-dialog 数据输入时修正为双向绑定
## 1.8.8(2024-02-20)
- 修复 uni-popup 在微信小程序下出现文字向上闪动的bug
## 1.8.7(2024-02-02)
Expand Down
1 change: 1 addition & 0 deletions uni_modules/uni-popup/components/uni-popup/uni-popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @property {Boolean} isMaskClick = [true|false] 蒙版点击是否关闭弹窗
* @property {String} backgroundColor 主窗口背景色
* @property {String} maskBackgroundColor 蒙版颜色
* @property {String} borderRadius 设置圆角(左上、右上、右下和左下) 示例:"10px 10px 10px 10px"
* @property {Boolean} safeArea 是否适配底部安全区
* @event {Function} change 打开关闭弹窗触发,e={show: false}
* @event {Function} maskClick 点击遮罩触发
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-popup/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-popup",
"displayName": "uni-popup 弹出层",
"version": "1.8.8",
"version": "1.8.9",
"description": " Popup 组件,提供常用的弹层",
"keywords": [
"uni-ui",
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-segmented-control/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.2.1(2024-03-20)
- 新增 inActiveColor属性,可供配置未激活时的颜色
## 1.2.0(2021-11-19)
- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-segmented-control](https://uniapp.dcloud.io/component/uniui/uni-segmented-control)
Expand Down
11 changes: 4 additions & 7 deletions uni_modules/uni-segmented-control/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-segmented-control",
"displayName": "uni-segmented-control 分段器",
"version": "1.2.0",
"version": "1.2.1",
"description": "分段器由至少 2 个分段控件组成,用作不同视图的显示",
"keywords": [
"uni-ui",
Expand All @@ -17,11 +17,7 @@
"directories": {
"example": "../../temps/example_temps"
},
"dcloudext": {
"category": [
"前端组件",
"通用组件"
],
"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
Expand All @@ -38,7 +34,8 @@
"data": "",
"permissions": ""
},
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
"type": "component-vue"
},
"uni_modules": {
"dependencies": ["uni-scss"],
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-tag/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 2.1.1(2024-03-20)
- 优化 app下边框过窄导致不显示的bug
## 2.1.0(2021-11-19)
- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-tag](https://uniapp.dcloud.io/component/uniui/uni-tag)
Expand Down
11 changes: 4 additions & 7 deletions uni_modules/uni-tag/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-tag",
"displayName": "uni-tag 标签",
"version": "2.1.0",
"version": "2.1.1",
"description": "Tag 组件,用于展示1个或多个文字标签,可点击切换选中、不选中的状态。",
"keywords": [
"uni-ui",
Expand All @@ -17,11 +17,7 @@
"directories": {
"example": "../../temps/example_temps"
},
"dcloudext": {
"category": [
"前端组件",
"通用组件"
],
"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
Expand All @@ -38,7 +34,8 @@
"data": "",
"permissions": ""
},
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
"type": "component-vue"
},
"uni_modules": {
"dependencies": ["uni-scss"],
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-tooltip/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.2.3(2024-03-20)
- 修复 弹出位置修正
## 0.2.2(2024-01-15)
- 新增 placement支持设置四个方向:top bottom left right
## 0.2.1(2022-05-09)
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-tooltip/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-tooltip",
"displayName": "uni-tooltip 提示文字",
"version": "0.2.2",
"version": "0.2.3",
"description": "Tooltip 提示文字",
"keywords": [
"uni-tooltip",
Expand Down
11 changes: 11 additions & 0 deletions uni_modules/uni-ui/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 1.5.3(2024-03-22)
- uni-collapse 修复 titleBorder类型修正
- uni-data-checkbox 修复 单选模式下选中样式不生效的bug
- uni-easyinput 修复 在密码输入情况下 清除和小眼睛覆盖bug 在edge浏览器下显示双眼睛bug
- uni-file-picker 补充 删除文件时返回文件下标
- uni-number-box 新增 设置宽度属性width(单位:px)
- uni-popup 修复 uni-popup-dialog 数据输入时修正为双向绑定
- uni-search-bar 修复 清空按钮emit值错误的bug
- uni-segmented-control 新增 inActiveColor属性,可供配置未激活时的颜色
- uni-tag 优化 app下边框过窄导致不显示的bug
- uni-tooltip 修复 弹出位置修正
## 1.5.2(2024-02-22)
- uni-countdown 新增 支持控制小时,分钟的显隐:showHour showMinute
- uni-datetime-picker 修复 日历的close事件触发异常的bug [详情](https://github.com/dcloudio/uni-ui/issues/844)
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-ui",
"displayName": "uni-ui",
"version": "1.5.2",
"version": "1.5.3",
"description": "uni-ui 是基于uni-app的、全端兼容的、高性能UI框架",
"keywords": [
"uni-ui",
Expand Down

0 comments on commit 00fafea

Please sign in to comment.