index.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <template>
  2. <a-modal class="logout"
  3. v-model:visible="visible"
  4. @cancel="cancel"
  5. width="890px"
  6. :footer="null">
  7. <div>logout</div>
  8. <div>logout</div>
  9. <div>logout</div>
  10. <div>logout</div>
  11. <div>logout</div>
  12. <div>logout</div>
  13. <div>logout</div>
  14. <div>logout</div>
  15. </a-modal>
  16. </template>
  17. <script lang="ts">
  18. import { defineComponent, ref } from 'vue';
  19. import { closeModal } from '@/setup/modal/index';
  20. import { initData } from '@/setup/methods/index';
  21. export default defineComponent({
  22. name: 'logout',
  23. setup() {
  24. const { visible, cancel } = closeModal('logout');
  25. initData(() => {});
  26. return {
  27. visible,
  28. cancel,
  29. };
  30. },
  31. });
  32. </script>
  33. <style lang="less">
  34. .logout {
  35. .ant-tabs {
  36. width: 100%;
  37. .ant-tabs-bar {
  38. border-bottom-color: #192125;
  39. margin-bottom: 0;
  40. }
  41. .ant-tabs-tab {
  42. width: 140px;
  43. text-align: center;
  44. margin-right: 0;
  45. }
  46. .ant-tabs-nav {
  47. height: 50px;
  48. font-size: 16px;
  49. color: #88a0ae;
  50. font-family: Adobe Heiti Std;
  51. font-weight: normal;
  52. .ant-tabs-tab-active {
  53. color: #ffffff;
  54. background: linear-gradient(0deg, #3163ba 0%, #4179db 100%);
  55. }
  56. }
  57. .ant-tabs-ink-bar {
  58. display: none !important;
  59. }
  60. }
  61. .ant-modal-close-x {
  62. height: 50px;
  63. line-height: 50px;
  64. svg {
  65. color: #7a8a94;
  66. }
  67. }
  68. .ant-modal-body {
  69. padding: 0;
  70. background: #252d34;
  71. }
  72. }
  73. </style
  74. >;