DeletePrompt组件的vue单文件
<template>
<el-dialog
:show-close="false"
top="35vh"
:visible.sync="visible"
:close-on-click-modal="false"
:close-on-press-escape="false"
width="360px"
>
<div class="flex y-center prompt-header">
<p class="ft s-22 lh-26 black left FGB prompt-title">{
{ promptTitle }}</p>
<img
class="pointer close-icon"
:src="'close-black.png' | patchResourcePath"
@click="closeClick"
/>
</div>
<div class="prompt-body">
<p class="ft s-12 lh-16 c-4d left body-desc">{
{ promptDesc }}</p>
</div>
<div class="ft s-12 lh-16 flex y-center prompt-footer">
<button