From 59c193c84df1556a24ec3d2b3dc6b10785ff2bc8 Mon Sep 17 00:00:00 2001 From: 15093570141 <141405260+17521612761@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:40:38 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91:=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E7=9A=84=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=90=8E=E5=8F=B0=E5=BC=80=E5=85=B3=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=BC=80=E5=90=AF=EF=BC=8C=E9=80=9A=E8=BF=87=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E8=BF=9B=E5=8E=BB=E8=AE=BE=E7=BD=AE=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coreshop-fixed-bottom-button.vue | 2 +- .../coreshop-login-modal.vue | 1 + .../CoreShop/core/enum/config.enum.ts | 6 + .../CoreShop/core/models/config.ts | 3 +- .../CoreShop/pages/login/login.vue | 2 + .../CoreShop/pages/share/jump/jump.vue | 242 ++++++++++-------- 6 files changed, 142 insertions(+), 114 deletions(-) diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue index c6bf2355..6f9c1d7e 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue @@ -2,7 +2,7 @@ - + diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue index 0415482c..470b2cb6 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue @@ -210,6 +210,7 @@ uni.setStorageSync(UserToken, phoneNumber.data.token); if (phoneNumber.otherData) { userInfoStore.setUserInfo(phoneNumber.otherData); + uni.removeStorageSync(Invitecode); handleShowToast('登录成功', 'success'); emits('getUserInfo') } diff --git a/CoreCms.Net.Uni-App/CoreShop/core/enum/config.enum.ts b/CoreCms.Net.Uni-App/CoreShop/core/enum/config.enum.ts index e26bd13c..24eae576 100644 --- a/CoreCms.Net.Uni-App/CoreShop/core/enum/config.enum.ts +++ b/CoreCms.Net.Uni-App/CoreShop/core/enum/config.enum.ts @@ -162,4 +162,10 @@ export enum ShowcheckInEnum { export enum ShowMenuEnum { show = 1, hidden = 2 +} + +/** 是否开启二次扫码实现与上级绑定 */ +export enum AllowUserSecondBindEnum { + yes = 1, + no = 2, } \ No newline at end of file diff --git a/CoreCms.Net.Uni-App/CoreShop/core/models/config.ts b/CoreCms.Net.Uni-App/CoreShop/core/models/config.ts index 27467b5d..5e8159ad 100644 --- a/CoreCms.Net.Uni-App/CoreShop/core/models/config.ts +++ b/CoreCms.Net.Uni-App/CoreShop/core/models/config.ts @@ -15,7 +15,8 @@ export interface ShopConfigType { indexPopupWindowHrefUrl ?: string; indexPopupWindowImageUrl ?: string; invoiceSwitch ?: number; - + isAllowUserSecondBind ?: number; + /** 余额提现 */ isAllowWithdrawCash ?: number; isOpenAgent ?: number; diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/login/login.vue b/CoreCms.Net.Uni-App/CoreShop/pages/login/login.vue index 3f177717..813cd509 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/login/login.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/login/login.vue @@ -133,6 +133,8 @@ /** 返回上一个页面 */ handleShowToast(login.msg, 'success', () => { + clearInterval(state.intervalTime); + uni.removeStorageSync(Invitecode); setTimeout(() => { uni.navigateBack(); }, 1000) diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/share/jump/jump.vue b/CoreCms.Net.Uni-App/CoreShop/pages/share/jump/jump.vue index 39d0e68d..8e137de7 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/share/jump/jump.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/share/jump/jump.vue @@ -1,17 +1,26 @@ \ No newline at end of file