From d982086179708a2c213d10feabce4b8406fb3bd1 Mon Sep 17 00:00:00 2001 From: linju Date: Fri, 3 Feb 2023 14:45:54 +0800 Subject: [PATCH] v1.1.1 --- manifest.json | 2 +- uni_modules/uni-id-pages/changelog.md | 2 +- .../uni-id-pages/common/login-page.mixin.js | 3 +- .../uni-id-pages-avatar.vue | 89 +- .../uni-id-pages-fab-login.vue | 21 - .../uni-id-pages-user-profile.vue | 171 ---- uni_modules/uni-id-pages/package.json | 2 +- .../pages/login/login-withoutpwd.vue | 468 ++++----- .../uni-id-pages/pages/userinfo/userinfo.vue | 500 ++++----- .../database/uni-id-users.schema.json | 13 +- uni_modules/uni-popup/changelog.md | 6 + .../uni-popup-dialog/uni-popup-dialog.vue | 8 +- .../components/uni-popup/uni-popup.vue | 946 +++++++++--------- uni_modules/uni-popup/package.json | 13 +- 14 files changed, 1057 insertions(+), 1187 deletions(-) delete mode 100644 uni_modules/uni-id-pages/components/uni-id-pages-user-profile/uni-id-pages-user-profile.vue diff --git a/manifest.json b/manifest.json index 01a379a..62aa7da 100644 --- a/manifest.json +++ b/manifest.json @@ -107,7 +107,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx1002f172d7719592", + "appid" : "wx999bf02c8e05dfc9", "setting" : { "urlCheck" : false }, diff --git a/uni_modules/uni-id-pages/changelog.md b/uni_modules/uni-id-pages/changelog.md index 551506a..9b1fe26 100644 --- a/uni_modules/uni-id-pages/changelog.md +++ b/uni_modules/uni-id-pages/changelog.md @@ -1,5 +1,5 @@ ## 1.1.1(2023-02-02) -- 修复 Vue3下 一键登录条款勾选框选中状态未同步到页面 的问题 +- 新增 微信小程序端 支持选择使用微信资料的“头像”和“昵称” 设置用户资料 [详情参考](https://wdoc-76491.picgzc.qpic.cn/MTY4ODg1MDUyNzQyMDUxNw_21263_rTNhg68FTngQGdvQ_1647431233?w=1280&h=695.7176470588236) ## 1.1.0(2023-01-31) - 【重要】优化 小程序端资源包大小(运行时大小为:731KB,发行后为:583KB;注:可以直接将本插件作为分包使用) - 更新 微信小程序端 上传头像功能 用`wx.cropImage`实现图片裁剪 diff --git a/uni_modules/uni-id-pages/common/login-page.mixin.js b/uni_modules/uni-id-pages/common/login-page.mixin.js index a30aafd..26936db 100644 --- a/uni_modules/uni-id-pages/common/login-page.mixin.js +++ b/uni_modules/uni-id-pages/common/login-page.mixin.js @@ -67,8 +67,7 @@ let mixin = { } } }, - set(agree) { - console.log('set(agree)',agree); + set(agree) { if (this.$refs.agreements) { this.$refs.agreements.isAgree = agree } else { diff --git a/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue b/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue index 694594a..5f0cc66 100644 --- a/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue +++ b/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue @@ -1,9 +1,9 @@ - - diff --git a/uni_modules/uni-id-pages/package.json b/uni_modules/uni-id-pages/package.json index 1c8e2ff..fef8199 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.0", + "version": "1.1.1", "description": "云端一体简单、统一、可扩展的用户中心页面模版", "keywords": [ "用户管理", diff --git a/uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue b/uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue index 99f72d9..5e88727 100644 --- a/uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue +++ b/uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue @@ -1,241 +1,241 @@ - - - - - - diff --git a/uni_modules/uni-id-pages/pages/userinfo/userinfo.vue b/uni_modules/uni-id-pages/pages/userinfo/userinfo.vue index 5124c4c..5c06983 100644 --- a/uni_modules/uni-id-pages/pages/userinfo/userinfo.vue +++ b/uni_modules/uni-id-pages/pages/userinfo/userinfo.vue @@ -1,248 +1,256 @@ - - - - diff --git a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json index dc9f6a6..20a9be9 100644 --- a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json +++ b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json @@ -330,6 +330,15 @@ }, "title": "角色" }, + "tags":{ + "bsonType": "array", + "description": "用户标签", + "permission": { + "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", + "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" + }, + "title": "标签" + }, "score": { "bsonType": "int", "description": "用户积分,积分变更记录可参考:uni-id-scores表定义", @@ -369,7 +378,7 @@ "bsonType": "array", "description": "用户token", "permission": { - "read": "'READ_UNI_ID_USERS' in auth.permission", + "read": false, "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" } }, @@ -379,7 +388,7 @@ "title": "用户名", "trim": "both", "permission": { - "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", + "read": true, "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" } }, diff --git a/uni_modules/uni-popup/changelog.md b/uni_modules/uni-popup/changelog.md index a9e2d66..41abeb4 100644 --- a/uni_modules/uni-popup/changelog.md +++ b/uni_modules/uni-popup/changelog.md @@ -1,3 +1,9 @@ +## 1.8.2(2023-02-02) +- uni-popup-dialog 组件新增 inputType 属性 +## 1.8.1(2022-12-01) +- 修复 nvue 下 v-show 报错 +## 1.8.0(2022-11-29) +- 优化 主题样式 ## 1.7.9(2022-04-02) - 修复 弹出层内部无法滚动的bug ## 1.7.8(2022-03-28) diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue index c20df4a..9bc87fc 100644 --- a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue +++ b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue @@ -10,7 +10,7 @@ - + @@ -56,7 +56,11 @@ name: "uniPopupDialog", mixins: [popup], emits:['confirm','close'], - props: { + props: { + inputType:{ + type: String, + default: 'text' + }, value: { type: [String, Number], default: '' 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 a3ced3d..db90c59 100644 --- a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue +++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue @@ -1,474 +1,474 @@ - - - - diff --git a/uni_modules/uni-popup/package.json b/uni_modules/uni-popup/package.json index 069e9ce..8a17034 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.7.9", + "version": "1.8.2", "description": " Popup 组件,提供常用的弹层", "keywords": [ "uni-ui", @@ -17,12 +17,8 @@ "directories": { "example": "../../temps/example_temps" }, - "dcloudext": { - "category": [ - "前端组件", - "通用组件" - ], - "sale": { + "dcloudext": { + "sale": { "regular": { "price": "0.00" }, @@ -38,7 +34,8 @@ "data": "无", "permissions": "无" }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui", + "type": "component-vue" }, "uni_modules": { "dependencies": [ -- GitLab