diff --git a/manifest.json b/manifest.json index 01a379af504c20cd4c50c5e8feeb17e712eefd1a..62aa7da550846f8c333bb1c44d318d2636476f8a 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 551506a88405651ae868f3abd73207a8f0ed643a..9b1fe26c18c4c923662c8074eb746f76b75e8ebe 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 a30aafd0dbc47832eec9ae283ad88e99359a4bb0..26936dba049ffa8db2c1fd05e28aa637d9f8323a 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 694594af4b74d730813754464e63b19839cdd85d..5f0cc6644eec4458a3a485683a1f52541100724f 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 1c8e2ff547eb132ea383ed0dd50963971f332775..fef819945862cd2be35d666188c9e233a6ca2520 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 99f72d9a1e918fc11ec4cb67ebcd44497ce78f46..5e88727feb17dcb63e10df909f7be019791ce52d 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 5124c4cf3d5c5f81abd80b6ff320f370771ecc80..5c06983b02ff931246566a41a9b9e42b811dbd00 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 dc9f6a68e4453c6e881a10037a12c253210585bd..20a9be9eef2a8ce54f22c3464936771b39ba2e72 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 a9e2d668244f888b84bbf7d881c25280e637c25f..41abeb44ccb6277517b617640720ed75908679b7 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 c20df4a8e923d48804e7935af39baeb67e637a5f..9bc87fc2c71c2e710c0f8e13524c9c20163d45b6 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 a3ced3d800772e2bbc3be1e80c5267345515e23f..db90c599ea6c3814003b92c46fe5b19eb0f8d5ae 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 069e9ce514c0772845417e9287ddb5cd44fb1e44..8a1703441f130a3952d83b61f66f07f1aebf7964 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": [