From 657cc1513d924a4c18bddae8efd8267ddf3a9f6d Mon Sep 17 00:00:00 2001
From: lipan <526551383@qq.com>
Date: Mon, 14 Aug 2023 06:10:35 +0000
Subject: [PATCH 001/155] add LICENSE.
Signed-off-by: lipan <526551383@qq.com>
---
LICENSE | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..66f5381
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 lipan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
--
Gitee
From 28eaa424233b3635c0e2dd6967aa67067691d747 Mon Sep 17 00:00:00 2001
From: lipan <526551383@qq.com>
Date: Mon, 14 Aug 2023 06:11:50 +0000
Subject: [PATCH 002/155] update LICENSE.
Signed-off-by: lipan <526551383@qq.com>
---
LICENSE | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/LICENSE b/LICENSE
index 66f5381..1d6f933 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2023 lipan
+Copyright (c) 2023 www.uvui.cn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
--
Gitee
From f8f0be31c1edcca254e99ed36fd15ed806d527b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Mon, 14 Aug 2023 23:10:36 +0800
Subject: [PATCH 003/155] =?UTF-8?q?form=E7=AD=89=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-form/changelog.md | 2 ++
.../components/uv-form-item/uv-form-item.vue | 4 ++--
uni_modules/uv-form/package.json | 2 +-
uni_modules/uv-grid/changelog.md | 2 ++
.../components/uv-grid-item/uv-grid-item.vue | 6 ++++--
uni_modules/uv-grid/package.json | 4 ++--
uni_modules/uv-grid/readme.md | 12 +++++++++---
uni_modules/uv-loading-icon/changelog.md | 2 ++
.../components/uv-loading-icon/props.js | 7 +++++++
.../uv-loading-icon/uv-loading-icon.vue | 5 +++--
uni_modules/uv-loading-icon/package.json | 6 +++---
uni_modules/uv-loading-icon/readme.md | 16 ++++++++++++----
uni_modules/uv-pick-color/changelog.md | 2 ++
.../components/uv-pick-color/props.js | 5 -----
.../components/uv-pick-color/uv-pick-color.vue | 17 ++++++++---------
uni_modules/uv-pick-color/package.json | 2 +-
uni_modules/uv-safe-bottom/changelog.md | 2 ++
.../uv-safe-bottom/uv-safe-bottom.vue | 4 ++--
uni_modules/uv-safe-bottom/package.json | 2 +-
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 7 +++++++
uni_modules/uv-ui/package.json | 2 +-
24 files changed, 78 insertions(+), 41 deletions(-)
diff --git a/uni_modules/uv-form/changelog.md b/uni_modules/uv-form/changelog.md
index e7a8fbb..b229bca 100644
--- a/uni_modules/uv-form/changelog.md
+++ b/uni_modules/uv-form/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-08-14)
+1. 修复设置labelWidth属性时,节点渲染有闪动的BUG
## 1.0.8(2023-08-13)
1. 修复未设置rules的情况下报错的BUG
2. 优化错误提示
diff --git a/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue b/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
index f82b159..25d93ea 100644
--- a/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
+++ b/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
@@ -115,7 +115,7 @@
}
}
},
- mounted() {
+ created() {
this.init()
},
methods: {
@@ -215,7 +215,7 @@
line-height: 16px;
}
&__message {
- margin-top: -10px;
+ margin-top: -6px;
line-height: 24px;
font-size: 12px;
color: $uv-error;
diff --git a/uni_modules/uv-form/package.json b/uni_modules/uv-form/package.json
index ab4962e..5e612c2 100644
--- a/uni_modules/uv-form/package.json
+++ b/uni_modules/uv-form/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-form",
"displayName": "uv-form 表单 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.8",
+ "version": "1.0.9",
"description": "此组件一般用于表单场景,可以配置Input输入框,Textarea文本域,Checkbox复选框,Radio单选框,开关选择器等,进行表单验证等。",
"keywords": [
"form",
diff --git a/uni_modules/uv-grid/changelog.md b/uni_modules/uv-grid/changelog.md
index 03d911b..cd9c3a9 100644
--- a/uni_modules/uv-grid/changelog.md
+++ b/uni_modules/uv-grid/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.6(2023-08-14)
+1. 修复初始的时候闪动的BUG
## 1.0.5(2023-06-22)
1. 优化修改
## 1.0.4(2023-06-21)
diff --git a/uni_modules/uv-grid/components/uv-grid-item/uv-grid-item.vue b/uni_modules/uv-grid/components/uv-grid-item/uv-grid-item.vue
index 01a4c68..7e78505 100644
--- a/uni_modules/uv-grid/components/uv-grid-item/uv-grid-item.vue
+++ b/uni_modules/uv-grid/components/uv-grid-item/uv-grid-item.vue
@@ -54,6 +54,10 @@
classes: [], // 类名集合,用于判断是否显示右边和下边框
};
},
+ created() {
+ // 父组件的实例
+ this.updateParentData()
+ },
mounted() {
this.init()
},
@@ -79,8 +83,6 @@
uni.$on('$uvGridItem', () => {
this.gridItemClasses()
})
- // 父组件的实例
- this.updateParentData()
// #ifdef APP-NVUE
// 获取元素该有的长度,nvue下要延时才准确
this.$nextTick(function(){
diff --git a/uni_modules/uv-grid/package.json b/uni_modules/uv-grid/package.json
index 0a55ee7..e838bbc 100644
--- a/uni_modules/uv-grid/package.json
+++ b/uni_modules/uv-grid/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-grid",
- "displayName": "uv-grid 宫格布局 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.5",
+ "displayName": "uv-grid 宫格布局 全面兼容vue3+2、app、h5、小程序等多端",
+ "version": "1.0.6",
"description": "uv-grid 宫格组件一般用于同时展示多个同类项目的场景,可以给宫格的项目设置徽标组件(badge),或者图标等,也可以扩展为左右滑动的轮播形式。",
"keywords": [
"uv-grid",
diff --git a/uni_modules/uv-grid/readme.md b/uni_modules/uv-grid/readme.md
index 3173e89..cd13cef 100644
--- a/uni_modules/uv-grid/readme.md
+++ b/uni_modules/uv-grid/readme.md
@@ -4,8 +4,14 @@
宫格组件一般用于同时展示多个同类项目的场景,可以给宫格的项目设置徽标组件(badge),或者图标等,也可以扩展为左右滑动的轮播形式。
-### 查看文档
+# 查看文档
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
diff --git a/uni_modules/uv-loading-icon/changelog.md b/uni_modules/uv-loading-icon/changelog.md
index 710c0f9..f17e074 100644
--- a/uni_modules/uv-loading-icon/changelog.md
+++ b/uni_modules/uv-loading-icon/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.3(2023-08-14)
+1. 新增参数textStyle,自定义文本样式
## 1.0.2(2023-06-27)
优化
## 1.0.1(2023-05-16)
diff --git a/uni_modules/uv-loading-icon/components/uv-loading-icon/props.js b/uni_modules/uv-loading-icon/components/uv-loading-icon/props.js
index c0c953a..4ef0e94 100644
--- a/uni_modules/uv-loading-icon/components/uv-loading-icon/props.js
+++ b/uni_modules/uv-loading-icon/components/uv-loading-icon/props.js
@@ -35,6 +35,13 @@ export default {
type: [String, Number],
default: 15
},
+ // 文字样式
+ textStyle: {
+ type: Object,
+ default () {
+ return {}
+ }
+ },
// 文字内容
text: {
type: [String, Number],
diff --git a/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue b/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue
index 054e6d4..5650470 100644
--- a/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue
+++ b/uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue
@@ -49,10 +49,10 @@
{{text}}
@@ -77,6 +77,7 @@
* @property {String | Number} size 加载图标的大小,单位px (默认 24 )
* @property {String | Number} textSize 文字大小(默认 15 )
* @property {String | Number} text 文字内容
+ * @property {Object} textStyle 文字样式
* @property {String} timingFunction 动画模式 (默认 'ease-in-out' )
* @property {String | Number} duration 动画执行周期时间(默认 1200)
* @property {String} inactiveColor mode=circle时的暗边颜色
diff --git a/uni_modules/uv-loading-icon/package.json b/uni_modules/uv-loading-icon/package.json
index e245405..1485897 100644
--- a/uni_modules/uv-loading-icon/package.json
+++ b/uni_modules/uv-loading-icon/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-loading-icon",
- "displayName": "uv-loading-icon 加载动画 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.2",
- "description": "uv-loading-icon 此组件为一个小动画,目前用在uv-ui的loadMore加载更多等组件的正在加载状态场景。",
+ "displayName": "uv-loading-icon 加载动画 全面兼容vue3+2、app、h5、小程序等多端",
+ "version": "1.0.3",
+ "description": "此组件为一个小动画,目前用在uv-ui的uv-load-more加载更多等组件,还可以运用在项目中正在加载状态场景。",
"keywords": [
"uv-loading-icon",
"uvui",
diff --git a/uni_modules/uv-loading-icon/readme.md b/uni_modules/uv-loading-icon/readme.md
index 63de21a..7b0cf0f 100644
--- a/uni_modules/uv-loading-icon/readme.md
+++ b/uni_modules/uv-loading-icon/readme.md
@@ -2,10 +2,18 @@
> **组件名:uv-loading-icon**
-此组件为一个小动画,目前用在uv-ui的loadMore加载更多等组件的正在加载状态场景。
+此组件为一个小动画,目前用在 `uv-ui` 的 `uv-load-more` 加载更多等组件,还可以运用在项目中正在加载状态场景。
-### 查看文档
+# 查看文档
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
diff --git a/uni_modules/uv-pick-color/changelog.md b/uni_modules/uv-pick-color/changelog.md
index 9247223..7788c12 100644
--- a/uni_modules/uv-pick-color/changelog.md
+++ b/uni_modules/uv-pick-color/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.8(2023-08-14)
+1. 取消scrollTop参数,使用clientY
## 1.0.7(2023-08-13)
1. 增加scrollTop参数,设置滚动条的位置。不设置如果页面出现滚动就需要传该值,会出现颜色面板无法进行选颜色的情况。
## 1.0.6(2023-08-04)
diff --git a/uni_modules/uv-pick-color/components/uv-pick-color/props.js b/uni_modules/uv-pick-color/components/uv-pick-color/props.js
index a3d92ae..a57f063 100644
--- a/uni_modules/uv-pick-color/components/uv-pick-color/props.js
+++ b/uni_modules/uv-pick-color/components/uv-pick-color/props.js
@@ -42,11 +42,6 @@ export default {
type: String,
default: '#3c9cff'
},
- // 滚动条的位置
- scrollTop: {
- type: [String, Number],
- default: 0
- },
...uni.$uv?.props?.pickColor
}
}
\ No newline at end of file
diff --git a/uni_modules/uv-pick-color/components/uv-pick-color/uv-pick-color.vue b/uni_modules/uv-pick-color/components/uv-pick-color/uv-pick-color.vue
index e701bba..f283a92 100644
--- a/uni_modules/uv-pick-color/components/uv-pick-color/uv-pick-color.vue
+++ b/uni_modules/uv-pick-color/components/uv-pick-color/uv-pick-color.vue
@@ -293,23 +293,22 @@
this.mode = !this.mode;
},
touchstart(e, index) {
- const { pageX, pageY } = e.touches[0];
- this.pageX = pageX;
- this.pageY = pageY;
- this.setPosition(pageX, pageY, index);
+ const { clientX, clientY } = e.touches[0];
+ this.pageX = clientX;
+ this.pageY = clientY;
+ this.setPosition(clientX, clientY, index);
},
touchmove(e, index) {
- const { pageX, pageY } = e.touches[0];
- this.moveX = pageX;
- this.moveY = pageY;
- this.setPosition(pageX, pageY, index);
+ const { clientX, clientY } = e.touches[0];
+ this.moveX = clientX;
+ this.moveY = clientY;
+ this.setPosition(clientX, clientY, index);
},
touchend(e, index) {},
/**
* 设置位置
*/
setPosition(x, y, index) {
- y = y - this.scrollTop;
this.index = index;
const { top, left, width, height } = this.position[index];
// 设置最大最小值
diff --git a/uni_modules/uv-pick-color/package.json b/uni_modules/uv-pick-color/package.json
index 84c69e6..21a6b9a 100644
--- a/uni_modules/uv-pick-color/package.json
+++ b/uni_modules/uv-pick-color/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-pick-color",
"displayName": "uv-pick-color 颜色选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "该组件为颜色选择器,支持预制颜色,初始化颜色,简单配置,开箱即用",
"keywords": [
"uv-pick-color",
diff --git a/uni_modules/uv-safe-bottom/changelog.md b/uni_modules/uv-safe-bottom/changelog.md
index f0e1a92..99a4e80 100644
--- a/uni_modules/uv-safe-bottom/changelog.md
+++ b/uni_modules/uv-safe-bottom/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.3(2023-08-14)
+1. 修复百度报错的BUG
## 1.0.2(2023-07-02)
uv-safe-bottom 修复,在百度程序,抖音小程序不生效的BUG
## 1.0.1(2023-05-16)
diff --git a/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue b/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
index 9f796bd..d0d1ff5 100644
--- a/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
+++ b/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
@@ -32,9 +32,9 @@
computed: {
style() {
const style = {};
- // #ifdef APP-NVUE || MP-TOUTIAO || MP-BAIDU
+ // #ifdef APP-NVUE || MP-TOUTIAO
// nvue下,高度使用js计算填充
- style.height = this.$uv.addUnit(this.$uv.sys().safeAreaInsets.bottom, 'px');
+ style.height = this.$uv.addUnit(this.$uv.sys()?.safeAreaInsets?.bottom, 'px');
// #endif
return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));
},
diff --git a/uni_modules/uv-safe-bottom/package.json b/uni_modules/uv-safe-bottom/package.json
index 9ebb43b..62e9290 100644
--- a/uni_modules/uv-safe-bottom/package.json
+++ b/uni_modules/uv-safe-bottom/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-safe-bottom",
"displayName": "uv-safe-bottom 底部安全区 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。",
"keywords": [
"uv-safe-bottom",
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 493e765..2803830 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.15(2023-08-14)
+1. 更新uvui版本号
## 1.0.13(2023-08-06)
1. 优化
## 1.0.12(2023-08-06)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index a7f3fc4..ef46974 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-08-13
-const version = '1.1.4'
+// 此版本发布于2023-08-14
+const version = '1.1.5'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 5a45e28..c209caa 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.13",
+ "version": "1.0.15",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index ce476c7..8efe8d5 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,10 @@
+## 1.1.5(2023-08-14)
+1. 优化 uv-pick-color 删除scrollTop参数,内部修改后就不需要了
+2. 优化 uv-loading-icon 增加textStyle参数,可自定义文本样式,比如给上边距
+3. 修复 uv-safe-bottom 百度小程序报错的BUG
+4. 修复 uv-form 设置labelWidth属性时,节点渲染有闪动的BUG
+5. 修复 uv-grid 设置col属性时,节点渲染有闪动的BUG
+6. 修复 uv-parse 阻止a标签跳转文档说明
## 1.1.4(2023-08-13)
1. 优化 nvue自定义图标 [详细文档-nvue中自定义图标库](https://www.uvui.cn/guide/customIcon.html#nvue%E4%B8%AD%E8%87%AA%E5%AE%9A%E4%B9%89%E5%9B%BE%E6%A0%87%E5%BA%93)
2. 优化 uv.$uv.http 在APP.vue页面使用报错的BUG: [Api集中管理](https://www.uvui.cn/js/http.html#_3-api%E9%9B%86%E4%B8%AD%E7%AE%A1%E7%90%86)
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 0446697..ec8526e 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.4",
+ "version": "1.1.5",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
--
Gitee
From 22c45a18d6883a757de8b8e275b155a759a6c78c Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Wed, 16 Aug 2023 09:07:38 +0800
Subject: [PATCH 004/155] =?UTF-8?q?uv-checkbox=E6=95=B0=E6=8D=AE=E5=A4=9A?=
=?UTF-8?q?=E4=B8=8D=E6=8D=A2=E8=A1=8C=E7=9A=84BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-checkbox/changelog.md | 2 ++
.../uv-checkbox-group/uv-checkbox-group.vue | 3 ++-
uni_modules/uv-checkbox/package.json | 4 ++--
uni_modules/uv-checkbox/readme.md | 16 ++++++++++++----
4 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/uni_modules/uv-checkbox/changelog.md b/uni_modules/uv-checkbox/changelog.md
index c12b436..1d77f61 100644
--- a/uni_modules/uv-checkbox/changelog.md
+++ b/uni_modules/uv-checkbox/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-08-16)
+1. 解决数据多不换行的BUG
## 1.0.8(2023-07-13)
1. 修复 uv-checkbox设置value属性不生效的BUG
## 1.0.7(2023-07-05)
diff --git a/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue b/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue
index a53c70c..6ba0a7b 100644
--- a/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue
+++ b/uni_modules/uv-checkbox/components/uv-checkbox-group/uv-checkbox-group.vue
@@ -105,7 +105,8 @@
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
.uv-checkbox-group {
-
+ flex: 1;
+
&--row {
@include flex;
flex-wrap: wrap;
diff --git a/uni_modules/uv-checkbox/package.json b/uni_modules/uv-checkbox/package.json
index ca363df..d0b102e 100644
--- a/uni_modules/uv-checkbox/package.json
+++ b/uni_modules/uv-checkbox/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-checkbox",
- "displayName": "uv-checkbox 复选框 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.8",
+ "displayName": "uv-checkbox 复选框 全面兼容vue3+2、app、h5、小程序等多端",
+ "version": "1.0.9",
"description": "复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。",
"keywords": [
"uv-checkbox",
diff --git a/uni_modules/uv-checkbox/readme.md b/uni_modules/uv-checkbox/readme.md
index 7b48272..43b6f2e 100644
--- a/uni_modules/uv-checkbox/readme.md
+++ b/uni_modules/uv-checkbox/readme.md
@@ -2,10 +2,18 @@
> **组件名:uv-checkbox**
-复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。
+复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。可配合 `uv-form` 组件进行表单验证等场景使用。
-### 查看文档
+# 查看文档
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
--
Gitee
From 1e0631bea0c075119935dbe2177b49187c7b66b3 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Wed, 16 Aug 2023 09:17:09 +0800
Subject: [PATCH 005/155] =?UTF-8?q?uv-list=E7=BB=84=E4=BB=B6=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-list/changelog.md | 3 +
.../uv-list/components/uv-list-item/props.js | 9 +++
.../components/uv-list-item/uv-list-item.vue | 6 +-
.../uv-list/components/uv-list/props.js | 75 +++++++++++++++++++
uni_modules/uv-list/package.json | 2 +-
5 files changed, 92 insertions(+), 3 deletions(-)
create mode 100644 uni_modules/uv-list/components/uv-list-item/props.js
create mode 100644 uni_modules/uv-list/components/uv-list/props.js
diff --git a/uni_modules/uv-list/changelog.md b/uni_modules/uv-list/changelog.md
index 8d2261a..5cd84b4 100644
--- a/uni_modules/uv-list/changelog.md
+++ b/uni_modules/uv-list/changelog.md
@@ -1,3 +1,6 @@
+## 1.0.6(2023-08-16)
+1. 修复switch开关返回undefined的问题
+2. 优化初始化可能导致的闪动
## 1.0.5(2023-08-07)
1. 修复分包页面在ios端,nvue编译不能滚动的BUG
## 1.0.4(2023-08-04)
diff --git a/uni_modules/uv-list/components/uv-list-item/props.js b/uni_modules/uv-list/components/uv-list-item/props.js
new file mode 100644
index 0000000..f10d683
--- /dev/null
+++ b/uni_modules/uv-list/components/uv-list-item/props.js
@@ -0,0 +1,9 @@
+export default {
+ props: {
+ // 用于滚动到指定item
+ anchor: {
+ type: [String, Number],
+ default: ''
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue b/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
index 0fb2cb0..9aaeb22 100644
--- a/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
+++ b/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
@@ -228,6 +228,9 @@
}
};
},
+ created() {
+ this.updateParentData();
+ },
mounted() {
this.init();
this.list = this.getForm()
@@ -241,7 +244,6 @@
},
methods: {
init(){
- this.updateParentData();
if (!this.parent) {
this.$uv.error('uv-list-item必须搭配uv-list组件使用');
}
@@ -310,7 +312,7 @@
}
},
onSwitchChange(e) {
- this.$emit('switchChange', e.detail);
+ this.$emit('switchChange', e);
},
openPage() {
if (['navigateTo', 'redirectTo', 'reLaunch', 'switchTab'].indexOf(this.link) !== -1) {
diff --git a/uni_modules/uv-list/components/uv-list/props.js b/uni_modules/uv-list/components/uv-list/props.js
new file mode 100644
index 0000000..ac38485
--- /dev/null
+++ b/uni_modules/uv-list/components/uv-list/props.js
@@ -0,0 +1,75 @@
+export default {
+ props: {
+ // 控制是否出现滚动条,仅nvue有效
+ showScrollbar: {
+ type: Boolean,
+ default: false
+ },
+ // 距底部多少时触发scrolltolower事件
+ lowerThreshold: {
+ type: [String, Number],
+ default: 50
+ },
+ // 距顶部多少时触发scrolltoupper事件,非nvue有效
+ upperThreshold: {
+ type: [String, Number],
+ default: 0
+ },
+ // 设置竖向滚动条位置
+ scrollTop: {
+ type: [String, Number],
+ default: 0
+ },
+ // 控制 onscroll 事件触发的频率,仅nvue有效
+ offsetAccuracy: {
+ type: [String, Number],
+ default: 10
+ },
+ // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
+ enableFlex: {
+ type: Boolean,
+ default: false
+ },
+ // 是否按分页模式显示List,默认值false
+ pagingEnabled: {
+ type: Boolean,
+ default: false
+ },
+ // 是否允许List滚动
+ scrollable: {
+ type: Boolean,
+ default: true
+ },
+ // 值应为某子元素id(id不能以数字开头)
+ scrollIntoView: {
+ type: String,
+ default: ''
+ },
+ // 在设置滚动条位置时使用动画过渡
+ scrollWithAnimation: {
+ type: Boolean,
+ default: false
+ },
+ // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
+ enableBackToTop: {
+ type: Boolean,
+ default: false
+ },
+ // 列表的高度
+ height: {
+ type: [String, Number],
+ default: 0
+ },
+ // 列表宽度
+ width: {
+ type: [String, Number],
+ default: 0
+ },
+ // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
+ preLoadScreen: {
+ type: [String, Number],
+ default: 1
+ },
+ ...uni.$uv?.props?.list
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uv-list/package.json b/uni_modules/uv-list/package.json
index 5156a05..bfa6e41 100644
--- a/uni_modules/uv-list/package.json
+++ b/uni_modules/uv-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-list",
"displayName": "uv-list 列表 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.5",
+ "version": "1.0.6",
"description": "uv-list 多功能高性能列表组件",
"keywords": [
"uv-list",
--
Gitee
From 79475b9c4f661bacc891ca89b17e810232ad2720 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Wed, 16 Aug 2023 12:21:05 +0800
Subject: [PATCH 006/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-navbar/changelog.md | 2 ++
uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue | 1 +
uni_modules/uv-navbar/package.json | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-navbar/changelog.md b/uni_modules/uv-navbar/changelog.md
index 4e1a794..01cc4fd 100644
--- a/uni_modules/uv-navbar/changelog.md
+++ b/uni_modules/uv-navbar/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-08-16)
+1. 修复ios可能存在点击返回按钮点不到的情况
## 1.0.6(2023-08-07)
1. 修复nvue在ios端可能存在背景图样式错乱的BUG
## 1.0.5(2023-08-04)
diff --git a/uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue b/uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue
index dd04d0e..a46ad7a 100644
--- a/uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue
+++ b/uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue
@@ -47,6 +47,7 @@
class="uv-line-1 uv-navbar__content__title"
:style="[{
width: $uv.addUnit(titleWidth),
+ flex: '0 1 auto'
}, $uv.addStyle(titleStyle)]"
>{{ title }}
diff --git a/uni_modules/uv-navbar/package.json b/uni_modules/uv-navbar/package.json
index 5f737a4..8d429de 100644
--- a/uni_modules/uv-navbar/package.json
+++ b/uni_modules/uv-navbar/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-navbar",
"displayName": "uv-navbar 自定义导航栏 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
+ "version": "1.0.7",
"description": "uv-navbar 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用自带的原生导航栏。",
"keywords": [
"uv-navbar",
--
Gitee
From 02a84db666fb45e59c54a5e19a43f8a723a9917d Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 17 Aug 2023 15:57:58 +0800
Subject: [PATCH 007/155] =?UTF-8?q?=E6=9B=B4=E6=96=B0README?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 74 +++++++++++++++++++++++-----------
uni_modules/uv-ui/package.json | 2 +-
uni_modules/uv-ui/readme.md | 73 ++++++++++++++++++++++-----------
3 files changed, 100 insertions(+), 49 deletions(-)
diff --git a/README.md b/README.md
index 64729df..d4eb079 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,21 @@
-
+
+
+
-> ## 组件文档:[https://www.uvui.cn](https://www.uvui.cn)
-> ## 演示地址:[https://h5.uvui.cn](https://h5.uvui.cn)
-> ## gitee地址:[https://gitee.com/my_dear_li_pan/uv-ui.git](https://gitee.com/my_dear_li_pan/uv-ui.git)
-> ## github地址:[https://github.com/uLeePan/uv-ui.git](https://github.com/uLeePan/uv-ui.git)
-> ## uv-ui 交流QQ群:549833913
-> ## 插件列表:传送门
+uv-ui
+兼容vue3+2多平台快速开发的UI框架
-# 如需下载示例项目,请不要使用【下载插件ZIP】按钮。
+[](https://gitee.com/Leecreator/uv-ui)
+[](https://gitee.com/Leecreator/uv-ui)
+[](https://github.com/Leecreator/uv-ui)
+[](https://github.com/Leecreator/uv-ui/issues)
+[](https://www.uvui.cn)
+[](https://www.uvui.cn/components/changelog.html)
+[](https://en.wikipedia.org/wiki/MIT_License)
-## 预览
-
-通过微信或浏览器扫码查看演示效果,后续上线小程序端等。
+## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
-
-
-## uv-ui产品特点
+## uvui特点
1. **uv-ui的前世今生**,`uv-ui` 是基于 `uview2.x` 版本改造而来。重命名也是为了避开发布冲突和很多组件 `u-`在 `nvue` 中不能使用的情况,所以这才诞生了`uv-ui`。感谢 `uview-ui` 作者的开源奉献,再次为开源点赞。 同时 `uv-ui` 也是无条件开源。
@@ -23,34 +23,57 @@
3. **扩展配置**,`uv-ui`内置的方法默认不再挂载到`uni`对象之上,也就意味着默认情况下不能在项目中直接使用`uni.$uv.xxx`使用内置方法。但是可以通过扩展可以解决,通过如下方式进行配置即可,使用方式请参考[扩展配置](https://www.uvui.cn/components/setting.html)。其中包括[ JS工具库](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-js%E5%B7%A5%E5%85%B7%E5%BA%93)、[ 自定义主题](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B8%BB%E9%A2%98)、[ 基础样式](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-%E5%9F%BA%E7%A1%80%E6%A0%B7%E5%BC%8F)、[ setconfig](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-setconfig)等。
+## 预览
+
+通过微信或浏览器扫码查看演示效果。
+
+
+
+## 链接
+
+- [官方文档](https://www.uvui.cn)
+- [演示地址](https://h5.uvui.cn)
+- [更新日志](https://www.uvui.cn/components/changelog.html)
+- [关于我们](https://www.uvui.cn/cooperation/about.html)
+- 组件列表
+
+## 交流反馈
+
+欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uvui.cn/components/addQQGroup.html)
+
## 快速开始
-`uv-ui` 目前暂时只支持单独导入个别组件使用方式。后续会根据情况加入其它使用方式,我一直推崇的是,既然开发`uni-app`项目,推荐直接使用`HBuilderX`创建项目和导入组件。
+`uv-ui` 强烈建议通过 `下载插件并导入HbuilderX` 导入组件。或者下载完整 [uv-ui项目](https://ext.dcloud.net.cn/plugin?id=12287) 将 `uni_modules` 复制到自己的项目。道路千万条,选择最适合自己的一条。
+
+请通过[快速上手](https://www.uvui.cn/components/quickstart.html)了解更详细的内容。
-**1. 通过uni_modules下载入口,下载插件并导入HbuilderX。**
+**注意:导入插件后,建议`HBuilderX`重新运行项目,可能新导入的插件不能实时更新而导致不能运行。**
-**温馨提示:** 导入插件后,建议`HBuilderX`重新运行项目,可能新导入的插件不能实时更新而导致不能运行。
+## 使用方法
-**2. 直接在项目中使用,无需通过import引入组件。**
+组件导入 `uni_modules` 后,直接在项目中使用,无需通过import引入组件。
```html
-
+
+
+
```
-**3. 使用更强大的扩展功能。**
+## 扩展功能
-`uv-ui`内置了强大的工具函数、请求封装、全局配置等,可以根据自身需求进行扩展配置,详情请查看[扩展配置](https://www.uvui.cn/components/setting.html)。**只有扩展配置后才能在自己的项目页面中使用组件库内置方法**。
+`uv-ui` 内置了强大的工具函数、请求封装等,可以根据自身需求进行扩展配置,详情请查看[扩展配置](https://www.uvui.cn/components/setting.html)。
-**4. 有开发相关的疑问不要生气,不要抱怨,不要骂人哦!直接加 `uv-ui` 的交流群手把手免费解决问题。**
+**注意:只有[扩展配置](https://www.uvui.cn/components/setting.html)后才能在自己的项目页面中使用组件库内置方法和变量等**。
-## 通过uni_modules下载入口
+## 组件列表
下表为 `uv-ui` 的扩展组件清单,点击每个组件**点击下载&安装**即可在详情页面导入组件到项目下,导入后建议重新运行即可直接使用,组件无需import和注册。
| 组件名 | 组件说明 |
| --- | --- |
+| uv-calendars | [日历(新版)](https://www.uvui.cn/components/calendars.html) |
| uv-drop-down | [下拉筛选](https://www.uvui.cn/components/dropDown.html) |
| uv-scroll-list | [横向滚动列表](https://www.uvui.cn/components/scrollList.html) |
| uv-vtabs | [垂直选项卡](https://www.uvui.cn/components/vtabs.html) |
@@ -122,7 +145,10 @@
| uv-gap | [间隔槽](https://www.uvui.cn/components/gap.html) |
| uv-divider | [分割线](https://www.uvui.cn/components/divider.html) |
-## 最后作者想说
+## 版权信息
+uv-ui遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uv-ui应用到您的产品中。
+
+## 作者想说
- 开源真的不易,不图大家的钱财,所以希望大家多多鼓励支持,希望不要恶意评论,有问题加群快速解决。
- 遇到BUG,是一件很正常的事情,是程序肯定就有BUG,所以希望大家能以理解的心态去提出BUG,然后作者才有动力去努力修复。
- 最后觉得好用的小伙伴,不要吝啬你的双手,给个好评就是给我们最大的鼓励。
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index ec8526e..bf01979 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -10,7 +10,7 @@
"ui框架",
"ui库"
],
- "repository": "https://gitee.com/my_dear_li_pan/uv-ui.git",
+ "repository": "https://github.com/Leecreator/uv-ui",
"engines": {
"HBuilderX": "^3.1.0"
},
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index 15dc5e7..d4eb079 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -1,21 +1,21 @@
-
+
+
+
-> ## 组件文档:[https://www.uvui.cn](https://www.uvui.cn)
-> ## 演示地址:[https://h5.uvui.cn](https://h5.uvui.cn)
-> ## gitee地址:[https://gitee.com/my_dear_li_pan/uv-ui.git](https://gitee.com/my_dear_li_pan/uv-ui.git)
-> ## github地址:[https://github.com/uLeePan/uv-ui.git](https://github.com/uLeePan/uv-ui.git)
-> ## uv-ui 交流QQ群:549833913
-> ## 插件列表:传送门
+uv-ui
+兼容vue3+2多平台快速开发的UI框架
-# 如需下载示例项目,请不要使用【下载插件ZIP】按钮。
+[](https://gitee.com/Leecreator/uv-ui)
+[](https://gitee.com/Leecreator/uv-ui)
+[](https://github.com/Leecreator/uv-ui)
+[](https://github.com/Leecreator/uv-ui/issues)
+[](https://www.uvui.cn)
+[](https://www.uvui.cn/components/changelog.html)
+[](https://en.wikipedia.org/wiki/MIT_License)
-## 预览
-
-通过微信或浏览器扫码查看演示效果,后续上线小程序端等。
+## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
-
-
-## uv-ui产品特点
+## uvui特点
1. **uv-ui的前世今生**,`uv-ui` 是基于 `uview2.x` 版本改造而来。重命名也是为了避开发布冲突和很多组件 `u-`在 `nvue` 中不能使用的情况,所以这才诞生了`uv-ui`。感谢 `uview-ui` 作者的开源奉献,再次为开源点赞。 同时 `uv-ui` 也是无条件开源。
@@ -23,29 +23,51 @@
3. **扩展配置**,`uv-ui`内置的方法默认不再挂载到`uni`对象之上,也就意味着默认情况下不能在项目中直接使用`uni.$uv.xxx`使用内置方法。但是可以通过扩展可以解决,通过如下方式进行配置即可,使用方式请参考[扩展配置](https://www.uvui.cn/components/setting.html)。其中包括[ JS工具库](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-js%E5%B7%A5%E5%85%B7%E5%BA%93)、[ 自定义主题](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B8%BB%E9%A2%98)、[ 基础样式](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-%E5%9F%BA%E7%A1%80%E6%A0%B7%E5%BC%8F)、[ setconfig](https://www.uvui.cn/components/setting.html#%E6%89%A9%E5%B1%95%E9%85%8D%E7%BD%AE-setconfig)等。
+## 预览
+
+通过微信或浏览器扫码查看演示效果。
+
+
+
+## 链接
+
+- [官方文档](https://www.uvui.cn)
+- [演示地址](https://h5.uvui.cn)
+- [更新日志](https://www.uvui.cn/components/changelog.html)
+- [关于我们](https://www.uvui.cn/cooperation/about.html)
+- 组件列表
+
+## 交流反馈
+
+欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uvui.cn/components/addQQGroup.html)
+
## 快速开始
-`uv-ui` 目前暂时只支持单独导入个别组件使用方式。后续会根据情况加入其它使用方式,我一直推崇的是,既然开发`uni-app`项目,推荐直接使用`HBuilderX`创建项目和导入组件。
+`uv-ui` 强烈建议通过 `下载插件并导入HbuilderX` 导入组件。或者下载完整 [uv-ui项目](https://ext.dcloud.net.cn/plugin?id=12287) 将 `uni_modules` 复制到自己的项目。道路千万条,选择最适合自己的一条。
+
+请通过[快速上手](https://www.uvui.cn/components/quickstart.html)了解更详细的内容。
-**1. 通过uni_modules下载入口,下载插件并导入HbuilderX。**
+**注意:导入插件后,建议`HBuilderX`重新运行项目,可能新导入的插件不能实时更新而导致不能运行。**
-**温馨提示:** 导入插件后,建议`HBuilderX`重新运行项目,可能新导入的插件不能实时更新而导致不能运行。
+## 使用方法
-**2. 直接在项目中使用,无需通过import引入组件。**
+组件导入 `uni_modules` 后,直接在项目中使用,无需通过import引入组件。
```html
-
+
+
+
```
-**3. 使用更强大的扩展功能。**
+## 扩展功能
-`uv-ui`内置了强大的工具函数、请求封装、全局配置等,可以根据自身需求进行扩展配置,详情请查看[扩展配置](https://www.uvui.cn/components/setting.html)。**只有扩展配置后才能在自己的项目页面中使用组件库内置方法**。
+`uv-ui` 内置了强大的工具函数、请求封装等,可以根据自身需求进行扩展配置,详情请查看[扩展配置](https://www.uvui.cn/components/setting.html)。
-**4. 有开发相关的疑问不要生气,不要抱怨,不要骂人哦!直接加 `uv-ui` 的交流群手把手免费解决问题。**
+**注意:只有[扩展配置](https://www.uvui.cn/components/setting.html)后才能在自己的项目页面中使用组件库内置方法和变量等**。
-## 通过uni_modules下载入口
+## 组件列表
下表为 `uv-ui` 的扩展组件清单,点击每个组件**点击下载&安装**即可在详情页面导入组件到项目下,导入后建议重新运行即可直接使用,组件无需import和注册。
@@ -123,7 +145,10 @@
| uv-gap | [间隔槽](https://www.uvui.cn/components/gap.html) |
| uv-divider | [分割线](https://www.uvui.cn/components/divider.html) |
-## 最后作者想说
+## 版权信息
+uv-ui遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uv-ui应用到您的产品中。
+
+## 作者想说
- 开源真的不易,不图大家的钱财,所以希望大家多多鼓励支持,希望不要恶意评论,有问题加群快速解决。
- 遇到BUG,是一件很正常的事情,是程序肯定就有BUG,所以希望大家能以理解的心态去提出BUG,然后作者才有动力去努力修复。
- 最后觉得好用的小伙伴,不要吝啬你的双手,给个好评就是给我们最大的鼓励。
--
Gitee
From 849647bc744fec87959248747bec9479bdb80886 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Fri, 18 Aug 2023 01:04:45 +0800
Subject: [PATCH 008/155] =?UTF-8?q?1.1.6=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsC/waterfall/waterfall.nvue | 169 ++++++-----
uni_modules/uv-ui-tools/changelog.md | 2 +
uni_modules/uv-ui-tools/libs/config/config.js | 4 +-
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 7 +
uni_modules/uv-ui/package.json | 2 +-
uni_modules/uv-upload/changelog.md | 4 +
.../uv-preview-video/uv-preview-video.vue | 52 ++++
.../uv-upload/components/uv-upload/props.js | 7 +-
.../components/uv-upload/uv-upload.vue | 280 +++++++-----------
uni_modules/uv-upload/package.json | 2 +-
uni_modules/uv-waterfall/changelog.md | 2 +
.../components/uv-waterfall/uv-waterfall.vue | 11 +-
uni_modules/uv-waterfall/package.json | 2 +-
14 files changed, 277 insertions(+), 269 deletions(-)
create mode 100644 uni_modules/uv-upload/components/uv-preview-video/uv-preview-video.vue
diff --git a/pages/componentsC/waterfall/waterfall.nvue b/pages/componentsC/waterfall/waterfall.nvue
index 50fa2d4..5a91f3e 100644
--- a/pages/componentsC/waterfall/waterfall.nvue
+++ b/pages/componentsC/waterfall/waterfall.nvue
@@ -1,93 +1,95 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
- {{item.desc}}
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+ {{item.title}}
+
+
+ {{item.desc}}
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.title}}
+
+
+
+
+
+
+
+
-
- {{item.desc}}
+
+
+ {{item.title}}
+
+
+ {{item.desc}}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.title}}
+ |
+
+
+
+
+
+
+
+
+
-
- {{item.desc}}
+
+
+ {{item.title}}
+
+
+ {{item.desc}}
+
-
-
- |
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uv-upload/components/uv-upload/props.js b/uni_modules/uv-upload/components/uv-upload/props.js
index 08104b4..2aad7b6 100644
--- a/uni_modules/uv-upload/components/uv-upload/props.js
+++ b/uni_modules/uv-upload/components/uv-upload/props.js
@@ -50,11 +50,16 @@ export default {
type: Function,
default: null
},
- // 是否显示组件自带的图片预览功能
+ // 是否开启图片预览功能
previewFullImage: {
type: Boolean,
default: true
},
+ // 是否开启视频预览功能
+ previewFullVideo: {
+ type: Boolean,
+ default: true
+ },
// 最大上传数量
maxCount: {
type: [String, Number],
diff --git a/uni_modules/uv-upload/components/uv-upload/uv-upload.vue b/uni_modules/uv-upload/components/uv-upload/uv-upload.vue
index b05cbbe..be963ea 100644
--- a/uni_modules/uv-upload/components/uv-upload/uv-upload.vue
+++ b/uni_modules/uv-upload/components/uv-upload/uv-upload.vue
@@ -1,86 +1,49 @@
-
+
-
-
+
+
-
-
+ >
+
{{item.isVideo || (item.type && item.type === 'video') ? '视频' : '文件'}}
-
+
-
-
+
+
- {{ item.message }}
+ {{ item.message }}
-
+
-
+
-
+
-
+
-
+
@@ -89,36 +52,23 @@
-
-
- {{ uploadText }}
+ }]">
+
+ {{ uploadText }}
+
diff --git a/uni_modules/uv-scroll-list/package.json b/uni_modules/uv-scroll-list/package.json
index 871d1d5..c7802ea 100644
--- a/uni_modules/uv-scroll-list/package.json
+++ b/uni_modules/uv-scroll-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-scroll-list",
"displayName": "uv-scroll-list 横向滚动列表 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "该组件一般用于同时展示多个商品、分类的场景,也可以完成左右滑动的列表,往往数量不确定,数量较多支持左右滚动。灵活配置,开箱即用。",
"keywords": [
"uv-scroll-list",
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index d4eb079..ae345f8 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -2,7 +2,7 @@
-uv-ui
+uv-ui
兼容vue3+2多平台快速开发的UI框架
[](https://gitee.com/Leecreator/uv-ui)
@@ -15,6 +15,9 @@
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
+### uvui官方群1:549833913
+### uvui官方群2:206060892
+
## uvui特点
1. **uv-ui的前世今生**,`uv-ui` 是基于 `uview2.x` 版本改造而来。重命名也是为了避开发布冲突和很多组件 `u-`在 `nvue` 中不能使用的情况,所以这才诞生了`uv-ui`。感谢 `uview-ui` 作者的开源奉献,再次为开源点赞。 同时 `uv-ui` 也是无条件开源。
--
Gitee
From abcb14fc23ce92e7655f7689427b7bbffd80a0fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 20 Aug 2023 16:42:27 +0800
Subject: [PATCH 012/155] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index ae345f8..fdf0b85 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -1,8 +1,8 @@
-
+
-uv-ui
+uv-ui
兼容vue3+2多平台快速开发的UI框架
[](https://gitee.com/Leecreator/uv-ui)
--
Gitee
From 9c2975ca61128d403e9d9655cc4a07e65ee46047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 20 Aug 2023 17:07:18 +0800
Subject: [PATCH 013/155] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 9 ++++-----
uni_modules/uv-ui/readme.md | 7 +++----
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index ae345f8..8f3b3a0 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,7 @@
-
+
-
-uv-ui
+uv-ui
兼容vue3+2多平台快速开发的UI框架
[](https://gitee.com/Leecreator/uv-ui)
@@ -15,8 +14,8 @@
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
-### uvui官方群1:549833913
-### uvui官方群2:206060892
+### uvui官方群1:549833913
+### uvui官方群2:206060892
## uvui特点
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index fdf0b85..8f3b3a0 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -1,7 +1,6 @@
-
+
-
uv-ui
兼容vue3+2多平台快速开发的UI框架
@@ -15,8 +14,8 @@
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
-### uvui官方群1:549833913
-### uvui官方群2:206060892
+### uvui官方群1:549833913
+### uvui官方群2:206060892
## uvui特点
--
Gitee
From 1de7b718458c648bfdc42c9540d4d81f105569c3 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Mon, 21 Aug 2023 16:39:02 +0800
Subject: [PATCH 014/155] =?UTF-8?q?=E4=BC=98=E5=8C=96uvimage?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-image/changelog.md | 2 ++
uni_modules/uv-image/components/uv-image/uv-image.vue | 1 +
uni_modules/uv-image/package.json | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-image/changelog.md b/uni_modules/uv-image/changelog.md
index 9a010e3..2fd9b10 100644
--- a/uni_modules/uv-image/changelog.md
+++ b/uni_modules/uv-image/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-08-21)
+1. 修复设置宽高为百分比不生效的BUG
## 1.0.8(2023-07-24)
1. 优化 nvue模式下增加cellChild参数,是否在list中cell节点下,nvue中cell下建议设置成true
## 1.0.7(2023-07-02)
diff --git a/uni_modules/uv-image/components/uv-image/uv-image.vue b/uni_modules/uv-image/components/uv-image/uv-image.vue
index 8c32799..fa4d299 100644
--- a/uni_modules/uv-image/components/uv-image/uv-image.vue
+++ b/uni_modules/uv-image/components/uv-image/uv-image.vue
@@ -4,6 +4,7 @@
mode="fade"
:duration="fade ? duration : 0"
:cell-child="cellChild"
+ :custom-style="wrapStyle"
>
Date: Mon, 21 Aug 2023 17:07:15 +0800
Subject: [PATCH 015/155] =?UTF-8?q?=E4=BC=98=E5=8C=96uvmodal?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-modal/package.json | 4 ++--
uni_modules/uv-modal/readme.md | 18 +++++++++++++++---
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/uni_modules/uv-modal/package.json b/uni_modules/uv-modal/package.json
index a70a71f..13c6b56 100644
--- a/uni_modules/uv-modal/package.json
+++ b/uni_modules/uv-modal/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-modal",
- "displayName": "uv-modal 模态框 全面兼容小程序、nvue、vue2、vue3等多端",
+ "displayName": "uv-modal 模态框 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.5",
- "description": "uv-modal 弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作。",
+ "description": "支持自定义内容,与uniapp提供的API uni.showModal类似,但是功能更强大,更加灵活",
"keywords": [
"uv-modal",
"uvui",
diff --git a/uni_modules/uv-modal/readme.md b/uni_modules/uv-modal/readme.md
index c8c6733..e1aec02 100644
--- a/uni_modules/uv-modal/readme.md
+++ b/uni_modules/uv-modal/readme.md
@@ -4,8 +4,20 @@
弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作。
-### 查看文档
+特性:支持自定义内容,与uniapp提供的API `uni.showModal` 类似,但是功能更强大,更加灵活。
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+运用场景:弹窗验证码输入等场景
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+# 查看文档
+
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
+
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
--
Gitee
From 537cb59666784e4233f4879f117f6735cbc0adaa Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 22 Aug 2023 09:28:52 +0800
Subject: [PATCH 016/155] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=8E=86?=
=?UTF-8?q?=E7=9B=B8=E5=85=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-calendar/package.json | 4 ++--
uni_modules/uv-calendar/readme.md | 16 +++++++++++++---
uni_modules/uv-calendars/package.json | 4 ++--
uni_modules/uv-calendars/readme.md | 6 ++++--
4 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/uni_modules/uv-calendar/package.json b/uni_modules/uv-calendar/package.json
index b8492ee..c36336b 100644
--- a/uni_modules/uv-calendar/package.json
+++ b/uni_modules/uv-calendar/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-calendar",
- "displayName": "uv-calendar 日历 全面兼容小程序、nvue、vue2、vue3等多端",
+ "displayName": "uv-calendar 日历 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.5",
- "description": "日历组件用于单个选择日期,范围选择日期等,日历被包裹在底部弹起的容器中,灵活配置,功能齐全,兼容全端。",
+ "description": "日历组件用于单个选择日期,范围选择日期等,日历被包裹在底部弹起的容器中,灵活配置,功能齐全,兼容全端。强烈推荐使用最新版日历组件,在下方跳入。",
"keywords": [
"uv-calendar",
"uvui",
diff --git a/uni_modules/uv-calendar/readme.md b/uni_modules/uv-calendar/readme.md
index 580ac3e..3c2de54 100644
--- a/uni_modules/uv-calendar/readme.md
+++ b/uni_modules/uv-calendar/readme.md
@@ -4,8 +4,18 @@
此组件用于单个选择日期,范围选择日期等,日历被包裹在底部弹起的容器中。灵活配置,功能齐全,兼容全端。
-### 查看文档
+## 温馨提示:该组件不再更新,强烈推荐使用最新版日历组件:[https://www.uvui.cn/components/calendars.html](https://www.uvui.cn/components/calendars.html)。基于 `uv-ui` 插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美。
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+# 查看文档
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
+
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index 5eb0455..eaf264d 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-calendars",
- "displayName": "uv-calendars 日历 全面兼容vue3+2、app、h5、小程序等多端",
+ "displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.5",
- "description": "该组件输入优化升级版,提供日历选择查看,简单配置即可使用强大功能,性能友好",
+ "description": "基于uv-ui插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美",
"keywords": [
"uv-ui",
"uvui",
diff --git a/uni_modules/uv-calendars/readme.md b/uni_modules/uv-calendars/readme.md
index 7b8a5e9..a0195bf 100644
--- a/uni_modules/uv-calendars/readme.md
+++ b/uni_modules/uv-calendars/readme.md
@@ -1,8 +1,10 @@
-## Calendars 日历(新)
+## Calendars 全新日历
> **组件名:uv-calendars**
-日历组件可以查看、选择日期,选择任意范围内的日期,打点操作。常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等。
+基于 `uv-ui` 插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美。
+
+常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等。
# 查看文档
--
Gitee
From 1b03de51812be723b03868c31d53fb0a777c135b Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 22 Aug 2023 16:55:54 +0800
Subject: [PATCH 017/155] =?UTF-8?q?=E4=BC=98=E5=8C=96UVINPUT?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-input/changelog.md | 2 ++
uni_modules/uv-input/components/uv-input/uv-input.vue | 4 ++--
uni_modules/uv-input/package.json | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/uni_modules/uv-input/changelog.md b/uni_modules/uv-input/changelog.md
index 57f79a9..ca8252d 100644
--- a/uni_modules/uv-input/changelog.md
+++ b/uni_modules/uv-input/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.8(2023-08-22)
+1. 修复无法@keyboardheightchange无法获取键盘高度的BUG
## 1.0.7(2023-08-18)
1. 修复ios端不能输入的BUG
## 1.0.6(2023-08-05)
diff --git a/uni_modules/uv-input/components/uv-input/uv-input.vue b/uni_modules/uv-input/components/uv-input/uv-input.vue
index 5459a34..6f63a19 100644
--- a/uni_modules/uv-input/components/uv-input/uv-input.vue
+++ b/uni_modules/uv-input/components/uv-input/uv-input.vue
@@ -234,8 +234,8 @@
},
// 键盘高度发生变化的时候触发此事件
// 兼容性:微信小程序2.7.0+、App 3.1.0+
- onkeyboardheightchange() {
- this.$emit("keyboardheightchange");
+ onkeyboardheightchange(e) {
+ this.$emit("keyboardheightchange",e);
},
// 内容发生变化,进行处理
valueChange() {
diff --git a/uni_modules/uv-input/package.json b/uni_modules/uv-input/package.json
index cff330d..0efa35b 100644
--- a/uni_modules/uv-input/package.json
+++ b/uni_modules/uv-input/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-input",
"displayName": "uv-input 输入框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "uv-input 该组件为一个输入框,默认没有边框和样式,是专门为配合表单组件uv-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。",
"keywords": [
"uv-input",
--
Gitee
From ebb51ae6768e5f2c6f537ba0782edbbb3db56b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Tue, 22 Aug 2023 23:09:55 +0800
Subject: [PATCH 018/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-drop-down/changelog.md | 3 +++
.../uv-drop-down-popup/uv-drop-down-popup.vue | 4 ++++
.../components/uv-drop-down/uv-drop-down.vue | 18 ++++++++++++------
uni_modules/uv-drop-down/package.json | 2 +-
4 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/uni_modules/uv-drop-down/changelog.md b/uni_modules/uv-drop-down/changelog.md
index 82eecd7..9d24f39 100644
--- a/uni_modules/uv-drop-down/changelog.md
+++ b/uni_modules/uv-drop-down/changelog.md
@@ -1,2 +1,5 @@
+## 1.0.1(2023-08-22)
+1. 增加@change回调,返回弹窗关闭状态
+2. 增加init方法,方便位置改变进行调整
## 1.0.0(2023-07-30)
新增uv-drop-down 下拉筛选组件
diff --git a/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue b/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
index e690e20..37edde3 100644
--- a/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
+++ b/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
@@ -142,9 +142,11 @@
this.$emit('clickItem', item);
},
init() {
+ uni.$off(`${this.sign}_GETRECT`);
uni.$on(`${this.sign}_GETRECT`, rect => {
this.rect = rect;
})
+ uni.$off(`${this.sign}_CLICKMENU`);
uni.$on(`${this.sign}_CLICKMENU`, async res => {
if (res.show) {
this.open();
@@ -166,6 +168,7 @@
// #ifdef APP-NVUE
this.animation(res.height);
// #endif
+ this.$emit('popupChange', { show: true });
})
},
close() {
@@ -178,6 +181,7 @@
// #endif
this.show = false;
uni.$emit(`${this.sign}_CLOSEPOPUP`);
+ this.$emit('popupChange', { show: false });
},
clickOverlay() {
if (this.clickOverlayOnClose) {
diff --git a/uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.vue b/uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.vue
index d41e2ef..9978b40 100644
--- a/uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.vue
+++ b/uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.vue
@@ -40,7 +40,7 @@
},
defaultValue: {
type: Array,
- default: () => [0,'0','all']
+ default: () => [0, '0', 'all']
},
textSize: {
type: String,
@@ -85,13 +85,18 @@
}
},
mounted() {
- this.$nextTick(async () => {
- await this.$uv.sleep(30);
- const rect = await this.queryRect();
- uni.$emit(`${this.sign}_GETRECT`, rect);
- })
+ this.init();
},
methods: {
+ init() {
+ uni.$emit(`${this.sign}_CLICKMENU`, {
+ show: false
+ });
+ this.$nextTick(async () => {
+ const rect = await this.queryRect();
+ uni.$emit(`${this.sign}_GETRECT`, rect);
+ })
+ },
// 查询内容高度
queryRect() {
// #ifndef APP-NVUE
@@ -107,6 +112,7 @@
// 返回一个promise,让调用此方法的主体能使用then回调
return new Promise(resolve => {
dom.getComponentRect(this.$refs.dropDownRef, res => {
+ res.size.top = res.size.top <= 0 ? 0 : res.size.top;
resolve(res.size)
})
})
diff --git a/uni_modules/uv-drop-down/package.json b/uni_modules/uv-drop-down/package.json
index 70a719e..9dd6a57 100644
--- a/uni_modules/uv-drop-down/package.json
+++ b/uni_modules/uv-drop-down/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-drop-down",
"displayName": "uv-drop-down 下拉筛选 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "该组件主要提供筛选下拉筛选框,内置基础筛选功能,可以根据自己的需求自定义筛选项",
"keywords": [
"uv-drop-down",
--
Gitee
From f37b6fe1851d455d5688ecc3dc3c0466744ca180 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Tue, 22 Aug 2023 23:50:55 +0800
Subject: [PATCH 019/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsB/dropDown/dropDown.nvue | 11 +++++++++--
uni_modules/uv-drop-down/changelog.md | 2 ++
.../uv-drop-down-popup/uv-drop-down-popup.vue | 1 +
uni_modules/uv-drop-down/package.json | 2 +-
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 7 +++++++
uni_modules/uv-ui/package.json | 2 +-
9 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/pages/componentsB/dropDown/dropDown.nvue b/pages/componentsB/dropDown/dropDown.nvue
index 3a4ad01..553cc1f 100644
--- a/pages/componentsB/dropDown/dropDown.nvue
+++ b/pages/componentsB/dropDown/dropDown.nvue
@@ -1,6 +1,7 @@
-
+ .uv-text {
+ @include flex(row);
+ align-items: center;
+ flex-wrap: nowrap;
+ flex: 1;
+ /* #ifndef APP-NVUE */
+ width: 100%;
+ /* #endif */
+ &__price {
+ font-size: 14px;
+ color: $uv-content-color;
+ }
+ &__value {
+ font-size: 14px;
+ @include flex;
+ color: $uv-content-color;
+ flex-wrap: wrap;
+ // flex: 1;
+ text-overflow: ellipsis;
+ align-items: center;
+ &--primary {
+ color: $uv-primary;
+ }
+ &--warning {
+ color: $uv-warning;
+ }
+ &--success {
+ color: $uv-success;
+ }
+ &--info {
+ color: $uv-info;
+ }
+ &--error {
+ color: $uv-error;
+ }
+ &--main {
+ color: $uv-main-color;
+ }
+ &--content {
+ color: $uv-content-color;
+ }
+ &--tips {
+ color: $uv-tips-color;
+ }
+ &--light {
+ color: $uv-light-color;
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/uni_modules/uv-text/package.json b/uni_modules/uv-text/package.json
index 1777bbb..62701cb 100644
--- a/uni_modules/uv-text/package.json
+++ b/uni_modules/uv-text/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-text",
- "displayName": "uv-text 文本 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.2",
+ "displayName": "uv-text 文本 全面兼容vue3+2、app、h5、小程序等多端",
+ "version": "1.0.3",
"description": "此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义,text组件涵盖您能使用的大部分场景。",
"keywords": [
"uv-text",
diff --git a/uni_modules/uv-text/readme.md b/uni_modules/uv-text/readme.md
index 6abb04b..9956ffa 100644
--- a/uni_modules/uv-text/readme.md
+++ b/uni_modules/uv-text/readme.md
@@ -4,8 +4,14 @@
此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义,text组件涵盖您能使用的大部分场景。
-### 查看文档
+# 查看文档
-### [完整示例项目下载 | 关注更多组件](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
-#### 如使用过程中有任何问题,或者您对uv-ui有一些好的建议,欢迎加入 uv-ui 交流群:uv-ui、官方QQ群
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
--
Gitee
From cce1a52d9ba4e232842df55de38a30e63d7f1274 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Thu, 24 Aug 2023 23:15:14 +0800
Subject: [PATCH 027/155] =?UTF-8?q?=E4=BC=98=E5=8C=96uvrate=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
uni_modules/uv-rate/changelog.md | 2 ++
uni_modules/uv-rate/components/uv-rate/uv-rate.vue | 8 ++------
uni_modules/uv-rate/package.json | 2 +-
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 8 ++++++++
uni_modules/uv-ui/package.json | 2 +-
uni_modules/uv-ui/readme.md | 2 +-
10 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 75b7b45..562fcfa 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
diff --git a/uni_modules/uv-rate/changelog.md b/uni_modules/uv-rate/changelog.md
index 16203dc..f1cbeea 100644
--- a/uni_modules/uv-rate/changelog.md
+++ b/uni_modules/uv-rate/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-08-24)
+1. 修复支付宝不能选半星的BUG
## 1.0.6(2023-08-23)
1. 修复支付宝报错的BUG
## 1.0.5(2023-07-13)
diff --git a/uni_modules/uv-rate/components/uv-rate/uv-rate.vue b/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
index b248dbc..48e7558 100644
--- a/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
+++ b/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
@@ -105,7 +105,7 @@
},
methods: {
init() {
- this.$uv.sleep().then(() => {
+ this.$uv.sleep(200).then(() => {
this.getRateItemRect();
this.getRateIconWrapRect();
})
@@ -170,11 +170,7 @@
let x = 0;
// 点击时,在nvue上,无法获得点击的坐标,所以无法实现点击半星选择
// #ifndef APP-NVUE
- try{
- x = e.changedTouches[0].pageX;
- }catch(e){
- x = index * this.rateWidth + this.rateBoxLeft;
- }
+ x = e.changedTouches && e.changedTouches[0].pageX || e.detail && e.detail.pageX;
// #endif
// #ifdef APP-NVUE
// nvue下,无法通过点击获得坐标信息,这里通过元素的位置尺寸值模拟坐标
diff --git a/uni_modules/uv-rate/package.json b/uni_modules/uv-rate/package.json
index c45fdf8..ed204d8 100644
--- a/uni_modules/uv-rate/package.json
+++ b/uni_modules/uv-rate/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-rate",
"displayName": "uv-rate 评分 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
+ "version": "1.0.7",
"description": "该组件为星型评分,可用于满意度调查等场景...",
"keywords": [
"uv-rate",
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index eedffa3..1e564ab 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.8(2023-08-24)
+1. 版本升级
## 1.1.7(2023-08-22)
1. 版本升级
## 1.1.6(2023-08-18)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index ad3942b..6f8e3b8 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-08-22
-const version = '1.1.7'
+// 此版本发布于2023-08-24
+const version = '1.1.8'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 9ab8bc8..275b4de 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.7",
+ "version": "1.1.8",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index 8b578f7..e2d1e7b 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,11 @@
+## 1.1.8(2023-08-24)
+1. 优化 uv-popup 弹出不丝滑优化思路:https://www.uvui.cn/components/popup.html#yh
+2. 修复 uv-switch 取消value传值,只能使用v-model传值,避免异步操作不生效的BUG
+3. 修复 uv-index-list ios端滚动过程中+快速点击右侧导航页面出现空白的BUG
+4. 修复 uv-rate 1. 支付宝报错的BUG; 2. 不能选半星的BUG
+5. 修复 uv-model 异步loading时,确认回调还会一直触发的BUG
+6. 修复 uv-swiper 标题文字过多未隐藏掉的BUG
+7. 修复 uv-text app-nvue编译不能自动换行的BUG
## 1.1.7(2023-08-22)
1. 优化 uv-drop-down a. 增加@change回调,返回弹窗关闭状态; b. 增加init方法,方便位置改变进行调整
2. 优化 部分文档优化
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 78d9085..36d842e 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.7",
+ "version": "1.1.8",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index 75b7b45..562fcfa 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
--
Gitee
From 18968208324bd07ae54c506b9cb39ae2c36786c1 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 25 Aug 2023 17:38:00 +0800
Subject: [PATCH 028/155] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99?=
=?UTF-8?q?=E7=9A=84throttle?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui-tools/index.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/uni_modules/uv-ui-tools/index.js b/uni_modules/uv-ui-tools/index.js
index b3a24cd..ff70d63 100644
--- a/uni_modules/uv-ui-tools/index.js
+++ b/uni_modules/uv-ui-tools/index.js
@@ -32,7 +32,6 @@ const $uv = {
route,
config,
test,
- throttle,
date: index.timeFormat, // 另名date
...index,
colorGradient: colorGradient.colorGradient,
--
Gitee
From 8e979c7233bb8fe5d98f3f046d2c6a8bb568e1d4 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 25 Aug 2023 17:49:28 +0800
Subject: [PATCH 029/155] =?UTF-8?q?uvpicker=E5=A2=9E=E5=8A=A0round?=
=?UTF-8?q?=E5=B1=9E=E6=80=A7=E8=AE=BE=E7=BD=AE=E5=BC=B9=E7=AA=97=E5=9C=86?=
=?UTF-8?q?=E8=A7=92=E9=BB=98=E8=AE=A4=E4=B8=BA0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-picker/changelog.md | 2 ++
uni_modules/uv-picker/components/uv-picker/props.js | 5 +++++
uni_modules/uv-picker/components/uv-picker/uv-picker.vue | 1 +
uni_modules/uv-picker/package.json | 2 +-
4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-picker/changelog.md b/uni_modules/uv-picker/changelog.md
index f9e6d17..9583940 100644
--- a/uni_modules/uv-picker/changelog.md
+++ b/uni_modules/uv-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.10(2023-08-25)
+1. 增加round属性设置弹窗圆角,默认为0
## 1.0.9(2023-08-24)
1. 修复cli项目不返回值的问题
## 1.0.8(2023-08-04)
diff --git a/uni_modules/uv-picker/components/uv-picker/props.js b/uni_modules/uv-picker/components/uv-picker/props.js
index 8bcb18f..912c6e6 100644
--- a/uni_modules/uv-picker/components/uv-picker/props.js
+++ b/uni_modules/uv-picker/components/uv-picker/props.js
@@ -10,6 +10,11 @@ export default {
type: String,
default: ''
},
+ // 弹窗圆角
+ round: {
+ type: [String, Number],
+ default: 0
+ },
// 对象数组,设置每一列的数据
columns: {
type: Array,
diff --git a/uni_modules/uv-picker/components/uv-picker/uv-picker.vue b/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
index 937e38b..33215bf 100644
--- a/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
+++ b/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
@@ -2,6 +2,7 @@
diff --git a/uni_modules/uv-picker/package.json b/uni_modules/uv-picker/package.json
index f9de069..26901f7 100644
--- a/uni_modules/uv-picker/package.json
+++ b/uni_modules/uv-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-picker",
"displayName": "uv-picker 选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.9",
+ "version": "1.0.10",
"description": "uv-picker 此选择器用于单列,多列,多列联动的选择场景...",
"keywords": [
"uv-picker",
--
Gitee
From f3729c8d531d6616d1faaeed19b737609510fb81 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 25 Aug 2023 18:20:07 +0800
Subject: [PATCH 030/155] =?UTF-8?q?uvcalendars=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-calendars/changelog.md | 2 ++
.../uv-calendars/components/uv-calendars/uv-calendars.vue | 4 +---
uni_modules/uv-calendars/package.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/uni_modules/uv-calendars/changelog.md b/uni_modules/uv-calendars/changelog.md
index ebe68d3..d876328 100644
--- a/uni_modules/uv-calendars/changelog.md
+++ b/uni_modules/uv-calendars/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.6(2023-08-25)
+1. 修复点击返回今天按钮时,monthSwitch方法回调参数返回月份不是当天对应月份:https://github.com/climblee/uv-ui/issues/7
## 1.0.5(2023-08-13)
1. 修复选择月份弹窗层级的问题
## 1.0.4(2023-08-06)
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
index 178b105..1e51e23 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
@@ -340,12 +340,10 @@
const nowYearMonth = `${this.nowDate.year}-${this.nowDate.month}`
const date = this.cale.getDate(new Date())
const todayYearMonth = `${date.year}-${date.month}`
-
+ this.init(date.fullDate)
if (nowYearMonth !== todayYearMonth) {
this.monthSwitch()
}
-
- this.init(date.fullDate)
this.change()
},
/**
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index eaf264d..3d12fae 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.5",
+ "version": "1.0.6",
"description": "基于uv-ui插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美",
"keywords": [
"uv-ui",
--
Gitee
From c6dfa9da4db2040b0613159d56dec2f32e808b7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 27 Aug 2023 00:26:25 +0800
Subject: [PATCH 031/155] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=8E=86rad?=
=?UTF-8?q?iochexkbox=E7=AD=89=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
pages.json | 2 +-
pages/componentsB/calendars/calendars.nvue | 59 ++++++--
pages/index/components.config.js | 2 +-
uni_modules/uv-calendars/changelog.md | 4 +
.../components/uv-calendars/util.js | 141 +++++++++++++-----
.../uv-calendars/uv-calendar-body.vue | 17 ++-
.../uv-calendars/uv-calendar-item.vue | 79 ++++++----
.../components/uv-calendars/uv-calendars.vue | 71 ++++++---
uni_modules/uv-calendars/package.json | 4 +-
uni_modules/uv-calendars/readme.md | 6 +-
uni_modules/uv-checkbox/changelog.md | 2 +
.../components/uv-checkbox/props.js | 2 +-
uni_modules/uv-checkbox/package.json | 2 +-
uni_modules/uv-radio/changelog.md | 4 +
.../uv-radio/components/uv-radio/props.js | 2 +-
.../uv-radio/components/uv-radio/uv-radio.vue | 1 +
uni_modules/uv-radio/package.json | 2 +-
uni_modules/uv-sticky/changelog.md | 2 +
.../components/uv-sticky/uv-sticky.vue | 2 -
uni_modules/uv-sticky/package.json | 2 +-
uni_modules/uv-ui-tools/changelog.md | 3 +
uni_modules/uv-ui-tools/libs/config/config.js | 4 +-
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 6 +
uni_modules/uv-ui/package.json | 2 +-
uni_modules/uv-ui/readme.md | 2 +-
27 files changed, 306 insertions(+), 121 deletions(-)
diff --git a/README.md b/README.md
index 562fcfa..c6d6a95 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@
| 组件名 | 组件说明 |
| --- | --- |
-| uv-calendars | [日历(新版)](https://www.uvui.cn/components/calendars.html) |
+| uv-calendars | [新版日历(推荐)](https://www.uvui.cn/components/calendars.html) |
| uv-drop-down | [下拉筛选](https://www.uvui.cn/components/dropDown.html) |
| uv-scroll-list | [横向滚动列表](https://www.uvui.cn/components/scrollList.html) |
| uv-vtabs | [垂直选项卡](https://www.uvui.cn/components/vtabs.html) |
diff --git a/pages.json b/pages.json
index a89ca19..73bb5fa 100644
--- a/pages.json
+++ b/pages.json
@@ -123,7 +123,7 @@
}, {
"path": "calendars/calendars",
"style": {
- "navigationBarTitleText": "Calendars 日历(新)"
+ "navigationBarTitleText": "Calendars 新版日历(推荐)"
}
}, {
"path": "picker/picker",
diff --git a/pages/componentsB/calendars/calendars.nvue b/pages/componentsB/calendars/calendars.nvue
index 7f89b96..3b925cb 100644
--- a/pages/componentsB/calendars/calendars.nvue
+++ b/pages/componentsB/calendars/calendars.nvue
@@ -35,20 +35,25 @@
/>
+
+
+
@@ -90,6 +107,9 @@
endDate: `${year}-${month}-20`,
selected: [{date: `${year}-${month}-02`, info: '签到', badge: true, infoColor: '#ff0000'},{date: `${year}-${month}-06`, info: '余10',infoColor: '#19be6b', topinfo: '¥100', topinfoColor: '#19be6b'}],
defaultDate: `${year}-${month}-15`,
+ date5: [`${year}-${month}-08`,`${year}-${month}-20`],
+ date10: [`${year}-${month}-08`,`${year}-${month}-16`,`${year}-${month}-24`],
+ date11: [`${year}-${month}-08`,`${year}-${month}-20`],
list: [{
title: '插入模式',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/10.png'
@@ -98,6 +118,10 @@
title: '单个日期',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/7.png'
},
+ {
+ title: '多个日期',
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/8.png'
+ },
{
title: '日期范围',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/9.png'
@@ -109,13 +133,19 @@
title: '自定义文案',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/14.png'
},{
- title: '日期最大范围',
+ title: '限制日期选择范围',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/13.png'
},{
title: '显示农历',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/5.png'
},{
- title: '默认日期',
+ title: '默认单个日期',
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/10.png'
+ },{
+ title: '默认多个日期',
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/10.png'
+ },{
+ title: '默认日期范围',
iconUrl: 'https://cdn.uviewui.com/uview/demo/calendar/10.png'
}
]
@@ -130,7 +160,14 @@
this.$refs[`calendar${this.index}`].open();
},
confirm(e) {
- const time = e.range.before && e.range.after? `${e.range.before} 至 ${e.range.after}`:e.fulldate;
+ let time = null;
+ if(e.range.before && e.range.after) {
+ time = `${e.range.before} 至 ${e.range.after}`;
+ } else if(e.multiple.data.length) {
+ time = e.multiple.data.length>1?`${e.multiple.data[0]}等多个日期`:e.multiple.data[0];
+ } else {
+ time = e.fulldate;
+ }
uni.showToast({
icon: 'none',
title: time
diff --git a/pages/index/components.config.js b/pages/index/components.config.js
index a8b73c1..a194f08 100644
--- a/pages/index/components.config.js
+++ b/pages/index/components.config.js
@@ -12,7 +12,7 @@ export default [{
{
path: '/pages/componentsB/calendars/calendars',
icon: 'calendar',
- title: 'Calendar 日历(新)',
+ title: 'Calendar 新版日历(强烈推荐)',
title_en: 'Calendar',
isNew: true
},
diff --git a/uni_modules/uv-calendars/changelog.md b/uni_modules/uv-calendars/changelog.md
index d876328..32c13d4 100644
--- a/uni_modules/uv-calendars/changelog.md
+++ b/uni_modules/uv-calendars/changelog.md
@@ -1,3 +1,7 @@
+## 1.0.7(2023-08-26)
+1. 去除range参数,由mode="range"替换
+2. 新增mode参数,不传 / multiple / range,分别为单日期, 多个日期,选择日期范围
+3. 与uv-calendar选择日期的功能保持一致
## 1.0.6(2023-08-25)
1. 修复点击返回今天按钮时,monthSwitch方法回调参数返回月份不是当天对应月份:https://github.com/climblee/uv-ui/issues/7
## 1.0.5(2023-08-13)
diff --git a/uni_modules/uv-calendars/components/uv-calendars/util.js b/uni_modules/uv-calendars/components/uv-calendars/util.js
index 494f127..9a62080 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/util.js
+++ b/uni_modules/uv-calendars/components/uv-calendars/util.js
@@ -6,7 +6,8 @@ class Calendar {
selected,
startDate,
endDate,
- range
+ range,
+ multiple
} = {}) {
// 当前日期
this.date = this.getDate(new Date()) // 当前初入日期
@@ -17,7 +18,10 @@ class Calendar {
// 范围结束
this.endDate = endDate
this.range = range
+ this.multiple = multiple
// 多选状态
+ this.cleanRangeStatus()
+ // 范围状态
this.cleanMultipleStatus()
// 每周日期
this.weeks = {}
@@ -27,29 +31,70 @@ class Calendar {
* 设置日期
* @param {Object} date
*/
- setDate(date) {
- this.selectDate = this.getDate(date)
- this._getWeek(this.selectDate.fullDate)
+ setDate(date,status) {
+ if (this.range && status=='init') {
+ this.cleanRangeStatus();
+ if (Array.isArray(date)) {
+ this.rangeStatus.before = date[0];
+ this.rangeStatus.after = date.length > 1 ? date[date.length - 1] : '';
+ if (this.rangeStatus.after && this.dateCompare(this.rangeStatus.before, this.rangeStatus.after)) {
+ this.rangeStatus.data = this.geDateAll(this.rangeStatus.before, this.rangeStatus.after)
+ }
+ this.selectDate = this.getDate(date[0])
+ this._getWeek(this.selectDate.fullDate)
+ } else {
+ this.selectDate = this.getDate(date)
+ this.rangeStatus.before = this.selectDate.fullDate;
+ this._getWeek(this.selectDate.fullDate)
+ }
+ } else if (this.multiple && status=='init') {
+ this.cleanMultipleStatus();
+ if (Array.isArray(date)) {
+ this.multipleStatus.data = date;
+ this.selectDate = this.getDate(date[0])
+ this._getWeek(this.selectDate.fullDate)
+ } else {
+ this.selectDate = this.getDate(date)
+ this.multipleStatus.data = [this.selectDate.fullDate];
+ this._getWeek(this.selectDate.fullDate)
+ }
+ } else {
+ if (Array.isArray(date)) {
+ this.selectDate = this.getDate(date[0])
+ this._getWeek(this.selectDate.fullDate)
+ } else {
+ this.selectDate = this.getDate(date)
+ this._getWeek(this.selectDate.fullDate)
+ }
+ }
}
/**
* 清理多选状态
*/
- cleanMultipleStatus() {
- this.multipleStatus = {
+ cleanRangeStatus() {
+ this.rangeStatus = {
before: '',
after: '',
data: []
}
}
+ /**
+ * 清理多选状态
+ */
+ cleanMultipleStatus() {
+ this.multipleStatus = {
+ data: []
+ }
+ }
+
/**
* 重置开始日期
*/
resetSatrtDate(startDate) {
// 范围开始
this.startDate = startDate
-
}
/**
@@ -76,19 +121,19 @@ class Calendar {
dd.setDate(dd.getDate() + AddDayCount) // 获取AddDayCount天后的日期
break
case 'month':
- if (dd.getDate() === 31 && AddDayCount>0) {
+ if (dd.getDate() === 31 && AddDayCount > 0) {
dd.setDate(dd.getDate() + AddDayCount)
} else {
const preMonth = dd.getMonth()
dd.setMonth(preMonth + AddDayCount) // 获取AddDayCount天后的日期
const nextMonth = dd.getMonth()
// 处理 pre 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
- if(AddDayCount<0 && preMonth!==0 && nextMonth-preMonth>AddDayCount){
- dd.setMonth(nextMonth+(nextMonth-preMonth+AddDayCount))
+ if (AddDayCount < 0 && preMonth !== 0 && nextMonth - preMonth > AddDayCount) {
+ dd.setMonth(nextMonth + (nextMonth - preMonth + AddDayCount))
}
// 处理 next 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
- if(AddDayCount>0 && nextMonth-preMonth>AddDayCount){
- dd.setMonth(nextMonth-(nextMonth-preMonth-AddDayCount))
+ if (AddDayCount > 0 && nextMonth - preMonth > AddDayCount) {
+ dd.setMonth(nextMonth - (nextMonth - preMonth - AddDayCount))
}
}
break
@@ -158,26 +203,40 @@ class Calendar {
// disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate)
disableAfter = this.dateCompare(nowDate, this.endDate)
}
- let multiples = this.multipleStatus.data
+ let ranges = this.rangeStatus.data
let checked = false
- let multiplesStatus = -1
+ let rangesStatus = -1
if (this.range) {
+ if (ranges) {
+ rangesStatus = ranges.findIndex((item) => {
+ return this.dateEqual(item, nowDate)
+ })
+ }
+ if (rangesStatus !== -1) {
+ checked = true
+ }
+ }
+ let multiples = this.multipleStatus.data
+ let checked_multiple = false
+ let multiplesStatus = -1
+ if (this.multiple) {
if (multiples) {
multiplesStatus = multiples.findIndex((item) => {
return this.dateEqual(item, nowDate)
})
}
if (multiplesStatus !== -1) {
- checked = true
+ checked_multiple = true
}
}
let data = {
fullDate: nowDate,
year: full.year,
date: i,
- multiple: this.range ? checked : false,
- beforeMultiple: this.dateEqual(this.multipleStatus.before, nowDate),
- afterMultiple: this.dateEqual(this.multipleStatus.after, nowDate),
+ range: this.range ? checked : false,
+ multiple: this.multiple ? checked_multiple : false,
+ beforeRange: this.dateEqual(this.rangeStatus.before, nowDate),
+ afterRange: this.dateEqual(this.rangeStatus.after, nowDate),
month: full.month,
lunar: this.getlunar(full.year, full.month, i),
disable: !(disableBefore && disableAfter),
@@ -214,6 +273,8 @@ class Calendar {
getInfo(date) {
if (!date) {
date = new Date()
+ } else if (Array.isArray(date)) {
+ date = date[0]
}
const dateInfo = this.canlender.find(item => item.fullDate === this.getDate(date).fullDate)
return dateInfo
@@ -248,7 +309,7 @@ class Calendar {
return false
}
}
-
+
/**
* 比较after时间是否大于before时间
*/
@@ -264,7 +325,6 @@ class Calendar {
}
}
-
/**
* 获取日期范围内所有日期
* @param {Object} begin
@@ -299,34 +359,47 @@ class Calendar {
this.selected = value
this._getWeek(data)
}
-
/**
- * 获取多选状态
+ * 获取多选状态
*/
setMultiple(fullDate) {
+ if (!this.multiple) return
+ let multiples = this.multipleStatus.data;
+ const findIndex = multiples.findIndex(item => this.dateEqual(fullDate, item));
+ if (findIndex < 0) {
+ this.multipleStatus.data = this.multipleStatus.data.concat([fullDate]);
+ } else {
+ this.multipleStatus.data.splice(findIndex, 1);
+ }
+ this._getWeek(fullDate)
+ }
+ /**
+ * 获取范围状态
+ */
+ setRange(fullDate) {
let {
before,
after
- } = this.multipleStatus
+ } = this.rangeStatus
if (!this.range) return
if (before && after) {
- this.cleanMultipleStatus();
- this.multipleStatus.before = fullDate
+ this.cleanRangeStatus();
+ this.rangeStatus.before = fullDate
} else {
if (!before) {
- this.multipleStatus.before = fullDate
+ this.rangeStatus.before = fullDate
} else {
- if(!this.dateAfterLgBefore(this.multipleStatus.before,fullDate)) {
- this.cleanMultipleStatus();
- this.multipleStatus.before = fullDate
+ if (!this.dateAfterLgBefore(this.rangeStatus.before, fullDate)) {
+ this.cleanRangeStatus();
+ this.rangeStatus.before = fullDate
this._getWeek(fullDate)
return;
}
- this.multipleStatus.after = fullDate
- if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
- this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
+ this.rangeStatus.after = fullDate
+ if (this.dateCompare(this.rangeStatus.before, this.rangeStatus.after)) {
+ this.rangeStatus.data = this.geDateAll(this.rangeStatus.before, this.rangeStatus.after);
} else {
- this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
+ this.rangeStatus.data = this.geDateAll(this.rangeStatus.after, this.rangeStatus.before);
}
}
}
@@ -376,4 +449,4 @@ class Calendar {
}
-export default Calendar
+export default Calendar
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
index 8014fab..d5b67da 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
@@ -4,7 +4,7 @@
-
+
-
+
@@ -64,7 +64,7 @@
},
props: {
date: {
- type: String,
+ type: [String,Array],
default: ''
},
nowDate: {
@@ -108,9 +108,16 @@
endText: {
type: String,
default: '结束'
+ },
+ multiple: {
+ type: Boolean,
+ default: false
}
},
computed: {
+ getDate() {
+ return Array.isArray(this.date) ? this.date[0] : this.date;
+ },
/**
* for i18n
*/
@@ -140,7 +147,7 @@
},
rangeInfoText(weeks) {
return weeks=> {
- if(weeks.beforeMultiple) {
+ if(weeks.beforeRange) {
if(weeks.extraInfo) {
weeks.extraInfo.info = this.startText;
}else {
@@ -149,7 +156,7 @@
}
}
}
- if(weeks.afterMultiple) {
+ if(weeks.afterRange) {
if(weeks.extraInfo) {
weeks.extraInfo.info = this.endText;
}else {
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
index 4ca5f87..9af1565 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
@@ -1,11 +1,12 @@
@@ -16,29 +17,32 @@
>{{weeks.extraInfo&&weeks.extraInfo.topinfo}}
{{weeks.date}}
{{todayText}}
{{weeks.isDay ? todayText : (weeks.lunar.IDayCn === '初一'?weeks.lunar.IMonthCn:weeks.lunar.IDayCn)}}
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
index 1e51e23..4366b68 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
@@ -12,6 +12,7 @@
:color="color"
:startText="startText"
:endText="endText"
+ :multiple="multiple"
@bindDateChange="bindDateChange"
@pre="pre"
@next="next"
@@ -41,6 +42,7 @@
:color="color"
:startText="startText"
:endText="endText"
+ :multiple="multiple"
@bindDateChange="bindDateChange"
@pre="pre"
@next="next"
@@ -60,7 +62,7 @@
* @property {Boolean} lunar 显示农历
* @property {String} startDate 日期选择范围-开始日期
* @property {String} endDate 日期选择范围-结束日期
- * @property {Boolean} range 范围选择
+ * @property {String} mode = [不传 | multiple | range ] 多个日期 | 选择日期范围 默认单日期
* @property {Boolean} insert = [true|false] 插入模式,默认为false
* @value true 弹窗模式
* @value false 插入模式
@@ -115,7 +117,7 @@
default: '#3c9cff'
},
date: {
- type: String,
+ type: [String,Array],
default: ''
},
selected: {
@@ -136,9 +138,10 @@
type: String,
default: ''
},
- range: {
- type: Boolean,
- default: false
+ // multiple - 选择多日期 range - 选择日期范围
+ mode: {
+ type: String,
+ default: ''
},
insert: {
type: Boolean,
@@ -153,7 +156,7 @@
default: true
},
round: {
- type: Number,
+ type: [Number,String],
default: 8
},
closeOnClickOverlay: {
@@ -174,7 +177,9 @@
weeks: [],
calendar: {},
nowDate: '',
- allowConfirm: false
+ allowConfirm: false,
+ multiple: false,
+ range: false
}
},
computed:{
@@ -188,10 +193,10 @@
return t("uv-calender.cancel")
},
getConfirmColor() {
- if(!this.range) {
- return this.confirmColor;
- }else {
+ if(this.range || this.multiple) {
return this.allowConfirm? this.confirmColor: '#999'
+ }else {
+ return this.confirmColor;
}
}
},
@@ -215,18 +220,31 @@
}
},
created() {
+ this.setMode();
this.cale = new Calendar({
selected: this.selected,
startDate: this.startDate,
endDate: this.endDate,
range: this.range,
+ multiple: this.multiple
})
this.init(this.date)
},
methods: {
+ setMode() {
+ switch (this.mode){
+ case 'range':
+ this.range = true;
+ break;
+ case 'multiple':
+ this.multiple = true;
+ default:
+ break;
+ }
+ },
async open() {
if (this.clearDate && !this.insert) {
- this.cale.cleanMultipleStatus()
+ this.cale.cleanRangeStatus()
this.init(this.date)
}
if(!this.insert){
@@ -238,7 +256,9 @@
this.$emit('close');
},
confirm() {
- if(this.range && !this.cale.multipleStatus.after) {
+ if(this.range && !this.cale.rangeStatus.after) {
+ return;
+ } else if(this.multiple && this.cale.multipleStatus.data.length == 0){
return;
}
this.setEmit('confirm');
@@ -265,26 +285,32 @@
*/
init(date) {
if(this.range) {
+ // 重置范围选择状态
+ this.cale.cleanRangeStatus();
+ }else if(this.multiple){
// 重置多选状态
this.cale.cleanMultipleStatus();
}
- this.cale.setDate(date)
+ this.cale.setDate(date,'init')
this.weeks = this.cale.weeks
this.nowDate = this.calendar = this.cale.getInfo(date)
- if(this.range) {
- this.choiceDate(this.nowDate);
- }
+ this.changeConfirmStatus();
},
/**
* 变化触发
*/
change() {
- if (this.range) {
- this.allowConfirm = this.cale.multipleStatus.after ? true : false;
- }
+ this.changeConfirmStatus();
if (!this.insert) return
this.setEmit('change')
},
+ changeConfirmStatus() {
+ if (this.range) {
+ this.allowConfirm = this.cale.rangeStatus.after ? true : false;
+ } else if(this.multiple) {
+ this.allowConfirm = this.cale.multipleStatus.data.length > 0 ? true : false;
+ }
+ },
/**
* 选择月份触发
*/
@@ -312,7 +338,8 @@
extraInfo
} = this.calendar
this.$emit(name, {
- range: this.cale.multipleStatus,
+ range: this.cale.rangeStatus,
+ multiple: this.cale.multipleStatus,
year,
month,
date,
@@ -328,8 +355,10 @@
choiceDate(weeks) {
if (weeks.disable) return
this.calendar = weeks
+ // 设置范围选择
+ this.cale.setRange(this.calendar.fullDate)
// 设置多选
- this.cale.setMultiple(this.calendar.fullDate)
+ this.cale.setMultiple(this.calendar.fullDate);
this.weeks = this.cale.weeks
this.change()
},
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index 3d12fae..106584d 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
- "description": "基于uv-ui插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美",
+ "version": "1.0.7",
+ "description": "新版本uv-calendars,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。",
"keywords": [
"uv-ui",
"uvui",
diff --git a/uni_modules/uv-calendars/readme.md b/uni_modules/uv-calendars/readme.md
index a0195bf..d986eb9 100644
--- a/uni_modules/uv-calendars/readme.md
+++ b/uni_modules/uv-calendars/readme.md
@@ -2,9 +2,11 @@
> **组件名:uv-calendars**
-基于 `uv-ui` 插件市场首款多功能日历组件,不仅可以查看、选择日期,还可以选择任意范围内的日期、打点操作、自定义主题颜色、自定义文案、农历显示等。追求的就是完美。
+为了解决老版本`uv-calendar`性能问题,特别是对日期选择范围有很大限制,体验不友好等缺点。于是有了新版日历组件。
-常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等。
+新版本`uv-calendars`,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。
+
+常用场景:酒店日期预订、火车机票选择购买日期、上下班打卡等。
# 查看文档
diff --git a/uni_modules/uv-checkbox/changelog.md b/uni_modules/uv-checkbox/changelog.md
index 1d77f61..9dd206f 100644
--- a/uni_modules/uv-checkbox/changelog.md
+++ b/uni_modules/uv-checkbox/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.10(2023-08-27)
+1. 修复label设置布尔值不生效的BUG
## 1.0.9(2023-08-16)
1. 解决数据多不换行的BUG
## 1.0.8(2023-07-13)
diff --git a/uni_modules/uv-checkbox/components/uv-checkbox/props.js b/uni_modules/uv-checkbox/components/uv-checkbox/props.js
index 4bcd013..58ec890 100644
--- a/uni_modules/uv-checkbox/components/uv-checkbox/props.js
+++ b/uni_modules/uv-checkbox/components/uv-checkbox/props.js
@@ -47,7 +47,7 @@ export default {
},
// label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
label: {
- type: [String, Number],
+ type: [String, Number, Boolean],
default: ''
},
// label的字体大小,px单位
diff --git a/uni_modules/uv-checkbox/package.json b/uni_modules/uv-checkbox/package.json
index d0b102e..e1fea42 100644
--- a/uni_modules/uv-checkbox/package.json
+++ b/uni_modules/uv-checkbox/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-checkbox",
"displayName": "uv-checkbox 复选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.9",
+ "version": "1.0.10",
"description": "复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。",
"keywords": [
"uv-checkbox",
diff --git a/uni_modules/uv-radio/changelog.md b/uni_modules/uv-radio/changelog.md
index bc17562..10758f0 100644
--- a/uni_modules/uv-radio/changelog.md
+++ b/uni_modules/uv-radio/changelog.md
@@ -1,3 +1,7 @@
+## 1.0.8(2023-08-26)
+1. 修复v-model 绑定布尔值控制台报警
+## 1.0.7(2023-08-26)
+1. 修复设置 labelSize 属性设置无效的问题:https://gitee.com/climblee/uv-ui/issues/I7W6UN
## 1.0.6(2023-08-04)
1. 修复name为数字0时不能选中的BUG
## 1.0.5(2023-07-13)
diff --git a/uni_modules/uv-radio/components/uv-radio/props.js b/uni_modules/uv-radio/components/uv-radio/props.js
index cae599d..1e5e2ac 100644
--- a/uni_modules/uv-radio/components/uv-radio/props.js
+++ b/uni_modules/uv-radio/components/uv-radio/props.js
@@ -42,7 +42,7 @@ export default {
},
// label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
label: {
- type: [String, Number],
+ type: [String, Number, Boolean],
default: ''
},
// 整体的大小
diff --git a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
index c9b3f33..e3636dd 100644
--- a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
+++ b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
@@ -70,6 +70,7 @@
// 故只能使用如此方法
parentData: {
iconSize: 12,
+ labelSize: 14,
labelDisabled: null,
disabled: null,
shape: null,
diff --git a/uni_modules/uv-radio/package.json b/uni_modules/uv-radio/package.json
index e4caac7..4e68790 100644
--- a/uni_modules/uv-radio/package.json
+++ b/uni_modules/uv-radio/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-radio",
"displayName": "uv-radio 单选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
+ "version": "1.0.8",
"description": "uv-radio 单选框用于有一个选择,用户只能选择其中一个的场景。",
"keywords": [
"uv-radio",
diff --git a/uni_modules/uv-sticky/changelog.md b/uni_modules/uv-sticky/changelog.md
index 801c4f1..9556745 100644
--- a/uni_modules/uv-sticky/changelog.md
+++ b/uni_modules/uv-sticky/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.2(2023-08-27)
+1. 优化
## 1.0.1(2023-05-16)
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
diff --git a/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue b/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue
index 1b26942..90220ef 100644
--- a/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue
+++ b/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue
@@ -28,8 +28,6 @@
* @property {String | Number} zIndex 吸顶时的z-index值
* @property {String | Number} index 自定义标识,用于区分是哪一个组件
* @property {Object} customStyle 组件的样式,对象形式
- * @event {Function} fixed 组件吸顶时触发
- * @event {Function} unfixed 组件取消吸顶时触发
* @example 塞下秋来风景异,衡阳雁去无留意
*/
export default {
diff --git a/uni_modules/uv-sticky/package.json b/uni_modules/uv-sticky/package.json
index 22fec5c..7f77830 100644
--- a/uni_modules/uv-sticky/package.json
+++ b/uni_modules/uv-sticky/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-sticky",
"displayName": "uv-sticky 吸顶 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "吸顶组件与CSS中position: sticky属性实现的效果一致,当组件达到预设的到顶部距离时, 就会固定在指定位置,组件位置大于预设的顶部距离时,会重新按照正常的布局排列。",
"keywords": [
"uv-sticky",
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 1e564ab..4c24906 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,6 @@
+## 1.1.9(2023-08-27)
+1. 版本升级
+2. 优化
## 1.1.8(2023-08-24)
1. 版本升级
## 1.1.7(2023-08-22)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index 6f8e3b8..ea0b1ee 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-08-24
-const version = '1.1.8'
+// 此版本发布于2023-08-27
+const version = '1.1.9'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 275b4de..f7226ea 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.8",
+ "version": "1.1.9",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index e2d1e7b..4f2053c 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,9 @@
+## 1.1.9(2023-08-27)
+1. 优化 uv-calendars 1. 去除range参数,由mode="range"替换;2. 新增mode参数,不传 / multiple / range,分别为单日期, 多个日期,选择日期范围;3. 与uv-calendar选择日期的功能保持一致
+2. 优化 uv-picker 增加round属性,设置圆角
+3. 修复 uv-calendars 点击返回今天按钮时,monthSwitch方法回调参数返回月份不是当天对应月份
+4. 修复 uv-radio 1. 设置 labelSize 属性设置无效的问题:https://gitee.com/climblee/uv-ui/issues/I7W6UN;2. v-model 绑定布尔值控制台报警:https://gitee.com/climblee/uv-ui/issues/I7W714
+5. 修复 uv-checkbox 1. 设置 label 属性为布尔值不生效的BUG
## 1.1.8(2023-08-24)
1. 优化 uv-popup 弹出不丝滑优化思路:https://www.uvui.cn/components/popup.html#yh
2. 修复 uv-switch 取消value传值,只能使用v-model传值,避免异步操作不生效的BUG
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 36d842e..8d1590f 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.8",
+ "version": "1.1.9",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index 562fcfa..c6d6a95 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -75,7 +75,7 @@
| 组件名 | 组件说明 |
| --- | --- |
-| uv-calendars | [日历(新版)](https://www.uvui.cn/components/calendars.html) |
+| uv-calendars | [新版日历(推荐)](https://www.uvui.cn/components/calendars.html) |
| uv-drop-down | [下拉筛选](https://www.uvui.cn/components/dropDown.html) |
| uv-scroll-list | [横向滚动列表](https://www.uvui.cn/components/scrollList.html) |
| uv-vtabs | [垂直选项卡](https://www.uvui.cn/components/vtabs.html) |
--
Gitee
From d42ced1ca84d275b7c4e2100ab26be3c336b9e7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 27 Aug 2023 00:37:06 +0800
Subject: [PATCH 032/155] =?UTF-8?q?md=E8=AF=B4=E6=98=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
uni_modules/uv-ui/readme.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index c6d6a95..5847a22 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index c6d6a95..5847a22 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
--
Gitee
From 582b106e177aa177e9013af5999f4f5da20d7dc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 27 Aug 2023 14:34:58 +0800
Subject: [PATCH 033/155] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-radio/changelog.md | 2 ++
uni_modules/uv-radio/components/uv-radio-group/props.js | 2 +-
uni_modules/uv-radio/package.json | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-radio/changelog.md b/uni_modules/uv-radio/changelog.md
index 10758f0..a00e287 100644
--- a/uni_modules/uv-radio/changelog.md
+++ b/uni_modules/uv-radio/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-08-27)
+1. 优化
## 1.0.8(2023-08-26)
1. 修复v-model 绑定布尔值控制台报警
## 1.0.7(2023-08-26)
diff --git a/uni_modules/uv-radio/components/uv-radio-group/props.js b/uni_modules/uv-radio/components/uv-radio-group/props.js
index cd009f7..b0dbd15 100644
--- a/uni_modules/uv-radio/components/uv-radio-group/props.js
+++ b/uni_modules/uv-radio/components/uv-radio-group/props.js
@@ -6,7 +6,7 @@ export default {
default: ''
},
modelValue: {
- type: [String, Number],
+ type: [String, Number, Boolean],
default: ''
},
// 是否禁用全部radio
diff --git a/uni_modules/uv-radio/package.json b/uni_modules/uv-radio/package.json
index 4e68790..ea3109d 100644
--- a/uni_modules/uv-radio/package.json
+++ b/uni_modules/uv-radio/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-radio",
"displayName": "uv-radio 单选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.8",
+ "version": "1.0.9",
"description": "uv-radio 单选框用于有一个选择,用户只能选择其中一个的场景。",
"keywords": [
"uv-radio",
--
Gitee
From 376021d53f94680d43f6410441dbeecacc18b171 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 29 Aug 2023 15:37:04 +0800
Subject: [PATCH 034/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-list/changelog.md | 2 +
.../uv-list/components/uv-list-item/props.js | 9 ---
.../uv-list/components/uv-list/props.js | 75 -------------------
.../uv-list/components/uv-list/uv-list.vue | 2 +-
uni_modules/uv-list/package.json | 2 +-
5 files changed, 4 insertions(+), 86 deletions(-)
delete mode 100644 uni_modules/uv-list/components/uv-list-item/props.js
delete mode 100644 uni_modules/uv-list/components/uv-list/props.js
diff --git a/uni_modules/uv-list/changelog.md b/uni_modules/uv-list/changelog.md
index 5cd84b4..e888557 100644
--- a/uni_modules/uv-list/changelog.md
+++ b/uni_modules/uv-list/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-08-29)
+1. 修复边框的BUG
## 1.0.6(2023-08-16)
1. 修复switch开关返回undefined的问题
2. 优化初始化可能导致的闪动
diff --git a/uni_modules/uv-list/components/uv-list-item/props.js b/uni_modules/uv-list/components/uv-list-item/props.js
deleted file mode 100644
index f10d683..0000000
--- a/uni_modules/uv-list/components/uv-list-item/props.js
+++ /dev/null
@@ -1,9 +0,0 @@
-export default {
- props: {
- // 用于滚动到指定item
- anchor: {
- type: [String, Number],
- default: ''
- }
- }
-}
\ No newline at end of file
diff --git a/uni_modules/uv-list/components/uv-list/props.js b/uni_modules/uv-list/components/uv-list/props.js
deleted file mode 100644
index ac38485..0000000
--- a/uni_modules/uv-list/components/uv-list/props.js
+++ /dev/null
@@ -1,75 +0,0 @@
-export default {
- props: {
- // 控制是否出现滚动条,仅nvue有效
- showScrollbar: {
- type: Boolean,
- default: false
- },
- // 距底部多少时触发scrolltolower事件
- lowerThreshold: {
- type: [String, Number],
- default: 50
- },
- // 距顶部多少时触发scrolltoupper事件,非nvue有效
- upperThreshold: {
- type: [String, Number],
- default: 0
- },
- // 设置竖向滚动条位置
- scrollTop: {
- type: [String, Number],
- default: 0
- },
- // 控制 onscroll 事件触发的频率,仅nvue有效
- offsetAccuracy: {
- type: [String, Number],
- default: 10
- },
- // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
- enableFlex: {
- type: Boolean,
- default: false
- },
- // 是否按分页模式显示List,默认值false
- pagingEnabled: {
- type: Boolean,
- default: false
- },
- // 是否允许List滚动
- scrollable: {
- type: Boolean,
- default: true
- },
- // 值应为某子元素id(id不能以数字开头)
- scrollIntoView: {
- type: String,
- default: ''
- },
- // 在设置滚动条位置时使用动画过渡
- scrollWithAnimation: {
- type: Boolean,
- default: false
- },
- // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
- enableBackToTop: {
- type: Boolean,
- default: false
- },
- // 列表的高度
- height: {
- type: [String, Number],
- default: 0
- },
- // 列表宽度
- width: {
- type: [String, Number],
- default: 0
- },
- // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
- preLoadScreen: {
- type: [String, Number],
- default: 1
- },
- ...uni.$uv?.props?.list
- }
-}
\ No newline at end of file
diff --git a/uni_modules/uv-list/components/uv-list/uv-list.vue b/uni_modules/uv-list/components/uv-list/uv-list.vue
index 38d4481..3f3e5c2 100644
--- a/uni_modules/uv-list/components/uv-list/uv-list.vue
+++ b/uni_modules/uv-list/components/uv-list/uv-list.vue
@@ -1,7 +1,7 @@
Date: Wed, 30 Aug 2023 00:34:32 +0800
Subject: [PATCH 035/155] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9B=B8=E5=86=8C?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96=E5=85=B6=E4=BB=96=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 1 +
pages.json | 5 +
pages/componentsC/album/album.nvue | 141 ++++++++
pages/index/components.config.js | 7 +-
uni_modules/uv-album/changelog.md | 2 +
.../uv-album/components/uv-album/uv-album.vue | 312 ++++++++++++++++++
uni_modules/uv-album/package.json | 85 +++++
uni_modules/uv-album/readme.md | 21 ++
uni_modules/uv-calendars/changelog.md | 2 +
.../components/uv-calendars/uv-calendars.vue | 22 +-
uni_modules/uv-calendars/package.json | 2 +-
uni_modules/uv-drop-down/changelog.md | 2 +
.../uv-drop-down-popup/uv-drop-down-popup.vue | 4 +-
uni_modules/uv-drop-down/package.json | 2 +-
uni_modules/uv-image/changelog.md | 2 +
.../uv-image/components/uv-image/uv-image.vue | 6 +
uni_modules/uv-image/package.json | 2 +-
uni_modules/uv-text/changelog.md | 2 +
.../uv-text/components/uv-text/uv-text.vue | 5 +-
uni_modules/uv-text/package.json | 2 +-
uni_modules/uv-ui-tools/libs/config/config.js | 4 +-
uni_modules/uv-ui/changelog.md | 11 +
uni_modules/uv-ui/package.json | 2 +-
uni_modules/uv-ui/readme.md | 1 +
24 files changed, 631 insertions(+), 14 deletions(-)
create mode 100644 pages/componentsC/album/album.nvue
create mode 100644 uni_modules/uv-album/changelog.md
create mode 100644 uni_modules/uv-album/components/uv-album/uv-album.vue
create mode 100644 uni_modules/uv-album/package.json
create mode 100644 uni_modules/uv-album/readme.md
diff --git a/README.md b/README.md
index 5847a22..1346b39 100644
--- a/README.md
+++ b/README.md
@@ -131,6 +131,7 @@
| uv-swiper | [轮播图](https://www.uvui.cn/components/swiper.html) |
| uv-collapse | [折叠面板](https://www.uvui.cn/components/collapse.html) |
| uv-grid | [宫格布局](https://www.uvui.cn/components/grid.html) |
+| uv-album | [相册](https://www.uvui.cn/components/album.html) |
| uv-tabbar | [底部导航栏](https://www.uvui.cn/components/tabbar.html) |
| uv-back-top | [返回顶部](https://www.uvui.cn/components/backTop.html) |
| uv-navbar | [自定义导航栏](https://www.uvui.cn/components/navbar.html) |
diff --git a/pages.json b/pages.json
index 73bb5fa..53b4931 100644
--- a/pages.json
+++ b/pages.json
@@ -288,6 +288,11 @@
"style": {
"navigationBarTitleText": "ScrollList 横向滚动列表"
}
+ }, {
+ "path": "album/album",
+ "style": {
+ "navigationBarTitleText": "Album 相册"
+ }
}
]
}, {
diff --git a/pages/componentsC/album/album.nvue b/pages/componentsC/album/album.nvue
new file mode 100644
index 0000000..38ca39a
--- /dev/null
+++ b/pages/componentsC/album/album.nvue
@@ -0,0 +1,141 @@
+
+
+
+ 基础使用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 多图模式
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 图文对齐
+
+
+
+
+
+
+
+
+
+
+ albumWidth = width" multipleSize="68">
+
+
+
+
+
+ 更改裁剪模式
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更改图片大小
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/components.config.js b/pages/index/components.config.js
index a194f08..a486ca1 100644
--- a/pages/index/components.config.js
+++ b/pages/index/components.config.js
@@ -12,7 +12,7 @@ export default [{
{
path: '/pages/componentsB/calendars/calendars',
icon: 'calendar',
- title: 'Calendar 新版日历(强烈推荐)',
+ title: 'Calendar 新版日历(推荐)',
title_en: 'Calendar',
isNew: true
},
@@ -328,6 +328,11 @@ export default [{
icon: 'grid',
title: 'Grid 宫格布局',
title_en: 'Grid'
+ }, {
+ path: '/pages/componentsC/album/album',
+ icon: 'album',
+ title: 'Album 相册',
+ title_en: 'Album'
}]
}, {
groupName: '导航组件',
diff --git a/uni_modules/uv-album/changelog.md b/uni_modules/uv-album/changelog.md
new file mode 100644
index 0000000..5ec23f2
--- /dev/null
+++ b/uni_modules/uv-album/changelog.md
@@ -0,0 +1,2 @@
+## 1.0.0(2023-08-30)
+1. 新增uv-album相册组件
diff --git a/uni_modules/uv-album/components/uv-album/uv-album.vue b/uni_modules/uv-album/components/uv-album/uv-album.vue
new file mode 100644
index 0000000..dc009e5
--- /dev/null
+++ b/uni_modules/uv-album/components/uv-album/uv-album.vue
@@ -0,0 +1,312 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uv-album/package.json b/uni_modules/uv-album/package.json
new file mode 100644
index 0000000..9a922dc
--- /dev/null
+++ b/uni_modules/uv-album/package.json
@@ -0,0 +1,85 @@
+{
+ "id": "uv-album",
+ "displayName": "uv-album 相册 全面兼容vue3+2、app、h5、小程序等多端",
+ "version": "1.0.0",
+ "description": "本组件提供一个类似相册的功能,让开发者开发起来更加得心应手,功能齐全,灵活配置可以,开箱即用。减少重复的模板代码",
+ "keywords": [
+ "album",
+ "uv-ui",
+ "uvui",
+ "相册",
+ "图片"
+],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.1.0"
+ },
+ "dcloudext": {
+ "type": "component-vue",
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "插件不采集任何数据",
+ "permissions": "无"
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ },
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y",
+ "钉钉": "u",
+ "快手": "u",
+ "飞书": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uv-album/readme.md b/uni_modules/uv-album/readme.md
new file mode 100644
index 0000000..edd2f0b
--- /dev/null
+++ b/uni_modules/uv-album/readme.md
@@ -0,0 +1,21 @@
+# Album 相册
+
+> **组件名:uv-album**
+
+本组件提供一个类似相册的功能,让开发者开发起来更加得心应手。
+
+功能齐全,灵活配置可以,开箱即用。减少重复的模板代码。
+
+# 查看文档
+
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
+
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/changelog.md b/uni_modules/uv-calendars/changelog.md
index 32c13d4..b671fb6 100644
--- a/uni_modules/uv-calendars/changelog.md
+++ b/uni_modules/uv-calendars/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.8(2023-08-29)
+1. 修复mainjs中设置setConfig修改属性不生效的问题,出自评论区:https://ext.dcloud.net.cn/plugin?id=12287
## 1.0.7(2023-08-26)
1. 去除range参数,由mode="range"替换
2. 新增mode参数,不传 / multiple / range,分别为单日期, 多个日期,选择日期范围
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
index 4366b68..704587a 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
@@ -85,11 +85,8 @@
*/
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js';
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js';
-
import Calendar from './util.js';
-
import uvCalendarBody from './uv-calendar-body.vue';
-
import { initVueI18n } from '@dcloudio/uni-i18n';
import i18nMessages from './i18n/index.js';
const { t } = initVueI18n(i18nMessages);
@@ -100,40 +97,49 @@
mixins: [mpMixin, mixin],
emits: ['close', 'confirm', 'change', 'monthSwitch'],
props: {
+ // 取消按钮颜色
cancelColor: {
type: String,
default: ''
},
+ // 确认按钮颜色,range模式下未选全显示灰色
confirmColor: {
type: String,
default: '#3c9cff'
},
+ // 标题
title: {
type: String,
default: ''
},
+ // 主题色
color: {
type: String,
default: '#3c9cff'
},
+ // 默认显示日期
date: {
type: [String,Array],
default: ''
},
+ // 打点等设置
selected: {
type: Array,
default () {
return []
}
},
+ // 是否显示农历
lunar: {
type: Boolean,
default: false
},
+ // 可选择的起始日期
startDate: {
type: String,
default: ''
},
+ // 可选择的结束日期
endDate: {
type: String,
default: ''
@@ -143,34 +149,42 @@
type: String,
default: ''
},
+ // 是否插入模式
insert: {
type: Boolean,
default: false
},
+ // 是否显示月份为背景
showMonth: {
type: Boolean,
default: true
},
+ // 弹窗模式是否清空上次选择内容
clearDate: {
type: Boolean,
default: true
},
+ // 弹窗圆角
round: {
type: [Number,String],
default: 8
},
+ // 点击遮罩是否关闭弹窗
closeOnClickOverlay: {
type: Boolean,
default: true
},
+ // range为true时,第一个日期底部的提示文字
startText: {
type: String,
default: '开始'
},
+ // range为true时,最后一个日期底部的提示文字
endText: {
type: String,
default: '结束'
- }
+ },
+ ...uni.$uv?.props?.calendars
},
data(){
return {
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index 106584d..d3f2284 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "新版本uv-calendars,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。",
"keywords": [
"uv-ui",
diff --git a/uni_modules/uv-drop-down/changelog.md b/uni_modules/uv-drop-down/changelog.md
index 7749249..a447f96 100644
--- a/uni_modules/uv-drop-down/changelog.md
+++ b/uni_modules/uv-drop-down/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.3(2023-08-29)
+1. 修复自定义内容,点击自定义内容时会自动关闭弹窗的问题
## 1.0.2(2023-08-22)
1. 优化
## 1.0.1(2023-08-22)
diff --git a/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue b/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
index b1deb4a..6a1efc8 100644
--- a/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
+++ b/uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue
@@ -1,7 +1,7 @@
-
-
+
\ No newline at end of file
diff --git a/uni_modules/uv-datetime-picker/package.json b/uni_modules/uv-datetime-picker/package.json
index 00c4132..5513057 100644
--- a/uni_modules/uv-datetime-picker/package.json
+++ b/uni_modules/uv-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-datetime-picker",
"displayName": "uv-datetime-picker 时间选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.8",
+ "version": "1.0.9",
"description": "时间选择器组件用于时间日期,主要用于年月日时分的选择,具体选择的精确度由参数控制。",
"keywords": [
"datetime-picker",
--
Gitee
From 7d29608e87cd0b57ffa1b7d98fb321b4be27181c Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 31 Aug 2023 11:59:22 +0800
Subject: [PATCH 041/155] =?UTF-8?q?datetimepicker=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0year?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../datetimePicker/datetimePicker.nvue | 27 ++++++++++++++-----
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/pages/componentsB/datetimePicker/datetimePicker.nvue b/pages/componentsB/datetimePicker/datetimePicker.nvue
index 839ffad..1e9f4d0 100644
--- a/pages/componentsB/datetimePicker/datetimePicker.nvue
+++ b/pages/componentsB/datetimePicker/datetimePicker.nvue
@@ -48,7 +48,7 @@
+
Date: Thu, 31 Aug 2023 17:05:48 +0800
Subject: [PATCH 042/155] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=85=B7?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/index.js | 5 ++++-
uni_modules/uv-ui-tools/package.json | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 4c24906..36898da 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.10(2023-08-31)
+1. 修复customStyle和customClass存在冲突的问题
## 1.1.9(2023-08-27)
1. 版本升级
2. 优化
diff --git a/uni_modules/uv-ui-tools/index.js b/uni_modules/uv-ui-tools/index.js
index ff70d63..2b677fb 100644
--- a/uni_modules/uv-ui-tools/index.js
+++ b/uni_modules/uv-ui-tools/index.js
@@ -48,7 +48,10 @@ const $uv = {
uni.$uv = $uv;
const install = (Vue,options={}) => {
// #ifndef APP-NVUE
- Vue.mixin(mixin);
+ const cloneMixin = index.deepClone(mixin);
+ delete cloneMixin?.props?.customClass;
+ delete cloneMixin?.props?.customStyle;
+ Vue.mixin(cloneMixin);
// #ifdef MP
if(options.mpShare){
Vue.mixin(mpShare);
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index f7226ea..47ff426 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.9",
+ "version": "1.1.10",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
--
Gitee
From b06e3c7edea4844e04951bbb39e5f43c96d452df Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 31 Aug 2023 18:13:40 +0800
Subject: [PATCH 043/155] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dimage=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-image/changelog.md | 3 +++
.../uv-image/components/uv-image/uv-image.vue | 19 +++++++++++++++++--
uni_modules/uv-image/package.json | 2 +-
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/uni_modules/uv-image/changelog.md b/uni_modules/uv-image/changelog.md
index daaddb2..3c4bc9d 100644
--- a/uni_modules/uv-image/changelog.md
+++ b/uni_modules/uv-image/changelog.md
@@ -1,3 +1,6 @@
+## 1.0.11(2023-08-31)
+1. 修复设置widthFix时出现显示不全的BUG
+2. 修复抖音等平台在width和height属性改变时出现不显示的BUG
## 1.0.10(2023-08-29)
1. 修复异步修改宽高不生效的问题,问题来源:https://gitee.com/climblee/uv-ui/issues/I7WUQ3
## 1.0.9(2023-08-21)
diff --git a/uni_modules/uv-image/components/uv-image/uv-image.vue b/uni_modules/uv-image/components/uv-image/uv-image.vue
index 1f22596..29539ca 100644
--- a/uni_modules/uv-image/components/uv-image/uv-image.vue
+++ b/uni_modules/uv-image/components/uv-image/uv-image.vue
@@ -1,5 +1,6 @@
{
+ this.show = true;
+ });
this.imgWidth = newVal;
},
height(newVal){
+ // 这样做的目的是避免在更新时候,某些平台动画会恢复关闭状态
+ this.show = false;
+ this.$uv.sleep(2).then(res=>{
+ this.show = true;
+ });
this.imgHeight = newVal;
}
},
@@ -140,8 +151,12 @@
wrapStyle() {
let style = {};
// 通过调用addUnit()方法,如果有单位,如百分比,px单位等,直接返回,如果是纯粹的数值,则加上rpx单位
- style.width = this.$uv.addUnit(this.imgWidth);
- style.height = this.$uv.addUnit(this.imgHeight);
+ if(this.mode !== 'heightFix') {
+ style.width = this.$uv.addUnit(this.imgWidth);
+ }
+ if(this.mode !== 'widthFix') {
+ style.height = this.$uv.addUnit(this.imgHeight);
+ }
// 如果是显示圆形,设置一个很多的半径值即可
style.borderRadius = this.shape == 'circle' ? '10000px' : this.$uv.addUnit(this.radius)
// 如果设置圆角,必须要有hidden,否则可能圆角无效
diff --git a/uni_modules/uv-image/package.json b/uni_modules/uv-image/package.json
index f622b38..04cdf93 100644
--- a/uni_modules/uv-image/package.json
+++ b/uni_modules/uv-image/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-image",
"displayName": "uv-image 图片 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "uv-image 此组件为uni-app的image组件的加强版,在继承了原有功能外,增加observer懒加载功能,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。",
"keywords": [
"uv-image",
--
Gitee
From 44c2cdaf727cb86b0d4227e945741fc0259d3abc Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 1 Sep 2023 11:10:18 +0800
Subject: [PATCH 044/155] =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9?=
=?UTF-8?q?=E5=99=A8=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-datetime-picker/changelog.md | 2 ++
.../components/uv-datetime-picker/props.js | 5 +++++
.../components/uv-datetime-picker/uv-datetime-picker.vue | 6 ++++--
uni_modules/uv-datetime-picker/package.json | 2 +-
4 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/uni_modules/uv-datetime-picker/changelog.md b/uni_modules/uv-datetime-picker/changelog.md
index 280482b..1724770 100644
--- a/uni_modules/uv-datetime-picker/changelog.md
+++ b/uni_modules/uv-datetime-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.10(2023-09-01)
+1. 增加clearDate参数,是否清除上次选择,默认false
## 1.0.9(2023-08-31)
1. 增加mode="year",方便只选择年
## 1.0.8(2023-07-17)
diff --git a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/props.js b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/props.js
index 25cb30b..5cee897 100644
--- a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/props.js
+++ b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/props.js
@@ -115,6 +115,11 @@ export default {
type: Boolean,
default: true
},
+ // 是否清空上次选择内容
+ clearDate: {
+ type: Boolean,
+ default: false
+ },
...uni.$uv?.props?.datetimePicker
}
}
\ No newline at end of file
diff --git a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
index 3921c37..30a2888 100644
--- a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
+++ b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
@@ -120,8 +120,10 @@
value: this.innerValue,
mode: this.mode
})
- this.$emit('input', this.innerValue)
- this.$emit('update:modelValue', this.innerValue)
+ if(!this.clearDate) {
+ this.$emit('input', this.innerValue)
+ this.$emit('update:modelValue', this.innerValue)
+ }
},
//用正则截取输出值,当出现多组数字时,抛出错误
intercept(e, type) {
diff --git a/uni_modules/uv-datetime-picker/package.json b/uni_modules/uv-datetime-picker/package.json
index 5513057..f727502 100644
--- a/uni_modules/uv-datetime-picker/package.json
+++ b/uni_modules/uv-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-datetime-picker",
"displayName": "uv-datetime-picker 时间选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.9",
+ "version": "1.0.10",
"description": "时间选择器组件用于时间日期,主要用于年月日时分的选择,具体选择的精确度由参数控制。",
"keywords": [
"datetime-picker",
--
Gitee
From a253d34e35231f344bde51b23df7bda0412c3384 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 1 Sep 2023 18:33:32 +0800
Subject: [PATCH 045/155] =?UTF-8?q?=E4=BC=98=E5=8C=96checkbox=E5=92=8Cradi?=
=?UTF-8?q?o?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 2 +-
uni_modules/uv-checkbox/changelog.md | 3 ++
.../components/uv-checkbox/uv-checkbox.vue | 32 +++++++++++--------
uni_modules/uv-checkbox/package.json | 2 +-
uni_modules/uv-radio/changelog.md | 3 ++
.../uv-radio/components/uv-radio/uv-radio.vue | 30 +++++++++--------
uni_modules/uv-radio/package.json | 2 +-
7 files changed, 45 insertions(+), 29 deletions(-)
diff --git a/manifest.json b/manifest.json
index 3098855..352b5da 100644
--- a/manifest.json
+++ b/manifest.json
@@ -73,7 +73,7 @@
"uniStatistics" : {
"enable" : false
},
- "vueVersion" : "3",
+ "vueVersion" : "2",
"h5" : {
"router" : {
"mode" : "history"
diff --git a/uni_modules/uv-checkbox/changelog.md b/uni_modules/uv-checkbox/changelog.md
index 9dd206f..f7e12b8 100644
--- a/uni_modules/uv-checkbox/changelog.md
+++ b/uni_modules/uv-checkbox/changelog.md
@@ -1,3 +1,6 @@
+## 1.0.11(2023-09-01)
+1. 修复点击空隙处无效的问题
+2. label支持插槽下可点击
## 1.0.10(2023-08-27)
1. 修复label设置布尔值不生效的BUG
## 1.0.9(2023-08-16)
diff --git a/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue b/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
index 62d2328..74ea1ba 100644
--- a/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
+++ b/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
@@ -20,16 +20,20 @@
/>
-
- {{label}}
-
+
+
+ {{label}}
+
+
+
@@ -260,7 +264,7 @@
@import '@/uni_modules/uv-ui-tools/libs/css/variable.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/components.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
- $uv-checkbox-icon-wrap-margin-right:6px !default;
+ $uv-checkbox-label-wrap-padding-right:6px !default;
$uv-checkbox-icon-wrap-font-size:6px !default;
$uv-checkbox-icon-wrap-border-width:1px !default;
$uv-checkbox-icon-wrap-border-color:#c8c9cc !default;
@@ -308,8 +312,6 @@
justify-content: center;
color: transparent;
text-align: center;
- margin-right: $uv-checkbox-icon-wrap-margin-right;
-
font-size: $uv-checkbox-icon-wrap-font-size;
border-width: $uv-checkbox-icon-wrap-border-width;
border-color: $uv-checkbox-icon-wrap-border-color;
@@ -359,5 +361,9 @@
color: $uv-checkbox-label-disabled-color;
}
}
+
+ &__label-wrap {
+ padding-left: $uv-checkbox-label-wrap-padding-right;
+ }
}
diff --git a/uni_modules/uv-checkbox/package.json b/uni_modules/uv-checkbox/package.json
index e1fea42..3c1f0e5 100644
--- a/uni_modules/uv-checkbox/package.json
+++ b/uni_modules/uv-checkbox/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-checkbox",
"displayName": "uv-checkbox 复选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。",
"keywords": [
"uv-checkbox",
diff --git a/uni_modules/uv-radio/changelog.md b/uni_modules/uv-radio/changelog.md
index a00e287..c2823b9 100644
--- a/uni_modules/uv-radio/changelog.md
+++ b/uni_modules/uv-radio/changelog.md
@@ -1,3 +1,6 @@
+## 1.0.10(2023-09-01)
+1. 修复点击空隙处无效的问题
+2. label支持插槽下可点击
## 1.0.9(2023-08-27)
1. 优化
## 1.0.8(2023-08-26)
diff --git a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
index e3636dd..de1fa20 100644
--- a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
+++ b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
@@ -20,17 +20,19 @@
/>
-
- {{label}}
-
+
+
+ {{label}}
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
new file mode 100644
index 0000000..9af1565
--- /dev/null
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
@@ -0,0 +1,236 @@
+
+
+
+
+ {{weeks.extraInfo&&weeks.extraInfo.topinfo}}
+ {{weeks.date}}
+ {{todayText}}
+ {{weeks.isDay ? todayText : (weeks.lunar.IDayCn === '初一'?weeks.lunar.IMonthCn:weeks.lunar.IDayCn)}}
+ {{weeks.extraInfo.info}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
index 34282fe..c3469eb 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
@@ -13,6 +13,7 @@
:startText="startText"
:endText="endText"
:multiple="multiple"
+ :allowSameDay="allowSameDay"
@bindDateChange="bindDateChange"
@pre="pre"
@next="next"
@@ -43,6 +44,7 @@
:startText="startText"
:endText="endText"
:multiple="multiple"
+ :allowSameDay="allowSameDay"
@bindDateChange="bindDateChange"
@pre="pre"
@next="next"
@@ -184,6 +186,11 @@
type: String,
default: '结束'
},
+ // 是否允许日期范围的起止时间为同一天,mode = range时有效
+ allowSameDay: {
+ type: Boolean,
+ default: false
+ },
...uni.$uv?.props?.calendars
},
data(){
@@ -240,7 +247,8 @@
startDate: this.startDate,
endDate: this.endDate,
range: this.range,
- multiple: this.multiple
+ multiple: this.multiple,
+ allowSameDay: this.allowSameDay
})
this.init(this.date)
},
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index 716e66c..1c4bc99 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "新版本uv-calendars,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。",
"keywords": [
"uv-ui",
--
Gitee
From 9ca7a161b3de6e0686707bdfcb3ef5d5712295d4 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 14 Sep 2023 14:19:22 +0800
Subject: [PATCH 069/155] =?UTF-8?q?=E6=97=A5=E5=8E=86=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-calendars/changelog.md | 2 +
.../uv-calendars/uv-calendar-body.vue | 356 ------------------
.../uv-calendars/uv-calendar-item.vue | 236 ------------
uni_modules/uv-calendars/package.json | 2 +-
4 files changed, 3 insertions(+), 593 deletions(-)
delete mode 100644 uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
delete mode 100644 uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
diff --git a/uni_modules/uv-calendars/changelog.md b/uni_modules/uv-calendars/changelog.md
index ba213f0..bbe7ced 100644
--- a/uni_modules/uv-calendars/changelog.md
+++ b/uni_modules/uv-calendars/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.12(2023-09-14)
+1. 优化
## 1.0.11(2023-09-14)
1. 增加allowSameDay参数,是否允许日期范围的起止时间为同一天,mode = range时有效
2. 修复在vue2+小程序渲染时闪烁的问题
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
deleted file mode 100644
index d5b67da..0000000
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-body.vue
+++ /dev/null
@@ -1,356 +0,0 @@
-
-
-
-
-
- {{nowDate.month}}
-
-
-
- {{SUNText}}
-
-
- {{monText}}
-
-
- {{TUEText}}
-
-
- {{WEDText}}
-
-
- {{THUText}}
-
-
- {{FRIText}}
-
-
- {{SATText}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
deleted file mode 100644
index 9af1565..0000000
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendar-item.vue
+++ /dev/null
@@ -1,236 +0,0 @@
-
-
-
-
- {{weeks.extraInfo&&weeks.extraInfo.topinfo}}
- {{weeks.date}}
- {{todayText}}
- {{weeks.isDay ? todayText : (weeks.lunar.IDayCn === '初一'?weeks.lunar.IMonthCn:weeks.lunar.IDayCn)}}
- {{weeks.extraInfo.info}}
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index 1c4bc99..20f696c 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.11",
+ "version": "1.0.12",
"description": "新版本uv-calendars,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。",
"keywords": [
"uv-ui",
--
Gitee
From ffcee1bd1cea7c20dbb0899b69ac2703f7d64d9e Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 14 Sep 2023 18:11:59 +0800
Subject: [PATCH 070/155] =?UTF-8?q?dayjs=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/util/dayjs.js | 4 +---
uni_modules/uv-ui-tools/package.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 6dbb603..8ee1bd1 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.14(2023-09-14)
+1. 优化dayjs
## 1.1.13(2023-09-13)
1. 优化,$uv中增加unit参数,方便组件中使用
## 1.1.12(2023-09-10)
diff --git a/uni_modules/uv-ui-tools/libs/util/dayjs.js b/uni_modules/uv-ui-tools/libs/util/dayjs.js
index 76ab4e8..c84ab68 100644
--- a/uni_modules/uv-ui-tools/libs/util/dayjs.js
+++ b/uni_modules/uv-ui-tools/libs/util/dayjs.js
@@ -3,9 +3,8 @@ var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
-// C:/Users/LP/Downloads/uvui-plus_3.1.27_example/node_modules/dayjs/dayjs.min.js
var require_dayjs_min = __commonJS({
- "C:/Users/LP/Downloads/uvui-plus_3.1.27_example/node_modules/dayjs/dayjs.min.js"(exports, module) {
+ "uvuidayjs"(exports, module) {
!function(t, e) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
}(exports, function() {
@@ -215,4 +214,3 @@ var require_dayjs_min = __commonJS({
}
});
export default require_dayjs_min();
-//# sourceMappingURL=dayjs.js.map
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 8403d80..5dc21af 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.13",
+ "version": "1.1.14",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
--
Gitee
From c35e4be63e9a7e8bb21db188fd34aa10dea3d611 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 14 Sep 2023 18:25:30 +0800
Subject: [PATCH 071/155] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-safe-bottom/changelog.md | 2 ++
.../uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue | 2 +-
uni_modules/uv-safe-bottom/package.json | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-safe-bottom/changelog.md b/uni_modules/uv-safe-bottom/changelog.md
index 99a4e80..dbcd565 100644
--- a/uni_modules/uv-safe-bottom/changelog.md
+++ b/uni_modules/uv-safe-bottom/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.4(2023-09-14)
+1. 飞书小程序支持
## 1.0.3(2023-08-14)
1. 修复百度报错的BUG
## 1.0.2(2023-07-02)
diff --git a/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue b/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
index d0d1ff5..b5439a8 100644
--- a/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
+++ b/uni_modules/uv-safe-bottom/components/uv-safe-bottom/uv-safe-bottom.vue
@@ -32,7 +32,7 @@
computed: {
style() {
const style = {};
- // #ifdef APP-NVUE || MP-TOUTIAO
+ // #ifdef APP-NVUE || MP-TOUTIAO || MP-LARK
// nvue下,高度使用js计算填充
style.height = this.$uv.addUnit(this.$uv.sys()?.safeAreaInsets?.bottom, 'px');
// #endif
diff --git a/uni_modules/uv-safe-bottom/package.json b/uni_modules/uv-safe-bottom/package.json
index 62e9290..5bfaab0 100644
--- a/uni_modules/uv-safe-bottom/package.json
+++ b/uni_modules/uv-safe-bottom/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-safe-bottom",
"displayName": "uv-safe-bottom 底部安全区 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。",
"keywords": [
"uv-safe-bottom",
--
Gitee
From 95396ece529622c40d9834a1ac210b3cc7d8db10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Thu, 14 Sep 2023 21:23:35 +0800
Subject: [PATCH 072/155] =?UTF-8?q?uvinput=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-input/changelog.md | 2 ++
uni_modules/uv-input/components/uv-input/uv-input.vue | 5 +++++
uni_modules/uv-input/package.json | 2 +-
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-input/changelog.md b/uni_modules/uv-input/changelog.md
index ca8252d..641bdf7 100644
--- a/uni_modules/uv-input/changelog.md
+++ b/uni_modules/uv-input/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-09-14)
+1. 修复H5等情况设置禁用或可读情况下,点击事件无效的问题
## 1.0.8(2023-08-22)
1. 修复无法@keyboardheightchange无法获取键盘高度的BUG
## 1.0.7(2023-08-18)
diff --git a/uni_modules/uv-input/components/uv-input/uv-input.vue b/uni_modules/uv-input/components/uv-input/uv-input.vue
index 6f63a19..b5ecc33 100644
--- a/uni_modules/uv-input/components/uv-input/uv-input.vue
+++ b/uni_modules/uv-input/components/uv-input/uv-input.vue
@@ -191,6 +191,11 @@
fontSize: this.$uv.addUnit(this.fontSize),
textAlign: this.inputAlign
};
+ // #ifndef APP-NVUE
+ if(this.disabled || this.readonly) {
+ style['pointer-events'] = 'none';
+ }
+ // #endif
return style;
}
},
diff --git a/uni_modules/uv-input/package.json b/uni_modules/uv-input/package.json
index 0efa35b..8d0a3cb 100644
--- a/uni_modules/uv-input/package.json
+++ b/uni_modules/uv-input/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-input",
"displayName": "uv-input 输入框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.8",
+ "version": "1.0.9",
"description": "uv-input 该组件为一个输入框,默认没有边框和样式,是专门为配合表单组件uv-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。",
"keywords": [
"uv-input",
--
Gitee
From 8954d04a8e212f2dfb77bb3b88f6affecc88b6b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Thu, 14 Sep 2023 22:08:47 +0800
Subject: [PATCH 073/155] =?UTF-8?q?uvtabs=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-tabs/changelog.md | 2 ++
.../uv-tabs/components/uv-tabs/uv-tabs.vue | 36 +++++++++----------
uni_modules/uv-tabs/package.json | 2 +-
3 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/uni_modules/uv-tabs/changelog.md b/uni_modules/uv-tabs/changelog.md
index 6fe613d..d2eadb4 100644
--- a/uni_modules/uv-tabs/changelog.md
+++ b/uni_modules/uv-tabs/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-09-14)
+1. 优化首次加载时,处理下划线会有左到右的过渡效果
## 1.0.6(2023-09-13)
1. 修复设置lineWidth未带单位产生的误差BUG
## 1.0.5(2023-06-23)
diff --git a/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue b/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
index ed17888..7fce5e9 100644
--- a/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
+++ b/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
@@ -48,33 +48,33 @@
>
+
+
+
-
-
-
-
-
+
+
@@ -188,7 +188,7 @@
if (this.firstTime) {
setTimeout(() => {
this.firstTime = false
- }, 10);
+ }, 20);
}
},
// nvue下设置滑块的位置
diff --git a/uni_modules/uv-tabs/package.json b/uni_modules/uv-tabs/package.json
index 64d8da2..8d59218 100644
--- a/uni_modules/uv-tabs/package.json
+++ b/uni_modules/uv-tabs/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-tabs",
"displayName": "uv-tabs 标签选项卡 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
+ "version": "1.0.7",
"description": "标签选项卡组件,是一个tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。",
"keywords": [
"选项卡",
--
Gitee
From b0be4e9cbc2dee764a5ba40f74e881177d8871f4 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 15 Sep 2023 11:39:19 +0800
Subject: [PATCH 074/155] =?UTF-8?q?=E4=B8=89=E7=BA=A7=E8=81=94=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../componentsB/picker/components/regions.vue | 85 +++++++++++++++++++
pages/componentsB/picker/picker.nvue | 12 ++-
static/uvui/example/regions.json | 1 +
3 files changed, 95 insertions(+), 3 deletions(-)
create mode 100644 pages/componentsB/picker/components/regions.vue
create mode 100644 static/uvui/example/regions.json
diff --git a/pages/componentsB/picker/components/regions.vue b/pages/componentsB/picker/components/regions.vue
new file mode 100644
index 0000000..9be689d
--- /dev/null
+++ b/pages/componentsB/picker/components/regions.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/componentsB/picker/picker.nvue b/pages/componentsB/picker/picker.nvue
index ec193ea..78e38fd 100644
--- a/pages/componentsB/picker/picker.nvue
+++ b/pages/componentsB/picker/picker.nvue
@@ -40,8 +40,9 @@
@confirm="confirm"
@change="changeHandler1"
>
+
-
\ No newline at end of file
diff --git a/uni_modules/uv-skeletons/package.json b/uni_modules/uv-skeletons/package.json
new file mode 100644
index 0000000..83fc2fd
--- /dev/null
+++ b/uni_modules/uv-skeletons/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uv-skeletons",
+ "displayName": "uv-skeletons 骨架屏 全面兼容小程序、nvue、vue2、vue3等多端",
+ "version": "1.0.0",
+ "description": "全新升级骨架屏,体验更加,使用更加灵活,一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。",
+ "keywords": [
+ "uv-skeletons",
+ "uvui",
+ "uv-ui",
+ "skeleton",
+ "骨架屏"
+],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.1.0"
+ },
+ "dcloudext": {
+ "type": "component-vue",
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "插件不采集任何数据",
+ "permissions": "无"
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uv-ui-tools"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ },
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y",
+ "钉钉": "u",
+ "快手": "u",
+ "飞书": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uv-skeletons/readme.md b/uni_modules/uv-skeletons/readme.md
new file mode 100644
index 0000000..0d5b309
--- /dev/null
+++ b/uni_modules/uv-skeletons/readme.md
@@ -0,0 +1 @@
+# uv-skeletons
\ No newline at end of file
--
Gitee
From 39de088cf5fcd533d85d173f81491d94367226f6 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 27 Oct 2023 18:21:03 +0800
Subject: [PATCH 108/155] =?UTF-8?q?=E9=AA=A8=E6=9E=B6=E5=B1=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 5 +
pages/componentsD/skeletons/skeletons.nvue | 106 +++++++++++++++++++++
2 files changed, 111 insertions(+)
create mode 100644 pages/componentsD/skeletons/skeletons.nvue
diff --git a/pages.json b/pages.json
index 53b4931..898d769 100644
--- a/pages.json
+++ b/pages.json
@@ -347,6 +347,11 @@
"style": {
"navigationBarTitleText": "Skeleton 骨架屏"
}
+ }, {
+ "path": "skeletons/skeletons",
+ "style": {
+ "navigationBarTitleText": "Skeletons 新版骨架屏"
+ }
}, {
"path": "indexList/indexList",
"style": {
diff --git a/pages/componentsD/skeletons/skeletons.nvue b/pages/componentsD/skeletons/skeletons.nvue
new file mode 100644
index 0000000..7d875b9
--- /dev/null
+++ b/pages/componentsD/skeletons/skeletons.nvue
@@ -0,0 +1,106 @@
+
+
+
+ 是否开启动画
+
+
+
+
+
+ 切换状态
+
+
+
+
+
+ 基础使用
+
+
+
+
+
+
+
+
+
+ 自定义样式
+
+
+
+
+
+ 横向并列布局
+
+
+
+
+
+ 混合布局+自定义样式
+
+
+
+
+
+
+
\ No newline at end of file
--
Gitee
From 8635868afffbe6506fe4f6dee0e5d0883f35dcf1 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 27 Oct 2023 18:23:36 +0800
Subject: [PATCH 109/155] =?UTF-8?q?=E9=AA=A8=E6=9E=B6=E5=B1=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsD/skeletons/skeletons.nvue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/pages/componentsD/skeletons/skeletons.nvue b/pages/componentsD/skeletons/skeletons.nvue
index 7d875b9..cceb88f 100644
--- a/pages/componentsD/skeletons/skeletons.nvue
+++ b/pages/componentsD/skeletons/skeletons.nvue
@@ -25,7 +25,9 @@
自定义样式
-
+
+
+
@@ -55,9 +57,9 @@
}],
skeleton3: [{
type: 'line',
- num: 3,
+ num: 4,
gap: '20rpx',
- style: ['width: 200rpx;marginBottom: 50rpx;', 'height: 100rpx;', 'width: 500rpx;']
+ style: ['width: 200rpx;height:50rpx;marginBottom: 20rpx;', null, null, 'width: 500rpx;']
}],
skeleton4: [{
type: 'flex',
--
Gitee
From 423cc1c7a0fa1c785401448001f179976071ede1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 29 Oct 2023 13:29:25 +0800
Subject: [PATCH 110/155] =?UTF-8?q?uvicon=E7=BB=84=E4=BB=B6=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-icon/changelog.md | 2 ++
uni_modules/uv-icon/components/uv-icon/props.js | 2 +-
uni_modules/uv-icon/package.json | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-icon/changelog.md b/uni_modules/uv-icon/changelog.md
index 60cbcdf..f641801 100644
--- a/uni_modules/uv-icon/changelog.md
+++ b/uni_modules/uv-icon/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.11(2023-10-29)
+1. imgMode默认值改成aspectFit
## 1.0.10(2023-08-13)
1. 优化nvue,方便自定义图标
## 1.0.9(2023-07-28)
diff --git a/uni_modules/uv-icon/components/uv-icon/props.js b/uni_modules/uv-icon/components/uv-icon/props.js
index 71ae061..7668cf9 100644
--- a/uni_modules/uv-icon/components/uv-icon/props.js
+++ b/uni_modules/uv-icon/components/uv-icon/props.js
@@ -63,7 +63,7 @@ export default {
// 图片的mode
imgMode: {
type: String,
- default: ''
+ default: 'aspectFit'
},
// 用于显示图片小图标时,图片的宽度
width: {
diff --git a/uni_modules/uv-icon/package.json b/uni_modules/uv-icon/package.json
index 0f15c18..6bf40e9 100644
--- a/uni_modules/uv-icon/package.json
+++ b/uni_modules/uv-icon/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-icon",
"displayName": "uv-icon 图标 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "基于字体的图标集,包含了大多数常见场景的图标,支持自定义,支持自定义图片图标等。可自定义颜色、大小。",
"keywords": [
"uv-ui,uvui,uv-icon,icon,图标,字体图标"
--
Gitee
From ded9fe97b1e45017e0c74f27a9c82c284c589833 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 29 Oct 2023 14:22:39 +0800
Subject: [PATCH 111/155] =?UTF-8?q?=E9=83=A8=E5=88=86=E8=B7=B3=E8=BD=AC?=
=?UTF-8?q?=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsC/cell/cell.nvue | 4 ++--
pages/componentsC/noticeBar/noticeBar.nvue | 2 +-
pages/componentsC/toast/toast.nvue | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/componentsC/cell/cell.nvue b/pages/componentsC/cell/cell.nvue
index b66a94c..370f199 100644
--- a/pages/componentsC/cell/cell.nvue
+++ b/pages/componentsC/cell/cell.nvue
@@ -73,12 +73,12 @@
diff --git a/pages/componentsC/noticeBar/noticeBar.nvue b/pages/componentsC/noticeBar/noticeBar.nvue
index 3d1e85a..a0fef9a 100644
--- a/pages/componentsC/noticeBar/noticeBar.nvue
+++ b/pages/componentsC/noticeBar/noticeBar.nvue
@@ -33,7 +33,7 @@
diff --git a/pages/componentsC/toast/toast.nvue b/pages/componentsC/toast/toast.nvue
index c673a06..fd349e6 100644
--- a/pages/componentsC/toast/toast.nvue
+++ b/pages/componentsC/toast/toast.nvue
@@ -61,7 +61,7 @@
type: 'default',
title: '结束后跳转标签页',
message: "此情可待成追忆",
- url: '/pages/componentsB/tag/tag',
+ url: '/pages/componentsD/tag/tag',
iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/jump.png'
}
],
--
Gitee
From 6b16efe8bc5895ecff6822df94016abbdfd09b74 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Mon, 30 Oct 2023 11:44:46 +0800
Subject: [PATCH 112/155] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=AA=A8=E6=9E=B6?=
=?UTF-8?q?=E5=B1=8F=E4=B8=8A=E7=BA=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsD/skeletons/skeletons.nvue | 185 +++++++++++++++---
pages/index/components.config.js | 7 +
uni_modules/uv-skeletons/changelog.md | 2 +
.../components/uv-skeletons/uv-skeletons.vue | 5 +-
uni_modules/uv-skeletons/package.json | 7 +-
uni_modules/uv-skeletons/readme.md | 24 ++-
uni_modules/uv-ui/package.json | 1 +
uni_modules/uv-ui/readme.md | 1 +
8 files changed, 192 insertions(+), 40 deletions(-)
diff --git a/pages/componentsD/skeletons/skeletons.nvue b/pages/componentsD/skeletons/skeletons.nvue
index cceb88f..ac9a927 100644
--- a/pages/componentsD/skeletons/skeletons.nvue
+++ b/pages/componentsD/skeletons/skeletons.nvue
@@ -1,45 +1,91 @@
- 是否开启动画
+ 切换状态
-
+
- 切换状态
+ 是否开启动画
-
+
基础使用
-
-
-
+
+
+
自定义样式
-
+
+
+
+
横向并列布局
-
+
+
+
+
+
+
+
+
+
+
+
+
- 混合布局+自定义样式
+ 混合布局
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,13 +101,13 @@
num: 3,
gap: '20rpx'
}],
- skeleton3: [{
+ skeleton2: [{
type: 'line',
num: 4,
gap: '20rpx',
style: ['width: 200rpx;height:50rpx;marginBottom: 20rpx;', null, null, 'width: 500rpx;']
}],
- skeleton4: [{
+ skeleton3: [{
type: 'flex',
num: 1,
children: [{
@@ -75,25 +121,50 @@
style: ['width: 200rpx;', null, 'width:400rpx;']
}]
}],
- skeleton5: [{
- type: 'flex',
- num: 2,
- children: [{
- type: 'custom',
- num: 1,
- style: 'width:200rpx;height:200rpx;'
- }, {
- type: 'custom',
+ skeleton4: [{
+ type: 'flex',
num: 1,
- style: 'width:200rpx;height:200rpx;borderRadius:100rpx;'
- }, {
- type: 'custom',
- num: 3,
- style: 'width:200rpx;height:50rpx;',
- gap: '20rpx'
- }],
- gap: '30rpx'
- }]
+ children: [{
+ type: 'custom',
+ num: 1,
+ style: 'width:136rpx;height:136rpx;marginRight: 30rpx;'
+ }, {
+ type: 'line',
+ num: 3,
+ style: [null, 'width:360rpx;', 'width:200rpx;']
+ }]
+ },
+ 30, {
+ type: 'flex',
+ children: [{
+ type: 'custom',
+ style: 'width:98rpx;height:160rpx;'
+ }, {
+ type: 'custom',
+ style: 'width:98rpx;height:160rpx;marginLeft:50rpx;'
+ }, {
+ type: 'custom',
+ style: 'width:98rpx;height:160rpx;marginLeft:50rpx;'
+ }, {
+ type: 'custom',
+ style: 'width:98rpx;height:160rpx;marginLeft:50rpx;'
+ }, {
+ type: 'custom',
+ style: 'width:98rpx;height:160rpx;marginLeft:50rpx;'
+ }]
+ },
+ 30, {
+ type: 'flex',
+ children: [{
+ type: 'line',
+ num: 3,
+ gap: '30rpx'
+ }, {
+ type: 'custom',
+ style: 'width:160rpx;height:160rpx;marginLeft: 30rpx;'
+ }]
+ }
+ ]
}
},
methods: {
@@ -105,4 +176,54 @@
}
}
}
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/pages/index/components.config.js b/pages/index/components.config.js
index a486ca1..7203c9d 100644
--- a/pages/index/components.config.js
+++ b/pages/index/components.config.js
@@ -9,6 +9,13 @@ export default [{
// title_en: 'DEMO',
// isNew: true
// },
+ {
+ path: '/pages/componentsD/skeletons/skeletons',
+ icon: 'skeleton',
+ title: 'Skeletons 新版骨架屏(推荐)',
+ title_en: 'skeleton',
+ isNew: true
+ },
{
path: '/pages/componentsB/calendars/calendars',
icon: 'calendar',
diff --git a/uni_modules/uv-skeletons/changelog.md b/uni_modules/uv-skeletons/changelog.md
index e69de29..1927c57 100644
--- a/uni_modules/uv-skeletons/changelog.md
+++ b/uni_modules/uv-skeletons/changelog.md
@@ -0,0 +1,2 @@
+## 1.0.0(2023-10-30)
+1. 新版骨架屏上线
diff --git a/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue b/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
index 3414a9f..e6651dd 100644
--- a/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
+++ b/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
@@ -77,9 +77,6 @@
style(item) {
return item => {
const style = {};
- if (typeof item.gap != 'undefined') {
- // style.marginBottom = `${this.$uv.getPx(item.gap)}px`;
- }
return this.$uv.deepMerge(style, this.$uv.addStyle(item.style));
}
}
@@ -129,7 +126,7 @@
const child = el.children ?? [];
for (let i = 0; i < child.length; i++) {
children[i] = {
- clas: child[i].type.indexOf('avatar') > -1 ? '' : 'uv-skeleton__group__sub',
+ clas: child[i].type.indexOf('avatar') > -1 || child[i].type.indexOf('custom') > -1 ? '' : 'uv-skeleton__group__sub',
elements: this.getElCounts(child[i])
};
}
diff --git a/uni_modules/uv-skeletons/package.json b/uni_modules/uv-skeletons/package.json
index 83fc2fd..fe905c2 100644
--- a/uni_modules/uv-skeletons/package.json
+++ b/uni_modules/uv-skeletons/package.json
@@ -1,8 +1,8 @@
{
"id": "uv-skeletons",
- "displayName": "uv-skeletons 骨架屏 全面兼容小程序、nvue、vue2、vue3等多端",
+ "displayName": "uv-skeletons 骨架屏 全面兼容小程序、nvue、vue2、vue3等多端",
"version": "1.0.0",
- "description": "全新升级骨架屏,体验更加,使用更加灵活,一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。",
+ "description": "全新升级骨架屏,更加灵活,体验更加,强烈推荐使用新版骨架屏。一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。",
"keywords": [
"uv-skeletons",
"uvui",
@@ -36,7 +36,8 @@
},
"uni_modules": {
"dependencies": [
- "uv-ui-tools"
+ "uv-ui-tools",
+ "uv-text"
],
"encrypt": [],
"platforms": {
diff --git a/uni_modules/uv-skeletons/readme.md b/uni_modules/uv-skeletons/readme.md
index 0d5b309..a08cec1 100644
--- a/uni_modules/uv-skeletons/readme.md
+++ b/uni_modules/uv-skeletons/readme.md
@@ -1 +1,23 @@
-# uv-skeletons
\ No newline at end of file
+# Skeletons 新版骨架屏
+
+> **组件名:uv-skeletons**
+
+骨架屏一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。
+
+新版骨架屏与老版本使用参数有很大的区别,所以才有了新版本,无法替换老版本。
+
+新版骨架屏比老版本骨架屏更加灵活,理论上简单的左右上下布局结构均可以轻松实现,样式自由度较高,只要你会写css,推荐使用新版。
+
+# 查看文档
+
+## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP)
+
+### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
+
+
+
+
+
+
+
+#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群
\ No newline at end of file
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 8bbecf1..edee5da 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -36,6 +36,7 @@
},
"uni_modules": {
"dependencies": [
+ "uv-skeletons",
"uv-album",
"uv-drop-down",
"uv-calendars",
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index e21cab1..612c837 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -79,6 +79,7 @@
| 组件名 | 组件说明 |
| --- | --- |
+| uv-skeletons | [新版骨架屏(推荐)](https://www.uvui.cn/components/skeletons.html) |
| uv-calendars | [新版日历(推荐)](https://www.uvui.cn/components/calendars.html) |
| uv-drop-down | [下拉筛选](https://www.uvui.cn/components/dropDown.html) |
| uv-scroll-list | [横向滚动列表](https://www.uvui.cn/components/scrollList.html) |
--
Gitee
From d8243edc15de213fa8ee0a4ca0b9e13aee9d1dff Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Mon, 30 Oct 2023 11:46:04 +0800
Subject: [PATCH 113/155] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=AA=A8=E6=9E=B6?=
=?UTF-8?q?=E5=B1=8F=E4=B8=8A=E7=BA=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 3 ++-
uni_modules/uv-ui/readme.md | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index e21cab1..9dfe1df 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
@@ -79,6 +79,7 @@
| 组件名 | 组件说明 |
| --- | --- |
+| uv-skeletons | [新版骨架屏(推荐)](https://www.uvui.cn/components/skeletons.html) |
| uv-calendars | [新版日历(推荐)](https://www.uvui.cn/components/calendars.html) |
| uv-drop-down | [下拉筛选](https://www.uvui.cn/components/dropDown.html) |
| uv-scroll-list | [横向滚动列表](https://www.uvui.cn/components/scrollList.html) |
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index 612c837..9dfe1df 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -9,7 +9,7 @@
[](https://github.com/climblee/uv-ui)
[](https://github.com/climblee/uv-ui/issues)
[](https://www.uvui.cn)
-[](https://www.uvui.cn/components/changelog.html)
+[](https://www.uvui.cn/components/changelog.html)
[](https://en.wikipedia.org/wiki/MIT_License)
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
--
Gitee
From eab623d2d31cb38ac9d3a81216ca261dc5835d27 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Mon, 30 Oct 2023 12:21:26 +0800
Subject: [PATCH 114/155] =?UTF-8?q?1.1.16=E7=89=88=E6=9C=AC=E5=8F=91?=
=?UTF-8?q?=E5=B8=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 13 +++++++++++++
uni_modules/uv-ui/package.json | 2 +-
5 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 5b69f84..3c745b0 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.20(2023-10-30)
+1. 1.1.16版本
## 1.1.19(2023-10-13)
1. 兼容vue3
## 1.1.18(2023-10-12)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index 4fc286e..71e3f67 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-10-12
-const version = '1.1.15'
+// 此版本发布于2023-10-30
+const version = '1.1.16'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 5ad0ec8..9750b06 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.19",
+ "version": "1.1.20",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index 7c2add8..e2a2158 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,16 @@
+## 1.1.16(2023-10-30)
+1. 交流反馈 欢迎加入uv-ui官方群1交流反馈: 549833913(940+/1000)
+2. 交流反馈 欢迎加入uv-ui官方群2交流反馈: 206060892
+3. 新增 uv-skeletons 骨架屏,全新升级骨架屏,更加灵活,体验更加,强烈推荐使用新版骨架屏。一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。
+4. 优化 uv-button 增加后置插槽suffix,方便在按钮文字后面增加图标等
+5. 优化 uv-popup vue模式内容有背景色,设置圆角被遮挡的情况
+6. 优化 uv-tabs 点击一个选项,change事件重复派发的问题
+7. 优化 持续优化文档及其他
+8. 修复 uv-album 设置singleSize、multipleSize、space等值带单位,存在不显示的BUG
+9. 修复 uv-picker 省市级示例设置defaultValue,再次选择第二列错乱的BUG
+10. 修复 uv-icon imgMode默认值改成aspectFit,否则会导致支付宝平台name设置为本地图片显示不全的BUG
+11. 修复 uv-transition 在APP-IOS上不能正常显示的BUG
+12. 修复 uv-toast、uv-swipe-action、uv-sticky、uv-notify、uv-notice-bar、uv-grid、uv-count-down、uv-code等组件,unmounted兼容vue3
## 1.1.15(2023-10-12)
1. 优化 uv-keyboard a. 增加disKeys参数,mode = "car"下,被禁用的键,如:['I','O']; b. 增加customabc参数,mode = "car"下,是否启用自定义中英文切换内容模式,为了兼容支付宝等小程序不兼容嵌套插槽,导致同时显示自定义内容和原始内容; c. 增加ref方法changeCarMode,mode = "car"下, 调用此方法可以切换中英文模式; d. 增加@changeCarInputMode,mode = "car"下,调用此方法可以进行切换中英文; e. 增加插槽abc,mode = "car"下,自定义中英文切换内容
2. 优化 uv-checkbox uv-radio 优化:https://gitee.com/climblee/uv-ui/issues/I872VD
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index edee5da..99f8e5c 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.15",
+ "version": "1.1.16",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
--
Gitee
From 54489d2bf3255fcc4a85ed8bacd6e1891ef762c2 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 31 Oct 2023 17:07:33 +0800
Subject: [PATCH 115/155] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=80=91=E5=B8=83?=
=?UTF-8?q?=E6=B5=81=E7=A4=BA=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/componentsC/waterfall/waterfall.nvue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/componentsC/waterfall/waterfall.nvue b/pages/componentsC/waterfall/waterfall.nvue
index 1fcbbb7..ae9a8c3 100644
--- a/pages/componentsC/waterfall/waterfall.nvue
+++ b/pages/componentsC/waterfall/waterfall.nvue
@@ -24,7 +24,7 @@
:key="item.id"
class="waterfall-item"
@longpress="longHandle(item)">
-
+
@@ -48,7 +48,7 @@
-
+
--
Gitee
From 81418e09909255922eb072be6fa27cd89738935d Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 2 Nov 2023 17:17:14 +0800
Subject: [PATCH 116/155] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-skeleton/changelog.md | 4 ++++
uni_modules/uv-skeleton/package.json | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-skeleton/changelog.md b/uni_modules/uv-skeleton/changelog.md
index fe79612..c5c0d78 100644
--- a/uni_modules/uv-skeleton/changelog.md
+++ b/uni_modules/uv-skeleton/changelog.md
@@ -1,3 +1,7 @@
+## 1.0.2(2023-11-02)
+1. **`uv-skeleton`不再维护,强烈推荐使用新版本`uv-skeletons`**
+2. 推荐大家使用新版骨架屏,作者已经运用到大量实战中了,绝对正品:[https://ext.dcloud.net.cn/plugin?name=uv-skeletons](https://ext.dcloud.net.cn/plugin?name=uv-skeletons)
+3. 新版本`uv-skeletons`的优点:灵活度非常高,直接配置数组就可以完成想要的布局,作者已经运用到大量实战中。鼓励老用户迁移新版本,有任何问题可以加Q群549833913交流。
## 1.0.1(2023-05-16)
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
diff --git a/uni_modules/uv-skeleton/package.json b/uni_modules/uv-skeleton/package.json
index 4c36393..388e096 100644
--- a/uni_modules/uv-skeleton/package.json
+++ b/uni_modules/uv-skeleton/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-skeleton",
"displayName": "uv-skeleton 骨架屏 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "骨架屏一般用于页面在请求远程数据尚未完成时,页面用灰色块预显示本来的页面结构,给用户更好的体验。",
"keywords": [
"uv-skeleton",
--
Gitee
From 20460676e0af73adc0ef84864e102d4ec747c290 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Fri, 3 Nov 2023 21:42:47 +0800
Subject: [PATCH 117/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-calendar/changelog.md | 2 ++
uni_modules/uv-calendar/package.json | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-calendar/changelog.md b/uni_modules/uv-calendar/changelog.md
index c490511..581562a 100644
--- a/uni_modules/uv-calendar/changelog.md
+++ b/uni_modules/uv-calendar/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.6(2023-11-03)
+1. **该版本不再维护**,推荐使用新版本[https://ext.dcloud.net.cn/plugin?name=uv-calendars](https://ext.dcloud.net.cn/plugin?name=uv-calendars)
## 1.0.5(2023-07-02)
uv-calendar 由于弹出层uv-popup的修改,打开和关闭方法更改,详情参考文档:https://www.uvui.cn/components/calendar.html
## 1.0.4(2023-06-15)
diff --git a/uni_modules/uv-calendar/package.json b/uni_modules/uv-calendar/package.json
index c36336b..03d8812 100644
--- a/uni_modules/uv-calendar/package.json
+++ b/uni_modules/uv-calendar/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendar",
"displayName": "uv-calendar 日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.5",
+ "version": "1.0.6",
"description": "日历组件用于单个选择日期,范围选择日期等,日历被包裹在底部弹起的容器中,灵活配置,功能齐全,兼容全端。强烈推荐使用最新版日历组件,在下方跳入。",
"keywords": [
"uv-calendar",
--
Gitee
From 92f66c020d204f89017faa9d0eafba7c0c790fdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sat, 4 Nov 2023 19:36:51 +0800
Subject: [PATCH 118/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-search/changelog.md | 2 ++
.../uv-search/components/uv-search/uv-search.vue | 10 ++++++++++
uni_modules/uv-search/package.json | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-search/changelog.md b/uni_modules/uv-search/changelog.md
index 8fdf9fe..71ddb1d 100644
--- a/uni_modules/uv-search/changelog.md
+++ b/uni_modules/uv-search/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.10(2023-11-04)
+1. 修复设置disabled情况下,@click回调事件触发不了的bug
## 1.0.9(2023-08-18)
1. 修复boxStyle失效的BUG
## 1.0.8(2023-08-07)
diff --git a/uni_modules/uv-search/components/uv-search/uv-search.vue b/uni_modules/uv-search/components/uv-search/uv-search.vue
index ef2a9ce..1f66564 100644
--- a/uni_modules/uv-search/components/uv-search/uv-search.vue
+++ b/uni_modules/uv-search/components/uv-search/uv-search.vue
@@ -14,6 +14,7 @@
borderColor: borderColor,
},$uv.addStyle(boxStyle)]"
>
+
Date: Sat, 4 Nov 2023 21:16:12 +0800
Subject: [PATCH 119/155] =?UTF-8?q?=E4=BC=98=E5=8C=96checkbox=E5=92=8Cradi?=
=?UTF-8?q?o=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-checkbox/changelog.md | 2 ++
uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue | 1 +
uni_modules/uv-checkbox/package.json | 2 +-
uni_modules/uv-radio/changelog.md | 2 ++
uni_modules/uv-radio/components/uv-radio/uv-radio.vue | 1 +
uni_modules/uv-radio/package.json | 2 +-
6 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-checkbox/changelog.md b/uni_modules/uv-checkbox/changelog.md
index abda0d7..2a142ce 100644
--- a/uni_modules/uv-checkbox/changelog.md
+++ b/uni_modules/uv-checkbox/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.14(2023-11-04)
+1. 修复label文字较多不分行的问题
## 1.0.13(2023-10-11)
1. 优化同类问题:https://gitee.com/climblee/uv-ui/issues/I872VD
## 1.0.12(2023-09-22)
diff --git a/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue b/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
index 0bfe2bf..dfd1912 100644
--- a/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
+++ b/uni_modules/uv-checkbox/components/uv-checkbox/uv-checkbox.vue
@@ -363,6 +363,7 @@
}
&__label-wrap {
+ flex: 1;
padding-left: $uv-checkbox-label-wrap-padding-right;
}
}
diff --git a/uni_modules/uv-checkbox/package.json b/uni_modules/uv-checkbox/package.json
index 6b166fc..44944d9 100644
--- a/uni_modules/uv-checkbox/package.json
+++ b/uni_modules/uv-checkbox/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-checkbox",
"displayName": "uv-checkbox 复选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.13",
+ "version": "1.0.14",
"description": "复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。",
"keywords": [
"uv-checkbox",
diff --git a/uni_modules/uv-radio/changelog.md b/uni_modules/uv-radio/changelog.md
index 5106af2..a7c4363 100644
--- a/uni_modules/uv-radio/changelog.md
+++ b/uni_modules/uv-radio/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.12(2023-11-04)
+1. 修复label文字较多不分行的问题
## 1.0.11(2023-10-11)
1. 优化:https://gitee.com/climblee/uv-ui/issues/I872VD
## 1.0.10(2023-09-01)
diff --git a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
index ab0ae47..e9d4976 100644
--- a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
+++ b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue
@@ -340,6 +340,7 @@
}
}
&__label-wrap {
+ flex: 1;
padding-left: $uv-radio-label-wrap-padding-right;
}
}
diff --git a/uni_modules/uv-radio/package.json b/uni_modules/uv-radio/package.json
index b355a50..b63e55d 100644
--- a/uni_modules/uv-radio/package.json
+++ b/uni_modules/uv-radio/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-radio",
"displayName": "uv-radio 单选框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.11",
+ "version": "1.0.12",
"description": "uv-radio 单选框用于有一个选择,用户只能选择其中一个的场景。",
"keywords": [
"uv-radio",
--
Gitee
From 576a25f711fb70985f5a5212f32a3d0c12ee17b1 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 7 Nov 2023 10:32:07 +0800
Subject: [PATCH 120/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-index-list/changelog.md | 2 ++
.../uv-index-anchor/uv-index-anchor.vue | 21 ++++++++++++-------
uni_modules/uv-index-list/package.json | 2 +-
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/uni_modules/uv-index-list/changelog.md b/uni_modules/uv-index-list/changelog.md
index 83624d1..deda715 100644
--- a/uni_modules/uv-index-list/changelog.md
+++ b/uni_modules/uv-index-list/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-11-07)
+1. 修复sticky属性不生效的BUG
## 1.0.6(2023-09-01)
1. 修复设置customNavHeight导致定位不准确的BUG
## 1.0.5(2023-08-23)
diff --git a/uni_modules/uv-index-list/components/uv-index-anchor/uv-index-anchor.vue b/uni_modules/uv-index-list/components/uv-index-anchor/uv-index-anchor.vue
index c2b2ee5..e566aa7 100644
--- a/uni_modules/uv-index-list/components/uv-index-anchor/uv-index-anchor.vue
+++ b/uni_modules/uv-index-list/components/uv-index-anchor/uv-index-anchor.vue
@@ -3,16 +3,16 @@
Date: Wed, 8 Nov 2023 10:20:02 +0800
Subject: [PATCH 121/155] =?UTF-8?q?=E6=98=AF=E5=90=A6=E4=B8=BA=E5=8F=AA?=
=?UTF-8?q?=E8=AF=BB=E7=8A=B6=E6=80=81=EF=BC=8C=E5=8F=AA=E8=AF=BB=E7=8A=B6?=
=?UTF-8?q?=E6=80=81=E4=B8=8B=E7=A6=81=E6=AD=A2=E9=80=89=E6=8B=A9=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-calendars/changelog.md | 2 ++
.../components/uv-calendars/uv-calendars.vue | 18 ++++++++++++++----
uni_modules/uv-calendars/package.json | 2 +-
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/uni_modules/uv-calendars/changelog.md b/uni_modules/uv-calendars/changelog.md
index e18ee97..b3b2e38 100644
--- a/uni_modules/uv-calendars/changelog.md
+++ b/uni_modules/uv-calendars/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.15(2023-11-08)
+1. 增加readonly属性,是否为只读状态,只读状态下禁止选择日期
## 1.0.14(2023-10-12)
1. 修复selected没有设置了info或者info设置为空字符串后,文本则无法恢复BUG
## 1.0.13(2023-09-19)
diff --git a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
index 7bbeee0..8d5b377 100644
--- a/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
+++ b/uni_modules/uv-calendars/components/uv-calendars/uv-calendars.vue
@@ -80,6 +80,7 @@
* @property {Boolean} closeOnClickOverlay 点击遮罩是否关闭
* @property {String} startText range为true时,第一个日期底部的提示文字
* @property {String} endText range为true时,最后一个日期底部的提示文字
+ * @property {String} readonly 是否为只读状态,只读状态下禁止选择日期,默认false
*
* @event {Function} change 日期改变,`insert :ture` 时生效
* @event {Function} confirm 确认选择`insert :false` 时生效
@@ -193,6 +194,11 @@
type: Boolean,
default: false
},
+ // 是否禁用
+ readonly: {
+ type: Boolean,
+ default: false
+ },
...uni.$uv?.props?.calendars
},
data(){
@@ -216,7 +222,7 @@
return t("uv-calender.cancel")
},
getConfirmColor() {
- if(this.range || this.multiple) {
+ if(this.range || this.multiple || this.readonly) {
return this.allowConfirm? this.confirmColor: '#999'
}else {
return this.confirmColor;
@@ -280,7 +286,9 @@
this.$emit('close');
},
confirm() {
- if(this.range && !this.cale.rangeStatus.after) {
+ if(this.readonly) {
+ return;
+ } else if(this.range && !this.cale.rangeStatus.after) {
return;
} else if(this.multiple && this.cale.multipleStatus.data.length == 0){
return;
@@ -329,7 +337,9 @@
this.setEmit('change')
},
changeConfirmStatus() {
- if (this.range) {
+ if(this.readonly) {
+ this.allowConfirm = false;
+ } else if (this.range) {
this.allowConfirm = this.cale.rangeStatus.after ? true : false;
} else if(this.multiple) {
this.allowConfirm = this.cale.multipleStatus.data.length > 0 ? true : false;
@@ -377,7 +387,7 @@
* @param {Object} weeks
*/
choiceDate(weeks) {
- if (weeks.disable) return
+ if (weeks.disable || this.readonly) return
this.calendar = weeks
// 设置范围选择
this.cale.setRange(this.calendar.fullDate)
diff --git a/uni_modules/uv-calendars/package.json b/uni_modules/uv-calendars/package.json
index caf5543..7153510 100644
--- a/uni_modules/uv-calendars/package.json
+++ b/uni_modules/uv-calendars/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-calendars",
"displayName": "uv-calendars 最新日历 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.14",
+ "version": "1.0.15",
"description": "新版本uv-calendars,不仅拥有老版本的所有功能,还增加了更加适用的插入页面等强大功能,且更加简洁。查看日期、选择单个或多个或任意范围日期,打点操作,自定义文案,自定义主题等强大功能。",
"keywords": [
"uv-ui",
--
Gitee
From b8baf65e83b3cfb78ef4bee17a7c4c864ec5ea09 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 9 Nov 2023 12:00:58 +0800
Subject: [PATCH 122/155] =?UTF-8?q?nvue=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E5=9B=BE=E6=A0=87=E7=A4=BA=E4=BE=8B=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/uv-custom-icon/props.js | 90 ++++++++
components/uv-custom-icon/uv-custom-icon.vue | 225 +++++++++++++++++++
static/iconfont.ttf | Bin 0 -> 3020 bytes
3 files changed, 315 insertions(+)
create mode 100644 components/uv-custom-icon/props.js
create mode 100644 components/uv-custom-icon/uv-custom-icon.vue
create mode 100644 static/iconfont.ttf
diff --git a/components/uv-custom-icon/props.js b/components/uv-custom-icon/props.js
new file mode 100644
index 0000000..71ae061
--- /dev/null
+++ b/components/uv-custom-icon/props.js
@@ -0,0 +1,90 @@
+export default {
+ props: {
+ // 图标类名
+ name: {
+ type: String,
+ default: ''
+ },
+ // 图标颜色,可接受主题色
+ color: {
+ type: String,
+ default: '#606266'
+ },
+ // 字体大小,单位px
+ size: {
+ type: [String, Number],
+ default: '16px'
+ },
+ // 是否显示粗体
+ bold: {
+ type: Boolean,
+ default: false
+ },
+ // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
+ index: {
+ type: [String, Number],
+ default: null
+ },
+ // 触摸图标时的类名
+ hoverClass: {
+ type: String,
+ default: ''
+ },
+ // 自定义扩展前缀,方便用户扩展自己的图标库
+ customPrefix: {
+ type: String,
+ default: 'uvicon'
+ },
+ // 图标右边或者下面的文字
+ label: {
+ type: [String, Number],
+ default: ''
+ },
+ // label的位置,只能右边或者下边
+ labelPos: {
+ type: String,
+ default: 'right'
+ },
+ // label的大小
+ labelSize: {
+ type: [String, Number],
+ default: '15px'
+ },
+ // label的颜色
+ labelColor: {
+ type: String,
+ default: '#606266'
+ },
+ // label与图标的距离
+ space: {
+ type: [String, Number],
+ default: '3px'
+ },
+ // 图片的mode
+ imgMode: {
+ type: String,
+ default: ''
+ },
+ // 用于显示图片小图标时,图片的宽度
+ width: {
+ type: [String, Number],
+ default: ''
+ },
+ // 用于显示图片小图标时,图片的高度
+ height: {
+ type: [String, Number],
+ default: ''
+ },
+ // 用于解决某些情况下,让图标垂直居中的用途
+ top: {
+ type: [String, Number],
+ default: 0
+ },
+ // 是否阻止事件传播
+ stop: {
+ type: Boolean,
+ default: false
+ },
+ ...uni.$uv?.props?.icon
+ }
+}
\ No newline at end of file
diff --git a/components/uv-custom-icon/uv-custom-icon.vue b/components/uv-custom-icon/uv-custom-icon.vue
new file mode 100644
index 0000000..9561f21
--- /dev/null
+++ b/components/uv-custom-icon/uv-custom-icon.vue
@@ -0,0 +1,225 @@
+
+
+
+ {{icon}}
+
+ {{ label }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/iconfont.ttf b/static/iconfont.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..0b1246704ead3eee5c813e033b455d1df089b800
GIT binary patch
literal 3020
zcmd@W?{8aI^_=&fpZ)UQbK{>c-j>X<9XrK~lfK0E`eO;&lC;{UZf#<3Er`Z(?8L2O
zM~+>ZG6@f)(bA%!PDo=LqG+O;5^0}SzN{Y@>1U<}^?kda+DGg2w4TW>
zW|k~}I&T5sI*InT`Ql3cz;9pc1`xUk&Mf3IbK#rQOCDEi6_~
zh5p=X(%!$Yb+Mey@O6Q73j(d(i3V7o{*&n=agt50qG
z@K@yUBgDT5GNHO-A{bAsG~+KK%Bc{IMPTJ_DJV0{COawtM?cd+Wj`
z|01nzz%eQfrb&V$&=zOZ4tfAu1Z*&V2Moa|aO0CtPlLUfsg~dYQ@+h_?``8)EX-#}
zzqukg#zmqah$dAKeE5A}`8~`1nrJV#-*^jjq@5gCc%t5CJe!}GgP(7P8dF9-fWHBC
z5@SAoF*s)Me}YjPW}mtNfaRFP@mr>z7l_I~h>
zqrr5u(*rzl+ntl__4GQl2QlgBP4VeFs~hX<8+TSyDQ>NfbiV5JfiU*8R{0G+4POGC
z?Caicbc<26bHTViisVKN19tQ{f`Ra3IFi_lqnzG@8YaDZQWFDwJ*ex!0eR+?)MRa9
zqISMEahJ0C%8b1AkAblZV*^v~b5T9C8q%lF9868rCJ_wj$>#bt_28N5<~s)>kpm-U
zPQJ~bpdNP6=K-w|t0U;ZV0<`Y@dT|A?B~9+@6BgcTM&K!2={~Np^y0ETR(m5&02FE
zqgYQJIgv7n&c7jF2FRBnuy4IrWZuNcBJ(EUP4))J7166<4-xVrBz-tT^(!2WVdC-Do8k^22`Ar1nY{ulN>*5I6nV{uWw;ic(W2|FFaWCqLk#Lkchx0hxJviJ;y+rL34v2ifYNtAQ++IBqAE7EF
z6T?h6qIpL#OhL2qBoi^DT=XFSLibSj)(x8IcS%wd=~7Q(r`A8-&xL4GoQiy6_Sl8~
zorHz^UV83mmSnDeZ0i(7+sC#YR_mdQlGtVY2~C)}-B!be=uPt4&P31F4bnot+cs6j
zsh#~7j?JE6Rnf0bMNw!OOud8pAwL1)^Ihot7M<}K+V`Pz@UPwMs$m2Rh?y!DpN%E?Zb
z?L#{^bLWcE*{Sg3vPVJjJseck=C${%sCbT&IT<6(>#`udz7=QR0RSib-n@YTT(oZA
zYDoWDTqe%Zm$Aphd7}53xIp-jiCYNYYvLl|lP2B)Q8;AcOrvqj2@=@}!^?C!kZ=Sq
zTsCnI?C^n!^F+UH;sW8Hnz#kLXfbh-@CQx21Jbz5#AOKMcb=%^GS%Fie|E)R$d*g_
za;ciFEmzBn18jLXH(x7eD)&(CLDRX)a-m%E?}`oGL*1V%(c*X`TZ=%)$!I1;|1fN{~0^
zDy?d;OfqFyq!!!e9;Q9>#3|DL%72l$|IRe+tdPcnq2CX?AVy`ozwCaJEgACv?&UI^
zB>Ot~RV7dT1Qo+WKb4w!&tfXlQzqV$!8=ZrEYV}IVC-6=<1$FkcAVStF_L1jw(l|O
z4E8_peuJF_9tE_}5woHVCF}s_$->g0bG5}nhNLT*vW+whSRv(!N9n%*Copdd^Z)<=
literal 0
HcmV?d00001
--
Gitee
From 26ef37eb68c4d1e2b61581380d178037d78b395e Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 10 Nov 2023 12:07:30 +0800
Subject: [PATCH 123/155] =?UTF-8?q?uvsearch=E5=92=8Cuvinput=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E5=9C=A8=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F?=
=?UTF-8?q?=E6=B8=85=E9=99=A4=E6=8C=89=E9=92=AE=E4=B8=8D=E5=A5=BD=E8=A7=A6?=
=?UTF-8?q?=E5=8F=91=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-input/changelog.md | 2 ++
uni_modules/uv-input/components/uv-input/uv-input.vue | 2 +-
uni_modules/uv-input/package.json | 2 +-
uni_modules/uv-search/changelog.md | 2 ++
uni_modules/uv-search/components/uv-search/uv-search.vue | 2 +-
uni_modules/uv-search/package.json | 2 +-
6 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/uni_modules/uv-input/changelog.md b/uni_modules/uv-input/changelog.md
index 399d8ef..8f3ab22 100644
--- a/uni_modules/uv-input/changelog.md
+++ b/uni_modules/uv-input/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.11(2023-11-10)
+1. 调整清除按钮样式的marginLeft,避免微信上多数情况触发不了的BUG
## 1.0.10(2023-10-07)
1. 修复搜狗输入法下存在不可清空的情况
## 1.0.9(2023-09-14)
diff --git a/uni_modules/uv-input/components/uv-input/uv-input.vue b/uni_modules/uv-input/components/uv-input/uv-input.vue
index abd0287..20c1801 100644
--- a/uni_modules/uv-input/components/uv-input/uv-input.vue
+++ b/uni_modules/uv-input/components/uv-input/uv-input.vue
@@ -335,7 +335,7 @@
align-items: center;
justify-content: center;
transform: scale(0.82);
- margin-left: 4px;
+ margin-left: 15px;
}
&__subfix-icon {
margin-left: 4px;
diff --git a/uni_modules/uv-input/package.json b/uni_modules/uv-input/package.json
index e817d4a..2d34d1d 100644
--- a/uni_modules/uv-input/package.json
+++ b/uni_modules/uv-input/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-input",
"displayName": "uv-input 输入框 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "uv-input 该组件为一个输入框,默认没有边框和样式,是专门为配合表单组件uv-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。",
"keywords": [
"uv-input",
diff --git a/uni_modules/uv-search/changelog.md b/uni_modules/uv-search/changelog.md
index 71ddb1d..6519601 100644
--- a/uni_modules/uv-search/changelog.md
+++ b/uni_modules/uv-search/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.11(2023-11-10)
+1. 调整清除按钮样式的marginLeft,避免微信上多数情况触发不了的BUG
## 1.0.10(2023-11-04)
1. 修复设置disabled情况下,@click回调事件触发不了的bug
## 1.0.9(2023-08-18)
diff --git a/uni_modules/uv-search/components/uv-search/uv-search.vue b/uni_modules/uv-search/components/uv-search/uv-search.vue
index 1f66564..216f4e1 100644
--- a/uni_modules/uv-search/components/uv-search/uv-search.vue
+++ b/uni_modules/uv-search/components/uv-search/uv-search.vue
@@ -221,7 +221,7 @@
$uv-search-close-bgColor: #C6C7CB !default;
$uv-search-close-transform: scale(0.82) !default;
$uv-search-input-font-size: 14px !default;
- $uv-search-input-margin: 0 5px !default;
+ $uv-search-input-margin: 0 15px 0 5px !default;
$uv-search-input-color: $uv-main-color !default;
$uv-search-input-placeholder-color: $uv-tips-color !default;
$uv-search-action-font-size: 14px !default;
diff --git a/uni_modules/uv-search/package.json b/uni_modules/uv-search/package.json
index 793664a..3709059 100644
--- a/uni_modules/uv-search/package.json
+++ b/uni_modules/uv-search/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-search",
"displayName": "uv-search 搜索 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "搜索组件,集成了常见搜索框所需功能,支持前后插槽,用户可以一键引入,开箱即用",
"keywords": [
"uv-search",
--
Gitee
From cdc66570b0749b026cd5f35a592031a4b56edade Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 10 Nov 2023 14:15:59 +0800
Subject: [PATCH 124/155] =?UTF-8?q?uv-list=E4=BF=AE=E5=A4=8D=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AEellipsis=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-list/changelog.md | 2 ++
.../components/uv-list-item/uv-list-item.vue | 30 ++-----------------
uni_modules/uv-list/package.json | 2 +-
3 files changed, 6 insertions(+), 28 deletions(-)
diff --git a/uni_modules/uv-list/changelog.md b/uni_modules/uv-list/changelog.md
index 9d6c584..6c130f0 100644
--- a/uni_modules/uv-list/changelog.md
+++ b/uni_modules/uv-list/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.9(2023-11-10)
+1. 修复设置ellipsis不生效的BUG
## 1.0.8(2023-09-20)
1. listItem优化可使用customStyle变量进行样式控制
## 1.0.7(2023-08-29)
diff --git a/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue b/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
index b3198b4..193b48d 100644
--- a/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
+++ b/uni_modules/uv-list/components/uv-list-item/uv-list-item.vue
@@ -27,7 +27,7 @@
{{ title }}
+ :class="[ellipsis && `uv-line-${ellipsis}`]">{{ title }}
{{ note }}
@@ -359,6 +359,8 @@
\ No newline at end of file
diff --git a/uni_modules/uv-list/package.json b/uni_modules/uv-list/package.json
index ed1bc60..1b1156c 100644
--- a/uni_modules/uv-list/package.json
+++ b/uni_modules/uv-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-list",
"displayName": "uv-list 列表 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.8",
+ "version": "1.0.9",
"description": "uv-list 多功能高性能列表组件",
"keywords": [
"uv-list",
--
Gitee
From 692a0570105c2b45f2c1ee4920e4581af51cc5fc Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 10 Nov 2023 15:29:47 +0800
Subject: [PATCH 125/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 10 ++++++++++
uni_modules/uv-ui/package.json | 2 +-
5 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 3c745b0..7e64cce 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.21(2023-11-10)
+1. 1.1.17版本
## 1.1.20(2023-10-30)
1. 1.1.16版本
## 1.1.19(2023-10-13)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index 71e3f67..f9c5557 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-10-30
-const version = '1.1.16'
+// 此版本发布于2023-11-10
+const version = '1.1.17'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 9750b06..b5b7eab 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.20",
+ "version": "1.1.21",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index e2a2158..c60c0e4 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,13 @@
+## 1.1.17(2023-11-10)
+1. 交流反馈 欢迎加入uv-ui官方群1交流反馈: 549833913(1000+)
+2. 交流反馈 欢迎加入uv-ui官方群2交流反馈: 206060892
+3. 新增 新增其他小组件下载入口:其他小组件
+4. 优化 uv-calendars 增加readonly属性,是否为只读状态,只读状态下禁止选择日期
+5. 修复 uv-search 禁用时,不能触发click的BUG
+6. 修复 uv-checkbox and uv-radio label文字过长,不换行的相关说明及处理
+7. 修复 uv-input and uv-search 点击clear按钮在微信小程序不好触发的BUG
+8. 修复 uv-list 修复设置ellipsis不生效的BUG
+9. 修复 uv-index-list 修复sticky属性不生效的BUG
## 1.1.16(2023-10-30)
1. 交流反馈 欢迎加入uv-ui官方群1交流反馈: 549833913(940+/1000)
2. 交流反馈 欢迎加入uv-ui官方群2交流反馈: 206060892
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 99f8e5c..df538d4 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.16",
+ "version": "1.1.17",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
--
Gitee
From e9b738476e3b05ea74a7a897f9c5e4a0d72c4196 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Tue, 14 Nov 2023 14:46:42 +0800
Subject: [PATCH 126/155] =?UTF-8?q?=E4=BC=98=E5=8C=96scrollList=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-scroll-list/changelog.md | 2 ++
uni_modules/uv-scroll-list/components/uv-scroll-list/other.js | 0
.../uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs | 2 +-
uni_modules/uv-scroll-list/package.json | 2 +-
4 files changed, 4 insertions(+), 2 deletions(-)
delete mode 100644 uni_modules/uv-scroll-list/components/uv-scroll-list/other.js
diff --git a/uni_modules/uv-scroll-list/changelog.md b/uni_modules/uv-scroll-list/changelog.md
index 83879ce..e6dc7c5 100644
--- a/uni_modules/uv-scroll-list/changelog.md
+++ b/uni_modules/uv-scroll-list/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.4(2023-11-14)
+1. 兼容全局设置rpx
## 1.0.3(2023-08-19)
1. 修复报错导致不能移动指示器的BUG
## 1.0.2(2023-08-08)
diff --git a/uni_modules/uv-scroll-list/components/uv-scroll-list/other.js b/uni_modules/uv-scroll-list/components/uv-scroll-list/other.js
deleted file mode 100644
index e69de29..0000000
diff --git a/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs b/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
index c79990f..08ec2de 100644
--- a/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
+++ b/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
@@ -39,7 +39,7 @@ function scrolltoupper(event, ownerInstance) {
function setBarStyle(ownerInstance, x) {
ownerInstance.selectComponent('.uv-scroll-list__indicator__line__bar') && ownerInstance.selectComponent('.uv-scroll-list__indicator__line__bar').setStyle({
- transform: 'translateX(' + x + 'px)'
+ transform: uni?.$uv?.config?.unit == 'rpx' ? 'translateX(' + x + 'rpx)' : 'translateX(' + x + 'px)'
})
}
diff --git a/uni_modules/uv-scroll-list/package.json b/uni_modules/uv-scroll-list/package.json
index c7802ea..d403342 100644
--- a/uni_modules/uv-scroll-list/package.json
+++ b/uni_modules/uv-scroll-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-scroll-list",
"displayName": "uv-scroll-list 横向滚动列表 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "该组件一般用于同时展示多个商品、分类的场景,也可以完成左右滑动的列表,往往数量不确定,数量较多支持左右滚动。灵活配置,开箱即用。",
"keywords": [
"uv-scroll-list",
--
Gitee
From d26fafe00d8d710da93f8580f857cc6dec0ba2f5 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Wed, 15 Nov 2023 10:32:23 +0800
Subject: [PATCH 127/155] =?UTF-8?q?=E4=BC=98=E5=8C=96scrollList=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-scroll-list/changelog.md | 2 ++
.../uv-scroll-list/components/uv-scroll-list/nvue.js | 2 +-
.../components/uv-scroll-list/scrollWxs.wxs | 11 ++++++-----
.../components/uv-scroll-list/uv-scroll-list.vue | 3 ++-
uni_modules/uv-scroll-list/package.json | 2 +-
5 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/uni_modules/uv-scroll-list/changelog.md b/uni_modules/uv-scroll-list/changelog.md
index e6dc7c5..2725c3f 100644
--- a/uni_modules/uv-scroll-list/changelog.md
+++ b/uni_modules/uv-scroll-list/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.5(2023-11-15)
+1. 修复微信报错的BUG
## 1.0.4(2023-11-14)
1. 兼容全局设置rpx
## 1.0.3(2023-08-19)
diff --git a/uni_modules/uv-scroll-list/components/uv-scroll-list/nvue.js b/uni_modules/uv-scroll-list/components/uv-scroll-list/nvue.js
index 9cb776d..6bfcfe7 100644
--- a/uni_modules/uv-scroll-list/components/uv-scroll-list/nvue.js
+++ b/uni_modules/uv-scroll-list/components/uv-scroll-list/nvue.js
@@ -13,7 +13,7 @@ export default {
const barAllMoveWidth = this.indicatorWidth - this.indicatorBarWidth
// 在安卓和iOS上,需要除的倍数不一样,iOS需要除以2
const actionNum = this.$uv.os() === 'ios' ? 2 : 1
- const expression = `(x / ${actionNum}) / ${contentSize - scrollWidth} * ${barAllMoveWidth}`
+ const expression = `(x / ${actionNum}) / ${contentSize - scrollWidth} * ${this.$uv.getPx(this.$uv.addUnit(barAllMoveWidth))}`
BindingX.bind({
anchor,
eventType: 'scroll',
diff --git a/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs b/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
index 08ec2de..7aa7f1e 100644
--- a/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
+++ b/uni_modules/uv-scroll-list/components/uv-scroll-list/scrollWxs.wxs
@@ -14,7 +14,7 @@ function scroll(event, ownerInstance) {
// 此处的计算理由为:scroll-view的滚动距离与目标滚动距离(scroll-view的实际宽度减去包裹元素的宽度)之比,等于滑块当前移动距离与总需
// 滑动距离(指示器的总宽度减去滑块宽度)的比值
var x = scrollLeft / (scrollWidth - scrollComponentWidth) * (indicatorWidth - barWidth)
- setBarStyle(ownerInstance, x)
+ setBarStyle(ownerInstance, x, dataset.unit)
}
// 由于webview的无能,无法保证scroll-view在滑动过程中,一直触发scroll事件,会导致
@@ -28,18 +28,19 @@ function scrolltolower(event, ownerInstance) {
var indicatorWidth = dataset.indicatorWidth || dataset.indicatorwidth || 0
var barWidth = dataset.barWidth || dataset.barwidth || 0
// scroll-view滚动到右边终点时,将滑块也设置为到右边的终点,它所需移动的距离为:指示器宽度 - 滑块宽度
- setBarStyle(ownerInstance, indicatorWidth - barWidth)
+ setBarStyle(ownerInstance, indicatorWidth - barWidth, dataset.unit)
}
function scrolltoupper(event, ownerInstance) {
+ var dataset = event.currentTarget.dataset
ownerInstance.callMethod('scrollEvent', 'left')
// 滚动到左边时,将滑块设置为0的偏移距离,回到起点
- setBarStyle(ownerInstance, 0)
+ setBarStyle(ownerInstance, 0, dataset.unit)
}
-function setBarStyle(ownerInstance, x) {
+function setBarStyle(ownerInstance, x, unit) {
ownerInstance.selectComponent('.uv-scroll-list__indicator__line__bar') && ownerInstance.selectComponent('.uv-scroll-list__indicator__line__bar').setStyle({
- transform: uni?.$uv?.config?.unit == 'rpx' ? 'translateX(' + x + 'rpx)' : 'translateX(' + x + 'px)'
+ transform: unit == 'rpx' ? 'translateX(' + x + 'rpx)' : 'translateX(' + x + 'px)'
})
}
diff --git a/uni_modules/uv-scroll-list/components/uv-scroll-list/uv-scroll-list.vue b/uni_modules/uv-scroll-list/components/uv-scroll-list/uv-scroll-list.vue
index 5798711..1e051c5 100644
--- a/uni_modules/uv-scroll-list/components/uv-scroll-list/uv-scroll-list.vue
+++ b/uni_modules/uv-scroll-list/components/uv-scroll-list/uv-scroll-list.vue
@@ -33,6 +33,7 @@
:show-scrollbar="false"
:upper-threshold="0"
:lower-threshold="0"
+ :data-unit="$uv.unit"
>
@@ -126,7 +127,7 @@
const scrollLeft = this.scrollInfo.scrollLeft,
scrollWidth = this.scrollInfo.scrollWidth,
barAllMoveWidth = this.indicatorWidth - this.indicatorBarWidth
- const x = scrollLeft / (scrollWidth - this.scrollWidth) * barAllMoveWidth
+ const x = scrollLeft / (scrollWidth - this.scrollWidth) * this.$uv.getPx(this.$uv.addUnit(barAllMoveWidth))
style.transform = `translateX(${ x }px)`
// #endif
// 设置滑块的宽度和背景色,是每个平台都需要的
diff --git a/uni_modules/uv-scroll-list/package.json b/uni_modules/uv-scroll-list/package.json
index d403342..942a836 100644
--- a/uni_modules/uv-scroll-list/package.json
+++ b/uni_modules/uv-scroll-list/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-scroll-list",
"displayName": "uv-scroll-list 横向滚动列表 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.4",
+ "version": "1.0.5",
"description": "该组件一般用于同时展示多个商品、分类的场景,也可以完成左右滑动的列表,往往数量不确定,数量较多支持左右滚动。灵活配置,开箱即用。",
"keywords": [
"uv-scroll-list",
--
Gitee
From 1cd0a94d3cb7f4bf53c80645153f034b423568c1 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Wed, 15 Nov 2023 16:20:48 +0800
Subject: [PATCH 128/155] =?UTF-8?q?=E4=BC=98=E5=8C=96uvimage?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-image/changelog.md | 2 ++
uni_modules/uv-image/components/uv-image/uv-image.vue | 1 +
uni_modules/uv-image/package.json | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/uni_modules/uv-image/changelog.md b/uni_modules/uv-image/changelog.md
index 4562477..cd8e9b4 100644
--- a/uni_modules/uv-image/changelog.md
+++ b/uni_modules/uv-image/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.13(2023-11-15)
+1. 修复webp之前未使用的BUG
## 1.0.12(2023-10-11)
1. 修复懒加载报错:https://gitee.com/climblee/uv-ui/issues/I869JS
## 1.0.11(2023-08-31)
diff --git a/uni_modules/uv-image/components/uv-image/uv-image.vue b/uni_modules/uv-image/components/uv-image/uv-image.vue
index e6edd97..a9f8be8 100644
--- a/uni_modules/uv-image/components/uv-image/uv-image.vue
+++ b/uni_modules/uv-image/components/uv-image/uv-image.vue
@@ -23,6 +23,7 @@
:lazy-load="lazyLoad"
class="uv-image__image"
:style="[imageStyle]"
+ :webp="webp"
>
Date: Wed, 15 Nov 2023 17:36:55 +0800
Subject: [PATCH 129/155] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B0=E7=89=88?=
=?UTF-8?q?=E9=AA=A8=E6=9E=B6=E5=B1=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-skeletons/changelog.md | 2 ++
.../components/uv-skeletons/uv-skeletons.vue | 10 +++++-----
uni_modules/uv-skeletons/package.json | 2 +-
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/uni_modules/uv-skeletons/changelog.md b/uni_modules/uv-skeletons/changelog.md
index 1927c57..c2d58dc 100644
--- a/uni_modules/uv-skeletons/changelog.md
+++ b/uni_modules/uv-skeletons/changelog.md
@@ -1,2 +1,4 @@
+## 1.0.1(2023-11-15)
+1. 修复支付宝小程序报错的BUG
## 1.0.0(2023-10-30)
1. 新版骨架屏上线
diff --git a/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue b/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
index e6651dd..2b2243b 100644
--- a/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
+++ b/uni_modules/uv-skeletons/components/uv-skeletons/uv-skeletons.vue
@@ -118,12 +118,12 @@
});
return elements;
} else {
- const type = el.type ?? 'line';
- const num = el.num ?? 1;
- const style = el.style ?? {};
+ const type = el.type ? el.type : 'line';
+ const num = el.num ? el.num : 1;
+ const style = el.style ? el.style : {};
const styleIsArray = this.$uv.test.array(style);
- const gap = el.gap ?? '20rpx';
- const child = el.children ?? [];
+ const gap = el.gap ? el.gap : '20rpx';
+ const child = el.children ? el.children : [];
for (let i = 0; i < child.length; i++) {
children[i] = {
clas: child[i].type.indexOf('avatar') > -1 || child[i].type.indexOf('custom') > -1 ? '' : 'uv-skeleton__group__sub',
diff --git a/uni_modules/uv-skeletons/package.json b/uni_modules/uv-skeletons/package.json
index fe905c2..9a36299 100644
--- a/uni_modules/uv-skeletons/package.json
+++ b/uni_modules/uv-skeletons/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-skeletons",
"displayName": "uv-skeletons 骨架屏 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "全新升级骨架屏,更加灵活,体验更加,强烈推荐使用新版骨架屏。一般用于页面在请求远程数据尚未完成时,在内容加载出来前展示与内容布局结构一致的灰白块,提升用户视觉体验。",
"keywords": [
"uv-skeletons",
--
Gitee
From d2cb13f7ee782a2170dae0e10744fadcfcb7eed9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Mon, 20 Nov 2023 22:03:14 +0800
Subject: [PATCH 130/155] =?UTF-8?q?=E4=BC=98=E5=8C=96uvpicker=E5=92=8Cuvpo?=
=?UTF-8?q?pup?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-picker/changelog.md | 2 ++
.../uv-picker/components/uv-picker/uv-picker.vue | 1 +
uni_modules/uv-picker/package.json | 2 +-
uni_modules/uv-popup/changelog.md | 2 ++
.../uv-popup/components/uv-popup/uv-popup.vue | 12 ++++++++----
uni_modules/uv-popup/package.json | 2 +-
6 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/uni_modules/uv-picker/changelog.md b/uni_modules/uv-picker/changelog.md
index 6b5af65..71352fb 100644
--- a/uni_modules/uv-picker/changelog.md
+++ b/uni_modules/uv-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.12(2023-11-20)
+1. 修复issues反馈的问题uv-picker在组合式API的自定义组件中,columns动态赋值无法显示选项:https://gitee.com/climblee/uv-ui/issues/I8H0GQ
## 1.0.11(2023-10-11)
1. 将immediate-change默认值改为true,该值在于change回调的及时性,微信小程序生效
## 1.0.10(2023-08-25)
diff --git a/uni_modules/uv-picker/components/uv-picker/uv-picker.vue b/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
index 33215bf..30784dc 100644
--- a/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
+++ b/uni_modules/uv-picker/components/uv-picker/uv-picker.vue
@@ -127,6 +127,7 @@ export default {
},
// 监听columns参数的变化
columns: {
+ deep: true,
immediate: true,
handler(n) {
this.setColumns(n)
diff --git a/uni_modules/uv-picker/package.json b/uni_modules/uv-picker/package.json
index aa22ec2..69d7ba1 100644
--- a/uni_modules/uv-picker/package.json
+++ b/uni_modules/uv-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-picker",
"displayName": "uv-picker 选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.11",
+ "version": "1.0.12",
"description": "uv-picker 此选择器用于单列,多列,多列联动的选择场景...",
"keywords": [
"uv-picker",
diff --git a/uni_modules/uv-popup/changelog.md b/uni_modules/uv-popup/changelog.md
index 3eae69d..8bb3992 100644
--- a/uni_modules/uv-popup/changelog.md
+++ b/uni_modules/uv-popup/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.7(2023-11-20)
+修复issues问题:https://gitee.com/climblee/uv-ui/issues/I8HDLO
## 1.0.6(2023-10-13)
1. 优化vue,内容有背景色,设置圆角被遮挡的情况
## 1.0.5(2023-09-10)
diff --git a/uni_modules/uv-popup/components/uv-popup/uv-popup.vue b/uni_modules/uv-popup/components/uv-popup/uv-popup.vue
index 2082bbb..a63ff9d 100644
--- a/uni_modules/uv-popup/components/uv-popup/uv-popup.vue
+++ b/uni_modules/uv-popup/components/uv-popup/uv-popup.vue
@@ -231,7 +231,8 @@
},
maskShow: true,
mkclick: true,
- popupClass: this.isDesktop ? 'fixforpc-top' : 'top'
+ popupClass: this.isDesktop ? 'fixforpc-top' : 'top',
+ direction: ''
}
},
computed: {
@@ -251,14 +252,15 @@
}
if(this.round) {
const value = this.$uv.addUnit(this.round)
+ const mode = this.direction?this.direction:this.mode
style.backgroundColor = this.bgColor
- if(this.mode === 'top') {
+ if(mode === 'top') {
style.borderBottomLeftRadius = value
style.borderBottomRightRadius = value
- } else if(this.mode === 'bottom') {
+ } else if(mode === 'bottom') {
style.borderTopLeftRadius = value
style.borderTopRightRadius = value
- } else if(this.mode === 'center') {
+ } else if(mode === 'center') {
style.borderRadius = value
}
}
@@ -312,6 +314,8 @@
let innerType = ['top', 'center', 'bottom', 'left', 'right', 'message', 'dialog', 'share']
if (!(direction && innerType.indexOf(direction) !== -1)) {
direction = this.mode
+ }else {
+ this.direction = direction;
}
if (!this.config[direction]) {
return this.$uv.error(`缺少类型:${direction}`);
diff --git a/uni_modules/uv-popup/package.json b/uni_modules/uv-popup/package.json
index 800f04e..53c112c 100644
--- a/uni_modules/uv-popup/package.json
+++ b/uni_modules/uv-popup/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-popup",
"displayName": "uv-popup 弹出层 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.6",
+ "version": "1.0.7",
"description": "uv-popup 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义。",
"keywords": [
"uv-popup",
--
Gitee
From 69ddbe3dcb767bcf56862e000a9712cc788a2e8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Mon, 27 Nov 2023 20:47:59 +0800
Subject: [PATCH 131/155] =?UTF-8?q?=E5=88=86=E6=AE=B5=E5=99=A8=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-subsection/changelog.md | 3 +
.../components/uv-subsection/props.js | 4 +
.../uv-subsection/uv-subsection.vue | 98 +++++++++----------
uni_modules/uv-subsection/package.json | 2 +-
4 files changed, 52 insertions(+), 55 deletions(-)
diff --git a/uni_modules/uv-subsection/changelog.md b/uni_modules/uv-subsection/changelog.md
index a19b5ff..f55f76e 100644
--- a/uni_modules/uv-subsection/changelog.md
+++ b/uni_modules/uv-subsection/changelog.md
@@ -1,3 +1,6 @@
+## 1.0.2(2023-11-27)
+1. 增加customItemStyle属性,方便修改bar样式
+2. 文档后续更新
## 1.0.1(2023-05-16)
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
diff --git a/uni_modules/uv-subsection/components/uv-subsection/props.js b/uni_modules/uv-subsection/components/uv-subsection/props.js
index ad8a124..5913bb3 100644
--- a/uni_modules/uv-subsection/components/uv-subsection/props.js
+++ b/uni_modules/uv-subsection/components/uv-subsection/props.js
@@ -45,6 +45,10 @@ export default {
type: String,
default: 'name'
},
+ customItemStyle: {
+ type: [String, Object],
+ default: () => {}
+ },
...uni.$uv?.props?.subsection
}
}
\ No newline at end of file
diff --git a/uni_modules/uv-subsection/components/uv-subsection/uv-subsection.vue b/uni_modules/uv-subsection/components/uv-subsection/uv-subsection.vue
index 6084d49..8117284 100644
--- a/uni_modules/uv-subsection/components/uv-subsection/uv-subsection.vue
+++ b/uni_modules/uv-subsection/components/uv-subsection/uv-subsection.vue
@@ -1,39 +1,37 @@
-
-
+ mode === 'button' && 'uv-subsection--button__bar',
+ current === 0 && mode === 'subsection' && 'uv-subsection__bar--first',
+ current > 0 && current < list.length - 1 && mode === 'subsection' && 'uv-subsection__bar--center',
+ current === list.length - 1 && mode === 'subsection' && 'uv-subsection__bar--last'
+ ]"
+ >
- {{ getText(item) }}
+ :key="index"
+ >
+ {{ getText(item) }}
+
@@ -73,12 +71,15 @@
itemRect: {
width: 0,
height: 0,
- },
- };
+ }
+ }
},
watch: {
- list(newValue, oldValue) {
- this.init();
+ list: {
+ deep: true,
+ handler(){
+ this.init();
+ }
},
current: {
immediate: true,
@@ -88,20 +89,18 @@
// 故用animation模块进行位移
const ref = this.$refs?.["uv-subsection__bar"]?.ref;
// 不存在ref的时候(理解为第一次初始化时,需要渲染dom,进行一定延时再获取ref),这里的100ms是经过测试得出的结果(某些安卓需要延时久一点),勿随意修改
- this.$uv.sleep(ref ? 0 : 100).then(() => {
+ this.$uv.sleep(ref ? 0 : 150).then(() => {
animation.transition(this.$refs["uv-subsection__bar"].ref, {
styles: {
- transform: `translateX(${
- n * this.itemRect.width
- }px)`,
- transformOrigin: "center center",
+ transform: `translateX(${ n * this.itemRect.width }px)`,
+ transformOrigin: "center center"
},
duration: 300,
});
});
// #endif
- },
- },
+ }
+ }
},
computed: {
wrapperStyle() {
@@ -119,15 +118,13 @@
style.height = `${this.itemRect.height}px`;
// 通过translateX移动滑块,其移动的距离为索引*item的宽度
// #ifndef APP-NVUE
- style.transform = `translateX(${
- this.current * this.itemRect.width
- }px)`;
+ style.transform = `translateX(${ this.current * this.itemRect.width }px)`;
// #endif
if (this.mode === "subsection") {
// 在subsection模式下,需要动态设置滑块的圆角,因为移动滑块使用的是translateX,无法通过父元素设置overflow: hidden隐藏滑块的直角
style.backgroundColor = this.activeColor;
}
- return style;
+ return this.$uv.deepMerge(this.$uv.addStyle(this.customItemStyle),style);
},
// 分段器item的样式
itemStyle(index) {
@@ -146,19 +143,14 @@
textStyle(index) {
return (index) => {
const style = {};
- style.fontWeight =
- this.bold && this.current === index ? "bold" : "normal";
+ style.fontWeight = this.bold && this.current === index ? "bold" : "normal";
style.fontSize = this.$uv.addUnit(this.fontSize);
// subsection模式下,激活时默认为白色的文字
if (this.mode === "subsection") {
- style.color =
- this.current === index ? "#fff" : this.inactiveColor;
+ style.color = this.current === index ? "#fff" : this.inactiveColor;
} else {
// button模式下,激活时文字颜色默认为activeColor
- style.color =
- this.current === index ?
- this.activeColor :
- this.inactiveColor;
+ style.color = this.current === index ? this.activeColor : this.inactiveColor;
}
return style;
};
@@ -185,17 +177,16 @@
// #ifdef APP-NVUE
const ref = this.$refs["uv-subsection__item--0"][0];
- ref &&
- dom.getComponentRect(ref, (res) => {
- this.itemRect = res.size;
- });
+ ref && dom.getComponentRect(ref, (res) => {
+ this.itemRect = res.size;
+ });
// #endif
},
clickHandler(index) {
this.$emit("change", index);
- },
- },
- };
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/uni_modules/uv-toast/package.json b/uni_modules/uv-toast/package.json
index f15338d..c77987b 100644
--- a/uni_modules/uv-toast/package.json
+++ b/uni_modules/uv-toast/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-toast",
"displayName": "uv-toast 消息提示 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "Toast 组件主要用于消息通知、加载提示、操作结果提示等醒目提示效果,我们为其提供了多种丰富的API。",
"keywords": [
"uv-toast",
--
Gitee
From 8002c470f782d4901e9b4aa16cdaca1d6f8de78f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Wed, 6 Dec 2023 20:46:38 +0800
Subject: [PATCH 139/155] =?UTF-8?q?=E4=BC=98=E5=8C=96cell=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/demo/demo.nvue | 3 +--
uni_modules/uv-cell/changelog.md | 2 ++
uni_modules/uv-cell/components/uv-cell/uv-cell.vue | 8 ++++----
uni_modules/uv-cell/package.json | 2 +-
4 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/pages/demo/demo.nvue b/pages/demo/demo.nvue
index 1d816c4..b74fa0e 100644
--- a/pages/demo/demo.nvue
+++ b/pages/demo/demo.nvue
@@ -1,7 +1,6 @@
-
-
+
-
-
+
\ No newline at end of file
diff --git a/uni_modules/uv-loading-page/package.json b/uni_modules/uv-loading-page/package.json
index 7b88bb0..040e777 100644
--- a/uni_modules/uv-loading-page/package.json
+++ b/uni_modules/uv-loading-page/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-loading-page",
"displayName": "uv-loading-page 加载页 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "uv-loading-page 该组件是一个页面级的加载效果,可以在页面初始化数据等场景使用,与骨架屏有相似之处。",
"keywords": [
"uv-loading-page",
--
Gitee
From 6e10bfc9a3d41e90863c5bef0a48ee17498d229c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sat, 20 Jan 2024 20:10:56 +0800
Subject: [PATCH 150/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-loading-page/changelog.md | 2 ++
.../components/uv-loading-page/uv-loading-page.vue | 1 +
uni_modules/uv-loading-page/package.json | 2 +-
uni_modules/uv-ui-tools/changelog.md | 2 ++
uni_modules/uv-ui-tools/libs/config/config.js | 4 ++--
uni_modules/uv-ui-tools/package.json | 2 +-
uni_modules/uv-ui/changelog.md | 8 ++++++++
uni_modules/uv-ui/package.json | 2 +-
8 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/uni_modules/uv-loading-page/changelog.md b/uni_modules/uv-loading-page/changelog.md
index a5661d4..4b7ef61 100644
--- a/uni_modules/uv-loading-page/changelog.md
+++ b/uni_modules/uv-loading-page/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.4(2024-01-20)
+1. 修改上版本带出的问题
## 1.0.3(2024-01-15)
1. 重构,避免初始加载的时候先显示页面的问题
## 1.0.2(2023-07-02)
diff --git a/uni_modules/uv-loading-page/components/uv-loading-page/uv-loading-page.vue b/uni_modules/uv-loading-page/components/uv-loading-page/uv-loading-page.vue
index b9a4c12..8fb26d1 100644
--- a/uni_modules/uv-loading-page/components/uv-loading-page/uv-loading-page.vue
+++ b/uni_modules/uv-loading-page/components/uv-loading-page/uv-loading-page.vue
@@ -50,6 +50,7 @@
handler(newVal) {
if (newVal) {
this.showLoading = true;
+ this.opacity = 1;
} else {
this.opacity = 0;
this.$nextTick(() => {
diff --git a/uni_modules/uv-loading-page/package.json b/uni_modules/uv-loading-page/package.json
index 040e777..cc9b171 100644
--- a/uni_modules/uv-loading-page/package.json
+++ b/uni_modules/uv-loading-page/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-loading-page",
"displayName": "uv-loading-page 加载页 全面兼容小程序、nvue、vue2、vue3等多端",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "uv-loading-page 该组件是一个页面级的加载效果,可以在页面初始化数据等场景使用,与骨架屏有相似之处。",
"keywords": [
"uv-loading-page",
diff --git a/uni_modules/uv-ui-tools/changelog.md b/uni_modules/uv-ui-tools/changelog.md
index 17edb49..998373e 100644
--- a/uni_modules/uv-ui-tools/changelog.md
+++ b/uni_modules/uv-ui-tools/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.25(2024-01-20)
+1.1.20版本更新
## 1.1.24(2023-12-21)
1. luch-request更新
## 1.1.23(2023-12-12)
diff --git a/uni_modules/uv-ui-tools/libs/config/config.js b/uni_modules/uv-ui-tools/libs/config/config.js
index 5eeab38..f18ae74 100644
--- a/uni_modules/uv-ui-tools/libs/config/config.js
+++ b/uni_modules/uv-ui-tools/libs/config/config.js
@@ -1,5 +1,5 @@
-// 此版本发布于2023-12-12
-const version = '1.1.19'
+// 此版本发布于2024-01-20
+const version = '1.1.20'
// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
diff --git a/uni_modules/uv-ui-tools/package.json b/uni_modules/uv-ui-tools/package.json
index 32da21c..2d940f6 100644
--- a/uni_modules/uv-ui-tools/package.json
+++ b/uni_modules/uv-ui-tools/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui-tools",
"displayName": "uv-ui-tools 工具集 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.1.24",
+ "version": "1.1.25",
"description": "uv-ui-tools,集成工具库,强大的Http请求封装,清晰的文档说明,开箱即用。方便使用,可以全局使用",
"keywords": [
"uv-ui-tools,uv-ui组件库,工具集,uvui,uView2.x"
diff --git a/uni_modules/uv-ui/changelog.md b/uni_modules/uv-ui/changelog.md
index da5f31e..fce7860 100644
--- a/uni_modules/uv-ui/changelog.md
+++ b/uni_modules/uv-ui/changelog.md
@@ -1,3 +1,11 @@
+## 1.1.20(2024-01-20)
+1. 优化 uv-loading-page重构,避免初始加载的时候先显示页面的问题,小程序平台由于性能问题,可能还是会短暂出现,请注意优化处理
+2. 优化 uv-textarea confirmType默认值改成return,支持换行
+3. 优化 uv-ui-tools luch-request更新
+4. 修复 uv-drop-down parentData不变的BUG
+5. 修复 uv-picker 上个版本引出的BUG
+6. 修复 uv-image 设置show-menu-by-longpress不生效的BUG
+7. 修复 uv-upload 动态设置deletable为false不生效的BUG
## 1.1.19(2023-12-12)
1. 优化 uv-toast部分重构,支持取消遮罩不影响点击其他元素 a. 增加z-index参数;b. 增加overlay参数
2. 优化 关于组件如何阻止事件冒泡,增加相关说明:[组件怎么阻止事件冒泡](https://www.uvui.cn/components/feature.html#组件怎么阻止事件冒泡)
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 0058964..5e919a2 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-ui",
"displayName": "uv-ui 破釜沉舟之兼容vue3+2、app、h5、小程序等多端,灵活导入,利剑出击",
- "version": "1.1.19",
+ "version": "1.1.20",
"description": "uv-ui 是基于uni-app、部分组件基于uView2.x、全端兼容、支持独立导入、内容丰富的UI框架。破釜沉舟之兼容vue3+2、app、h5、小程序等多端,利剑出击,开箱即用。",
"keywords": [
"uv-ui",
--
Gitee
From 19f935505c9e98bef497f3f621ef094c077323f8 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 22 Mar 2024 14:28:24 +0800
Subject: [PATCH 151/155] =?UTF-8?q?=E4=BF=AE=E5=A4=8Duvdatetimepicker?=
=?UTF-8?q?=E7=9A=84BUG?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-datetime-picker/changelog.md | 2 ++
.../components/uv-datetime-picker/uv-datetime-picker.vue | 7 +++++--
uni_modules/uv-datetime-picker/package.json | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/uni_modules/uv-datetime-picker/changelog.md b/uni_modules/uv-datetime-picker/changelog.md
index 44784c6..f869449 100644
--- a/uni_modules/uv-datetime-picker/changelog.md
+++ b/uni_modules/uv-datetime-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.13(2024-03-22)
+1. 修复VUE3中出现的BUG
## 1.0.12(2023-11-27)
1. 增加round圆角属性
## 1.0.11(2023-10-11)
diff --git a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
index f25ab8d..61b4381 100644
--- a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
+++ b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
@@ -106,8 +106,11 @@
},
open() {
this.$refs.picker.open();
- this.getValue();
- this.updateColumnValue(this.innerValue);
+ // 解决打开的前一次和当前日期错乱的BUG
+ setTimeout(()=>{
+ this.getValue();
+ this.updateColumnValue(this.innerValue);
+ },10)
},
close() {
this.$emit('close');
diff --git a/uni_modules/uv-datetime-picker/package.json b/uni_modules/uv-datetime-picker/package.json
index adbba14..6ed40bd 100644
--- a/uni_modules/uv-datetime-picker/package.json
+++ b/uni_modules/uv-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-datetime-picker",
"displayName": "uv-datetime-picker 时间选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.12",
+ "version": "1.0.13",
"description": "时间选择器组件用于时间日期,主要用于年月日时分的选择,具体选择的精确度由参数控制。",
"keywords": [
"datetime-picker",
--
Gitee
From 226beb78957ce99b762798e2d2569fa6b1533a59 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Thu, 28 Mar 2024 09:35:23 +0800
Subject: [PATCH 152/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-form/components/uv-form-item/uv-form-item.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue b/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
index 25d93ea..8e9281d 100644
--- a/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
+++ b/uni_modules/uv-form/components/uv-form-item/uv-form-item.vue
@@ -86,7 +86,6 @@
* @property {String} prop 绑定的值
* @property {String | Boolean} borderBottom 是否显示表单域的下划线边框
* @property {String | Number} labelWidth label的宽度,单位px
- * @property {String} rightIcon 右侧图标
* @property {String} leftIcon 左侧图标
* @property {String | Object} leftIconStyle 左侧图标的样式
* @property {Boolean} required 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置 (默认 false )
--
Gitee
From eecf7462d86735cad0b961935c544d76b3721e61 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 31 May 2024 16:30:56 +0800
Subject: [PATCH 153/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-datetime-picker/changelog.md | 2 ++
.../components/uv-datetime-picker/uv-datetime-picker.vue | 4 +++-
uni_modules/uv-datetime-picker/package.json | 5 +++--
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/uni_modules/uv-datetime-picker/changelog.md b/uni_modules/uv-datetime-picker/changelog.md
index f869449..5c933d2 100644
--- a/uni_modules/uv-datetime-picker/changelog.md
+++ b/uni_modules/uv-datetime-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.14(2024-05-31)
+1. 修复设置maxDate后存在选择不准确的BUG
## 1.0.13(2024-03-22)
1. 修复VUE3中出现的BUG
## 1.0.12(2023-11-27)
diff --git a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
index 61b4381..2e7af92 100644
--- a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
+++ b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
@@ -78,7 +78,9 @@
},
watch: {
propsChange() {
- this.init()
+ uni.$uv.sleep(100).then(res=>{
+ this.init()
+ })
}
},
computed: {
diff --git a/uni_modules/uv-datetime-picker/package.json b/uni_modules/uv-datetime-picker/package.json
index 6ed40bd..be6a549 100644
--- a/uni_modules/uv-datetime-picker/package.json
+++ b/uni_modules/uv-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-datetime-picker",
"displayName": "uv-datetime-picker 时间选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.13",
+ "version": "1.0.14",
"description": "时间选择器组件用于时间日期,主要用于年月日时分的选择,具体选择的精确度由参数控制。",
"keywords": [
"datetime-picker",
@@ -43,7 +43,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"Vue": {
--
Gitee
From 856b36a0dee372e92e21488021e21f7cbc5e51a8 Mon Sep 17 00:00:00 2001
From: "@my_dear_li_pan" <526551383@qq.com>
Date: Fri, 14 Jun 2024 11:19:02 +0800
Subject: [PATCH 154/155] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-datetime-picker/changelog.md | 2 ++
.../components/uv-datetime-picker/uv-datetime-picker.vue | 2 +-
uni_modules/uv-datetime-picker/package.json | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-datetime-picker/changelog.md b/uni_modules/uv-datetime-picker/changelog.md
index 5c933d2..c56eabd 100644
--- a/uni_modules/uv-datetime-picker/changelog.md
+++ b/uni_modules/uv-datetime-picker/changelog.md
@@ -1,3 +1,5 @@
+## 1.0.15(2024-06-14)
+1. 修复上次更改引出的BUG
## 1.0.14(2024-05-31)
1. 修复设置maxDate后存在选择不准确的BUG
## 1.0.13(2024-03-22)
diff --git a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
index 2e7af92..d45c822 100644
--- a/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
+++ b/uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue
@@ -78,7 +78,7 @@
},
watch: {
propsChange() {
- uni.$uv.sleep(100).then(res=>{
+ this.$uv.sleep(100).then(res=>{
this.init()
})
}
diff --git a/uni_modules/uv-datetime-picker/package.json b/uni_modules/uv-datetime-picker/package.json
index be6a549..a2415b1 100644
--- a/uni_modules/uv-datetime-picker/package.json
+++ b/uni_modules/uv-datetime-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uv-datetime-picker",
"displayName": "uv-datetime-picker 时间选择器 全面兼容vue3+2、app、h5、小程序等多端",
- "version": "1.0.14",
+ "version": "1.0.15",
"description": "时间选择器组件用于时间日期,主要用于年月日时分的选择,具体选择的精确度由参数控制。",
"keywords": [
"datetime-picker",
--
Gitee
From ecebf80349d6f4fdea3da0ed92735c26b4ccd954 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E6=94=80?= <526551383@qq.com>
Date: Sun, 28 Jul 2024 16:42:28 +0800
Subject: [PATCH 155/155] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
uni_modules/uv-ui/package.json | 3 ++-
uni_modules/uv-ui/readme.md | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/uni_modules/uv-ui/package.json b/uni_modules/uv-ui/package.json
index 5e919a2..ad4a453 100644
--- a/uni_modules/uv-ui/package.json
+++ b/uni_modules/uv-ui/package.json
@@ -117,7 +117,8 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"Vue": {
diff --git a/uni_modules/uv-ui/readme.md b/uni_modules/uv-ui/readme.md
index 9dfe1df..e11ed20 100644
--- a/uni_modules/uv-ui/readme.md
+++ b/uni_modules/uv-ui/readme.md
@@ -14,8 +14,9 @@
## 温馨提示:如需下载uv-ui示例项目,请不要使用【下载插件ZIP】按钮。
-### uvui官方群1:549833913
+### uvui官方群1:549833913(已满)
### uvui官方群2:206060892
+### uvui官方群2:957571809
## uvui特点
--
Gitee