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 @@
+
+
+ {{unicode}}
+
+
+
+
+
+
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 @@
-
-
- {{unicode}}
-
-
-
+
+
+ {{unicode}}
+
+
+
+
+
-
diff --git a/uni_modules/uni-icons/components/uni-icons/uniicons.css b/uni_modules/uni-icons/components/uni-icons/uniicons.css
index 2f56eabde99bc0e9e6407f04d334cce06c059c78..0a6b6fea1168a93017c3173e4b5ce62f3a9efa0b 100644
--- a/uni_modules/uni-icons/components/uni-icons/uniicons.css
+++ b/uni_modules/uni-icons/components/uni-icons/uniicons.css
@@ -1,3 +1,12 @@
+
+.uniui-cart-filled:before {
+ content: "\e6d0";
+}
+
+.uniui-gift-filled:before {
+ content: "\e6c4";
+}
+
.uniui-color:before {
content: "\e6cf";
}
@@ -58,10 +67,6 @@
content: "\e6c3";
}
-.uniui-gift-filled:before {
- content: "\e6c4";
-}
-
.uniui-fire-filled:before {
content: "\e6c5";
}
@@ -82,6 +87,18 @@
content: "\e698";
}
+.uniui-arrowthinleft:before {
+ content: "\e6d2";
+}
+
+.uniui-arrowthinup:before {
+ content: "\e6d3";
+}
+
+.uniui-arrowthindown:before {
+ content: "\e6d4";
+}
+
.uniui-back:before {
content: "\e6b9";
}
@@ -94,55 +111,43 @@
content: "\e6bb";
}
-.uniui-arrowthinright:before {
- content: "\e6bb";
-}
-
.uniui-arrow-left:before {
content: "\e6bc";
}
-.uniui-arrowthinleft:before {
- content: "\e6bc";
-}
-
.uniui-arrow-up:before {
content: "\e6bd";
}
-.uniui-arrowthinup:before {
- content: "\e6bd";
-}
-
.uniui-arrow-down:before {
content: "\e6be";
}
-.uniui-arrowthindown:before {
- content: "\e6be";
+.uniui-arrowthinright:before {
+ content: "\e6d1";
}
-.uniui-bottom:before {
+.uniui-down:before {
content: "\e6b8";
}
-.uniui-arrowdown:before {
+.uniui-bottom:before {
content: "\e6b8";
}
-.uniui-right:before {
- content: "\e6b5";
+.uniui-arrowright:before {
+ content: "\e6d5";
}
-.uniui-arrowright:before {
+.uniui-right:before {
content: "\e6b5";
}
-.uniui-top:before {
+.uniui-up:before {
content: "\e6b6";
}
-.uniui-arrowup:before {
+.uniui-top:before {
content: "\e6b6";
}
@@ -150,8 +155,8 @@
content: "\e6b7";
}
-.uniui-arrowleft:before {
- content: "\e6b7";
+.uniui-arrowup:before {
+ content: "\e6d6";
}
.uniui-eye:before {
@@ -638,10 +643,6 @@
content: "\e627";
}
-.uniui-cart-filled:before {
- content: "\e629";
-}
-
.uniui-checkbox:before {
content: "\e62b";
}
diff --git a/uni_modules/uni-icons/components/uni-icons/uniicons.ttf b/uni_modules/uni-icons/components/uni-icons/uniicons.ttf
index 835f33bc9411461b8b9046b3fec742e921d6ce3a..14696d038d828073edac09ea4e5ba1dec2f58115 100644
Binary files a/uni_modules/uni-icons/components/uni-icons/uniicons.ttf and b/uni_modules/uni-icons/components/uni-icons/uniicons.ttf differ
diff --git a/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts b/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts
new file mode 100644
index 0000000000000000000000000000000000000000..86318df9482a6ca01c39ae83e73e165ac9d3e93c
--- /dev/null
+++ b/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts
@@ -0,0 +1,664 @@
+
+export type IconsData = {
+ id : string
+ name : string
+ font_family : string
+ css_prefix_text : string
+ description : string
+ glyphs : Array
+}
+
+export type IconsDataItem = {
+ font_class : string
+ unicode : string
+}
+
+
+export const fontData = [
+ {
+ "font_class": "arrow-down",
+ "unicode": "\ue6be"
+ },
+ {
+ "font_class": "arrow-left",
+ "unicode": "\ue6bc"
+ },
+ {
+ "font_class": "arrow-right",
+ "unicode": "\ue6bb"
+ },
+ {
+ "font_class": "arrow-up",
+ "unicode": "\ue6bd"
+ },
+ {
+ "font_class": "auth",
+ "unicode": "\ue6ab"
+ },
+ {
+ "font_class": "auth-filled",
+ "unicode": "\ue6cc"
+ },
+ {
+ "font_class": "back",
+ "unicode": "\ue6b9"
+ },
+ {
+ "font_class": "bars",
+ "unicode": "\ue627"
+ },
+ {
+ "font_class": "calendar",
+ "unicode": "\ue6a0"
+ },
+ {
+ "font_class": "calendar-filled",
+ "unicode": "\ue6c0"
+ },
+ {
+ "font_class": "camera",
+ "unicode": "\ue65a"
+ },
+ {
+ "font_class": "camera-filled",
+ "unicode": "\ue658"
+ },
+ {
+ "font_class": "cart",
+ "unicode": "\ue631"
+ },
+ {
+ "font_class": "cart-filled",
+ "unicode": "\ue6d0"
+ },
+ {
+ "font_class": "chat",
+ "unicode": "\ue65d"
+ },
+ {
+ "font_class": "chat-filled",
+ "unicode": "\ue659"
+ },
+ {
+ "font_class": "chatboxes",
+ "unicode": "\ue696"
+ },
+ {
+ "font_class": "chatboxes-filled",
+ "unicode": "\ue692"
+ },
+ {
+ "font_class": "chatbubble",
+ "unicode": "\ue697"
+ },
+ {
+ "font_class": "chatbubble-filled",
+ "unicode": "\ue694"
+ },
+ {
+ "font_class": "checkbox",
+ "unicode": "\ue62b"
+ },
+ {
+ "font_class": "checkbox-filled",
+ "unicode": "\ue62c"
+ },
+ {
+ "font_class": "checkmarkempty",
+ "unicode": "\ue65c"
+ },
+ {
+ "font_class": "circle",
+ "unicode": "\ue65b"
+ },
+ {
+ "font_class": "circle-filled",
+ "unicode": "\ue65e"
+ },
+ {
+ "font_class": "clear",
+ "unicode": "\ue66d"
+ },
+ {
+ "font_class": "close",
+ "unicode": "\ue673"
+ },
+ {
+ "font_class": "closeempty",
+ "unicode": "\ue66c"
+ },
+ {
+ "font_class": "cloud-download",
+ "unicode": "\ue647"
+ },
+ {
+ "font_class": "cloud-download-filled",
+ "unicode": "\ue646"
+ },
+ {
+ "font_class": "cloud-upload",
+ "unicode": "\ue645"
+ },
+ {
+ "font_class": "cloud-upload-filled",
+ "unicode": "\ue648"
+ },
+ {
+ "font_class": "color",
+ "unicode": "\ue6cf"
+ },
+ {
+ "font_class": "color-filled",
+ "unicode": "\ue6c9"
+ },
+ {
+ "font_class": "compose",
+ "unicode": "\ue67f"
+ },
+ {
+ "font_class": "contact",
+ "unicode": "\ue693"
+ },
+ {
+ "font_class": "contact-filled",
+ "unicode": "\ue695"
+ },
+ {
+ "font_class": "down",
+ "unicode": "\ue6b8"
+ },
+ {
+ "font_class": "bottom",
+ "unicode": "\ue6b8"
+ },
+ {
+ "font_class": "download",
+ "unicode": "\ue68d"
+ },
+ {
+ "font_class": "download-filled",
+ "unicode": "\ue681"
+ },
+ {
+ "font_class": "email",
+ "unicode": "\ue69e"
+ },
+ {
+ "font_class": "email-filled",
+ "unicode": "\ue69a"
+ },
+ {
+ "font_class": "eye",
+ "unicode": "\ue651"
+ },
+ {
+ "font_class": "eye-filled",
+ "unicode": "\ue66a"
+ },
+ {
+ "font_class": "eye-slash",
+ "unicode": "\ue6b3"
+ },
+ {
+ "font_class": "eye-slash-filled",
+ "unicode": "\ue6b4"
+ },
+ {
+ "font_class": "fire",
+ "unicode": "\ue6a1"
+ },
+ {
+ "font_class": "fire-filled",
+ "unicode": "\ue6c5"
+ },
+ {
+ "font_class": "flag",
+ "unicode": "\ue65f"
+ },
+ {
+ "font_class": "flag-filled",
+ "unicode": "\ue660"
+ },
+ {
+ "font_class": "folder-add",
+ "unicode": "\ue6a9"
+ },
+ {
+ "font_class": "folder-add-filled",
+ "unicode": "\ue6c8"
+ },
+ {
+ "font_class": "font",
+ "unicode": "\ue6a3"
+ },
+ {
+ "font_class": "forward",
+ "unicode": "\ue6ba"
+ },
+ {
+ "font_class": "gear",
+ "unicode": "\ue664"
+ },
+ {
+ "font_class": "gear-filled",
+ "unicode": "\ue661"
+ },
+ {
+ "font_class": "gift",
+ "unicode": "\ue6a4"
+ },
+ {
+ "font_class": "gift-filled",
+ "unicode": "\ue6c4"
+ },
+ {
+ "font_class": "hand-down",
+ "unicode": "\ue63d"
+ },
+ {
+ "font_class": "hand-down-filled",
+ "unicode": "\ue63c"
+ },
+ {
+ "font_class": "hand-up",
+ "unicode": "\ue63f"
+ },
+ {
+ "font_class": "hand-up-filled",
+ "unicode": "\ue63e"
+ },
+ {
+ "font_class": "headphones",
+ "unicode": "\ue630"
+ },
+ {
+ "font_class": "heart",
+ "unicode": "\ue639"
+ },
+ {
+ "font_class": "heart-filled",
+ "unicode": "\ue641"
+ },
+ {
+ "font_class": "help",
+ "unicode": "\ue679"
+ },
+ {
+ "font_class": "help-filled",
+ "unicode": "\ue674"
+ },
+ {
+ "font_class": "home",
+ "unicode": "\ue662"
+ },
+ {
+ "font_class": "home-filled",
+ "unicode": "\ue663"
+ },
+ {
+ "font_class": "image",
+ "unicode": "\ue670"
+ },
+ {
+ "font_class": "image-filled",
+ "unicode": "\ue678"
+ },
+ {
+ "font_class": "images",
+ "unicode": "\ue650"
+ },
+ {
+ "font_class": "images-filled",
+ "unicode": "\ue64b"
+ },
+ {
+ "font_class": "info",
+ "unicode": "\ue669"
+ },
+ {
+ "font_class": "info-filled",
+ "unicode": "\ue649"
+ },
+ {
+ "font_class": "left",
+ "unicode": "\ue6b7"
+ },
+ {
+ "font_class": "link",
+ "unicode": "\ue6a5"
+ },
+ {
+ "font_class": "list",
+ "unicode": "\ue644"
+ },
+ {
+ "font_class": "location",
+ "unicode": "\ue6ae"
+ },
+ {
+ "font_class": "location-filled",
+ "unicode": "\ue6af"
+ },
+ {
+ "font_class": "locked",
+ "unicode": "\ue66b"
+ },
+ {
+ "font_class": "locked-filled",
+ "unicode": "\ue668"
+ },
+ {
+ "font_class": "loop",
+ "unicode": "\ue633"
+ },
+ {
+ "font_class": "mail-open",
+ "unicode": "\ue643"
+ },
+ {
+ "font_class": "mail-open-filled",
+ "unicode": "\ue63a"
+ },
+ {
+ "font_class": "map",
+ "unicode": "\ue667"
+ },
+ {
+ "font_class": "map-filled",
+ "unicode": "\ue666"
+ },
+ {
+ "font_class": "map-pin",
+ "unicode": "\ue6ad"
+ },
+ {
+ "font_class": "map-pin-ellipse",
+ "unicode": "\ue6ac"
+ },
+ {
+ "font_class": "medal",
+ "unicode": "\ue6a2"
+ },
+ {
+ "font_class": "medal-filled",
+ "unicode": "\ue6c3"
+ },
+ {
+ "font_class": "mic",
+ "unicode": "\ue671"
+ },
+ {
+ "font_class": "mic-filled",
+ "unicode": "\ue677"
+ },
+ {
+ "font_class": "micoff",
+ "unicode": "\ue67e"
+ },
+ {
+ "font_class": "micoff-filled",
+ "unicode": "\ue6b0"
+ },
+ {
+ "font_class": "minus",
+ "unicode": "\ue66f"
+ },
+ {
+ "font_class": "minus-filled",
+ "unicode": "\ue67d"
+ },
+ {
+ "font_class": "more",
+ "unicode": "\ue64d"
+ },
+ {
+ "font_class": "more-filled",
+ "unicode": "\ue64e"
+ },
+ {
+ "font_class": "navigate",
+ "unicode": "\ue66e"
+ },
+ {
+ "font_class": "navigate-filled",
+ "unicode": "\ue67a"
+ },
+ {
+ "font_class": "notification",
+ "unicode": "\ue6a6"
+ },
+ {
+ "font_class": "notification-filled",
+ "unicode": "\ue6c1"
+ },
+ {
+ "font_class": "paperclip",
+ "unicode": "\ue652"
+ },
+ {
+ "font_class": "paperplane",
+ "unicode": "\ue672"
+ },
+ {
+ "font_class": "paperplane-filled",
+ "unicode": "\ue675"
+ },
+ {
+ "font_class": "person",
+ "unicode": "\ue699"
+ },
+ {
+ "font_class": "person-filled",
+ "unicode": "\ue69d"
+ },
+ {
+ "font_class": "personadd",
+ "unicode": "\ue69f"
+ },
+ {
+ "font_class": "personadd-filled",
+ "unicode": "\ue698"
+ },
+ {
+ "font_class": "personadd-filled-copy",
+ "unicode": "\ue6d1"
+ },
+ {
+ "font_class": "phone",
+ "unicode": "\ue69c"
+ },
+ {
+ "font_class": "phone-filled",
+ "unicode": "\ue69b"
+ },
+ {
+ "font_class": "plus",
+ "unicode": "\ue676"
+ },
+ {
+ "font_class": "plus-filled",
+ "unicode": "\ue6c7"
+ },
+ {
+ "font_class": "plusempty",
+ "unicode": "\ue67b"
+ },
+ {
+ "font_class": "pulldown",
+ "unicode": "\ue632"
+ },
+ {
+ "font_class": "pyq",
+ "unicode": "\ue682"
+ },
+ {
+ "font_class": "qq",
+ "unicode": "\ue680"
+ },
+ {
+ "font_class": "redo",
+ "unicode": "\ue64a"
+ },
+ {
+ "font_class": "redo-filled",
+ "unicode": "\ue655"
+ },
+ {
+ "font_class": "refresh",
+ "unicode": "\ue657"
+ },
+ {
+ "font_class": "refresh-filled",
+ "unicode": "\ue656"
+ },
+ {
+ "font_class": "refreshempty",
+ "unicode": "\ue6bf"
+ },
+ {
+ "font_class": "reload",
+ "unicode": "\ue6b2"
+ },
+ {
+ "font_class": "right",
+ "unicode": "\ue6b5"
+ },
+ {
+ "font_class": "scan",
+ "unicode": "\ue62a"
+ },
+ {
+ "font_class": "search",
+ "unicode": "\ue654"
+ },
+ {
+ "font_class": "settings",
+ "unicode": "\ue653"
+ },
+ {
+ "font_class": "settings-filled",
+ "unicode": "\ue6ce"
+ },
+ {
+ "font_class": "shop",
+ "unicode": "\ue62f"
+ },
+ {
+ "font_class": "shop-filled",
+ "unicode": "\ue6cd"
+ },
+ {
+ "font_class": "smallcircle",
+ "unicode": "\ue67c"
+ },
+ {
+ "font_class": "smallcircle-filled",
+ "unicode": "\ue665"
+ },
+ {
+ "font_class": "sound",
+ "unicode": "\ue684"
+ },
+ {
+ "font_class": "sound-filled",
+ "unicode": "\ue686"
+ },
+ {
+ "font_class": "spinner-cycle",
+ "unicode": "\ue68a"
+ },
+ {
+ "font_class": "staff",
+ "unicode": "\ue6a7"
+ },
+ {
+ "font_class": "staff-filled",
+ "unicode": "\ue6cb"
+ },
+ {
+ "font_class": "star",
+ "unicode": "\ue688"
+ },
+ {
+ "font_class": "star-filled",
+ "unicode": "\ue68f"
+ },
+ {
+ "font_class": "starhalf",
+ "unicode": "\ue683"
+ },
+ {
+ "font_class": "trash",
+ "unicode": "\ue687"
+ },
+ {
+ "font_class": "trash-filled",
+ "unicode": "\ue685"
+ },
+ {
+ "font_class": "tune",
+ "unicode": "\ue6aa"
+ },
+ {
+ "font_class": "tune-filled",
+ "unicode": "\ue6ca"
+ },
+ {
+ "font_class": "undo",
+ "unicode": "\ue64f"
+ },
+ {
+ "font_class": "undo-filled",
+ "unicode": "\ue64c"
+ },
+ {
+ "font_class": "up",
+ "unicode": "\ue6b6"
+ },
+ {
+ "font_class": "top",
+ "unicode": "\ue6b6"
+ },
+ {
+ "font_class": "upload",
+ "unicode": "\ue690"
+ },
+ {
+ "font_class": "upload-filled",
+ "unicode": "\ue68e"
+ },
+ {
+ "font_class": "videocam",
+ "unicode": "\ue68c"
+ },
+ {
+ "font_class": "videocam-filled",
+ "unicode": "\ue689"
+ },
+ {
+ "font_class": "vip",
+ "unicode": "\ue6a8"
+ },
+ {
+ "font_class": "vip-filled",
+ "unicode": "\ue6c6"
+ },
+ {
+ "font_class": "wallet",
+ "unicode": "\ue6b1"
+ },
+ {
+ "font_class": "wallet-filled",
+ "unicode": "\ue6c2"
+ },
+ {
+ "font_class": "weibo",
+ "unicode": "\ue68b"
+ },
+ {
+ "font_class": "weixin",
+ "unicode": "\ue691"
+ }
+] as IconsDataItem[]
+
+// export const fontData = JSON.parse(fontDataJson)
diff --git a/uni_modules/uni-icons/package.json b/uni_modules/uni-icons/package.json
index d1c4e77d4fb10536a1938ec1d31db1b54c815df0..63273c89c6d9f231931bb35fdfc936c23bdecb08 100644
--- a/uni_modules/uni-icons/package.json
+++ b/uni_modules/uni-icons/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-icons",
"displayName": "uni-icons 图标",
- "version": "1.3.5",
+ "version": "2.0.7",
"description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。",
"keywords": [
"uni-ui",
@@ -16,11 +16,7 @@
"directories": {
"example": "../../temps/example_temps"
},
- "dcloudext": {
- "category": [
- "前端组件",
- "通用组件"
- ],
+"dcloudext": {
"sale": {
"regular": {
"price": "0.00"
@@ -37,7 +33,8 @@
"data": "无",
"permissions": "无"
},
- "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
+ "type": "component-vue"
},
"uni_modules": {
"dependencies": ["uni-scss"],
@@ -50,7 +47,8 @@
"client": {
"App": {
"app-vue": "y",
- "app-nvue": "y"
+ "app-nvue": "y",
+ "app-uvue": "y"
},
"H5-mobile": {
"Safari": "y",
@@ -70,11 +68,15 @@
"阿里": "y",
"百度": "y",
"字节跳动": "y",
- "QQ": "y"
+ "QQ": "y",
+ "钉钉": "y",
+ "快手": "y",
+ "飞书": "y",
+ "京东": "y"
},
"快应用": {
- "华为": "u",
- "联盟": "u"
+ "华为": "y",
+ "联盟": "y"
},
"Vue": {
"vue2": "y",
@@ -83,4 +85,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/uni_modules/uni-id-pages/changelog.md b/uni_modules/uni-id-pages/changelog.md
index 68be3ecc2ba7b9fef1485e0d84434c7a75f99d0f..db54fa03bcb64a019753de5005810a6442cb86b9 100644
--- a/uni_modules/uni-id-pages/changelog.md
+++ b/uni_modules/uni-id-pages/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.17(2023-12-14)
+- uni-id-co 移除一键登录、短信的调用凭据
## 1.1.16(2023-10-18)
- 修复 当不满足一键登录时页面回退无法继续登录的问题
## 1.1.15(2023-07-13)
diff --git a/uni_modules/uni-id-pages/package.json b/uni_modules/uni-id-pages/package.json
index 66e161402dc460e5ac06a76f2ae872baf8aedbeb..c36b4ea03aff1f907aaca7ac2c4d78be41109b64 100644
--- a/uni_modules/uni-id-pages/package.json
+++ b/uni_modules/uni-id-pages/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-id-pages",
"displayName": "uni-id-pages",
- "version": "1.1.16",
+ "version": "1.1.17",
"description": "云端一体简单、统一、可扩展的用户中心页面模版",
"keywords": [
"用户管理",
diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
index 9caecaa2888a2a59ea8dad0cbfb46a895bec0e5a..ae9b7af18f92db92fd4a686ef8cfdc25780becd3 100644
--- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
+++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
@@ -1,81 +1,79 @@
-const {
- setMobileVerifyCode
-} = require('./verify-code')
-const {
- getVerifyCode
-} = require('../../common/utils')
-
-/**
- * 发送短信
- * @param {object} param
- * @param {string} param.mobile 手机号
- * @param {object} param.code 可选,验证码
- * @param {object} param.scene 短信场景
- * @param {object} param.templateId 可选,短信模板id
- * @returns
- */
-async function sendSmsCode ({
- mobile,
- code,
- scene,
- templateId
-} = {}) {
- const requiredParams = [
- 'name',
- 'smsKey',
- 'smsSecret',
- 'codeExpiresIn'
- ]
- const smsConfig = (this.config.service && this.config.service.sms) || {}
- for (let i = 0; i < requiredParams.length; i++) {
- const key = requiredParams[i]
- if (!smsConfig[key]) {
- throw new Error(`Missing config param: service.sms.${key}`)
- }
- }
- if (!code) {
- code = getVerifyCode()
- }
- let action
- switch (scene) {
- case 'login-by-sms':
- action = this.t('login')
- break
- default:
- action = this.t('verify-mobile')
- break
- }
- const sceneConfig = (smsConfig.scene || {})[scene] || {}
- if (!templateId) {
- templateId = sceneConfig.templateId
- }
- if (!templateId) {
- throw new Error('"templateId" is required')
- }
- const codeExpiresIn = sceneConfig.codeExpiresIn || smsConfig.codeExpiresIn
- await setMobileVerifyCode.call(this, {
- mobile,
- code,
- expiresIn: codeExpiresIn,
- scene
- })
- await uniCloud.sendSms({
- smsKey: smsConfig.smsKey,
- smsSecret: smsConfig.smsSecret,
- phone: mobile,
- templateId,
- data: {
- name: smsConfig.name,
- code,
- action,
- expMinute: '' + Math.round(codeExpiresIn / 60)
- }
- })
- return {
- errCode: 0
- }
-}
-
-module.exports = {
- sendSmsCode
-}
+const {
+ setMobileVerifyCode
+} = require('./verify-code')
+const {
+ getVerifyCode
+} = require('../../common/utils')
+
+/**
+ * 发送短信
+ * @param {object} param
+ * @param {string} param.mobile 手机号
+ * @param {object} param.code 可选,验证码
+ * @param {object} param.scene 短信场景
+ * @param {object} param.templateId 可选,短信模板id
+ * @returns
+ */
+async function sendSmsCode ({
+ mobile,
+ code,
+ scene,
+ templateId
+} = {}) {
+ const requiredParams = [
+ 'name',
+ 'codeExpiresIn'
+ ]
+ const smsConfig = (this.config.service && this.config.service.sms) || {}
+ for (let i = 0; i < requiredParams.length; i++) {
+ const key = requiredParams[i]
+ if (!smsConfig[key]) {
+ throw new Error(`Missing config param: service.sms.${key}`)
+ }
+ }
+ if (!code) {
+ code = getVerifyCode()
+ }
+ let action
+ switch (scene) {
+ case 'login-by-sms':
+ action = this.t('login')
+ break
+ default:
+ action = this.t('verify-mobile')
+ break
+ }
+ const sceneConfig = (smsConfig.scene || {})[scene] || {}
+ if (!templateId) {
+ templateId = sceneConfig.templateId
+ }
+ if (!templateId) {
+ throw new Error('"templateId" is required')
+ }
+ const codeExpiresIn = sceneConfig.codeExpiresIn || smsConfig.codeExpiresIn
+ await setMobileVerifyCode.call(this, {
+ mobile,
+ code,
+ expiresIn: codeExpiresIn,
+ scene
+ })
+ await uniCloud.sendSms({
+ smsKey: smsConfig.smsKey,
+ smsSecret: smsConfig.smsSecret,
+ phone: mobile,
+ templateId,
+ data: {
+ name: smsConfig.name,
+ code,
+ action,
+ expMinute: '' + Math.round(codeExpiresIn / 60)
+ }
+ })
+ return {
+ errCode: 0
+ }
+}
+
+module.exports = {
+ sendSmsCode
+}
diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
index 8b45b620d722d9f1fc11a8d92186b5577d9bb003..b64bef992ec384f7872940173f85e3be0bd6751a 100644
--- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
+++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
@@ -1,27 +1,27 @@
-async function getPhoneNumber ({
- // eslint-disable-next-line camelcase
- access_token,
- openid
-} = {}) {
- const requiredParams = ['apiKey', 'apiSecret']
- const univerifyConfig = (this.config.service && this.config.service.univerify) || {}
- for (let i = 0; i < requiredParams.length; i++) {
- const key = requiredParams[i]
- if (!univerifyConfig[key]) {
- throw new Error(`Missing config param: service.univerify.${key}`)
- }
- }
- return uniCloud.getPhoneNumber({
- provider: 'univerify',
- appid: this.getUniversalClientInfo().appId,
- apiKey: univerifyConfig.apiKey,
- apiSecret: univerifyConfig.apiSecret,
- // eslint-disable-next-line camelcase
- access_token,
- openid
- })
-}
-
-module.exports = {
- getPhoneNumber
-}
+async function getPhoneNumber ({
+ // eslint-disable-next-line camelcase
+ access_token,
+ openid
+} = {}) {
+ const requiredParams = []
+ const univerifyConfig = (this.config.service && this.config.service.univerify) || {}
+ for (let i = 0; i < requiredParams.length; i++) {
+ const key = requiredParams[i]
+ if (!univerifyConfig[key]) {
+ throw new Error(`Missing config param: service.univerify.${key}`)
+ }
+ }
+ return uniCloud.getPhoneNumber({
+ provider: 'univerify',
+ appid: this.getUniversalClientInfo().appId,
+ apiKey: univerifyConfig.apiKey,
+ apiSecret: univerifyConfig.apiSecret,
+ // eslint-disable-next-line camelcase
+ access_token,
+ openid
+ })
+}
+
+module.exports = {
+ getPhoneNumber
+}
diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js
index 7d235fed9ca3dbee0a7a55bdf94b2d3b3a1cde21..c28f3bd67b8d806fa9af246bed6f5a3b1d60ef75 100644
--- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js
+++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js
@@ -1,71 +1,70 @@
-function isMobileCodeSupported () {
- const config = this.config
- return !!(config.service && config.service.sms && config.service.sms.smsKey)
-}
-
-function isUniverifySupport () {
- const config = this.config
- return !!(config.service && config.service.univerify && config.service.univerify.apiKey)
-}
-
-function isWeixinSupported () {
- this.configUtils.getOauthConfig({
- provider: 'weixin'
- })
- return true
-}
-
-function isQQSupported () {
- this.configUtils.getOauthConfig({
- provider: 'qq'
- })
- return true
-}
-
-function isAppleSupported () {
- this.configUtils.getOauthConfig({
- provider: 'apple'
- })
- return true
-}
-
-function isAlipaySupported () {
- this.configUtils.getOauthConfig({
- provider: 'alipay'
- })
- return true
-}
-
-const loginTypeTester = {
- 'mobile-code': isMobileCodeSupported,
- univerify: isUniverifySupport,
- weixin: isWeixinSupported,
- qq: isQQSupported,
- apple: isAppleSupported,
- alipay: isAlipaySupported
-}
-
-/**
- * 获取支持的登录方式
- * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#get-supported-login-type
- * @returns
- */
-module.exports = async function () {
- const supportedLoginType = [
- 'username-password',
- 'mobile-password',
- 'email-password'
- ]
- for (const type in loginTypeTester) {
- try {
- if (loginTypeTester[type].call(this)) {
- supportedLoginType.push(type)
- }
- } catch (error) { }
- }
- return {
- errCode: 0,
- errMsg: '',
- supportedLoginType
- }
-}
+function isMobileCodeSupported () {
+ const config = this.config
+ return !!(config.service && config.service.sms && config.service.sms.smsKey)
+}
+
+function isUniverifySupport () {
+ return true
+}
+
+function isWeixinSupported () {
+ this.configUtils.getOauthConfig({
+ provider: 'weixin'
+ })
+ return true
+}
+
+function isQQSupported () {
+ this.configUtils.getOauthConfig({
+ provider: 'qq'
+ })
+ return true
+}
+
+function isAppleSupported () {
+ this.configUtils.getOauthConfig({
+ provider: 'apple'
+ })
+ return true
+}
+
+function isAlipaySupported () {
+ this.configUtils.getOauthConfig({
+ provider: 'alipay'
+ })
+ return true
+}
+
+const loginTypeTester = {
+ 'mobile-code': isMobileCodeSupported,
+ univerify: isUniverifySupport,
+ weixin: isWeixinSupported,
+ qq: isQQSupported,
+ apple: isAppleSupported,
+ alipay: isAlipaySupported
+}
+
+/**
+ * 获取支持的登录方式
+ * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#get-supported-login-type
+ * @returns
+ */
+module.exports = async function () {
+ const supportedLoginType = [
+ 'username-password',
+ 'mobile-password',
+ 'email-password'
+ ]
+ for (const type in loginTypeTester) {
+ try {
+ if (loginTypeTester[type].call(this)) {
+ supportedLoginType.push(type)
+ }
+ } catch (error) { }
+ }
+ return {
+ errCode: 0,
+ errMsg: '',
+ supportedLoginType
+ }
+}
diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
index 1e4ca460b2efb9e56f4caa94db4219ce6df44a40..e26c138f7acf7a612b256b7e1124268016fb3314 100644
--- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
@@ -1,6 +1,6 @@
{
"name": "uni-id-co",
- "version": "1.1.15",
+ "version": "1.1.17",
"description": "",
"main": "index.js",
"keywords": [],
@@ -29,4 +29,4 @@
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-promise": "^6.0.0"
}
-}
+}
\ No newline at end of file
diff --git a/uni_modules/uni-popup/changelog.md b/uni_modules/uni-popup/changelog.md
index bc59f0720eae315a3d258175105af293c551ce18..98d9d08cc615aa696bc33bb6035934881eafa489 100644
--- a/uni_modules/uni-popup/changelog.md
+++ b/uni_modules/uni-popup/changelog.md
@@ -1,3 +1,5 @@
+## 1.8.4(2023-11-15)
+- 新增 uni-popup 支持uni-app-x 注意暂时仅支持 `maskClick` `@open` `@close`
## 1.8.3(2023-04-17)
- 修复 uni-popup 重复打开时的 bug
## 1.8.2(2023-02-02)
diff --git a/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue b/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..5eb8d5be62c49d82317d58f1bc32f1549ad21fb2
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
index 54afee2ab68a3ec46ca33e802c87726adb87c238..4fae089fba5f8f3b50e863dfb0f2c8c85c95db72 100644
--- a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
+++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
@@ -163,7 +163,7 @@
},
maskShow: true,
mkclick: true,
- popupstyle: this.isDesktop ? 'fixforpc-top' : 'top'
+ popupstyle: 'top'
}
},
computed: {
diff --git a/uni_modules/uni-popup/package.json b/uni_modules/uni-popup/package.json
index f40556ba4d996bec726701c51f1e8d555b8a47e5..c3f3d1c9d2fb1a4502df2ba9558711f2f6d73329 100644
--- a/uni_modules/uni-popup/package.json
+++ b/uni_modules/uni-popup/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-popup",
"displayName": "uni-popup 弹出层",
- "version": "1.8.3",
+ "version": "1.8.4",
"description": " Popup 组件,提供常用的弹层",
"keywords": [
"uni-ui",