This commit is contained in:
Viet An
2026-05-14 17:00:03 +07:00
parent 1f44f9e6bf
commit 400bbf242e
5 changed files with 76 additions and 71 deletions

View File

@@ -1,29 +1,25 @@
<template>
<div>
<Caption
v-bind="{
title: $stripHtml(title) || 'Thành công',
type: 'has-text-primary',
}"
></Caption>
<div class="field is-grouped mb-0 pb-0">
<div
class="control is-expanded pr-3 mb-0"
v-html="content"
></div>
<div class="control mb-0">
<SvgIcon v-bind="{ name: 'check2.svg', type: 'primary', size: 24 }"></SvgIcon>
</div>
</div>
<div class="field is-grouped is-gap-1">
<Icon
name="material-symbols:check-circle-rounded"
:size="22"
class="has-text-success"
/>
<p
v-html="content"
class="control is-expanded"
></p>
</div>
</template>
<script>
export default {
props: ["content", "title"],
methods: {
cancel() {
this.$store.commit("updateStore", { name: "showmodal", data: undefined });
},
},
};
<script setup>
const props = defineProps({
content: String,
title: String,
});
const { $store } = useNuxtApp();
function cancel() {
$store.commit("updateStore", { name: "showmodal", data: undefined });
}
</script>