From a3872614c11c344faee70b7c3660784276bc6e17 Mon Sep 17 00:00:00 2001 From: anne-lxm <1076217653@qq.com> Date: Wed, 1 Feb 2023 21:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0uni-id-pages=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-badge/changelog.md | 2 + .../components/uni-badge/uni-badge.vue | 8 +-- uni_modules/uni-badge/package.json | 2 +- uni_modules/uni-easyinput/changelog.md | 2 + .../uni-easyinput/uni-easyinput.vue | 13 +++- uni_modules/uni-easyinput/package.json | 2 +- uni_modules/uni-id-pages/changelog.md | 5 ++ .../uni-id-pages-avatar.vue | 11 +++- .../uni-id-pages-fab-login.vue | 54 +++++++++------- uni_modules/uni-id-pages/package.json | 2 +- .../pages/login/login-withoutpwd.vue | 62 ++++++++++++------- uni_modules/uni-list/changelog.md | 6 +- .../uni-list-chat/uni-list-chat.vue | 45 +++++++++----- .../uni-list-item/uni-list-item.vue | 7 ++- uni_modules/uni-list/package.json | 2 +- 15 files changed, 147 insertions(+), 76 deletions(-) diff --git a/uni_modules/uni-badge/changelog.md b/uni_modules/uni-badge/changelog.md index 56581c4e..e352c60c 100644 --- a/uni_modules/uni-badge/changelog.md +++ b/uni_modules/uni-badge/changelog.md @@ -1,3 +1,5 @@ +## 1.2.2(2023-01-28) +- 修复 运行/打包 控制台警告问题 ## 1.2.1(2022-09-05) - 修复 当 text 超过 max-num 时,badge 的宽度计算是根据 text 的长度计算,更改为 css 计算实际展示宽度,详见:[https://ask.dcloud.net.cn/question/150473](https://ask.dcloud.net.cn/question/150473) ## 1.2.0(2021-11-19) diff --git a/uni_modules/uni-badge/components/uni-badge/uni-badge.vue b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue index 664dc370..282d2539 100644 --- a/uni_modules/uni-badge/components/uni-badge/uni-badge.vue +++ b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue @@ -21,7 +21,7 @@ * @value error 红色 * @property {String} inverted = [true|false] 是否无需背景颜色 * @property {Number} maxNum 展示封顶的数字值,超过 99 显示 99+ - * @property {String} absolute = [rightTop|rightBottom|leftBottom|leftTop] 开启绝对定位, 角标将定位到其包裹的标签的四角上 + * @property {String} absolute = [rightTop|rightBottom|leftBottom|leftTop] 开启绝对定位, 角标将定位到其包裹的标签的四角上 * @value rightTop 右上 * @value rightBottom 右下 * @value leftTop 左上 @@ -191,12 +191,13 @@ /* #ifndef APP-NVUE */ display: flex; overflow: hidden; - box-sizing: border-box; + box-sizing: border-box; + font-feature-settings: "tnum"; + min-width: 20px; /* #endif */ justify-content: center; flex-direction: row; height: 20px; - min-width: 20px; padding: 0 4px; line-height: 18px; color: #fff; @@ -206,7 +207,6 @@ border: 1px solid #fff; text-align: center; font-family: 'Helvetica Neue', Helvetica, sans-serif; - font-feature-settings: "tnum"; font-size: $bage-size; /* #ifdef H5 */ z-index: 999; diff --git a/uni_modules/uni-badge/package.json b/uni_modules/uni-badge/package.json index 7a34d9c3..b0bac937 100644 --- a/uni_modules/uni-badge/package.json +++ b/uni_modules/uni-badge/package.json @@ -1,7 +1,7 @@ { "id": "uni-badge", "displayName": "uni-badge 数字角标", - "version": "1.2.1", + "version": "1.2.2", "description": "数字角标(徽章)组件,在元素周围展示消息提醒,一般用于列表、九宫格、按钮等地方。", "keywords": [ "", diff --git a/uni_modules/uni-easyinput/changelog.md b/uni_modules/uni-easyinput/changelog.md index 3f9d3b38..5f5a55d4 100644 --- a/uni_modules/uni-easyinput/changelog.md +++ b/uni_modules/uni-easyinput/changelog.md @@ -1,3 +1,5 @@ +## 1.1.6(2023-01-28) +- 新增 keyboardheightchange 事件,可监听键盘高度变化 ## 1.1.5(2022-11-29) - 优化 主题样式 ## 1.1.4(2022-10-27) diff --git a/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue index 68dd6a60..5f3ace73 100644 --- a/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue +++ b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue @@ -19,6 +19,7 @@ @blur="_Blur" @focus="_Focus" @confirm="onConfirm" + @keyboardheightchange="onkeyboardheightchange" >