From e894c12c120a891fc37adac42a3730acf5138324 Mon Sep 17 00:00:00 2001 From: linju-json Date: Sat, 22 May 2021 22:47:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=AB=E6=A0=BC=E9=A1=B5=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=EF=BC=8C=E5=BD=93=E5=89=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E7=99=BB=E9=99=86=E3=80=81=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E4=B8=BA=E7=AE=A1=E7=90=86=E5=91=98=E7=9A=84=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=9D=A5=E5=86=B3=E5=AE=9A=E6=98=AF=E5=90=A6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 + changelog.md | 4 + components/uni-id-show/uni-id-show.vue | 59 +++++++++ .../uni-quick-login/uni-quick-login.vue | 2 +- package.json | 2 +- pages/grid/grid.vue | 123 +++++++++++------- pages/list/list.nvue | 2 +- 7 files changed, 148 insertions(+), 49 deletions(-) create mode 100644 components/uni-id-show/uni-id-show.vue diff --git a/README.md b/README.md index d62c8ff..0dac0cb 100644 --- a/README.md +++ b/README.md @@ -375,6 +375,11 @@ uni-starter 完整的uni-app目录结构[详情](https://uniapp.dcloud.io/frame?id=%e7%9b%ae%e5%bd%95%e7%bb%93%e6%9e%84) +### 常见API示范 +1. 判断当前用户是否拥有某角色`uniIDHasRole` 演示页面:`/pages/grid/grid` [API文档详情:](https://uniapp.dcloud.io/api/global?id=uniidhasrole) +2. 指纹解锁、人脸解锁 演示页面:`/pages/ucenter/settings/settings` [API文档详情:](https://uniapp.dcloud.io/api/system/authentication) + + ### 注意事项 1. 真机运行需要制作自定义基座,制作后选择运行到自定义基座 2. 苹果登录的图标,需要满足苹果应用市场的审核规范请勿随便修改;如需修改请先阅读:[Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple/overview/buttons/) diff --git a/changelog.md b/changelog.md index 6da33be..e47d09d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## 1.0.7(2021-05-22) +删除多余数据 +## 1.0.6(2021-05-22) +修复当username(用户名&密码)为第一优先级的登陆方式时。无法切换到smsCode(短信验证码)登陆方式 ## 1.0.5(2021-05-20) 改用uni_modules方式处理图片选择api时无权限,引导用户快捷打开系统设置 ## 1.0.4(2021-05-19) diff --git a/components/uni-id-show/uni-id-show.vue b/components/uni-id-show/uni-id-show.vue new file mode 100644 index 0000000..79cdfbb --- /dev/null +++ b/components/uni-id-show/uni-id-show.vue @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/components/uni-quick-login/uni-quick-login.vue b/components/uni-quick-login/uni-quick-login.vue index 6937252..574a0ee 100644 --- a/components/uni-quick-login/uni-quick-login.vue +++ b/components/uni-quick-login/uni-quick-login.vue @@ -161,7 +161,7 @@ return '/' + pages[pages.length - n].route }, to(path) { - console.log('比较', this.getRoute(2), path) + // console.log('比较', this.getRoute(2), path) if (this.getRoute(2) == path) { // 控制路由是重新打开还是返回,避免重复打开页面 uni.navigateBack(); } else { diff --git a/package.json b/package.json index 2ecd3ac..1283931 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.0.5", + "version": "1.0.7", "description": "云端一体应用快速开发模版", "keywords": [ "uni-starter", diff --git a/pages/grid/grid.vue b/pages/grid/grid.vue index 4b9447e..144b6bd 100644 --- a/pages/grid/grid.vue +++ b/pages/grid/grid.vue @@ -1,9 +1,9 @@