<template>
    <a-modal
        class="logout"
        v-model:visible="visible"
        @cancel="cancel"
        width="890px"
        centered
        :footer="null"
    >
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
        <div>logout</div>
    </a-modal>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue';
import { closeModal } from '@/common/setup/modal/index';
import { initData } from '@/common/methods';

export default defineComponent({
    name: 'logout',

    setup() {
        const { visible, cancel } = closeModal('logout');

        initData(() => {});
        return {
            visible,
            cancel,
        };
    },
});
</script>

<style lang="less">
.logout {
    .ant-tabs {
        width: 100%;
        .ant-tabs-bar {
            border-bottom-color: @m-black26;
            margin-bottom: 0;
        }
        .ant-tabs-tab {
            width: 140px;
            text-align: center;
            margin-right: 0;
        }
        .ant-tabs-nav {
            height: 50px;
            font-size: 16px;
            color: @m-grey2;
            font-family: Adobe Heiti Std;
            font-weight: normal;
            .ant-tabs-tab-active {
                color: @m-white0;
                background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
            }
        }
        .ant-tabs-ink-bar {
            display: none !important;
        }
    }
    .ant-modal-close-x {
        height: 50px;
        line-height: 50px;
        svg {
            color: @m-grey1;
        }
    }
    .ant-modal-body {
        padding: 0;
        background: @m-grey9;
    }
}
</style
>;
