From 8225be60c65545a7694e020ec6c300baa03116ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com> Date: Fri, 31 Jul 2026 10:55:02 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 4 +- api/auth.js | 10 +++ manifest.json | 3 +- pages.json | 5 +- pages/login_package/login/login.vue | 121 +++++++++++++++++++++++++--- pages/rwa_package/account/bind.vue | 113 ++++++++++++++------------ 6 files changed, 187 insertions(+), 69 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 15dc00d..7c9ec1f 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -12,8 +12,8 @@ "type" : "uni-app:app-ios" }, { - "customPlaygroundType" : "device", - "playground" : "standard", + "customPlaygroundType" : "local", + "playground" : "custom", "type" : "uni-app:app-ios_simulator" } ] diff --git a/api/auth.js b/api/auth.js index bcf7f51..e5171d6 100644 --- a/api/auth.js +++ b/api/auth.js @@ -165,3 +165,13 @@ export function alipayLogin(params) { cha:1 }); } + +// Apple一键登录 +export function appleLogin(params) { + return request({ + url: "/auth/loginByApple", + method: "post", + data: params, + cha:1 + }); +} diff --git a/manifest.json b/manifest.json index 362f658..68d57a3 100644 --- a/manifest.json +++ b/manifest.json @@ -91,7 +91,8 @@ "weixin" : { "appid" : "wx7a5902cd556d9396", "UniversalLinks" : "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/" - } + }, + "apple" : {} }, "share" : { "weixin" : { diff --git a/pages.json b/pages.json index ea1981b..7f81d55 100644 --- a/pages.json +++ b/pages.json @@ -516,7 +516,10 @@ { "path": "login/login", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "app-plus": { + "softinputMode": "adjustResize" + } } }, { diff --git a/pages/login_package/login/login.vue b/pages/login_package/login/login.vue index b36a131..e3f32b5 100644 --- a/pages/login_package/login/login.vue +++ b/pages/login_package/login/login.vue @@ -12,23 +12,24 @@ + :adjust-position="false" @change="checkNameParam"> + :type="isShow ? 'text' : 'password'" :adjust-position="false" @change="checkParam"> - +