2025-06-20 11:24:33 +08:00
|
|
|
|
<template>
|
2025-09-03 11:15:37 +08:00
|
|
|
|
<Modal wrapClassName="delete-modal" body-class="body" v-bind="$attrs" centered title="删除账号">
|
2025-06-20 11:24:33 +08:00
|
|
|
|
<h2 class="delete-modal-title flex item-center">
|
|
|
|
|
|
<img src="@/assets/warning.svg" alt="" />
|
2025-09-03 11:15:37 +08:00
|
|
|
|
{{ $attrs.content }}
|
2025-06-20 11:24:33 +08:00
|
|
|
|
</h2>
|
2025-09-03 11:15:37 +08:00
|
|
|
|
<p class="delete-modal-content">删除后,该账号将无法登录您的企业。</p>
|
|
|
|
|
|
<template #footer>
|
|
|
|
|
|
<div style="text-align: right">
|
|
|
|
|
|
<Button @click="close">返回</Button>
|
|
|
|
|
|
<Button type="primary" danger @click="onSubmit">确定删除</Button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</Modal>
|
2025-06-20 11:24:33 +08:00
|
|
|
|
</template>
|
2025-09-03 11:15:37 +08:00
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
import { Modal, Button } from 'ant-design-vue';
|
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['close', 'ok']);
|
|
|
|
|
|
|
|
|
|
|
|
const close = () => {
|
|
|
|
|
|
emit('close');
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const onSubmit = () => {
|
|
|
|
|
|
emit('ok');
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
2025-07-11 16:50:48 +08:00
|
|
|
|
<style lang="scss">
|
2025-06-20 11:24:33 +08:00
|
|
|
|
:deep(.arco-btn-status-danger) {
|
|
|
|
|
|
background-color: red !important;
|
|
|
|
|
|
width: 1000px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
.delete-modal {
|
|
|
|
|
|
.arco-modal-header {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.delete-modal-title {
|
2025-09-03 11:15:37 +08:00
|
|
|
|
// margin-top: 24px;
|
2025-07-11 16:50:48 +08:00
|
|
|
|
font-family: $font-family-medium;
|
2025-06-20 11:24:33 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: var(--Text-1, rgba(33, 31, 36, 1));
|
|
|
|
|
|
img {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
margin-right: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-09-03 11:15:37 +08:00
|
|
|
|
.delete-modal-content {
|
|
|
|
|
|
margin-left: 34px;
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
font-family: $font-family-medium;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--Text-2, rgba(60, 64, 67, 1));
|
|
|
|
|
|
}
|
2025-06-20 11:24:33 +08:00
|
|
|
|
.arco-modal-footer {
|
|
|
|
|
|
border-top: none;
|
|
|
|
|
|
:first-child {
|
|
|
|
|
|
border: 1px solid var(--BG-500, rgba(177, 178, 181, 1));
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 7px 20px;
|
2025-07-11 16:50:48 +08:00
|
|
|
|
font-family: $font-family-medium;
|
2025-06-20 11:24:33 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
:last-child {
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 7px 20px;
|
2025-07-11 16:50:48 +08:00
|
|
|
|
font-family: $font-family-medium;
|
2025-06-20 11:24:33 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
margin-left: 16px;
|
|
|
|
|
|
border-color: var(--Functional-Danger-6, rgba(246, 75, 49, 1)) !important;
|
|
|
|
|
|
background-color: var(--Functional-Danger-6, rgba(246, 75, 49, 1)) !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.body {
|
|
|
|
|
|
padding: 0 24px;
|
2025-09-03 11:15:37 +08:00
|
|
|
|
|
2025-06-20 11:24:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|