From 07c0f76a80262cf48da3438dffd3ad3c04f9cf44 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 21 六月 2024 17:13:28 +0800 Subject: [PATCH] fix:库管首页点击装卸 弹窗问题 --- pages/doorkeeper-page/my-page/my-page.vue | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/pages/doorkeeper-page/my-page/my-page.vue b/pages/doorkeeper-page/my-page/my-page.vue index 5190d84..e5417b7 100644 --- a/pages/doorkeeper-page/my-page/my-page.vue +++ b/pages/doorkeeper-page/my-page/my-page.vue @@ -50,6 +50,13 @@ </view> </view> </view> + <view class="switch-accounts"> + <view class="loginout-main"><u-button text="鍒囨崲璐﹀彿" + type="primary" + @click="switchAccounts" + shape="circle" + plain></u-button></view> + </view> <view class="loginout"> <view class="loginout-main"><u-button text="閫�鍑虹櫥褰�" type="primary" @@ -123,7 +130,7 @@ </template> <script> - import { customerId, userInfo, redirectLogin } from '@/utils/status'; + import { customerId, userInfo, redirectLogin,redirectabLogin } from '@/utils/status'; import { BaseUrl } from '@/api/publicInterface.js'; import { mapMutations } from 'vuex'; export default { @@ -270,6 +277,9 @@ }, logout() { this.logoutShow = true; + }, + switchAccounts(){ + redirectabLogin() }, logoutConfirm() { redirectLogin(); @@ -458,7 +468,17 @@ } } } - + .switch-accounts{ + width: 100%; + height: 80rpx; + @include flex; + justify-content: center; + position: relative; + bottom: vww(-400); + .loginout-main { + width: 84%; + } + } .loginout { width: 100%; height: 74rpx; -- Gitblit v1.9.1