diff --git a/docs/changelog.md b/docs/changelog.md
index d31c8a54c..52a725f5c 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -7,6 +7,139 @@
- 主版本号:含有破坏性更新和新特性,不在发布周期内。
+
+
+
+ calendar在选择日期范围后重新选择日期需要点两次的Bug
+
+
+
+
+ clearAble属性
+
+
+
+
+ 支持控制显示位数 默认显示2位
+
+
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+ 没有选中日期时点击确定直接报错的Bug [详情](https://ask.dcloud.net.cn/question/198168)
+
+
+
+
+ 初始值传入 null 导致input报错的bug
+
+
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+
+
+ vue3兼容性
+
+
+ value 属性不兼容vue3的bug
+
+
+
+
+ 校验规则在抖音开发者工具上不生效的bug,详见:[https://ask.dcloud.net.cn/question/191933](https://ask.dcloud.net.cn/question/191933)
+
+
+ form上次修改的问题
+
+
+ binddata的兼容性问题
+
+
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+ uni-popup在android上的重复点击弹出位置不正确的bug
+
+
+
+
+ 运行到抖音小程序上出现的问题
+
+
+ 微信小程序中的getSystemInfo警告
+
+
+
+
+
+
+
+ 日期点击事件,在点击日期时会触发该事件。
+
+
+ 抖音小程序事件传递失效bug
+
+
+
+
+ easyinput组件双向绑定问题
+
+
+
+
+ 在vue2下H5黑边的bug
+
+
+ 在vue2手动输入后失焦导致清空数值的严重bug
+
+
+
+
+ uni-popup-dialog vue3下使用value无法进行绑定的bug(双向绑定兼容旧写法)
+
+
+
+
+ textColor默认值导致的文字不显示的bug
+
+
+ textColor不生效的bug
+
+
+
+
+ 修复在微信小程序下inactiveColor失效bug
+
+
+
+
+ 弹出位置默认值不一致导致的错位
+
+
+
+
+ 当元素会受变量影响自动隐藏的bug
+
+
+
+
diff --git a/docs/components/data-picker.md b/docs/components/data-picker.md
index 6d8b7c3cf..aa440ffaf 100644
--- a/docs/components/data-picker.md
+++ b/docs/components/data-picker.md
@@ -49,7 +49,7 @@
|clear-icon |Boolean | true/false | true |是否显示清除按钮|
|ellipsis |Boolean | true/false | true |是否隐藏 tab 标签过长的文本|
|step-searh |Boolean | true/false | true |分步查询时,点击节点请求数据|
-|step-search-url |String | | |分步查询时,动态加载云端数据url格式,`https://xxx.com/{parentValue}`(当前版本暂不支持,下版支持)|
+|step-search-url |String | | |分步查询时,动态加载云端数据url格式,`https://xxx.com/{parentValue}`(当前版本暂不支持,下版支持 1)|
|self-field |String | | |分步查询时当前字段名称|
|parent-field |String | | |分步查询时父字段名称|
|collection |String | | |表名。支持输入多个表名,用 `,` 分割|
diff --git a/docs/components/notice-bar.md b/docs/components/notice-bar.md
index 06505835b..ee54a3240 100644
--- a/docs/components/notice-bar.md
+++ b/docs/components/notice-bar.md
@@ -66,3 +66,18 @@ url : pages/vue/notice-bar/notice-bar
|@click |点击 NoticeBar 触发事件 |- |
|@close |关闭 NoticeBar 触发事件 |- |
|@getmore |点击”查看更多“时触发事件 |- |
+
+### 替换 icon 的 slot 插槽
+
+|插槽称名 |说明 |
+|:-: |:-: |
+|noticebarIcon |替换组件的通知图标|
+
+```html
+
+
+
+
+
+
+```
diff --git a/package.json b/package.json
index 2dc75b1ee..2ff4eb1d8 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"id": "55",
"name": "@dcloudio/uni-ui",
- "version": "1.5.5",
+ "version": "1.5.7",
"description": "",
"author": "dcloud",
"license": "Apache-2.0",
diff --git a/packages/package.json b/packages/package.json
index 36bdf2776..a3ca9ec2e 100644
--- a/packages/package.json
+++ b/packages/package.json
@@ -1,6 +1,6 @@
{
"name": "@dcloudio/uni-ui",
- "version": "1.5.5",
+ "version": "1.5.7",
"description": "",
"author": "",
"license": "Apache-2.0",
diff --git a/pages/vue/card/card.nvue b/pages/vue/card/card.nvue
index 02ee609d4..0af1bd638 100644
--- a/pages/vue/card/card.nvue
+++ b/pages/vue/card/card.nvue
@@ -115,8 +115,8 @@
components: {},
data() {
return {
- cover: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
- avatar: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png',
+ cover: 'https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg',
+ avatar: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
extraIcon: {
color: '#4cd964',
size: '22',
diff --git a/pages/vue/collapse/collapse.vue b/pages/vue/collapse/collapse.vue
index b9a21fd7b..fda3e02c6 100644
--- a/pages/vue/collapse/collapse.vue
+++ b/pages/vue/collapse/collapse.vue
@@ -62,13 +62,13 @@
+ thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png">
折叠内容主体,可自定义内容及样式
+ thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png">
折叠内容主体,可自定义内容及样式
@@ -96,7 +96,7 @@
diff --git a/pages/vue/countdown/countdown.nvue b/pages/vue/countdown/countdown.nvue
index b9f1e286e..e6e6e8aea 100644
--- a/pages/vue/countdown/countdown.nvue
+++ b/pages/vue/countdown/countdown.nvue
@@ -30,6 +30,9 @@
+
+
+
diff --git a/pages/vue/easyinput/easyinput.vue b/pages/vue/easyinput/easyinput.vue
index f97b17b06..6c243384a 100644
--- a/pages/vue/easyinput/easyinput.vue
+++ b/pages/vue/easyinput/easyinput.vue
@@ -16,8 +16,7 @@
-
+
@@ -29,16 +28,15 @@
-
+
-
-
+
+
https://
-
+
diff --git a/pages/vue/file-picker/file-picker.vue b/pages/vue/file-picker/file-picker.vue
index a969b4b57..11e9a59ff 100644
--- a/pages/vue/file-picker/file-picker.vue
+++ b/pages/vue/file-picker/file-picker.vue
@@ -75,15 +75,15 @@
}
},
fileLists: [{
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
extname: 'png',
name: 'shuijiao.png'
}, {
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
extname: 'png',
name: 'uniapp-logo.png'
}, {
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
extname: 'png',
name: 'shuijiao.png'
}]
diff --git a/pages/vue/list/list.nvue b/pages/vue/list/list.nvue
index 67875d00b..5caee520b 100644
--- a/pages/vue/list/list.nvue
+++ b/pages/vue/list/list.nvue
@@ -66,10 +66,10 @@
thumb-size="sm" rightText="小图" />
@@ -111,8 +111,8 @@
components: {},
data() {
return {
- cover: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
- avatar: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png',
+ cover: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
+ avatar: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
extraIcon: {
color: '#4cd964',
size: '22',
diff --git a/pages/vue/notice-bar/notice-bar.vue b/pages/vue/notice-bar/notice-bar.vue
index c4628f7cd..4568587db 100644
--- a/pages/vue/notice-bar/notice-bar.vue
+++ b/pages/vue/notice-bar/notice-bar.vue
@@ -30,6 +30,13 @@
+
+
+
+
+
+
+
@@ -61,4 +68,4 @@
bottom: 0;
/* #endif */
}
-
+
diff --git a/pages/vue/swiper-dot/swiper-dot.nvue b/pages/vue/swiper-dot/swiper-dot.nvue
index c515c482d..754412d42 100644
--- a/pages/vue/swiper-dot/swiper-dot.nvue
+++ b/pages/vue/swiper-dot/swiper-dot.nvue
@@ -58,17 +58,17 @@
return {
info: [{
colorClass: 'uni-bg-red',
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
content: '内容 A'
},
{
colorClass: 'uni-bg-green',
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
content: '内容 B'
},
{
colorClass: 'uni-bg-blue',
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
+ url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
content: '内容 C'
}
],
diff --git a/temps/sync-version.json b/temps/sync-version.json
index 8de19e612..ef89d30bb 100644
--- a/temps/sync-version.json
+++ b/temps/sync-version.json
@@ -1,22 +1,22 @@
{
"uni-badge": "1.2.2",
"uni-breadcrumb": "0.1.2",
- "uni-calendar": "1.4.11",
+ "uni-calendar": "1.4.12",
"uni-card": "1.3.1",
"uni-collapse": "1.4.4",
- "uni-combox": "1.0.1",
- "uni-countdown": "1.2.3",
+ "uni-combox": "1.0.2",
+ "uni-countdown": "1.2.4",
"uni-data-checkbox": "1.0.5",
"uni-data-picker": "2.0.0",
"uni-data-select": "1.0.8",
"uni-dateformat": "1.0.0",
- "uni-datetime-picker": "2.2.32",
+ "uni-datetime-picker": "2.2.38",
"uni-drawer": "1.2.1",
- "uni-easyinput": "1.1.17",
- "uni-fab": "1.2.5",
+ "uni-easyinput": "1.1.19",
+ "uni-fab": "1.2.6",
"uni-fav": "1.2.1",
- "uni-file-picker": "1.0.8",
- "uni-forms": "1.4.10",
+ "uni-file-picker": "1.0.10",
+ "uni-forms": "1.4.13",
"uni-goods-nav": "1.2.1",
"uni-grid": "1.4.0",
"uni-group": "1.2.2",
@@ -24,24 +24,24 @@
"uni-indexed-list": "1.2.1",
"uni-link": "1.0.0",
"uni-list": "1.2.14",
- "uni-load-more": "1.3.3",
- "uni-nav-bar": "1.3.11",
+ "uni-load-more": "1.3.6",
+ "uni-nav-bar": "1.3.14",
"uni-notice-bar": "1.2.2",
- "uni-number-box": "1.2.6",
+ "uni-number-box": "1.2.8",
"uni-pagination": "1.2.4",
- "uni-popup": "1.9.0",
+ "uni-popup": "1.9.5",
"uni-rate": "1.3.1",
"uni-row": "1.0.0",
"uni-scss": "1.0.3",
- "uni-search-bar": "1.2.8",
+ "uni-search-bar": "1.3.0",
"uni-section": "0.0.1",
- "uni-segmented-control": "1.2.2",
+ "uni-segmented-control": "1.2.3",
"uni-steps": "1.1.2",
"uni-swipe-action": "1.3.10",
"uni-swiper-dot": "1.2.0",
- "uni-table": "1.2.4",
+ "uni-table": "1.2.8",
"uni-tag": "2.1.1",
"uni-title": "1.1.1",
- "uni-tooltip": "0.2.3",
- "uni-transition": "1.3.2"
+ "uni-tooltip": "0.2.4",
+ "uni-transition": "1.3.3"
}
\ No newline at end of file
diff --git a/uni_modules/uni-calendar/changelog.md b/uni_modules/uni-calendar/changelog.md
index a728bb808..30ca0df70 100644
--- a/uni_modules/uni-calendar/changelog.md
+++ b/uni_modules/uni-calendar/changelog.md
@@ -1,3 +1,5 @@
+## 1.4.12(2024-09-21)
+- 修复 calendar在选择日期范围后重新选择日期需要点两次的Bug
## 1.4.11(2024-01-10)
- 修复 回到今天时,月份显示不一致问题
## 1.4.10(2023-04-10)
diff --git a/uni_modules/uni-calendar/components/uni-calendar/calendar.js b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
index b8d7d6fc4..55eed81de 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/calendar.js
+++ b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
@@ -351,10 +351,8 @@ var calendar = {
s = '\u521d\u5341'; break
case 20:
s = '\u4e8c\u5341'; break
- break
case 30:
s = '\u4e09\u5341'; break
- break
default :
s = this.nStr2[Math.floor(d / 10)]
s += this.nStr1[d % 10]
diff --git a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
index 1e002545d..a0083dec2 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
+++ b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
@@ -214,11 +214,11 @@
const value = e.detail.value + '-1'
this.setDate(value)
- const { year,month } = this.cale.getDate(value)
- this.$emit('monthSwitch', {
- year,
- month
- })
+ let detail = this.cale.getDate(value)
+ this.$emit('monthSwitch', {
+ year: detail.year,
+ month: Number(detail.month)
+ })
},
/**
* 初始化日期显示
diff --git a/uni_modules/uni-calendar/components/uni-calendar/util.js b/uni_modules/uni-calendar/components/uni-calendar/util.js
index 671f61e0b..6e949d73b 100644
--- a/uni_modules/uni-calendar/components/uni-calendar/util.js
+++ b/uni_modules/uni-calendar/components/uni-calendar/util.js
@@ -296,7 +296,7 @@ class Calendar {
if (!this.range) return
if (before && after) {
- this.multipleStatus.before = ''
+ this.multipleStatus.before = fullDate
this.multipleStatus.after = ''
this.multipleStatus.data = []
} else {
diff --git a/uni_modules/uni-calendar/package.json b/uni_modules/uni-calendar/package.json
index bceaed37d..ec924e914 100644
--- a/uni_modules/uni-calendar/package.json
+++ b/uni_modules/uni-calendar/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-calendar",
"displayName": "uni-calendar 日历",
- "version": "1.4.11",
+ "version": "1.4.12",
"description": "日历组件",
"keywords": [
"uni-ui",
@@ -44,7 +44,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
@@ -82,4 +83,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/uni_modules/uni-combox/changelog.md b/uni_modules/uni-combox/changelog.md
index 15256a2e7..64972dbc3 100644
--- a/uni_modules/uni-combox/changelog.md
+++ b/uni_modules/uni-combox/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.2(2024-09-21)
+- 新增 clearAble属性
## 1.0.1(2021-11-23)
- 优化 label、label-width 属性
## 1.0.0(2021-11-19)
diff --git a/uni_modules/uni-combox/components/uni-combox/uni-combox.vue b/uni_modules/uni-combox/components/uni-combox/uni-combox.vue
index 98bf152e3..ed1f7cd47 100644
--- a/uni_modules/uni-combox/components/uni-combox/uni-combox.vue
+++ b/uni_modules/uni-combox/components/uni-combox/uni-combox.vue
@@ -4,10 +4,11 @@
{{label}}
-
-
+
+
+
+
@@ -16,8 +17,8 @@
{{emptyTips}}
-
+
{{item}}
@@ -41,6 +42,10 @@
name: 'uniCombox',
emits: ['input', 'update:modelValue'],
props: {
+ clearAble: {
+ type: Boolean,
+ default: false
+ },
border: {
type: Boolean,
default: true
@@ -143,6 +148,10 @@
this.$emit('input', this.inputVal)
this.$emit('update:modelValue', this.inputVal)
})
+ },
+ clean() {
+ this.inputVal = ''
+ this.onInput()
}
}
}
@@ -272,4 +281,4 @@
.uni-combox__no-border {
border: none;
}
-
+
diff --git a/uni_modules/uni-combox/package.json b/uni_modules/uni-combox/package.json
index 3fed6140a..779716d71 100644
--- a/uni_modules/uni-combox/package.json
+++ b/uni_modules/uni-combox/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-combox",
"displayName": "uni-combox 组合框",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "可以选择也可以输入的表单项 ",
"keywords": [
"uni-ui",
@@ -17,11 +17,7 @@
"directories": {
"example": "../../temps/example_temps"
},
- "dcloudext": {
- "category": [
- "前端组件",
- "通用组件"
- ],
+"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
@@ -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": [
@@ -49,7 +46,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
@@ -87,4 +85,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/uni_modules/uni-countdown/changelog.md b/uni_modules/uni-countdown/changelog.md
index 16fc324b1..baed0ad95 100644
--- a/uni_modules/uni-countdown/changelog.md
+++ b/uni_modules/uni-countdown/changelog.md
@@ -1,3 +1,7 @@
+## 1.2.5(2025-04-14)
+- 修复 filterShow 导致的运行报错
+## 1.2.4(2024-09-21)
+- 新增 支持控制显示位数 默认显示2位
## 1.2.3(2024-02-20)
- 新增 支持控制小时,分钟的显隐:showHour showMinute
## 1.2.2(2022-01-19)
diff --git a/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue b/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
index 820209b83..bf7b1df2e 100644
--- a/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
+++ b/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
@@ -96,6 +96,12 @@
timestamp: {
type: Number,
default: 0
+ },
+ filterShow : {
+ type:Object,
+ default () {
+ return {}
+ }
}
},
data() {
@@ -208,23 +214,14 @@
second = Math.floor(seconds) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60)
} else {
this.timeUp()
- }
- if (day < 10) {
- day = '0' + day
- }
- if (hour < 10) {
- hour = '0' + hour
- }
- if (minute < 10) {
- minute = '0' + minute
- }
- if (second < 10) {
- second = '0' + second
- }
- this.d = day
- this.h = hour
- this.i = minute
- this.s = second
+ }
+ this.d = String(day).padStart(this.validFilterShow(this.filterShow.d), '0')
+ this.h = String(hour).padStart(this.validFilterShow(this.filterShow.h), '0')
+ this.i = String(minute).padStart(this.validFilterShow(this.filterShow.m), '0')
+ this.s = String(second).padStart(this.validFilterShow(this.filterShow.s), '0')
+ },
+ validFilterShow(filter){
+ return (filter && filter > 0) ? filter : 2;
},
startData() {
this.seconds = this.toSeconds(this.timestamp, this.day, this.hour, this.minute, this.second)
diff --git a/uni_modules/uni-countdown/package.json b/uni_modules/uni-countdown/package.json
index 662207442..73c35f5e0 100644
--- a/uni_modules/uni-countdown/package.json
+++ b/uni_modules/uni-countdown/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-countdown",
"displayName": "uni-countdown 倒计时",
- "version": "1.2.3",
+ "version": "1.2.5",
"description": "CountDown 倒计时组件",
"keywords": [
"uni-ui",
@@ -42,12 +42,15 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "y"
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",
@@ -80,4 +83,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/uni_modules/uni-data-picker/changelog.md b/uni_modules/uni-data-picker/changelog.md
index d7893b03f..0bf3f663d 100644
--- a/uni_modules/uni-data-picker/changelog.md
+++ b/uni_modules/uni-data-picker/changelog.md
@@ -1,3 +1,5 @@
+## 2.0.2(2025-04-14)
+- 修复 在readonly属性为true时选项匹配错误的问题
## 2.0.0(2023-12-14)
- 新增 支持 uni-app-x
## 1.1.2(2023-04-11)
diff --git a/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue b/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
index c86d54760..7c63bed46 100644
--- a/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
+++ b/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
@@ -232,15 +232,24 @@
}
let result = []
- for (let i = 0; i < value.length; i++) {
- var val = value[i]
- var item = dataList.find((v) => {
- return v.value == val
- })
- if (item) {
- result.push(item)
- }
- }
+ if (Array.isArray(value)) {
+ for (let i = 0; i < value.length; i++) {
+ var val = value[i]
+ var item = dataList.find((v) => {
+ return v.value == val
+ })
+ if (item) {
+ result.push(item)
+ }
+ }
+ } else {
+ let item = dataList.find((v) => {
+ return v.value == value;
+ });
+ if (item) {
+ result.push(item);
+ }
+ }
if (result.length) {
this.inputSelected = result
}
diff --git a/uni_modules/uni-data-picker/package.json b/uni_modules/uni-data-picker/package.json
index cb895b10f..1b1f17104 100644
--- a/uni_modules/uni-data-picker/package.json
+++ b/uni_modules/uni-data-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-data-picker",
"displayName": "uni-data-picker 数据驱动的picker选择器",
- "version": "2.0.0",
+ "version": "2.0.2",
"description": "单列、多列级联选择器,常用于省市区城市选择、公司部门选择、多级分类等场景",
"keywords": [
"uni-ui",
@@ -48,13 +48,15 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "y",
- "app-uvue": "y"
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-uvue": "y",
+ "app-harmony": "u"
},
"H5-mobile": {
"Safari": "y",
diff --git a/uni_modules/uni-data-select/changelog.md b/uni_modules/uni-data-select/changelog.md
index 016e3d2f6..065851052 100644
--- a/uni_modules/uni-data-select/changelog.md
+++ b/uni_modules/uni-data-select/changelog.md
@@ -1,3 +1,7 @@
+## 1.0.10(2025-04-14)
+- 修复 清除按钮不展示问题
+## 1.0.9(2025-03-26)
+- 优化 默认背景为白色与整体组件保持风格统一
## 1.0.8(2024-03-28)
- 修复 在vue2下:style动态绑定导致编译失败的bug
## 1.0.7(2024-01-20)
diff --git a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
index ba3d70f34..cad39e3cc 100644
--- a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
+++ b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
@@ -6,10 +6,10 @@
{{textShow}}
{{typePlaceholder}}
-
+
-
+
@@ -143,9 +143,6 @@
textShow() {
// 长文本显示
let text = this.current;
- if (text.length > 10) {
- return text.slice(0, 25) + '...';
- }
return text;
},
getOffsetByPlacement() {
@@ -244,6 +241,7 @@
clearVal() {
this.emit('')
+ this.current = ''
if (this.collection) {
this.removeCache()
}
@@ -351,7 +349,8 @@
box-sizing: border-box;
}
- .uni-stat-box {
+ .uni-stat-box {
+ background-color: #fff;
width: 100%;
flex: 1;
}
@@ -404,14 +403,15 @@
}
.uni-select__input-box {
- height: 35px;
+ height: 35px;
+ width: 0px;
position: relative;
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex: 1;
flex-direction: row;
- align-items: center;
+ align-items: center;
}
.uni-select__input {
@@ -559,4 +559,4 @@
left: 0;
z-index: 2;
}
-
+
diff --git a/uni_modules/uni-data-select/package.json b/uni_modules/uni-data-select/package.json
index 4dfebd7c7..f94477098 100644
--- a/uni_modules/uni-data-select/package.json
+++ b/uni_modules/uni-data-select/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-data-select",
"displayName": "uni-data-select 下拉框选择器",
- "version": "1.0.8",
+ "version": "1.0.10",
"description": "通过数据驱动的下拉框选择器",
"keywords": [
"uni-ui",
@@ -48,8 +48,10 @@
},
"client": {
"App": {
- "app-vue": "u",
- "app-nvue": "n"
+ "app-vue": "y",
+ "app-nvue": "n",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",
diff --git a/uni_modules/uni-datetime-picker/changelog.md b/uni_modules/uni-datetime-picker/changelog.md
index 8798e9370..e606c4d97 100644
--- a/uni_modules/uni-datetime-picker/changelog.md
+++ b/uni_modules/uni-datetime-picker/changelog.md
@@ -1,3 +1,12 @@
+## 2.2.40(2025-04-14)
+- 修复 绑定字符串值的时,日历面板选中状态未重置到默认值的问题
+## 2.2.39(2025-04-14)
+- 修复 在 iOS 微信小程序上type='daterange'时,传入'YYYY-MM-DD'格式不生效的问题
+
+## 2.2.38(2024-10-15)
+- 修复 微信小程序中的getSystemInfo警告
+## 2.2.35(2024-09-21)
+- 修复 没有选中日期时点击确定直接报错的Bug [详情](https://ask.dcloud.net.cn/question/198168)
## 2.2.34(2024-04-24)
- 新增 日期点击事件,在点击日期时会触发该事件。
## 2.2.33(2024-04-15)
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
index 11fc45a96..6cec558b5 100644
--- a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
@@ -464,9 +464,16 @@
this.isPhone = navigator.userAgent.toLowerCase().indexOf('mobile') !== -1
return
}
+ // #ifdef MP-WEIXIN
+ const {
+ windowWidth
+ } = uni.getWindowInfo()
+ // #endif
+ // #ifndef MP-WEIXIN
const {
windowWidth
} = uni.getSystemInfoSync()
+ // #endif
this.isPhone = windowWidth <= 500
this.windowWidth = windowWidth
},
@@ -666,6 +673,7 @@
this.displayValue = e.fulldate
}
this.setEmit(this.displayValue)
+ this.calendarDate = this.displayValue;
}
this.$refs.mobile.close()
},
@@ -692,17 +700,25 @@
let startDateLaterRangeStartDate = false
let startDateLaterRangeEndDate = false
let startDate, startTime
+
+ let compareStartDateString = this.tempRange.startDate
+ let compareEndDateString = this.tempRange.endDate
+ if (this.hasTime) {
+ compareStartDateString = `${this.tempRange.startDate} ${this.tempRange.startTime}`
+ compareEndDateString = `${this.tempRange.endDate} ${this.tempRange.endTime}`
+ }
+
if (this.start) {
let startString = this.start
if (typeof this.start === 'number') {
startString = getDateTime(this.start, this.hideSecond)
}
[startDate, startTime] = startString.split(' ')
- if (this.start && !dateCompare(this.start, this.tempRange.startDate)) {
+ if (this.start && !dateCompare(this.start, compareStartDateString)) {
startDateLaterRangeStartDate = true
this.tempRange.startDate = startDate
}
- if (this.start && !dateCompare(this.start, this.tempRange.endDate)) {
+ if (this.start && !dateCompare(this.start, compareEndDateString)) {
startDateLaterRangeEndDate = true
this.tempRange.endDate = startDate
}
@@ -717,11 +733,11 @@
}
[endDate, endTime] = endString.split(' ')
- if (this.end && !dateCompare(this.tempRange.startDate, this.end)) {
+ if (this.end && !dateCompare(compareStartDateString, this.end)) {
endDateEarlierRangeStartDate = true
this.tempRange.startDate = endDate
}
- if (this.end && !dateCompare(this.tempRange.endDate, this.end)) {
+ if (this.end && !dateCompare(compareEndDateString, this.end)) {
endDateEarlierRangeEndDate = true
this.tempRange.endDate = endDate
}
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
index acf7e4ba5..bc9d481eb 100644
--- a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
@@ -182,8 +182,8 @@ class Calendar {
if (!date) {
date = new Date()
}
-
- return this.calendar.find(item => item.fullDate === this.getDateObj(date).fullDate)
+ const res = this.calendar.find(item => item.fullDate === this.getDateObj(date).fullDate)
+ return res ? res : this.getDateObj(date)
}
/**
diff --git a/uni_modules/uni-datetime-picker/package.json b/uni_modules/uni-datetime-picker/package.json
index 4d1b05c5e..dc83890a6 100644
--- a/uni_modules/uni-datetime-picker/package.json
+++ b/uni_modules/uni-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-datetime-picker",
"displayName": "uni-datetime-picker 日期选择器",
- "version": "2.2.34",
+ "version": "2.2.40",
"description": "uni-datetime-picker 日期时间选择器,支持日历,支持范围选择",
"keywords": [
"uni-datetime-picker",
@@ -51,8 +51,10 @@
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "n"
+ "app-vue": "y",
+ "app-nvue": "n",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",
diff --git a/uni_modules/uni-easyinput/changelog.md b/uni_modules/uni-easyinput/changelog.md
index 6677b079c..84c72eb78 100644
--- a/uni_modules/uni-easyinput/changelog.md
+++ b/uni_modules/uni-easyinput/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.19(2024-07-18)
+- 修复 初始值传入 null 导致input报错的bug
## 1.1.18(2024-04-11)
- 修复 easyinput组件双向绑定问题
## 1.1.17(2024-03-28)
diff --git a/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
index d41411b04..05ae27d9e 100644
--- a/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
+++ b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
@@ -1,693 +1,676 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-easyinput/package.json b/uni_modules/uni-easyinput/package.json
index 62bbff56a..2939256ae 100644
--- a/uni_modules/uni-easyinput/package.json
+++ b/uni_modules/uni-easyinput/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-easyinput",
"displayName": "uni-easyinput 增强输入框",
- "version": "1.1.18",
+ "version": "1.1.19",
"description": "Easyinput 组件是对原生input组件的增强",
"keywords": [
"uni-ui",
diff --git a/uni_modules/uni-fab/changelog.md b/uni_modules/uni-fab/changelog.md
index 9bd472926..8a228070e 100644
--- a/uni_modules/uni-fab/changelog.md
+++ b/uni_modules/uni-fab/changelog.md
@@ -1,3 +1,5 @@
+## 1.2.6(2024-10-12)
+- 修复 微信小程序中的getSystemInfo警告
## 1.2.5(2023-03-29)
- 新增 pattern.icon 属性,可自定义图标
## 1.2.4(2022-09-07)
diff --git a/uni_modules/uni-fab/components/uni-fab/uni-fab.vue b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
index 43b453143..0cc2ef3de 100644
--- a/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
+++ b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
@@ -163,9 +163,9 @@
return this.getPosition(2, 'horizontal', 'right')
},
// 计算 nvue bottom
- nvueBottom() {
- const safeBottom = uni.getSystemInfoSync().windowBottom;
- // #ifdef APP-NVUE
+ nvueBottom() {
+ // #ifdef APP-NVUE
+ const safeBottom = uni.getSystemInfoSync().windowBottom;
return 30 + safeBottom
// #endif
// #ifndef APP-NVUE
diff --git a/uni_modules/uni-fab/package.json b/uni_modules/uni-fab/package.json
index 18c081022..1b8543c43 100644
--- a/uni_modules/uni-fab/package.json
+++ b/uni_modules/uni-fab/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-fab",
"displayName": "uni-fab 悬浮按钮",
- "version": "1.2.5",
+ "version": "1.2.6",
"description": "悬浮按钮 fab button ,点击可展开一个图标按钮菜单。",
"keywords": [
"uni-ui",
@@ -43,7 +43,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
diff --git a/uni_modules/uni-file-picker/changelog.md b/uni_modules/uni-file-picker/changelog.md
index 24fd817a3..7c956adec 100644
--- a/uni_modules/uni-file-picker/changelog.md
+++ b/uni_modules/uni-file-picker/changelog.md
@@ -1,3 +1,9 @@
+## 1.0.12(2025-04-14)
+- 修复 支付宝小程序 上传样式问题
+## 1.0.10(2024-07-09)
+- 优化 vue3兼容性
+## 1.0.9(2024-07-09)
+- 修复 value 属性不兼容vue3的bug
## 1.0.8(2024-03-20)
- 补充 删除文件时返回文件下标
## 1.0.7(2024-02-21)
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
index bd099c7ee..793f99a22 100644
--- a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
@@ -8,10 +8,8 @@
:image-styles="imageStyles" :files-list="filesList" :limit="limitLength" :disablePreview="disablePreview"
:delIcon="delIcon" @uploadFiles="uploadFiles" @choose="choose" @delFile="delFile">
-
-
-
-
+
+
-
-
-
-
+
@@ -254,13 +251,6 @@
justify-content: center;
}
- .icon-add {
- width: 50px;
- height: 5px;
- background-color: #f1f1f1;
- border-radius: 2px;
- }
-
.rotate {
position: absolute;
transform: rotate(90deg);
diff --git a/uni_modules/uni-file-picker/package.json b/uni_modules/uni-file-picker/package.json
index 9bcf43092..15a549fde 100644
--- a/uni_modules/uni-file-picker/package.json
+++ b/uni_modules/uni-file-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-file-picker",
"displayName": "uni-file-picker 文件选择上传",
- "version": "1.0.8",
+ "version": "1.0.12",
"description": "文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间",
"keywords": [
"uni-ui",
@@ -42,12 +42,15 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "n"
+ "app-vue": "y",
+ "app-nvue": "n",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",
diff --git a/uni_modules/uni-forms/changelog.md b/uni_modules/uni-forms/changelog.md
index 3d998bcf5..0b58ab862 100644
--- a/uni_modules/uni-forms/changelog.md
+++ b/uni_modules/uni-forms/changelog.md
@@ -1,3 +1,9 @@
+## 1.4.13(2024-10-08)
+- 修复 校验规则在抖音开发者工具上不生效的bug,详见:[https://ask.dcloud.net.cn/question/191933](https://ask.dcloud.net.cn/question/191933)
+## 1.4.12 (2024-9-21)
+- 修复 form上次修改的问题
+## 1.4.11 (2024-9-14)
+- 修复 binddata的兼容性问题
## 1.4.10(2023-11-03)
- 优化 labelWidth 描述错误
## 1.4.9(2023-02-10)
diff --git a/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
index 59b0528d4..6af50aaa8 100644
--- a/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
+++ b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
@@ -56,8 +56,13 @@
export default {
name: 'uniFormsItem',
- options: {
- virtualHost: true
+ options: {
+ // #ifdef MP-TOUTIAO
+ virtualHost: false,
+ // #endif
+ // #ifndef MP-TOUTIAO
+ virtualHost: true
+ // #endif
},
provide() {
return {
diff --git a/uni_modules/uni-forms/components/uni-forms/uni-forms.vue b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue
index b484cc9df..64dde2a71 100644
--- a/uni_modules/uni-forms/components/uni-forms/uni-forms.vue
+++ b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue
@@ -67,8 +67,13 @@
export default {
name: 'uniForms',
emits: ['validate', 'submit'],
- options: {
- virtualHost: true
+ options: {
+ // #ifdef MP-TOUTIAO
+ virtualHost: false,
+ // #endif
+ // #ifndef MP-TOUTIAO
+ virtualHost: true
+ // #endif
},
props: {
// 即将弃用
@@ -180,15 +185,17 @@
}
}
if (!formVm) return console.error('当前 uni-froms 组件缺少 ref 属性');
- formVm.setValue(name, value);
+ if(formVm.model)formVm.model[name] = value
+ if(formVm.modelValue)formVm.modelValue[name] = value
+ if(formVm.value)formVm.value[name] = value
}
}
}
// #endif
// 子组件实例数组
- this.childrens = []
- // TODO 兼容旧版 uni-data-picker ,新版本中无效,只是避免报错
+ this.childrens = []
+ // TODO 兼容旧版 uni-data-picker ,新版本中无效,只是避免报错
this.inputChildrens = []
this.setRules(this.rules)
},
@@ -394,4 +401,4 @@
+
diff --git a/uni_modules/uni-forms/package.json b/uni_modules/uni-forms/package.json
index 464b4e6c9..0d72c6320 100644
--- a/uni_modules/uni-forms/package.json
+++ b/uni_modules/uni-forms/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-forms",
"displayName": "uni-forms 表单",
- "version": "1.4.10",
+ "version": "1.4.13",
"description": "由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据",
"keywords": [
"uni-ui",
@@ -46,7 +46,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
diff --git a/uni_modules/uni-list/changelog.md b/uni_modules/uni-list/changelog.md
index 8254a1851..fdc978deb 100644
--- a/uni_modules/uni-list/changelog.md
+++ b/uni_modules/uni-list/changelog.md
@@ -1,3 +1,7 @@
+## 1.2.16(2025-04-14)
+- 修复 可触发点击反馈的 uni-list-item 没有hover效果的问题
+## 1.2.15(2025-01-08)
+- 修复 示例中过期图片地址
## 1.2.14(2023-04-14)
- 优化 uni-list-chat 具名插槽`header` 非app端套一层元素,方便使用时通过外层元素定位实现样式修改
## 1.2.13(2023-03-03)
diff --git a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue
index 2322373b6..47be51b67 100644
--- a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue
+++ b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue
@@ -213,14 +213,22 @@
"bottom": verticalPadding,
"left": horizontalPadding
}
+ } else if(paddingArr.length === 3) {
+ const [topPadding, horizontalPadding, bottomPadding] = paddingArr;
+ this.padding = {
+ "top": topPadding,
+ "right": horizontalPadding,
+ "bottom": bottomPadding,
+ "left": horizontalPadding
+ }
} else if (paddingArr.length === 4) {
- const [topPadding, rightPadding, bottomPadding, leftPadding] = paddingArr;
- this.padding = {
- "top": topPadding,
- "right": rightPadding,
- "bottom": bottomPadding,
- "left": leftPadding
- }
+ const [topPadding, rightPadding, bottomPadding, leftPadding] = paddingArr;
+ this.padding = {
+ "top": topPadding,
+ "right": rightPadding,
+ "bottom": bottomPadding,
+ "left": leftPadding
+ }
}
},
immediate: true
@@ -352,7 +360,7 @@
}
.uni-list-item--hover {
- background-color: $uni-bg-color-hover;
+ background-color: $uni-bg-color-hover !important;
}
.uni-list-item__container {
@@ -531,4 +539,4 @@
text-overflow: ellipsis;
/* #endif */
}
-
\ No newline at end of file
+
diff --git a/uni_modules/uni-list/package.json b/uni_modules/uni-list/package.json
index 8350efced..82defd7dc 100644
--- a/uni_modules/uni-list/package.json
+++ b/uni_modules/uni-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-list",
"displayName": "uni-list 列表",
- "version": "1.2.14",
+ "version": "1.2.16",
"description": "List 组件 ,帮助使用者快速构建列表。",
"keywords": [
"",
@@ -47,12 +47,15 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "y"
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",
diff --git a/uni_modules/uni-list/readme.md b/uni_modules/uni-list/readme.md
index 32c28654e..ae499e664 100644
--- a/uni_modules/uni-list/readme.md
+++ b/uni_modules/uni-list/readme.md
@@ -20,304 +20,8 @@ uni-list-item有很多风格,uni-list-item组件通过内置的属性,满足
uni-list不包含下拉刷新和上拉翻页。上拉翻页另见组件:[uni-load-more](https://ext.dcloud.net.cn/plugin?id=29)
-
-### 安装方式
-
-本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
-
-如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
-
-> **注意事项**
-> 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的注意事项,可以帮你避免一些错误。
-> - 组件需要依赖 `sass` 插件 ,请自行手动安装
-> - 组件内部依赖 `'uni-icons'` 、`uni-badge` 组件
-> - `uni-list` 和 `uni-list-item` 需要配套使用,暂不支持单独使用 `uni-list-item`
-> - 只有开启点击反馈后,会有点击选中效果
-> - 使用插槽时,可以完全自定义内容
-> - note 、rightText 属性暂时没做限制,不支持文字溢出隐藏,使用时应该控制长度显示或通过默认插槽自行扩展
-> - 支付宝小程序平台需要在支付宝小程序开发者工具里开启 component2 编译模式,开启方式: 详情 --> 项目配置 --> 启用 component2 编译
-> - 如果需要修改 `switch`、`badge` 样式,请使用插槽自定义
-> - 在 `HBuilderX` 低版本中,可能会出现组件显示 `undefined` 的问题,请升级最新的 `HBuilderX` 或者 `cli`
-> - 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
-
-
-### 基本用法
-
-- 设置 `title` 属性,可以显示列表标题
-- 设置 `disabled` 属性,可以禁用当前项
-
-```html
-
-
-
-
-
-```
-
-### 多行内容显示
-
-- 设置 `note` 属性 ,可以在第二行显示描述文本信息
-
-```html
-
-
-
-
-
-```
-
-### 右侧显示角标、switch
-
-- 设置 `show-badge` 属性 ,可以显示角标内容
-- 设置 `show-switch` 属性,可以显示 switch 开关
-
-```html
-
-
-
-
-
-```
-
-### 左侧显示略缩图、图标
-
-- 设置 `thumb` 属性 ,可以在列表左侧显示略缩图
-- 设置 `show-extra-icon` 属性,并指定 `extra-icon` 可以在左侧显示图标
-
-```html
-
-
-
-
-```
-
-### 开启点击反馈和右侧箭头
-- 设置 `clickable` 为 `true` ,则表示这是一个可点击的列表,会默认给一个点击效果,并可以监听 `click` 事件
-- 设置 `link` 属性,会自动开启点击反馈,并给列表右侧添加一个箭头
-- 设置 `to` 属性,可以跳转页面,`link` 的值表示跳转方式,如果不指定,默认为 `navigateTo`
-
-```html
-
-
-
-
-
-
-
-```
-
-
-### 聊天列表示例
-- 设置 `clickable` 为 `true` ,则表示这是一个可点击的列表,会默认给一个点击效果,并可以监听 `click` 事件
-- 设置 `link` 属性,会自动开启点击反馈,`link` 的值表示跳转方式,如果不指定,默认为 `navigateTo`
-- 设置 `to` 属性,可以跳转页面
-- `time` 属性,通常会设置成时间显示,但是这个属性不仅仅可以设置时间,你可以传入任何文本,注意文本长度可能会影响显示
-- `avatar` 和 `avatarList` 属性同时只会有一个生效,同时设置的话,`avatarList` 属性的长度大于1 ,`avatar` 属性将失效
-- 可以通过默认插槽自定义列表右侧内容
-
-```html
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 刚刚
-
-
-
-
-
-
-
-```
-
-```javascript
-
-export default {
- components: {},
- data() {
- return {
- avatarList: [{
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png'
- }, {
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png'
- }, {
- url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png'
- }]
- }
- }
-}
-
-```
-
-
-```css
-
-.chat-custom-right {
- flex: 1;
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-end;
-}
-
-.chat-custom-text {
- font-size: 12px;
- color: #999;
-}
-
-```
-
-## API
-
-### List Props
-
-属性名 |类型 |默认值 | 说明
-:-: |:-: |:-: | :-:
-border |Boolean |true | 是否显示边框
-
-
-### ListItem Props
-
-属性名 |类型 |默认值 | 说明
-:-: |:-: |:-: | :-:
-title |String |- | 标题
-note |String |- | 描述
-ellipsis |Number |0 | title 是否溢出隐藏,可选值,0:默认; 1:显示一行; 2:显示两行;【nvue 暂不支持】
-thumb |String |- | 左侧缩略图,若thumb有值,则不会显示扩展图标
-thumbSize |String |medium | 略缩图尺寸,可选值,lg:大图; medium:一般; sm:小图;
-showBadge |Boolean |false | 是否显示数字角标
-badgeText |String |- | 数字角标内容
-badgeType |String |- | 数字角标类型,参考[uni-icons](https://ext.dcloud.net.cn/plugin?id=21)
-badgeStyle |Object |- | 数字角标样式,使用uni-badge的custom-style参数
-rightText |String |- | 右侧文字内容
-disabled |Boolean |false | 是否禁用
-showArrow |Boolean |true | 是否显示箭头图标
-link |String |navigateTo | 新页面跳转方式,可选值见下表
-to |String |- | 新页面跳转地址,如填写此属性,click 会返回页面是否跳转成功
-clickable |Boolean |false | 是否开启点击反馈
-showSwitch |Boolean |false | 是否显示Switch
-switchChecked |Boolean |false | Switch是否被选中
-showExtraIcon |Boolean |false | 左侧是否显示扩展图标
-extraIcon |Object |- | 扩展图标参数,格式为 ``{color: '#4cd964',size: '22',type: 'spinner'}``,参考 [uni-icons](https://ext.dcloud.net.cn/plugin?id=28)
-direction | String |row | 排版方向,可选值,row:水平排列; column:垂直排列; 3个插槽是水平排还是垂直排,也受此属性控制
-
-
-#### Link Options
-
-属性名 | 说明
-:-: | :-:
-navigateTo | 同 uni.navigateTo()
-redirectTo | 同 uni.reLaunch()
-reLaunch | 同 uni.reLaunch()
-switchTab | 同 uni.switchTab()
-
-### ListItem Events
-
-事件称名 |说明 |返回参数
-:-: |:-: |:-:
-click |点击 uniListItem 触发事件,需开启点击反馈 |-
-switchChange |点击切换 Switch 时触发,需显示 switch |e={value:checked}
-
-
-
-### ListItem Slots
-
-名称 | 说明
-:-: | :-:
-header | 左/上内容插槽,可完全自定义默认显示
-body | 中间内容插槽,可完全自定义中间内容
-footer | 右/下内容插槽,可完全自定义右侧内容
-
-
-> **通过插槽扩展**
-> 需要注意的是当使用插槽时,内置样式将会失效,只保留排版样式,此时的样式需要开发者自己实现
-> 如果 `uni-list-item` 组件内置属性样式无法满足需求,可以使用插槽来自定义uni-list-item里的内容。
-> uni-list-item提供了3个可扩展的插槽:`header`、`body`、`footer`
-> - 当 `direction` 属性为 `row` 时表示水平排列,此时 `header` 表示列表的左边部分,`body` 表示列表的中间部分,`footer` 表示列表的右边部分
-> - 当 `direction` 属性为 `column` 时表示垂直排列,此时 `header` 表示列表的上边部分,`body` 表示列表的中间部分,`footer` 表示列表的下边部分
-> 开发者可以只用1个插槽,也可以3个一起使用。在插槽中可自主编写view标签,实现自己所需的效果。
-
-
-**示例**
-
-```html
-
-
-
-
-
-
-
-
-
-
- 自定义插槽
-
-
-
-
-
-
-```
-
-
-
-
-
-### ListItemChat Props
-
-属性名 |类型 |默认值 | 说明
-:-: |:-: |:-: | :-:
-title |String |- | 标题
-note |String |- | 描述
-clickable |Boolean |false | 是否开启点击反馈
-badgeText |String |- | 数字角标内容,设置为 `dot` 将显示圆点
-badgePositon |String |right | 角标位置
-link |String |navigateTo | 是否展示右侧箭头并开启点击反馈,可选值见下表
-clickable |Boolean |false | 是否开启点击反馈
-to |String |- | 跳转页面地址,如填写此属性,click 会返回页面是否跳转成功
-time |String |- | 右侧时间显示
-avatarCircle |Boolean |false | 是否显示圆形头像
-avatar |String |- | 头像地址,avatarCircle 不填时生效
-avatarList |Array |- | 头像组,格式为 [{url:''}]
-
-#### Link Options
-
-属性名 | 说明
-:-: | :-:
-navigateTo | 同 uni.navigateTo()
-redirectTo | 同 uni.reLaunch()
-reLaunch | 同 uni.reLaunch()
-switchTab | 同 uni.switchTab()
-
-### ListItemChat Slots
-
-名称 | 说明
-:- | :-
-default | 自定义列表右侧内容(包括时间和角标显示)
-
-### ListItemChat Events
-事件称名 | 说明 | 返回参数
-:-: | :-: | :-:
-@click | 点击 uniListChat 触发事件 | {data:{}} ,如有 to 属性,会返回页面跳转信息
-
-
-
+### [点击查看详细文档](https://uniapp.dcloud.io/component/uniui/uni-indexed-list)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
@@ -339,8 +43,4 @@ default | 自定义列表右侧内容(包括时间和角标显示)
1. 云端一体列表/宫格视图互切:[https://ext.dcloud.net.cn/plugin?id=2651](https://ext.dcloud.net.cn/plugin?id=2651)
2. 云端一体列表(宫格模式):[https://ext.dcloud.net.cn/plugin?id=2671](https://ext.dcloud.net.cn/plugin?id=2671)
-3. 云端一体列表(列表模式):[https://ext.dcloud.net.cn/plugin?id=2672](https://ext.dcloud.net.cn/plugin?id=2672)
-
-## 组件示例
-
-点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/list/list](https://hellouniapp.dcloud.net.cn/pages/extUI/list/list)
\ No newline at end of file
+3. 云端一体列表(列表模式):[https://ext.dcloud.net.cn/plugin?id=2672](https://ext.dcloud.net.cn/plugin?id=2672)
\ No newline at end of file
diff --git a/uni_modules/uni-load-more/changelog.md b/uni_modules/uni-load-more/changelog.md
index 8f03f1d57..e197e32bc 100644
--- a/uni_modules/uni-load-more/changelog.md
+++ b/uni_modules/uni-load-more/changelog.md
@@ -1,3 +1,5 @@
+## 1.3.6(2024-10-15)
+- 修复 微信小程序中的getSystemInfo警告
## 1.3.3(2022-01-20)
- 新增 showText属性 ,是否显示文本
## 1.3.2(2022-01-19)
diff --git a/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue b/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
index ededbc20d..aa43c5518 100644
--- a/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
+++ b/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
@@ -36,8 +36,13 @@