yangan
2024-06-21 07c0f76a80262cf48da3438dffd3ad3c04f9cf44
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;