build(deps): 新增 CKEditor 与 TinyMCE 依赖
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user