diff --git a/changelog.md b/changelog.md index c230c7aca0c32c8d67b36da432373607e714303f..20e239042e15fcfcd122a2b9ced8dbaf381a5600 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 2.1.6(2023-12-14) +- 更新 依赖的uni-id-pages的版本为1.1.17 ## 2.1.5(2023-10-20) - 更新 依赖的uni-id-pages的版本为1.1.16 ## 2.1.4(2023-07-11) diff --git a/uni_modules/uni-captcha/changelog.md b/uni_modules/uni-captcha/changelog.md index af274d89e30296dfb28765b1eb73bb4b0ef2b652..8b4f58550c40f81b6114bac0c9e5aad97bdf5391 100644 --- a/uni_modules/uni-captcha/changelog.md +++ b/uni_modules/uni-captcha/changelog.md @@ -1,3 +1,9 @@ +## 0.7.3(2023-11-15) +- 更新 uni-popup-captcha.uvue依赖的popup组件,直接使用uni_modules下的uni-popup组件 +## 0.7.2(2023-11-07) +- 新增 前端组件:uni-captcha.uvue、uni-popup-captcha +## 0.7.1(2023-11-07) +- 新增 前端组件:uni-captcha.uvue、uni-popup-captcha ## 0.7.0(2023-10-10) - 新增 支持在`uni-config-center`中配置mode,可选值为svg和bmp,配置成bmp后可以在uniappx的uvue页面正常显示验证码(uvue不支持显示svg验证码) ## 0.6.4(2023-01-16) diff --git a/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue b/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue new file mode 100644 index 0000000000000000000000000000000000000000..aa517117c048cd8c4684e0672f449e3ff3b8eb30 --- /dev/null +++ b/uni_modules/uni-captcha/components/uni-captcha/uni-captcha.uvue @@ -0,0 +1,180 @@ + + + + + \ No newline at end of file diff --git a/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue b/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue new file mode 100644 index 0000000000000000000000000000000000000000..24be5708ce3bc38cf9f2b4b336ae51163a1c46e4 --- /dev/null +++ b/uni_modules/uni-captcha/components/uni-popup-captcha/uni-popup-captcha.uvue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/uni_modules/uni-captcha/package.json b/uni_modules/uni-captcha/package.json index ed93df7b70070b72d3f5c546028a2baf4bbe8dd9..f7e1d51051182281def8b3e43fad97134d3a286c 100644 --- a/uni_modules/uni-captcha/package.json +++ b/uni_modules/uni-captcha/package.json @@ -1,7 +1,7 @@ { "id": "uni-captcha", "displayName": "uni-captcha", - "version": "0.7.0", + "version": "0.7.3", "description": "云端一体图形验证码组件", "keywords": [ "captcha", diff --git a/uni_modules/uni-captcha/static/run.gif b/uni_modules/uni-captcha/static/run.gif new file mode 100644 index 0000000000000000000000000000000000000000..6d164f2146c27a309af2de7862ee5641eb382c50 Binary files /dev/null and b/uni_modules/uni-captcha/static/run.gif differ diff --git a/uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/index.obj.js b/uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/index.obj.js index 504857e837e8e4d5993c5ed93a8baaf4b5a6d245..186e82c637f4f66b42cbe5dcffeb2dc81979c4a0 100644 --- a/uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/index.obj.js +++ b/uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/index.obj.js @@ -5,16 +5,9 @@ const uniCaptcha = require('uni-captcha') const db = uniCloud.database(); //获取数据表opendb-verify-codes对象 const verifyCodes = db.collection('opendb-verify-codes') - -const createConfig = require('uni-config-center') -const captchaConfig = createConfig({ // 获取配置实例 - pluginId: 'captcha-config' // common/uni-config-center下的插件配置目录名 -}) -const Config = captchaConfig.config() // 获取common/uni-config-center/share-config/config.json的内容 - module.exports = { async getImageCaptcha({ - scene + scene,isUniAppX }) { //获取设备id let { @@ -30,10 +23,13 @@ module.exports = { //如果已存在则调用刷新接口,反之调用插件接口 let action = res.data.length ? 'refresh' : 'create' //执行并返回结果 - return await uniCaptcha[action]({ - text: Config.text,//用于测试 + let option = { scene, //来源客户端传递,表示:使用场景值,用于防止不同功能的验证码混用 uniPlatform: platform - }) + } + if(isUniAppX){ + option.mode = "bmp" + } + return await uniCaptcha[action](option) } } \ No newline at end of file diff --git a/uni_modules/uni-forms/changelog.md b/uni_modules/uni-forms/changelog.md index 8218df5f98f16057e6c04cfc7d5e26b304f53439..3d998bcf591d5c76c44166f0cda6b89021bf4160 100644 --- a/uni_modules/uni-forms/changelog.md +++ b/uni_modules/uni-forms/changelog.md @@ -1,3 +1,5 @@ +## 1.4.10(2023-11-03) +- 优化 labelWidth 描述错误 ## 1.4.9(2023-02-10) - 修复 required 参数无法动态绑定 ## 1.4.8(2022-08-23) diff --git a/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue index 34d73bee73087992d69c009f088fa51edb92fdba..59b0528d471fde6420dcd7d56c1bae8579a2658e 100644 --- a/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue +++ b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue @@ -36,7 +36,7 @@ * @tutorial https://ext.dcloud.net.cn/plugin?id=2773 * @property {Boolean} required 是否必填,左边显示红色"*"号 * @property {String } label 输入框左边的文字提示 - * @property {Number } labelWidth label的宽度,单位px(默认65) + * @property {Number } labelWidth label的宽度,单位px(默认70) * @property {String } labelAlign = [left|center|right] label的文字对齐方式(默认left) * @value left label 左侧显示 * @value center label 居中 @@ -91,7 +91,7 @@ type: String, default: '' }, - // label的宽度 ,默认 80 + // label的宽度 labelWidth: { type: [String, Number], default: '' @@ -128,7 +128,7 @@ errMsg: '', userRules: null, localLabelAlign: 'left', - localLabelWidth: '65px', + localLabelWidth: '70px', localLabelPos: 'left', border: false, isFirstBorder: false, @@ -413,9 +413,9 @@ // const { // labelWidth // } = this.form - return this.num2px(this.labelWidth ? this.labelWidth : (labelWidth || (this.label ? 65 : 'auto'))) + return this.num2px(this.labelWidth ? this.labelWidth : (labelWidth || (this.label ? 70 : 'auto'))) // } - // return '65px' + // return '70px' }, // 处理 label 位置 _labelPosition() { diff --git a/uni_modules/uni-forms/components/uni-forms/uni-forms.vue b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue index 21aee1a4605ef58b757af2c66645ae16164b098f..b484cc9dfa0b1b4e579ae1a1534067628e2b8a5e 100644 --- a/uni_modules/uni-forms/components/uni-forms/uni-forms.vue +++ b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue @@ -52,7 +52,7 @@ * @property {String} labelPosition = [top|left] label 位置 默认 left * @value top 顶部显示 label * @value left 左侧显示 label - * @property {String} labelWidth label 宽度,默认 65px + * @property {String} labelWidth label 宽度,默认 70px * @property {String} labelAlign = [left|center|right] label 居中方式 默认 left * @value left label 左侧显示 * @value center label 居中 diff --git a/uni_modules/uni-forms/package.json b/uni_modules/uni-forms/package.json index 192561141c8d852d19f7ef9170bde2e762539900..464b4e6c9fc7d61db50c3d7f449ceb5b09c32bdf 100644 --- a/uni_modules/uni-forms/package.json +++ b/uni_modules/uni-forms/package.json @@ -1,7 +1,7 @@ { "id": "uni-forms", "displayName": "uni-forms 表单", - "version": "1.4.9", + "version": "1.4.10", "description": "由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据", "keywords": [ "uni-ui", diff --git a/uni_modules/uni-icons/changelog.md b/uni_modules/uni-icons/changelog.md index 64498853cdd91577d9cb5646bf50b307a83d58fe..f8333ca1aba341298ac163f3d64c47cd3790c90d 100644 --- a/uni_modules/uni-icons/changelog.md +++ b/uni_modules/uni-icons/changelog.md @@ -1,3 +1,17 @@ +## 2.0.7(2023-12-14) +- 修复 size 属性为 string 时,不加单位导致尺寸异常的bug +## 2.0.6(2023-12-11) +- 优化 兼容老版本icon类型,如 top ,bottom 等 +## 2.0.5(2023-12-11) +- 优化 兼容老版本icon类型,如 top ,bottom 等 +## 2.0.4(2023-12-06) +- 优化 uni-app x 下示例项目图标排序 +## 2.0.3(2023-12-06) +- 修复 nvue下引入组件报错的bug +## 2.0.2(2023-12-05) +-优化 size 属性支持单位 +## 2.0.1(2023-12-05) +- 新增 uni-app x 支持定义图标 ## 1.3.5(2022-01-24) - 优化 size 属性可以传入不带单位的字符串数值 ## 1.3.4(2022-01-24) diff --git a/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue b/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue new file mode 100644 index 0000000000000000000000000000000000000000..4d0f27196263a6d49793a3f94ecab4149cd9200e --- /dev/null +++ b/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue @@ -0,0 +1,91 @@ + + + + + diff --git a/uni_modules/uni-icons/components/uni-icons/uni-icons.vue b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue index a87f68e428cd685f8e2235754b208014966d2ed3..3f677eca67fbb2b670c61b23ea4f329981a3a208 100644 --- a/uni_modules/uni-icons/components/uni-icons/uni-icons.vue +++ b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue @@ -1,24 +1,28 @@ -