build(deps): 新增 CKEditor 与 TinyMCE 依赖

This commit is contained in:
yelan
2026-09-11 15:28:18 +08:00
parent 23d85cf8ce
commit 7035c6f378
13 changed files with 3165 additions and 184 deletions
@@ -12,6 +12,7 @@ const emit = defineEmits<{
preview: [template: DocumentTemplate]
edit: [template: DocumentTemplate]
initiate: [template: DocumentTemplate]
remove: [template: DocumentTemplate]
}>()
const statusLabel = computed(() => documentStatusLabels[props.template.status])
@@ -49,6 +50,14 @@ const statusLabel = computed(() => documentStatusLabels[props.template.status])
>
发起
</button>
<button
type="button"
class="card-button danger"
title="删除此文书"
@click="emit('remove', template)"
>
删除
</button>
</div>
</div>
</article>
@@ -224,6 +233,15 @@ const statusLabel = computed(() => documentStatusLabels[props.template.status])
background: #f1f5f6;
}
.card-button.danger {
color: #b3442f;
border-color: #cf7c68;
}
.card-button.danger:hover {
background: #fbeee9;
}
@media (max-width: 680px) {
.template-footer {
align-items: flex-start;